/* FORMA 1.84.565 — Workshop / Event editor: the only stylesheet of this page.
 *
 * Everything inside #forma-program-editor (page head, creation wizard, guide, six steps,
 * side column) is drawn here. The Call editor sheets and their bridges are not loaded on
 * this page (see ECM_Manager::is_program_editor_view). Manager-wide sheets are still
 * loaded for the rest of the page; the reset below stops them reaching inside the editor.
 *
 * Kept on purpose: the shared entity-picker widget keeps its own sheet, and colours come
 * from the site tokens (--forma-*) so the site theme stays in charge of colour.
 * !important is used only where another sheet already forces a value with !important. */

/* ---------- 1. tokens ---------- */
#forma-program-editor{
  --pf-panel:var(--forma-panel,#11191e);
  --pf-panel-2:var(--forma-panel-2,#162127);
  --pf-field:var(--forma-field-bg,#0d0d0d);
  --pf-line:var(--forma-border,#26343b);
  --pf-line-soft:color-mix(in srgb,var(--pf-line) 75%,transparent);
  --pf-line-accent:color-mix(in srgb,var(--pf-accent) 32%,var(--pf-line));
  --pf-text:var(--forma-text,#eef4f3);
  --pf-text-2:var(--forma-text-2,#b5c1c4);
  --pf-muted:var(--forma-muted,#819097);
  --pf-accent:var(--forma-accent,#58c7d5);
  --pf-accent-soft:color-mix(in srgb,var(--pf-accent) 13%,transparent);
  --pf-on-accent:#071014;
  --pf-warn:var(--forma-warning,#d2aa5d);
  --pf-warn-text:color-mix(in srgb,var(--pf-warn) 72%,var(--pf-text));
  --pf-ok:var(--forma-success,#58b987);
  --pf-ok-text:color-mix(in srgb,var(--pf-ok) 70%,var(--pf-text));
  --pf-danger:var(--forma-danger,#d16d75);
  --pf-required:var(--forma-required,#d98a8a);
  --pf-radius:10px;
  --pf-radius-card:16px;
  --pf-gap:16px;
  display:block;
  direction:ltr;
  color:var(--pf-text);
  font-size:14px;
  line-height:1.7;
  color-scheme:dark;
  min-width:0;
  max-width:100%;
}
html[data-forma-theme="light"] #forma-program-editor{
  --pf-field:var(--forma-form-bg,#fff);
  --pf-on-accent:#fff;
  color-scheme:light;
}

/* ---------- 2. reset: nothing outside this file draws inside the editor ---------- */
#forma-program-editor :where(*:not(.ecm-entity-picker,.ecm-entity-picker *)){all:revert;box-sizing:border-box}
#forma-program-editor [hidden]{display:none!important}
#forma-program-editor .screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);border:0;white-space:nowrap}
#forma-program-editor a{color:var(--pf-accent);text-decoration:none}
#forma-program-editor a:hover{text-decoration:underline}
#forma-program-editor :is(h2,h3,h4){margin:0;color:var(--pf-text);font-family:inherit;letter-spacing:0}
#forma-program-editor p{margin:0}
#forma-program-editor small{font-size:11.5px;line-height:1.75;color:var(--pf-muted)}
#forma-program-editor strong,#forma-program-editor b{font-weight:700}
#forma-program-editor fieldset{margin:0;padding:0;border:0;min-width:0}
#forma-program-editor legend{padding:0}
#forma-program-editor img{max-width:100%}

/* ---------- 3. controls ---------- */
#forma-program-editor :is(input:not([type="checkbox"],[type="radio"],[type="hidden"],[type="file"],[type="submit"],[type="button"]),select,textarea){
  display:block;width:100%;min-width:0;min-height:46px;margin:0;padding:10px 12px;
  border:1px solid var(--pf-line);border-radius:var(--pf-radius);background:var(--pf-field);color:var(--pf-text);
  font:inherit;font-size:14px;line-height:1.5;outline:0;appearance:none;-webkit-appearance:none;
  transition:border-color .15s,box-shadow .15s;
}
/* :not() raises these two rules above the shared control rule above. */
#forma-program-editor select:not([multiple]){padding-inline-start:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238a9aa0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 14px center;background-size:12px 8px;background-repeat:no-repeat;cursor:pointer}
#forma-program-editor select option{background:var(--pf-field);color:var(--pf-text)}
#forma-program-editor textarea:not([hidden]){min-height:112px;resize:vertical;line-height:1.9}
#forma-program-editor :is(input,select,textarea)::placeholder{color:var(--pf-muted);opacity:1}
#forma-program-editor :is(input,select,textarea):focus{border-color:var(--pf-accent);box-shadow:0 0 0 3px var(--pf-accent-soft)}
#forma-program-editor :is(input,select,textarea):disabled{opacity:.55;cursor:not-allowed}
#forma-program-editor input[dir="ltr"],#forma-program-editor input:is([type="url"],[type="email"],[type="tel"]){direction:ltr;text-align:left}
#forma-program-editor input:is([data-ecm-jalali],[data-ecm-original-type="date"],[data-ecm-original-type="datetime-local"],[type="time"],[type="number"]){font-variant-numeric:tabular-nums}
#forma-program-editor input[type="file"]{display:block;width:100%;max-width:100%;color:var(--pf-text-2);font:inherit;font-size:12.5px}
#forma-program-editor input[type="file"]::file-selector-button{margin-inline-end:10px;padding:7px 12px;border:1px solid var(--pf-line);border-radius:8px;background:var(--pf-panel-2);color:var(--pf-text);font:inherit;font-size:12.5px;cursor:pointer}
#forma-program-editor :is(input[type="checkbox"],input[type="radio"]){flex:none;width:17px;height:17px;margin:0;accent-color:var(--pf-accent);cursor:pointer}
#forma-program-editor .ecm-field-error{outline:2px solid var(--pf-warn);outline-offset:2px}
#forma-program-editor .ecm-required-mark{margin-inline-start:4px;color:var(--pf-required);font-weight:800}

/* buttons */
#forma-program-editor :is(.forma-button,.ecm-call-editor__button,.ecm-manager-primary,.ecm-manager-secondary){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;max-width:100%;margin:0;padding:0 16px;
  border:1px solid var(--pf-line);border-radius:var(--pf-radius);background:var(--pf-panel-2);color:var(--pf-text);
  font:inherit;font-size:13px;font-weight:700;line-height:1.3;text-align:center;text-decoration:none;white-space:normal;cursor:pointer;
  transition:border-color .15s,background-color .15s,color .15s;
}
#forma-program-editor :is(.forma-button--compact,.ecm-call-editor__button--small){min-height:36px;padding:0 12px;font-size:12.5px}
/* forma-manager-theme.css forces the manager button colours with !important. */
#forma-program-editor :is(.forma-button--primary,.ecm-manager-primary){border-color:var(--pf-accent)!important;background:var(--pf-accent)!important;color:var(--pf-on-accent)!important}
#forma-program-editor :is(.forma-button--secondary,.ecm-manager-secondary,.ecm-call-editor__button--secondary){border-color:var(--pf-line)!important;background:var(--pf-panel-2)!important;color:var(--pf-text)!important}
#forma-program-editor :is(.forma-button,.ecm-call-editor__button):hover{border-color:var(--pf-accent);text-decoration:none}
#forma-program-editor :is(.forma-button--secondary,.ecm-manager-secondary,.ecm-call-editor__button--secondary):hover{border-color:var(--pf-accent)!important;color:var(--pf-accent)!important}
#forma-program-editor :is(.forma-button--primary,.ecm-manager-primary):hover{filter:brightness(1.06)}
#forma-program-editor .is-danger{border-color:color-mix(in srgb,var(--pf-danger) 60%,var(--pf-line))!important;color:var(--pf-danger)!important}
#forma-program-editor :is(button,.forma-button):disabled,#forma-program-editor [aria-disabled="true"]{opacity:.5;cursor:not-allowed}
#forma-program-editor :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--pf-accent);outline-offset:2px}

/* ---------- 4. fields grid and labels ---------- */
#forma-program-editor :is(.ecm-call-editor__fields,.ecm-manager-fields,.ecm-organizer-compliance__fields){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;min-width:0}
#forma-program-editor :is(.ecm-call-editor__fields,.ecm-manager-fields)>*{min-width:0;max-width:100%}
#forma-program-editor :is(.ecm-call-editor__fields,.ecm-manager-fields,.ecm-participation-cost,.ecm-program-cancellation-policy)>:is(.is-wide,fieldset,.ecm-participation-cost,.ecm-program-cancellation-policy,.ecm-pq559,.ecm-manager-check){grid-column:1/-1}
#forma-program-editor label{display:grid;gap:7px;align-content:start;min-width:0;color:var(--pf-text-2);font-size:12px;line-height:1.6}
/* forma-form-colors.css colours these labels with !important */
#forma-program-editor .ecm-manager-fields label{color:var(--pf-text-2)!important}
#forma-program-editor label>span:first-child,#forma-program-editor .ecm-call-editor__field-label,#forma-program-editor .pf564-mode__label{color:var(--pf-text);font-size:13px;font-weight:700;line-height:1.6}
#forma-program-editor label>span:first-child>small{margin-inline-start:6px;font-size:11px;font-weight:400}
#forma-program-editor fieldset>legend{margin-bottom:10px;color:var(--pf-text);font-size:13px;font-weight:700}
#forma-program-editor fieldset>p{margin:-4px 0 10px;font-size:12px;line-height:1.85;color:var(--pf-text-2)}
#forma-program-editor .ecm-manager-fields fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
#forma-program-editor .ecm-manager-fields fieldset>:is(legend,p){grid-column:1/-1}
/* checkbox / radio rows */
#forma-program-editor :is(.ecm-manager-check,.ecm-pq559__check,.ecm-legal-approval-card__check,.pf564-when label){display:flex;flex-direction:row;align-items:center;gap:10px;color:var(--pf-text);font-size:13px;cursor:pointer}
#forma-program-editor .ecm-manager-check>span{font-size:13px;font-weight:600;color:var(--pf-text)}
#forma-program-editor .ecm-manager-check>span>:is(strong,small){display:block}
#forma-program-editor .ecm-manager-check>span>small{margin-top:3px;font-weight:400}
#forma-program-editor .ecm-manager-check:has(span>small){align-items:flex-start}
#forma-program-editor .ecm-manager-check:has(span>small) input{margin-top:4px}
#forma-program-editor .ecm-manager-muted{margin:0;color:var(--pf-muted);font-size:12px;line-height:1.8}

/* ---------- 5. page head ---------- */
#forma-program-editor .pf564-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px}
#forma-program-editor .pf564-head>div{flex:1 1 0;min-width:min(100%,320px)}
#forma-program-editor .pf564-head>.pf564-guide-link{flex:none}
#forma-program-editor .pf564-crumbs{display:flex;align-items:center;gap:8px;margin-bottom:6px;color:var(--pf-muted);font-size:13px}
#forma-program-editor .pf564-crumbs span:last-child{max-width:42ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--pf-text-2)}
#forma-program-editor .pf564-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
/* The site-wide page-title rule uses !important; the same title tokens are used here. */
#forma-program-editor .pf564-title h2{font-size:var(--forma-page-title-size,29px)!important;line-height:var(--forma-page-title-line,1.25)!important;font-weight:var(--forma-page-title-weight,900)!important;letter-spacing:var(--forma-page-title-tracking,-.03em)!important}
#forma-program-editor .pf564-head p{margin-top:8px;color:var(--pf-text-2);font-size:13px;line-height:1.8}
#forma-program-editor .pf564-state{padding:3px 12px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:700}
#forma-program-editor .pf564-state.is-draft{border-color:color-mix(in srgb,var(--pf-warn) 40%,transparent);background:color-mix(in srgb,var(--pf-warn) 14%,transparent);color:var(--pf-warn-text)}
#forma-program-editor .pf564-state.is-live{border-color:color-mix(in srgb,var(--pf-ok) 40%,transparent);background:color-mix(in srgb,var(--pf-ok) 14%,transparent);color:var(--pf-ok-text)}
#forma-program-editor .pf564-guide-link{font-size:13px;font-weight:600;white-space:nowrap}

/* notices (save result, publication issues) */
#forma-program-editor :is(.ecm-manager-notice,.ecm-publication-readiness-summary,.ecm-live-publication-issues){display:grid;gap:4px;margin:0;padding:12px 15px;border:1px solid color-mix(in srgb,var(--pf-ok) 45%,var(--pf-line));border-radius:12px;background:color-mix(in srgb,var(--pf-ok) 9%,var(--pf-panel));color:var(--pf-ok-text);font-size:13px;line-height:1.85}
#forma-program-editor :is(.ecm-manager-notice.is-warning,.ecm-manager-notice--error,.ecm-publication-readiness-summary,.ecm-live-publication-issues){border-color:color-mix(in srgb,var(--pf-warn) 50%,var(--pf-line));background:color-mix(in srgb,var(--pf-warn) 9%,var(--pf-panel));color:var(--pf-warn-text)}
#forma-program-editor :is(.ecm-publication-readiness-summary,.ecm-live-publication-issues) ul{margin:6px 0 0;padding-inline-start:22px}
#forma-program-editor :is(.ecm-publication-readiness-summary,.ecm-live-publication-issues) li{overflow-wrap:anywhere}
#forma-program-editor .ecm-publication-readiness-intro{padding:13px 15px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-panel-2);color:var(--pf-text);font-size:12.5px;line-height:1.9}
#forma-program-editor .ecm-publication-readiness-intro span{display:block;color:var(--pf-muted)}

/* ---------- 6. form frame, step nav, layout ---------- */
#forma-program-editor .ecm-pf564{display:flex;flex-direction:column;gap:18px;min-width:0;max-width:100%;margin:0}
#forma-program-editor .pf564-steps{display:flex;flex-wrap:wrap;gap:6px;width:fit-content;max-width:100%;padding:6px;border:1px solid var(--pf-line);border-radius:999px;background:var(--pf-panel)}
#forma-program-editor .pf564-steps__item{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;color:var(--pf-text-2);font-size:13px;text-decoration:none}
#forma-program-editor .pf564-steps__item:is(:hover,:focus-visible){background:var(--pf-accent-soft);color:var(--pf-text);text-decoration:none}
#forma-program-editor .pf564-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--pf-line)}
#forma-program-editor .pf564-dot.is-ok{background:var(--pf-accent)}
#forma-program-editor .pf564-dot.is-todo{background:var(--pf-warn)}
#forma-program-editor .pf564-layout{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px}
#forma-program-editor .pf564-main{display:flex;flex:999 1 560px;flex-direction:column;gap:18px;min-width:0}
#forma-program-editor .pf564-side{display:flex;flex:1 1 280px;flex-direction:column;gap:14px;min-width:0;max-width:360px}
@media (min-width:900px){#forma-program-editor .pf564-side{position:sticky;top:16px}}
/* creation preflight: only the wizard is shown */
#forma-program-editor .ecm-preflight-active>:is(.pf564-steps,.pf564-layout,.ecm-call-editor__section,.ecm-manager-form-actions){display:none!important}

/* ---------- 7. step cards ---------- */
#forma-program-editor .pf564-step{display:block;border:1px solid var(--pf-line-accent);border-radius:var(--pf-radius-card);background:var(--pf-panel);scroll-margin-top:16px}
#forma-program-editor .pf564-step__head{display:flex;align-items:flex-start;gap:14px;padding:20px 22px;cursor:pointer;user-select:none}
#forma-program-editor .pf564-step__num{display:grid;flex:none;place-items:center;width:36px;height:36px;border:1px solid color-mix(in srgb,var(--pf-accent) 45%,transparent);border-radius:50%;color:var(--pf-accent);font-size:14px;font-weight:800}
#forma-program-editor .pf564-step__num.is-ok{border-color:transparent;background:var(--pf-accent);color:var(--pf-on-accent)}
#forma-program-editor .pf564-step__head>div{flex:1;min-width:0}
#forma-program-editor .pf564-step__head h3{font-size:18px;font-weight:800;line-height:1.5}
#forma-program-editor .pf564-step__head p{margin-top:4px;color:var(--pf-text-2);font-size:12.5px;line-height:1.8}
#forma-program-editor .pf564-step__toggle{position:relative;flex:none;width:40px;height:40px;margin:0;padding:0;border:1px solid var(--pf-line);border-radius:var(--pf-radius);background:transparent;color:var(--pf-text-2);cursor:pointer}
#forma-program-editor .pf564-step__toggle::before{content:"";position:absolute;inset:0;width:9px;height:9px;margin:auto;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(2px) rotate(135deg);transition:transform .15s}
#forma-program-editor .pf564-step.is-closed .pf564-step__toggle::before{transform:translateY(-2px) rotate(-45deg)}
#forma-program-editor .pf564-step__body{display:block;padding:0 22px 22px}
#forma-program-editor .pf564-step.is-closed .pf564-step__body{display:none}
#forma-program-editor .pf564-step__body p{font-size:12.5px;line-height:1.9;color:var(--pf-text-2)}
#forma-program-editor .pf564-step__body>.ecm-call-editor__fields+.ecm-call-editor__fields{margin-top:16px}
@media (min-width:1100px){#forma-program-editor .pf564-dates{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* a sub-heading inside a step, and sections from other parts of Forma shown as sub-sections */
#forma-program-editor .pf564-sub{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px;margin:26px 0 14px;padding-top:20px;border-top:1px dashed var(--pf-line)}
#forma-program-editor .pf564-sub h4{font-size:15px;font-weight:800}
#forma-program-editor .pf564-sub span{color:var(--pf-muted);font-size:12px}
#forma-program-editor .pf564-step .ecm-call-editor__section{display:block;min-width:0;margin-top:26px;padding-top:20px;border-top:1px dashed var(--pf-line)}
#forma-program-editor .pf564-step__body>.ecm-call-editor__section:first-child{margin-top:0;padding-top:0;border-top:0}
#forma-program-editor .pf564-step .ecm-call-editor__section-head{display:flex;padding:0 0 14px}
#forma-program-editor .pf564-step .ecm-call-editor__section-head>span:first-child,#forma-program-editor .pf564-step .ecm-call-editor__collapse-icon{display:none}
#forma-program-editor .pf564-step .ecm-call-editor__section-head h3{font-size:15px;font-weight:800;line-height:1.6}
#forma-program-editor .pf564-step .ecm-call-editor__section-head p{margin-top:3px;font-size:12px;color:var(--pf-text-2)}

/* ---------- 8. step 1: poster ---------- */
#forma-program-editor .pf564-poster{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:start}
#forma-program-editor .ecm-call-editor__media-preview{display:grid;place-items:center;aspect-ratio:4/5;overflow:hidden;border:1px dashed var(--pf-line);border-radius:12px;background:color-mix(in srgb,var(--pf-text) 4%,transparent);color:var(--pf-muted);font-size:12px;text-align:center}
#forma-program-editor .ecm-call-editor__media-preview img{display:block;width:100%;height:100%;object-fit:cover}
#forma-program-editor .pf564-poster__controls{display:flex;flex-direction:column;gap:10px}
#forma-program-editor .pf564-drop{padding:18px;border:1.5px dashed var(--pf-line);border-radius:14px}

/* ---------- 9. step 2: “Format” ---------- */
#forma-program-editor .pf564-mode{display:block;margin:20px 0 16px}
#forma-program-editor .pf564-mode__label{display:block;margin-bottom:8px}
#forma-program-editor .pf564-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-field)}
#forma-program-editor .pf564-seg label{position:relative;display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:9px;color:var(--pf-text-2);text-align:center;cursor:pointer}
#forma-program-editor .pf564-seg input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
#forma-program-editor .pf564-seg label>span{color:inherit;font-size:13.5px;font-weight:600}
#forma-program-editor .pf564-seg label:has(input:checked){background:color-mix(in srgb,var(--pf-accent) 16%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pf-accent) 45%,transparent);color:var(--pf-text)}
#forma-program-editor .pf564-seg label:has(input:focus-visible){outline:2px solid var(--pf-accent);outline-offset:2px}

/* ---------- 10. step 3: registration, cost, cancellation, questions ---------- */
#forma-program-editor .ecm-program-acceptance-field{grid-column:1/-1;margin:6px 0 0;padding:14px 16px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-panel-2)}
#forma-program-editor .ecm-program-acceptance-field>:is(strong,legend){display:block;font-size:14px;font-weight:700;color:var(--pf-text)}
#forma-program-editor .ecm-program-acceptance-field p{margin-top:8px}
#forma-program-editor .ecm-program-acceptance-option{display:flex;align-items:flex-start;gap:10px;margin:10px 0 0;padding:10px 12px;border:1px solid var(--pf-line);border-radius:var(--pf-radius);cursor:pointer}
#forma-program-editor .ecm-program-acceptance-option input{margin-top:5px}
#forma-program-editor .ecm-program-acceptance-option span{display:flex;flex-direction:column;gap:4px}
#forma-program-editor .ecm-program-acceptance-option:has(input:checked){border-color:var(--pf-accent);background:var(--pf-accent-soft)}

#forma-program-editor :is(.ecm-participation-cost,.ecm-program-cancellation-policy){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;grid-column:1/-1;min-width:0}
#forma-program-editor .ecm-participation-cost>*,#forma-program-editor .ecm-program-cancellation-policy>*{grid-column:1/-1;min-width:0}
#forma-program-editor .ecm-participation-cost__choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#forma-program-editor .ecm-program-cancellation-policy .ecm-participation-cost__choice{grid-template-columns:minmax(0,1fr)}
#forma-program-editor .ecm-participation-cost__choice>legend{grid-column:1/-1;margin-bottom:2px}
/* forma-manager.css forces display:block!important on the option card. */
#forma-program-editor .ecm-participation-cost__option{position:relative;display:block!important;cursor:pointer}
#forma-program-editor .ecm-participation-cost__option>input{position:absolute;inset-block-start:16px;inset-inline-start:14px;opacity:0;pointer-events:none}
#forma-program-editor .ecm-participation-cost__option>span{display:block;min-height:74px;padding:13px 14px;border:1px solid var(--pf-line);border-radius:var(--pf-radius);background:var(--pf-panel-2);transition:border-color .15s,box-shadow .15s}
#forma-program-editor .ecm-participation-cost__option :is(strong,small){display:block}
#forma-program-editor .ecm-participation-cost__option strong{color:var(--pf-text);font-size:13px}
#forma-program-editor .ecm-participation-cost__option small{margin-top:5px;font-size:11.5px}
#forma-program-editor .ecm-participation-cost__option>input:checked+span{border-color:var(--pf-accent);box-shadow:inset 0 0 0 1px var(--pf-accent)}
#forma-program-editor .ecm-participation-cost__option>input:focus-visible+span{outline:2px solid var(--pf-accent);outline-offset:2px}
#forma-program-editor .ecm-participation-cost__option.is-disabled-441{opacity:.45;filter:grayscale(1);cursor:not-allowed}
#forma-program-editor .ecm-participation-cost__paid-fields{display:block;width:100%}
#forma-program-editor .ecm-participation-cost__notice{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--pf-line-accent);border-radius:var(--pf-radius);background:color-mix(in srgb,var(--pf-accent) 6%,var(--pf-panel));color:var(--pf-text-2);font-size:12px;line-height:1.85}
#forma-program-editor .ecm-participation-cost__notice strong{color:var(--pf-text);font-size:12.5px}
#forma-program-editor .ecm-creation-locked-441__note{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:color-mix(in srgb,var(--pf-warn) 10%,transparent);color:var(--pf-warn-text);font-size:12.5px}

#forma-program-editor .ecm-pq559{display:grid;gap:12px}
#forma-program-editor .ecm-pq559__list{display:grid;gap:10px}
#forma-program-editor .ecm-pq559__row{display:grid;gap:10px;padding:14px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-panel-2)}
#forma-program-editor .ecm-pq559__text textarea{min-height:76px}
#forma-program-editor .ecm-pq559__row-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
#forma-program-editor .ecm-pq559 [data-pq559-add]{justify-self:start}
/* the questions block prints its own inline style with width:auto!important on this box */
#forma-program-editor .ecm-pq559__check input{width:17px!important}
#forma-program-editor :is(.ecm-pq559__empty,.ecm-pq559__hint){color:var(--pf-muted)}

/* ---------- 11. step 4: people and team ---------- */
#forma-program-editor .ecm-program-team-card>:not(.ecm-call-editor__section-head)+*{margin-top:14px}
#forma-program-editor .ecm-program-team-list{display:grid;gap:8px}
#forma-program-editor .ecm-program-team-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--pf-line);border-radius:var(--pf-radius);background:var(--pf-panel-2)}
#forma-program-editor .ecm-program-team-row strong{display:block;color:var(--pf-text);font-size:13px}
#forma-program-editor .ecm-program-team-row small{display:block}
#forma-program-editor .ecm-program-team-invite{display:block;padding:16px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-panel-2)}
#forma-program-editor .ecm-program-team-invite h4{margin-bottom:4px;font-size:14px;font-weight:800}
#forma-program-editor .ecm-program-team-invite>p{margin-bottom:14px;font-size:12px;color:var(--pf-muted)}
#forma-program-editor .ecm-program-email-fallback{display:grid;gap:2px;padding-top:12px;border-top:1px dashed var(--pf-line)}
#forma-program-editor .ecm-program-email-fallback strong{color:var(--pf-text);font-size:13px}
#forma-program-editor .ecm-program-people{display:grid;gap:14px}
#forma-program-editor .ecm-program-people>[data-add-program-person]{justify-self:start}
#forma-program-editor .ecm-program-person-row{display:grid;gap:12px;padding:16px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-panel-2)}
#forma-program-editor .ecm-program-person-row__identity{display:grid;grid-template-columns:minmax(170px,210px) minmax(0,1fr);gap:16px;align-items:start}
#forma-program-editor .ecm-program-person-row__photo{display:grid;justify-items:center;gap:10px;padding:14px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-panel);text-align:center}
#forma-program-editor .ecm-program-person-photo-preview{display:grid;place-items:center;width:96px;height:96px;overflow:hidden;border:1px dashed var(--pf-line);border-radius:50%;color:var(--pf-muted);font-size:12px}
#forma-program-editor .ecm-program-person-photo-preview img{display:block;width:100%;height:100%;object-fit:cover}
#forma-program-editor .ecm-program-person-row__photo label{justify-items:center;width:100%}
#forma-program-editor .ecm-program-person-row__photo small label{display:inline-flex;flex-direction:row;align-items:center;gap:6px}
#forma-program-editor .ecm-program-person-row>[data-remove-program-person]{justify-self:start}
#forma-program-editor .ecm-program-role-removal{width:min(36rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);margin:auto;padding:1.5rem;overflow:auto;border:1px solid var(--pf-line);border-radius:16px;background:var(--pf-panel);color:var(--pf-text)}
#forma-program-editor .ecm-program-role-removal::backdrop{background:rgba(0,0,0,.55)}
#forma-program-editor .ecm-program-role-removal h3{margin-bottom:1rem;font-size:1.1rem}
#forma-program-editor .ecm-program-role-removal p{margin-bottom:1rem;line-height:1.9}
#forma-program-editor .ecm-program-role-removal [data-role-removal-blocked]{color:var(--pf-danger);font-weight:700}
#forma-program-editor .ecm-program-role-removal__actions{display:flex;flex-wrap:wrap;gap:.6rem}

/* ---------- 12. step 6: licence and terms ---------- */
#forma-program-editor .ecm-compliance-card__body{display:grid;gap:14px}
#forma-program-editor .ecm-compliance-card__body>p{color:var(--pf-text-2);font-size:12.5px;line-height:1.9}
#forma-program-editor .ecm-commercial-creation-terms label{max-width:none}
#forma-program-editor .ecm-legal-approval-card__body{display:grid;gap:14px}
#forma-program-editor .ecm-legal-approval-card__intro{color:var(--pf-text-2);font-size:12.5px;line-height:1.95}
#forma-program-editor :is(.ecm-legal-approval-card__policy,.ecm-legal-approval-card__responsibility,.ecm-legal-approval-card__revision){display:grid;gap:10px;min-width:0;padding:15px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-panel-2)}
#forma-program-editor :is(.ecm-legal-approval-card__policy,.ecm-legal-approval-card__responsibility,.ecm-legal-approval-card__revision)>strong{color:var(--pf-text);font-size:13px}
#forma-program-editor .ecm-compliance-card__accepted{color:var(--pf-ok-text)}
/* forma-manager.css forces this row to display:flex / flex-direction:row with !important; same values here. */
/* “Credit & publishing terms” (publication credit) */
#forma-program-editor .ecm-terms-card__body{display:grid;gap:14px}
#forma-program-editor :is(.ecm-terms-card__explanation,.ecm-terms-card__scope,.ecm-terms-card__issued,.ecm-terms-card__hint){color:var(--pf-text-2);font-size:12.5px;line-height:1.9}
#forma-program-editor :is(.ecm-terms-card__scope,.ecm-terms-card__issued) strong{color:var(--pf-text)}
#forma-program-editor .ecm-terms-card__fieldset{display:grid;gap:8px}
#forma-program-editor .ecm-terms-card__fieldset>legend{margin-bottom:8px;font-size:14px}
/* commercial-creation-ux.css forces display:flex and an 18px radio with !important; same values here. */
#forma-program-editor .ecm-terms-card__option{display:flex!important;flex-direction:row;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--pf-line);border-radius:var(--pf-radius);background:var(--pf-panel-2);cursor:pointer}
#forma-program-editor .ecm-terms-card__option:has(input:checked){border-color:var(--pf-accent);box-shadow:inset 0 0 0 1px var(--pf-accent)}
#forma-program-editor .ecm-terms-card__option input[type="radio"]{width:18px!important;height:18px!important;margin-top:3px}
#forma-program-editor .ecm-terms-card__option>span{display:grid;gap:4px;min-width:0}
#forma-program-editor .ecm-terms-card__option strong{color:var(--pf-text);font-size:13.5px}
#forma-program-editor .ecm-terms-card__option small{font-size:12px;line-height:1.8;color:var(--pf-muted)}
#forma-program-editor .ecm-terms-card__option small b{font-weight:650;white-space:nowrap}
#forma-program-editor .ecm-terms-card__option.is-unavailable:not(:has(input:checked)){opacity:.58}

/* the “Related Forma rules” button and its window */
#forma-program-editor .forma-terms-reference{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#forma-program-editor .forma-terms-link{display:inline-flex;align-items:center;min-height:38px;margin:0;padding:0 14px;border:1px solid var(--pf-line-accent);border-radius:var(--pf-radius);background:transparent;color:var(--pf-accent);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
#forma-program-editor .forma-terms-link:hover{background:var(--pf-accent-soft)}
#forma-program-editor .forma-terms-modal{width:min(44rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);margin:auto;padding:0;overflow:auto;border:1px solid var(--pf-line);border-radius:16px;background:var(--pf-panel);color:var(--pf-text)}
#forma-program-editor .forma-terms-modal[open]{display:block}
#forma-program-editor .forma-terms-modal::backdrop{background:rgba(0,0,0,.55)}
#forma-program-editor .forma-terms-modal__head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--pf-line);background:var(--pf-panel)}
#forma-program-editor .forma-terms-modal__head strong{font-size:15px}
#forma-program-editor .forma-terms-modal__head button{width:34px;height:34px;border:1px solid var(--pf-line);border-radius:50%;background:transparent;color:var(--pf-text);font-size:18px;line-height:1;cursor:pointer}
#forma-program-editor .forma-terms-modal__body{display:grid;gap:16px;padding:18px}
#forma-program-editor .forma-terms-modal__body h3{margin-bottom:6px;font-size:14px;font-weight:800}
#forma-program-editor .forma-terms-modal__body :is(p,li){color:var(--pf-text-2);font-size:13px;line-height:1.95}
#forma-program-editor .forma-terms-modal>p{padding:0 18px}
#forma-program-editor .forma-terms-modal>button{margin:14px 18px 18px;padding:8px 16px;border:1px solid var(--pf-line);border-radius:var(--pf-radius);background:var(--pf-panel-2);color:var(--pf-text);font:inherit;font-size:13px;cursor:pointer}
#forma-program-editor .ecm-legal-approval-card__check{display:flex!important;flex-direction:row!important;align-items:flex-start;max-width:none!important;padding:12px;border:1px solid var(--pf-line-accent);border-radius:var(--pf-radius);background:var(--pf-panel);line-height:1.9}
#forma-program-editor .ecm-legal-approval-card__check input{margin-top:4px}
#forma-program-editor .ecm-terms-card__warning{padding:10px 12px;border:1px solid color-mix(in srgb,var(--pf-danger) 45%,transparent);border-radius:var(--pf-radius);background:color-mix(in srgb,var(--pf-danger) 10%,transparent);color:var(--pf-danger);font-size:12.5px}

/* ---------- 13. guide card (00) and creation wizard ---------- */
#forma-program-editor .ecm-form-intro-card{display:block;overflow:hidden;border:1px solid var(--pf-line-accent);border-radius:var(--pf-radius-card);background:var(--pf-panel)}
#forma-program-editor .ecm-form-intro-card>.ecm-call-editor__section-head{position:relative;display:flex;align-items:center;gap:12px;padding:15px 18px;padding-inline-end:56px;cursor:pointer;user-select:none}
#forma-program-editor .ecm-form-intro-card>.ecm-call-editor__section-head>span:first-child{display:grid;flex:0 0 32px;place-items:center;width:32px;height:32px;border:1px solid color-mix(in srgb,var(--pf-accent) 42%,transparent);border-radius:50%;color:var(--pf-accent);font-size:11px;font-weight:800}
#forma-program-editor .ecm-form-intro-card>.ecm-call-editor__section-head h3{font-size:16px;font-weight:800}
#forma-program-editor .ecm-form-intro-card>.ecm-call-editor__section-head p{margin-top:2px;color:var(--pf-text-2);font-size:12px}
#forma-program-editor .ecm-call-editor__collapse-icon{position:absolute;top:50%;right:18px;width:26px;height:26px;border:1px solid var(--pf-line);border-radius:50%;transform:translateY(-50%)}
#forma-program-editor .ecm-call-editor__collapse-icon::before{content:"";position:absolute;inset:0;width:7px;height:7px;margin:auto;border-left:2px solid var(--pf-accent);border-bottom:2px solid var(--pf-accent);transform:translateY(2px) rotate(135deg)}
#forma-program-editor .is-collapsed>.ecm-call-editor__section-head .ecm-call-editor__collapse-icon::before{transform:translateY(-2px) rotate(-45deg)}
#forma-program-editor .ecm-form-intro-card.is-collapsed>:not(.ecm-call-editor__section-head){display:none}
#forma-program-editor .ecm-form-intro-card__content{display:block;padding:0 18px 18px}
#forma-program-editor .forma-creation-guide{display:grid;gap:14px}
#forma-program-editor :is(.forma-creation-guide__hero,.forma-creation-guide__roles,.forma-creation-guide__collaboration){border:1px solid var(--pf-line);border-radius:14px;background:var(--pf-panel-2)}
#forma-program-editor .forma-creation-guide__hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px}
#forma-program-editor :is(.forma-creation-guide__hero small,.forma-creation-guide__section-head small,.forma-creation-guide__collaboration-copy>small){display:block;color:var(--pf-accent);font-size:10.5px;font-weight:800;letter-spacing:.1em}
#forma-program-editor .forma-creation-guide__hero h2{margin:5px 0 7px;font-size:22px;font-weight:800;line-height:1.4}
#forma-program-editor .forma-creation-guide p{color:var(--pf-text-2);font-size:12.5px;line-height:1.9}
#forma-program-editor .forma-creation-guide__level{flex:0 0 190px;padding:14px;border:1px solid var(--pf-line-accent);border-radius:12px;background:var(--pf-panel)}
#forma-program-editor .forma-creation-guide__level :is(span,strong,em){display:block}
#forma-program-editor .forma-creation-guide__level span{color:var(--pf-muted);font-size:11px}
#forma-program-editor .forma-creation-guide__level strong{margin-top:4px;font-size:15px}
#forma-program-editor .forma-creation-guide__level em{margin-top:3px;color:var(--pf-text-2);font-size:11px;font-style:normal}
#forma-program-editor .forma-creation-guide__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#forma-program-editor .forma-creation-guide__grid article{display:flex;gap:11px;min-width:0;padding:15px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-panel-2)}
#forma-program-editor .forma-creation-guide__grid article>span{display:grid;flex:0 0 30px;place-items:center;width:30px;height:30px;border:1px solid var(--pf-line-accent);border-radius:50%;color:var(--pf-accent);font-size:11px;font-weight:800}
#forma-program-editor .forma-creation-guide__grid strong{display:block;font-size:13px}
#forma-program-editor .forma-creation-guide__grid p{margin-top:5px;font-size:12px}
#forma-program-editor .forma-creation-guide__roles{padding:20px}
#forma-program-editor :is(.forma-creation-guide__section-head h3,.forma-creation-guide__collaboration h3){margin:4px 0 5px;font-size:16px;font-weight:800}
#forma-program-editor .forma-creation-guide__role-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}
#forma-program-editor .forma-creation-guide__role-list>div{padding:12px;border:1px solid var(--pf-line);border-radius:var(--pf-radius);background:var(--pf-panel)}
#forma-program-editor .forma-creation-guide__role-list :is(strong,span){display:block}
#forma-program-editor .forma-creation-guide__role-list strong{font-size:12.5px}
#forma-program-editor .forma-creation-guide__role-list span{margin-top:4px;color:var(--pf-text-2);font-size:11.5px;line-height:1.75}
#forma-program-editor .forma-creation-guide__collaboration{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;padding:20px}
#forma-program-editor .forma-creation-guide__collaboration ol{display:grid;gap:7px;margin:0;padding:0;list-style:none}
#forma-program-editor .forma-creation-guide__collaboration li{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid var(--pf-line);border-radius:9px;background:var(--pf-panel);color:var(--pf-text-2);font-size:12px;line-height:1.7}
#forma-program-editor .forma-creation-guide__collaboration li b{display:grid;flex:0 0 22px;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--pf-accent-soft);color:var(--pf-accent);font-size:10px}
#forma-program-editor .forma-creation-guide__upgrade{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 14px;padding:12px 14px;border:1px solid var(--pf-line-accent);border-radius:var(--pf-radius);background:var(--pf-accent-soft)}
#forma-program-editor .forma-creation-guide__upgrade strong{font-size:12.5px}
#forma-program-editor .forma-creation-guide__upgrade span{color:var(--pf-text-2);font-size:11.5px;line-height:1.7}
#forma-program-editor .forma-creation-guide__upgrade a{grid-area:1/2/3;font-size:12px;font-weight:700;white-space:nowrap}

#forma-program-editor .ecm-creation-wizard{display:grid;gap:18px;width:100%;min-width:0;scroll-margin-top:90px}
#forma-program-editor .ecm-creation-wizard__progress{display:flex;flex-wrap:wrap;gap:9px;padding:12px;border:1px solid var(--pf-line);border-radius:12px;color:var(--pf-muted)}
#forma-program-editor .ecm-creation-wizard__progress span{padding:5px 9px;border-radius:7px;font-size:12.5px}
#forma-program-editor .ecm-creation-wizard__progress .is-current{background:var(--pf-panel-2);color:var(--pf-text);font-weight:750}
#forma-program-editor .ecm-creation-wizard>div:not(.ecm-creation-wizard__progress){display:grid;gap:14px}
#forma-program-editor .ecm-creation-wizard .ecm-call-editor__section{display:block;overflow:hidden;border:1px solid var(--pf-line-accent);border-radius:var(--pf-radius-card);background:var(--pf-panel)}
#forma-program-editor .ecm-creation-wizard .ecm-call-editor__section-head{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid var(--pf-line)}
#forma-program-editor .ecm-creation-wizard .ecm-call-editor__section-head>span:first-child{display:none}
#forma-program-editor .ecm-creation-wizard .ecm-call-editor__section-head h3{font-size:16px;font-weight:800}
#forma-program-editor .ecm-creation-wizard .ecm-call-editor__section-head p{margin-top:3px;color:var(--pf-text-2);font-size:12px}
#forma-program-editor .ecm-creation-wizard :is(.ecm-compliance-card__body,.ecm-legal-approval-card__body,.ecm-terms-card__body){padding:18px}
#forma-program-editor .ecm-creation-wizard__actions{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 8px}
#forma-program-editor .ecm-creation-wizard__error{padding:10px 12px;border:1px solid color-mix(in srgb,var(--pf-danger) 45%,transparent);border-radius:var(--pf-radius);background:color-mix(in srgb,var(--pf-danger) 10%,transparent);color:var(--pf-danger);font-size:12.5px}

/* ---------- 14. side column ---------- */
#forma-program-editor .pf564-card{display:block;padding:20px;border:1px solid var(--pf-line-accent);border-radius:var(--pf-radius-card);background:var(--pf-panel)}
#forma-program-editor .pf564-card h3{font-size:16px;font-weight:800}
#forma-program-editor .pf564-hint{margin-top:12px;color:var(--pf-muted);font-size:12px;line-height:1.8}
#forma-program-editor .pf564-ready__head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
#forma-program-editor .pf564-ready__head span{color:var(--pf-warn-text);font-size:13px;font-weight:800}
#forma-program-editor .pf564-ready__head span.is-complete{color:var(--pf-ok-text)}
#forma-program-editor .pf564-ready__bar{display:block;height:6px;margin:12px 0 8px;overflow:hidden;border-radius:99px;background:color-mix(in srgb,var(--pf-text) 8%,transparent)}
#forma-program-editor .pf564-ready__bar span{display:block;width:0;height:100%;background:var(--pf-accent);transition:width .2s}
#forma-program-editor .pf564-ready ul{margin:0;padding:0;list-style:none}
#forma-program-editor .pf564-ready li a{display:flex;align-items:center;gap:10px;padding:7px 0;color:var(--pf-text-2);font-size:13.5px;text-decoration:none}
#forma-program-editor .pf564-ready li a:hover{color:var(--pf-text)}
#forma-program-editor .pf564-ready li.is-todo a{color:var(--pf-warn-text)}
#forma-program-editor .pf564-ready__icon{position:relative;flex:none;width:18px;height:18px;border:2px solid var(--pf-warn);border-radius:50%}
#forma-program-editor .pf564-ready li.is-ok .pf564-ready__icon{border:0;background:var(--pf-accent)}
#forma-program-editor .pf564-ready li.is-ok .pf564-ready__icon::after{content:"";position:absolute;top:3px;right:6px;width:5px;height:9px;border:solid var(--pf-on-accent);border-width:0 0 2px 2px;transform:rotate(-45deg)}
#forma-program-editor .pf564-publish h3{margin-bottom:10px}
#forma-program-editor .pf564-when{display:flex;flex-direction:column;gap:8px}
#forma-program-editor .pf564-when label>span{font-size:13.5px;font-weight:600}
#forma-program-editor .pf564-when__date{margin-top:10px}
#forma-program-editor .pf564-actions{display:flex;flex-direction:column;gap:10px;margin:16px 0 0}
#forma-program-editor .pf564-actions .forma-button{width:100%;min-height:46px}
#forma-program-editor .pf564-actions__ready{display:none}
#forma-program-editor .pf564-view{display:block;margin-top:12px;font-size:13px;text-align:center}
#forma-program-editor .ecm-program-operations-summary__body{display:flex;flex-direction:column;gap:10px;margin-top:12px}
#forma-program-editor .ecm-program-operations-summary__body .forma-button{width:100%}

/* ---------- 15. narrower screens ---------- */
@media (max-width:1180px){
  #forma-program-editor .forma-creation-guide__grid,#forma-program-editor .forma-creation-guide__role-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  #forma-program-editor .forma-creation-guide__collaboration{grid-template-columns:1fr}
}
@media (max-width:899px){
  #forma-program-editor .pf564-steps{flex-wrap:nowrap;width:100%;overflow-x:auto;border-radius:14px}
  #forma-program-editor .pf564-steps__item{white-space:nowrap}
  #forma-program-editor .pf564-side{flex-basis:100%;max-width:none}
  #forma-program-editor .pf564-step__head{padding:16px}
  #forma-program-editor .pf564-step__body{padding:0 16px 18px}
  #forma-program-editor .pf564-poster{grid-template-columns:96px minmax(0,1fr)}
  #forma-program-editor .pf564-poster .ecm-call-editor__media-preview{width:96px;height:120px;aspect-ratio:auto}
  #forma-program-editor .ecm-pf564{padding-bottom:132px}
  /* the save / publish buttons stay at the bottom of the screen, above the site's own bottom menu */
  #forma-program-editor .pf564-actions{position:fixed;z-index:50;left:0;bottom:var(--pf564-bottom,0px);right:0;flex-direction:row;flex-wrap:wrap;gap:8px;margin:0;padding:10px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--pf-line);background:var(--pf-panel);box-shadow:0 -8px 24px rgba(0,0,0,.35)}
  #forma-program-editor .pf564-actions .pf564-cancel{display:none}
  #forma-program-editor .pf564-actions .forma-button{flex:1 1 0;width:auto;min-height:44px}
  #forma-program-editor .pf564-actions__ready{display:block;flex:1 1 100%;color:var(--pf-warn-text);font-size:13px;text-decoration:none}
  #forma-program-editor .pf564-actions__ready.is-complete{color:var(--pf-ok-text)}
  /* outside the editor, on this page only: the help-chat button sits above the action bar */
  body:has(#forma-program-editor) .forma-hc__launcher{bottom:calc(var(--pf564-bar-top,140px) + 12px)}
  #forma-program-editor .forma-creation-guide__hero{flex-direction:column;align-items:flex-start;padding:18px}
  #forma-program-editor .forma-creation-guide__level{flex-basis:auto;width:100%}
}
@media (max-width:720px){
  #forma-program-editor :is(.ecm-call-editor__fields,.ecm-manager-fields,.ecm-organizer-compliance__fields,.ecm-participation-cost,.ecm-program-cancellation-policy,.ecm-participation-cost__choice,.ecm-manager-fields fieldset){grid-template-columns:minmax(0,1fr)}
  #forma-program-editor .ecm-program-person-row__identity{grid-template-columns:minmax(0,1fr)}
  #forma-program-editor .ecm-program-team-row{grid-template-columns:minmax(0,1fr)}
  #forma-program-editor .forma-creation-guide__grid,#forma-program-editor .forma-creation-guide__role-list{grid-template-columns:minmax(0,1fr)}
  #forma-program-editor .forma-creation-guide__upgrade{grid-template-columns:minmax(0,1fr)}
  #forma-program-editor .forma-creation-guide__upgrade a{grid-area:auto}
  #forma-program-editor .ecm-creation-wizard__actions{display:grid;grid-template-columns:minmax(0,1fr)}
  #forma-program-editor .ecm-creation-wizard__actions button{width:100%}
  #forma-program-editor .ecm-form-intro-card>.ecm-call-editor__section-head{padding:13px 14px;padding-inline-end:48px}
  #forma-program-editor .ecm-call-editor__collapse-icon{right:12px}
  #forma-program-editor .ecm-form-intro-card__content{padding:0 14px 14px}
}
@media (max-width:560px){
  #forma-program-editor .pf564-poster{grid-template-columns:minmax(0,1fr)}
  #forma-program-editor .pf564-poster .ecm-call-editor__media-preview{width:120px;height:150px}
  #forma-program-editor .pf564-drop{padding:14px}
}
#forma-program-editor .ecm-program-deadline-644__hint{display:block;margin-top:8px} /* 644 */
