.ed-dialog{width:calc(100vw - 36px);max-width:1250px;max-height:94dvh;margin:3dvh auto;background:#fbf8f5;color:#10292c;border:1px solid #dce8e4;border-radius:22px;padding:0;font:18px/1.5 "Segoe UI",sans-serif;overflow:auto;box-shadow:0 24px 80px #10292c35}.ed-dialog::backdrop{background:#10292c70;backdrop-filter:blur(4px)}.ed-dialog *{box-sizing:border-box;min-width:0}.ed-shell{padding:24px}.ed-header,.ed-actions,.ed-setup{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ed-header{justify-content:space-between}.ed-header h2{font-size:31px;margin:6px 0 20px}.ed-dialog button,.ed-dialog input,.ed-dialog select,.ed-dialog textarea{font:inherit;min-height:44px;border:1px solid #c9ded8;border-radius:12px;padding:10px 14px;max-width:100%}.ed-dialog button{cursor:pointer}.ed-dialog button:disabled{opacity:.5;cursor:default}.ed-dialog .primary{background:#287d73;color:white}.ed-dialog .secondary,.ed-save{background:white;color:#285650}.ed-setup{margin:18px 0}.ed-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start}.ed-editor,.ed-display{min-width:0}.ed-editor>input,.ed-editor>textarea{width:100%;display:block;margin:7px 0 18px;background:#fff}.ed-editor>textarea{min-height:120px;resize:vertical}.ed-editor>button{margin:8px 8px 8px 0}.ed-event-list{display:grid;gap:12px}.ed-event{border:1px solid #dce8e4;background:#fff;border-radius:14px;padding:14px}.ed-choice{display:flex;align-items:center;gap:12px;cursor:pointer}.ed-choice>input{width:21px;height:21px;min-height:21px;flex:none;accent-color:#287d73}.ed-choice img{width:90px;aspect-ratio:16/9;object-fit:contain;border-radius:8px}.ed-choice span{display:grid;gap:6px}.ed-choice strong{font-size:18px;line-height:1.35}.ed-choice small{font-size:15px;color:#647a7b}.ed-event>button{margin-top:10px;font-size:15px}.ed-telegram{border:1px solid #dce8e4;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 22px #10292c07}.ed-cover{display:block;width:100%;height:auto;object-fit:contain}.ed-copy{padding:20px}.ed-copy>h3{font-size:27px;margin-top:0}.ed-copy p{white-space:pre-wrap;overflow-wrap:anywhere}.ed-program{margin:24px 0;padding-top:20px;border-top:1px solid #e3ece8}.ed-program small{color:#287d73;font-weight:600}.ed-program h4{font-size:22px;line-height:1.3;margin:8px 0}.ed-host{color:#647a7b;font-size:16px}.ed-feedback{white-space:pre-wrap;background:#e5f3ef;padding:12px;border-radius:12px}.ed-feedback:empty{display:none}.ed-note{color:#647a7b;font-size:15px;line-height:1.5}.ed-dialog :focus-visible{outline:3px solid #64b9ac;outline-offset:2px}.ed-dialog [hidden]{display:none!important}
@media(max-width:760px){.ed-dialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;margin:0;border:0;border-radius:0}.ed-shell{padding:15px 12px 110px}.ed-layout{grid-template-columns:1fr}.ed-header h2{font-size:25px}.ed-actions{width:100%}.ed-actions>button{flex:1}.ed-setup>*{width:100%}.ed-choice img{width:70px}.ed-choice strong{font-size:19px}.ed-copy{padding:16px}.ed-editor>input,.ed-editor>textarea{font-size:17px}}

.ed-mobile-tabs{display:none}@media(max-width:760px){.ed-mobile-tabs{display:flex;gap:6px;padding:5px;background:#e5f3ef;border-radius:14px;margin:16px 0}.ed-mobile-tabs button{flex:1;border:0;background:transparent;color:#285650}.ed-mobile-tabs .is-current{background:#fff;font-weight:600}.ed-dialog[data-mobile=program] .ed-display{display:none}.ed-dialog[data-mobile=card] .ed-editor{display:none}}

@media(max-width:760px){.ed-actions{display:grid;grid-template-columns:1fr;gap:8px}.ed-actions>button{width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}.ed-header{align-items:stretch}}

/* Distinct private and audience actions, shared by both admin entrances. */
.ed-dialog{font-size:17px}.ed-header{position:sticky;top:0;z-index:5;background:#fbf8f5;padding:10px 0;border-bottom:1px solid #dce8e4}.ed-header h2{margin:3px 0;font-size:28px}.ed-actions button{font-size:16px}.ed-setup{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px}.ed-field{display:grid;gap:7px;font-size:15px;color:#3b5759}.ed-field>input,.ed-field>select{width:100%;background:white;color:#10292c}.ed-overview{border:1px solid #cce1da;background:#edf5f1;padding:16px 20px;border-radius:16px;margin:16px 0 8px;display:grid;gap:5px}.ed-overview strong{font-size:21px}.ed-overview span{white-space:pre-line;font-size:16px}.ed-overview[data-state=scheduled]{background:#fff4df;border-color:#e6cd9c}.ed-overview[data-state=sending]{background:#e9f2ff;border-color:#b4cee8}.ed-overview[data-state=blocked],.ed-overview[data-state=expired]{background:#fff0ee;border-color:#e7bdb5}.ed-dialog .ed-refresh{font-size:14px;background:transparent;border:0;color:#356b65;padding:6px 0;margin-bottom:10px;min-height:36px}.ed-send-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:4px 0 28px;align-items:stretch}.ed-private-panel,.ed-audience-panel{border:1px solid #cbdde9;border-radius:18px;padding:20px;background:#f0f6fb;display:flex;flex-direction:column;gap:12px}.ed-audience-panel{border-color:#e7d2b0;background:#fff8ed}.ed-kicker{font-size:11px;font-weight:700;letter-spacing:1.2px;color:#49657d}.ed-audience-panel .ed-kicker{color:#906021}.ed-send-grid h3{font-size:25px;line-height:1.2;margin:0}.ed-send-grid .ed-note{margin:0;line-height:1.5;color:#496166}.ed-send-grid button{width:100%;white-space:normal;font-weight:600}.ed-dialog .ed-private-send{background:#386f9a;color:white;border-color:#386f9a}.ed-dialog .ed-audience-send{background:#a76524;color:white;border-color:#a76524}.ed-receipts:empty{display:none}.ed-receipts p{font-size:15px;line-height:1.5;margin:3px 0;overflow-wrap:anywhere}.ed-send-grid .ed-receipts{padding:10px 12px;border-radius:10px;background:#ffffffa8}.ed-layout{padding-top:18px;border-top:1px solid #dce8e4}.ed-editor>h3,.ed-display>h3{margin-top:0}.ed-event-list{max-height:520px;overflow:auto}.ed-feedback{margin:12px 0;font-size:17px}.ed-dialog .ed-send-grid input[type=checkbox]{width:20px;height:20px;min-height:20px}
@media(max-width:760px){.ed-shell{padding:10px 14px 45px}.ed-header{gap:8px}.ed-header h2{font-size:23px}.ed-actions{display:flex;width:auto;gap:6px}.ed-actions>button{width:auto;flex:none;padding:9px 11px;font-size:14px}.ed-setup{grid-template-columns:1fr;margin:14px 0}.ed-send-grid{grid-template-columns:1fr;gap:14px;margin-bottom:20px}.ed-private-panel,.ed-audience-panel{padding:17px}.ed-overview{padding:15px}.ed-overview strong{font-size:20px}.ed-event-list{max-height:none}.ed-field>input,.ed-field>select{font-size:17px}.ed-mobile-tabs{position:sticky;top:75px;z-index:3}.ed-send-grid h3{font-size:23px}}

.ed-promo-preview{background:#a43c3c;color:#fff;padding:13px 16px;border-radius:12px;text-align:center;font-weight:600;margin-top:20px}

.ed-email-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px;border:1px solid #b8dad2;border-radius:18px;background:#edf7f3}.ed-email-panel>h3,.ed-email-panel>.ed-kicker,.ed-email-panel>p{grid-column:1/-1}.ed-email-dialog{width:min(760px,96vw);height:90dvh;max-height:94dvh;border:1px solid #c9ded8;border-radius:18px;background:#fff;padding:16px;color:#10292c}.ed-email-dialog::backdrop{background:#10292c80}.ed-email-dialog header{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.ed-email-dialog strong{overflow-wrap:anywhere}.ed-email-dialog button{min-height:44px;padding:9px 14px;border:1px solid #c9ded8;border-radius:12px;background:#edf7f3;color:#285650;font:inherit}.ed-email-dialog iframe{width:100%;height:calc(100% - 95px);border:0;background:#fff}@media(max-width:760px){.ed-email-panel{grid-template-columns:1fr;padding:17px}.ed-email-dialog{padding:12px}.ed-email-dialog header{font-size:16px}}

.ed-audience-dialog{width:min(720px,96vw);max-height:92dvh;overflow:auto;border:1px solid #c9ded8;border-radius:20px;padding:24px;background:#fbf8f5;color:#10292c;font:17px/1.5 "Segoe UI",sans-serif}.ed-audience-dialog::backdrop{background:#10292c80;backdrop-filter:blur(3px)}.ed-audience-dialog *{box-sizing:border-box;min-width:0}.ed-audience-dialog header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.ed-audience-dialog h2{margin:3px 0 10px;font-size:28px}.ed-audience-dialog button,.ed-audience-dialog select,.ed-audience-dialog input{font:inherit;border:1px solid #c9ded8;border-radius:10px;min-height:44px;padding:10px 12px;max-width:100%;background:#fff;color:#285650}.ed-audience-dialog .primary{background:#287d73;color:#fff}.ed-audience-dialog header>button{font-size:25px;flex:none}.ed-audience-dialog>input{width:100%;margin:10px 0}.ed-audience-dialog .ed-note{white-space:pre-line}.ed-audience-dialog [hidden]{display:none!important}.ed-groups{display:grid;gap:8px;max-height:260px;overflow:auto;background:white;border:1px solid #dce8e4;border-radius:12px;padding:12px;margin-bottom:16px}.ed-group{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere;font-size:16px}.ed-group input{width:20px;height:20px;min-height:20px;flex:none;accent-color:#287d73}.ed-audience-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ed-audience-actions>button{flex:1;white-space:normal}.ed-audience-dialog button:disabled{opacity:.5}.ed-email-panel>.ed-note{white-space:pre-line}@media(max-width:760px){.ed-audience-dialog{width:100%;max-width:100%;max-height:100dvh;margin:0;border-radius:0;padding:18px;min-height:100dvh}.ed-audience-actions{flex-direction:column}.ed-audience-dialog h2{font-size:24px}}

/* Existing Events owner, explicit GetCourse entrance. */
.ed-gc-path{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.ed-gc-path>button{flex:1;min-width:160px;white-space:normal;min-height:48px;padding:12px;background:#e5f3ef;border:1px solid #b8dad2;border-radius:12px;color:#1b5d56;font:600 16px/1.4 "Segoe UI",sans-serif}.ed-dialog[data-channel=getcourse] .ed-editor{scroll-margin-top:120px}.ed-dialog[data-channel=getcourse] .ed-send-grid{grid-template-columns:1fr}.ed-dialog[data-channel=getcourse] .ed-field span{line-height:1.4}@media(max-width:760px){.ed-gc-path{display:grid;grid-template-columns:1fr}.ed-gc-path>button{width:100%;text-align:left}}
