/* Exhibition Calls Manager v0.5 — dark/theme aware frontend */
.ecm-calls-grid,.ecm-call-details,.ecm-submission-form,.ecm-my-calls,.ecm-notice,.ecm-error,.ecm-success,.ecm-empty{box-sizing:border-box;color:var(--ecm-text)}
.ecm-calls-grid *,.ecm-call-details *,.ecm-submission-form *,.ecm-my-calls *{box-sizing:border-box}
.ecm-calls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%}
.ecm-call-card,.ecm-my-card,.ecm-submission-form,.ecm-call-details{border:1px solid var(--ecm-border);border-radius:var(--ecm-radius);background:var(--ecm-card-bg);color:var(--ecm-text);margin:20px 0}
.ecm-call-card{overflow:hidden;margin:0;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.ecm-call-card:hover{transform:translateY(-2px);border-color:var(--ecm-accent);box-shadow:0 12px 32px rgba(0,0,0,.28)}
.ecm-card-image{display:block;background:var(--ecm-surface);overflow:hidden}
.ecm-card-image img{display:block;width:100%;height:220px;object-fit:cover;transition:transform .35s ease}
.ecm-call-card:hover .ecm-card-image img{transform:scale(1.015)}
.ecm-card-placeholder{display:block;width:100%;height:160px;background:linear-gradient(-135deg,var(--ecm-surface),var(--ecm-card-bg))}
.ecm-card-body,.ecm-my-card,.ecm-submission-form,.ecm-call-details{padding:20px}
.ecm-card-body h3,.ecm-call-details h1,.ecm-call-details h2,.ecm-call-details h3,.ecm-submission-form h3,.ecm-my-card h3{color:var(--ecm-text)}
.ecm-card-body h3{margin:0 0 12px;font-size:1.2rem}
.ecm-card-body h3 a,.ecm-my-card-head h3 a{color:var(--ecm-text);text-decoration:none}
.ecm-card-body h3 a:hover,.ecm-my-card-head h3 a:hover{color:var(--ecm-accent)}
.ecm-meta,.ecm-my-submitted,.ecm-artwork-meta{color:var(--ecm-muted)!important}
.ecm-btn,.ecm-submission-form button.ecm-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ecm-accent);border-radius:9px;padding:10px 18px;background:var(--ecm-accent);color:var(--ecm-accent-text)!important;text-decoration:none;cursor:pointer;font:inherit;transition:filter .2s ease,transform .2s ease}
.ecm-btn:hover,.ecm-btn:focus{filter:brightness(1.12);color:var(--ecm-accent-text)!important;transform:translateY(-1px)}
.ecm-secondary,.ecm-submission-form button.ecm-secondary{background:transparent;color:var(--ecm-text)!important;border-color:var(--ecm-border)}
.ecm-secondary:hover{border-color:var(--ecm-accent);color:var(--ecm-text)!important}
.ecm-notice,.ecm-error,.ecm-success,.ecm-empty{padding:14px 16px;border-radius:10px;margin:16px 0;background:var(--ecm-surface);border:1px solid var(--ecm-border);color:var(--ecm-text)}
.ecm-notice a{color:var(--ecm-accent)}
.ecm-error{border-color:var(--ecm-rejected);background:color-mix(in srgb,var(--ecm-rejected) 10%,var(--ecm-card-bg))}
.ecm-success{border-color:var(--ecm-accepted);background:color-mix(in srgb,var(--ecm-accepted) 10%,var(--ecm-card-bg))}
.ecm-call-details p,.ecm-call-details li,.ecm-submission-form p,.ecm-submission-form label{color:var(--ecm-text)}
.ecm-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ecm-submission-form label{display:block;margin:10px 0}

.ecm-terms input[type=checkbox]{accent-color:var(--ecm-accent)}
.ecm-artwork-row{display:flex;gap:14px;align-items:center;border-top:1px solid var(--ecm-border);padding:14px 0;color:var(--ecm-text)}
.ecm-artwork-row:first-child{border-top:0}
.ecm-artwork-row img{width:78px;height:78px;object-fit:cover;border-radius:9px;border:1px solid var(--ecm-border)}
.ecm-um-my-calls{width:100%}
.ecm-my-card{overflow:visible}
.ecm-my-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
.ecm-my-card-head h3{margin:0 0 5px}
.ecm-my-submitted{margin:0;font-size:.9em}
.ecm-application-status{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid var(--ecm-border);border-radius:999px;padding:6px 11px;font-size:.86em;color:var(--ecm-text);background:var(--ecm-surface)}
.ecm-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0 8px}
.ecm-summary-grid>div{border:1px solid var(--ecm-border);border-radius:10px;padding:12px;text-align:center;background:var(--ecm-surface);color:var(--ecm-text)}
.ecm-summary-grid strong{display:block;font-size:1.35em;line-height:1.2;color:var(--ecm-text)}
.ecm-summary-grid span{display:block;font-size:.82em;margin-top:4px;color:var(--ecm-muted)}
.ecm-summary-accepted strong{color:var(--ecm-accepted)}
.ecm-summary-rejected strong{color:var(--ecm-rejected)}
.ecm-summary-pending strong{color:var(--ecm-pending)}
.ecm-artwork-info{display:flex;flex-direction:column;gap:5px;color:var(--ecm-text)}
.ecm-artwork-title{font-size:1.02em;color:var(--ecm-text)}
.ecm-artwork-meta{font-size:.86em}
.ecm-status{display:inline-flex;width:max-content;border:1px solid currentColor;border-radius:999px;padding:4px 9px;font-size:.84em;line-height:1.4;font-weight:600;background:transparent}
.ecm-status-accepted{color:var(--ecm-accepted)!important}
.ecm-status-rejected{color:var(--ecm-rejected)!important}
.ecm-status-pending{color:var(--ecm-pending)!important}

/* Keep Ultimate Member dark-profile content readable when the theme sets light surfaces globally. */
.um .ecm-my-calls,.um-account .ecm-my-calls{color:var(--ecm-text)}
.um .ecm-my-card,.um-account .ecm-my-card{background:var(--ecm-card-bg);border-color:var(--ecm-border)}

@media(max-width:760px){
  .ecm-calls-grid,.ecm-field-grid{grid-template-columns:1fr}
  .ecm-my-card-head{flex-direction:column}
  .ecm-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ecm-card-image img{height:190px}
}

/* v0.7 structured photographer/application form */
.ecm-form-section{margin:0 0 28px;padding:22px;border:1px solid var(--ecm-border,#54595F);border-radius:14px;background:var(--ecm-card,#111)}
.ecm-form-section h3{margin-top:0;color:var(--ecm-text,#ECECEC)}

/* v0.8 print-production workflow */
.ecm-print-upload{margin-top:14px;padding:14px;border:1px solid var(--ecm-border,#54595F);border-radius:12px;background:rgba(255,255,255,.025)}
.ecm-print-upload h4{margin:0 0 8px;color:var(--ecm-text,#ECECEC)}
.ecm-print-status{font-weight:600}
.ecm-print-status-approved{color:#72d49a}.ecm-print-status-revision{color:#f0b36a}
.ecm-print-note{padding:10px;border-inline-start:3px solid var(--ecm-accent,#1E7B8D)}
.ecm-highres-files{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.ecm-highres-form{margin-top:12px}.ecm-highres-form small{display:block;margin:7px 0 10px;opacity:.75}

/* v0.9 certificates */
.ecm-certificates-list{display:grid;gap:14px}
.ecm-certificate-card{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px;border:1px solid var(--ecm-border,#54595F);border-radius:14px;background:var(--ecm-card,#111);color:var(--ecm-text,#ECECEC)}
.ecm-certificate-card h3{margin:0 0 5px;color:var(--ecm-text,#ECECEC)}
.ecm-certificate-card p{margin:5px 0}
.ecm-certificate-note{opacity:.85}
.ecm-certificate-actions{flex:0 0 auto}
@media(max-width:700px){.ecm-certificate-card{flex-direction:column;align-items:stretch}.ecm-certificate-actions .ecm-btn{width:100%;text-align:center}}

/* ECM v1.0.15 — consistent profile section hierarchy */
.ecm-profile-content-section{
  margin:0 0 34px;
}
.ecm-content-section-heading{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:0 0 16px;
  padding:14px 16px;
  background:#141414;
  border:1px solid #2F2F2F;
  border-radius:10px;
}
.ecm-content-section-accent{
  display:block;
  flex:0 0 4px;
  width:4px;
  height:38px;
  margin-top:2px;
  border-radius:999px;
  background:#1E7B8D;
}
.ecm-content-section-copy h2{
  margin:0 0 4px;
  color:#ECECEC;
  font-size:22px;
  line-height:1.45;
  font-weight:700;
}
.ecm-content-section-copy p{
  margin:0;
  color:#7A7A7A;
  font-size:13px;
  line-height:1.8;
}

.ecm-content-section-copy{min-width:0}
.ecm-section-owner-action{
  margin-inline-start:auto;
  align-self:center;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 12px;
  border:1px solid #1E7B8D;
  border-radius:6px;
  background:#1E7B8D;
  color:#fff!important;
  font-size:12px;
  font-weight:700;
  text-decoration:none!important;
}
.ecm-section-owner-action:hover{background:#176675;border-color:#176675;color:#fff!important}
.ecm-content-section-body > :first-child{margin-top:0}
.ecm-content-section-body > :last-child{margin-bottom:0}
@media (max-width:767px){
  .ecm-profile-content-section{margin-bottom:26px}
  .ecm-content-section-heading{margin-bottom:13px;padding:12px}
  .ecm-content-section-copy h2{font-size:19px}
  .ecm-section-owner-action{padding:6px 9px;font-size:11px}
  .ecm-content-section-accent{height:34px}
}

/* ECM v1.0.19 — unified public calls + archive */
.ecm-calls-archive{color:var(--ecm-text)}.ecm-calls-archive:not(.forma-archive){padding:34px 0 54px}

.ecm-calls-archive .ecm-archive-image{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ecm-surface)}
.ecm-calls-archive .ecm-archive-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ecm-calls-archive .ecm-archive-card:hover .ecm-archive-image img{transform:scale(1.02)}
.ecm-calls-archive .ecm-archive-placeholder{display:block;width:100%;height:100%;background:linear-gradient(-135deg,var(--ecm-surface),var(--ecm-card-bg))}
.ecm-call-badge{position:absolute;top:13px;left:13px;display:inline-flex;align-items:center;min-height:27px;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:800;line-height:1;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.ecm-badge-active{background:#1E7B8D}
.ecm-badge-expired{background:#54595F}
.ecm-badge-upcoming{background:#365866}

.ecm-calls-archive .ecm-archive-date{margin:0 0 9px;color:var(--ecm-muted);font-size:11px;line-height:1.7}

.ecm-calls-archive .ecm-archive-link{display:inline-flex;align-items:center;gap:7px;color:var(--ecm-accent)!important;text-decoration:none;font-size:12px;font-weight:750}
.ecm-calls-archive .ecm-archive-link:hover{gap:10px}

@media(max-width:600px){.ecm-calls-archive:not(.forma-archive){padding:22px 0 38px}}

/* v1.1.0.4 — artist edit / withdraw controls */
.ecm-film-entry{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.ecm-film-owner-actions,.ecm-form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
.ecm-film-owner-actions form{margin:0}
.ecm-btn.ecm-btn-secondary{background:transparent;border:1px solid #1E7B8D;color:#1E7B8D;text-decoration:none}
.ecm-btn.ecm-btn-danger{background:transparent;border:1px solid #9f3a38;color:#d86b68}
.ecm-current-poster{display:block;margin:8px 0}
.ecm-current-poster img{max-width:90px;height:auto;border-radius:4px}
@media (max-width:700px){.ecm-film-owner-actions,.ecm-form-actions{align-items:stretch}.ecm-film-owner-actions .ecm-btn,.ecm-film-owner-actions form,.ecm-film-owner-actions form .ecm-btn,.ecm-form-actions .ecm-btn{width:100%;text-align:center}}

/* Public Film Jury */
.ecm-public-jury{margin:18px 0 20px;padding-top:2px}
.ecm-public-jury h3{margin:0 0 10px}
.ecm-public-jury-list{display:flex;flex-wrap:wrap;gap:8px}
.ecm-public-jury-list span{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid #DFDFDF;border-radius:999px;font-size:14px;line-height:1.4}

/* v1.2.1 — Event Location & Schedule + public artist participation */
.ecm-event-card-meta{margin:0 0 9px;color:var(--ecm-accent);font-size:12px;line-height:1.8;font-weight:650}
.ecm-event-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 22px;padding:15px;border:1px solid var(--ecm-border);border-radius:var(--ecm-radius);background:var(--ecm-card-bg)}
.ecm-event-summary span{display:flex;flex-direction:column;gap:4px;color:var(--ecm-text);font-size:13px;line-height:1.7}.ecm-event-summary strong{color:var(--ecm-muted);font-size:11px;font-weight:700}

@media(max-width:700px){.ecm-event-summary{grid-template-columns:1fr}}

/* ECM v1.7.1 — Forma Notification UX Refinement */
.ecm-notifications{width:min(820px,100%);margin:28px auto;color:var(--ecm-text,#ECECEC)}
.ecm-notifications-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--ecm-border,#DFDFDF)}
.ecm-notifications-kicker{display:block;margin-bottom:5px;color:var(--ecm-accent,#1E7B8D);font-size:10px;font-weight:800;letter-spacing:.16em}
.ecm-notifications-head h3{margin:0;font-size:24px;line-height:1.3}
.ecm-notifications-mark-all{color:var(--ecm-accent,#1E7B8D)!important;text-decoration:none;font-size:12px;font-weight:700}
.ecm-notifications-empty{padding:28px;border:1px solid var(--ecm-border,#DFDFDF);border-radius:8px;text-align:center;color:var(--ecm-muted,#7A7A7A)}
.ecm-notification{position:relative;display:grid;grid-template-columns:4px minmax(0,1fr);gap:14px;margin:0 0 12px;padding:16px 17px;border:1px solid rgba(223,223,223,.22);border-radius:8px;background:rgba(255,255,255,.025)}
.ecm-notification.is-unread{border-color:rgba(30,123,141,.65);background:rgba(30,123,141,.07)}
.ecm-notification-status{width:4px;height:100%;min-height:54px;border-radius:999px;background:transparent}
.ecm-notification.is-unread .ecm-notification-status{background:var(--ecm-accent,#1E7B8D)}
.ecm-notification-title-row{display:flex;align-items:center;column-gap:14px;row-gap:8px;flex-wrap:wrap;margin-bottom:2px}
.ecm-notification-title-row strong{font-size:14px;line-height:1.7}
.ecm-notification-unread-label{display:inline;font-size:inherit;font-weight:900;line-height:inherit;color:#F59E0B!important;white-space:nowrap}
.ecm-notification-message{margin-top:7px;color:var(--ecm-muted,#B7B7B7);font-size:13px;line-height:1.95}
.ecm-notification-message p{margin:0 0 7px}.ecm-notification-message p:last-child{margin-bottom:0}
.ecm-notification-meta{margin-top:10px;color:var(--ecm-muted,#7A7A7A);font-size:10px}
.ecm-notification-inline-cta{color:var(--ecm-accent,#1E7B8D)!important;font-weight:800;text-decoration:none!important;border-bottom:1px solid rgba(30,123,141,.45);padding-bottom:1px}.ecm-notification-inline-cta:hover{border-bottom-color:currentColor}
.ecm-notification-actions{display:flex;align-items:center;column-gap:14px;row-gap:9px;flex-wrap:wrap;margin-top:14px;padding-top:2px}
.ecm-notification-cta{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 13px;border-radius:4px;background:var(--ecm-accent,#1E7B8D);color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:750}
.ecm-notification-read{display:inline-flex;align-items:center;min-height:34px;color:var(--ecm-muted,#A5A5A5)!important;text-decoration:none!important;font-size:11px}.ecm-notification-action-separator{display:inline-block;color:var(--ecm-muted,#7A7A7A);font-size:12px;line-height:1;user-select:none}
.ecm-notification-read:hover,.ecm-notifications-mark-all:hover{color:var(--ecm-text,#ECECEC)!important}
.ecm-notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;color:inherit!important;text-decoration:none!important;line-height:1}
.ecm-notification-bell-icon{font-size:18px;line-height:1}
.ecm-notification-count{position:absolute;top:-2px;left:-3px;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border:2px solid currentColor;border-radius:999px;background:#1E7B8D;color:#fff;font-size:9px;font-weight:800;line-height:1}
@media(max-width:600px){.ecm-notifications{margin:18px auto}.ecm-notifications-head{align-items:center}.ecm-notification{padding:14px 13px;gap:10px}.ecm-notification-actions{align-items:stretch;flex-direction:column;gap:8px}.ecm-notification-action-separator{display:none}.ecm-notification-cta{width:100%}.ecm-notification-read{justify-content:center;width:100%;padding:4px 0}.ecm-notification-title-row{align-items:flex-start;column-gap:10px}.ecm-notification-unread-label{margin-inline-start:2px}}

/* ECM v1.7.2.2 — notification timestamp + inline new marker hotfix */
.ecm-notification-new-separator{display:inline-block;margin-inline:5px;color:var(--ecm-muted,#7A7A7A);font-weight:500}
.ecm-notification-message .ecm-notification-unread-label{font-weight:900;color:#F59E0B!important}

/* ECM v1.7.2.3 — legacy notification timestamp recovery */
.ecm-notification-meta-missing{opacity:.7;font-style:normal}

/* Certificate verification */
.ecm-certificate-code{display:block;margin-top:6px;direction:ltr;text-align:left}
.ecm-certificate-actions{display:flex;gap:8px;flex-wrap:wrap}
.ecm-certificate-verification{max-width:760px;margin:40px auto;padding:24px}
.ecm-verification-form{display:grid;gap:10px;margin:24px 0}
.ecm-verification-form input{width:100%;box-sizing:border-box;padding:12px}
.ecm-verification-result{margin-top:24px;padding:20px;border:1px solid currentColor}
.ecm-verification-result dl{display:grid;grid-template-columns:minmax(110px,160px) 1fr;gap:10px 16px}
.ecm-verification-result dt{font-weight:700}
.ecm-verification-result dd{margin:0}
.ecm-verification-result code{direction:ltr;display:inline-block}

/* Submission validation UX */
.ecm-submission-form .ecm-field-error{
  border-color:#d97706 !important;
}
.ecm-submission-form label.ecm-field-error{
  color:#b45309;
}
.ecm-submission-form label.ecm-field-error input,
.ecm-submission-form label.ecm-field-error textarea,
.ecm-submission-form label.ecm-field-error select,
.ecm-submission-form fieldset.ecm-field-error input[type="file"]{
  border-color:#d97706 !important;
  box-shadow:0 0 0 1px #d97706;
  outline:none;
}
.ecm-submission-form .ecm-field-error:focus-within input,
.ecm-submission-form .ecm-field-error:focus-within textarea,
.ecm-submission-form .ecm-field-error:focus-within select{
  border-color:#c2410c !important;
  box-shadow:0 0 0 2px rgba(194,65,12,.16);
}
.ecm-file-reselect-note{margin-bottom:16px}
.ecm-submission-complete{margin:20px 0}

/* ECM v1.31.3 — canonical public Works on artist profile */
.ecm-artist-projects{width:100%}
.ecm-profile-project-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.ecm-profile-project-filters button{appearance:none;border:1px solid rgba(236,236,236,.18);background:transparent;color:#9A9A9A;border-radius:999px;padding:6px 12px;font:inherit;font-size:12px;line-height:1.5;cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease}
.ecm-profile-project-filters button:hover,.ecm-profile-project-filters button.is-active{border-color:#1E7B8D;color:#ECECEC;background:rgba(30,123,141,.12)}
.ecm-profile-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ecm-profile-project-card{min-width:0;margin:0;background:#101010;border:1px solid rgba(236,236,236,.14);border-radius:10px;overflow:hidden;transition:border-color .18s ease,transform .18s ease}
.ecm-profile-project-card:hover{border-color:#1E7B8D;transform:translateY(-1px)}
.ecm-profile-project-card[hidden]{display:none!important}
.ecm-profile-project-link{display:block;height:100%;color:#ECECEC!important;text-decoration:none!important}
.ecm-profile-project-media{position:relative;aspect-ratio:16/10;background:#171717;overflow:hidden}
.ecm-profile-project-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.ecm-profile-project-card:hover .ecm-profile-project-media img{transform:scale(1.015)}
.ecm-profile-project-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#7A7A7A;font-size:12px}
.ecm-profile-project-copy{padding:12px 13px 14px}
.ecm-profile-project-type{display:block;margin:0 0 4px;color:#1E7B8D;font-size:10px;font-weight:700;letter-spacing:.04em}
.ecm-profile-project-copy h3{margin:0;color:#ECECEC!important;font-size:15px;line-height:1.65;font-weight:700}
.ecm-profile-project-title-en{margin:2px 0 0!important;color:#7A7A7A!important;font-size:11px!important;line-height:1.5!important;direction:ltr;text-align:left}
.ecm-profile-project-contributor-role{margin:6px 0 0!important;color:#8fc8d3!important;font-size:11px!important;line-height:1.6!important}
.ecm-profile-project-year{display:block;margin-top:6px;color:#7A7A7A;font-size:11px}
@media(max-width:640px){.ecm-profile-project-grid{grid-template-columns:1fr}.ecm-profile-project-media{aspect-ratio:16/9}}

/* ECM v1.31.7 — Forma teal section bands on artist profiles. */
body.ecm-um-profile-page .ecm-content-section-heading{
  align-items:center;
  gap:12px;
  padding:14px 16px;
  background:#1E7B8D;
  border-color:#2A8FA1;
  border-radius:7px;
}
body.ecm-um-profile-page .ecm-content-section-accent{display:none}
body.ecm-um-profile-page .ecm-content-section-copy h2{color:#FFFFFF!important}
body.ecm-um-profile-page .ecm-content-section-copy p{color:#D7E9EC!important}
body.ecm-um-profile-page .ecm-section-owner-action{
  background:#FFFFFF!important;
  border-color:#FFFFFF!important;
  color:#1E7B8D!important;
  box-shadow:none!important;
}
body.ecm-um-profile-page .ecm-section-owner-action:hover{
  background:#E7F1F3!important;
  border-color:#E7F1F3!important;
  color:#155E6C!important;
}

/* Forma verified professional role label (v1.32.0) */
.ecm-professional-roles{font-size:12px;color:#8fb7bf;margin-top:4px;letter-spacing:.01em}

/* ECM v1.32.8 — Forma participation badge. */
.ecm-forma-participation-badge{display:inline-flex;width:max-content;margin:6px 0;padding:3px 7px;border:1px solid #31545b;border-radius:999px;color:#8fc8d3;font-size:10px;font-weight:700;line-height:1.4}
.ecm-call-credit{display:flex;flex-wrap:wrap;gap:6px 12px;margin:10px 0;font-size:12px;line-height:1.8;color:var(--ecm-muted)}
.ecm-call-credit span{display:inline-flex;gap:4px;align-items:center}.ecm-call-credit b{color:var(--ecm-text);font-weight:600}
.ecm-discover-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.ecm-discover-organization{display:flex;gap:14px;align-items:center;padding:16px;border:1px solid var(--ecm-border);border-radius:16px;background:var(--ecm-card-bg)}.ecm-discover-organization h3{margin:0 0 4px}.ecm-discover-organization p{margin:0 0 4px}.ecm-discover-organization small{color:var(--ecm-muted)}

.ecm-call-subtitle{margin:-3px 0 12px!important;color:var(--ecm-muted)!important;font-size:13px!important;line-height:1.75!important;font-weight:500!important}.ecm-archive-body .ecm-call-subtitle{margin:-5px 0 12px!important;color:var(--ecm-muted)!important}.ecm-card-body .ecm-call-subtitle{margin:-2px 0 10px!important}

/* ECM v1.80.38 — Reports are not Projects. These selectors intentionally do
   not share names with ECM_Works cards, a separate public feature. */
.ecm-reports-directory{--ecm-report-radius:14px}
.ecm-reports-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ecm-report-card{min-width:0;overflow:hidden;background:var(--ecm-card-bg);border:1px solid var(--ecm-border);border-radius:var(--ecm-report-radius);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.ecm-report-card:hover{transform:translateY(-3px);border-color:var(--ecm-accent);box-shadow:0 16px 38px rgba(0,0,0,.16)}
.ecm-report-card-media{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:var(--ecm-surface)}
.ecm-report-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ecm-report-card:hover .ecm-report-card-media img{transform:scale(1.025)}
.ecm-report-card-type{position:absolute;inset-block-start:14px;inset-inline-start:14px;display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:rgba(10,13,15,.78);backdrop-filter:blur(8px);color:#fff;font-size:11px;font-weight:750;line-height:1}
.ecm-report-card-body{padding:18px 18px 20px}
.ecm-report-card-body h2{margin:0 0 5px;font-size:19px;line-height:1.55;font-weight:780}
.ecm-report-card-body h2 a{color:var(--ecm-text);text-decoration:none}
.ecm-report-card-body h2 a:hover{color:var(--ecm-accent)}
.ecm-report-card-subtitle{margin:0 0 10px;color:var(--ecm-muted);font-size:13px;line-height:1.75}
.ecm-report-card-meta{margin:0 0 12px;color:var(--ecm-accent);font-size:11.5px;line-height:1.8;font-weight:650}
.ecm-report-card-body p{margin:0 0 16px;color:var(--ecm-muted);font-size:13px;line-height:1.9}
@media(max-width:900px){.ecm-reports-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:600px){.ecm-reports-grid{grid-template-columns:1fr;gap:16px}.ecm-report-card-body{padding:16px}.ecm-report-card-body h2{font-size:18px}}

/* v1.78.15 — cover call/report card frames without distorting source aspect ratio */
.ecm-card-image,.ecm-archive-image,.ecm-report-card-media{overflow:hidden!important}
.ecm-card-image img,.ecm-archive-image img,.ecm-report-card-media img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center center;transform-origin:center center}
.ecm-card-image{height:220px}
.ecm-report-card-media{aspect-ratio:4/3}

/* ECM 1.78.72 — canonical public card typography (calls, reports, media). */
.ecm-calls-archive .ecm-archive-card{border-color:var(--forma-border,var(--ecm-border));border-radius:var(--forma-radius-sm,6px);background:var(--forma-panel,var(--ecm-card-bg));color:var(--forma-text,var(--ecm-text))}
.ecm-calls-archive .ecm-archive-body{padding:var(--forma-card-padding,14px)}
.ecm-calls-archive .ecm-archive-body h2{margin:0 0 var(--forma-space-3,8px);font-size:var(--forma-card-title-featured-size,15px);font-weight:var(--forma-card-title-weight,800);line-height:var(--forma-card-title-line,1.55)}
.ecm-calls-archive .ecm-archive-body h2 a{color:var(--forma-text,var(--ecm-text))}
.ecm-calls-archive .ecm-archive-body p{color:var(--forma-text-2,var(--ecm-muted));font-size:var(--forma-card-copy-size,11px);line-height:var(--forma-card-copy-line,1.8)}
.ecm-calls-archive .ecm-archive-date,.ecm-calls-archive .ecm-call-subtitle{color:var(--forma-muted,var(--ecm-muted))!important;font-size:var(--forma-meta-size,10px)!important;line-height:var(--forma-meta-line,1.7)!important}
.ecm-calls-archive .ecm-archive-link{font-size:var(--forma-meta-size,10px);font-weight:var(--forma-weight-bold,700)}
@media(max-width:639px){.ecm-calls-archive .ecm-archive-body{padding:12px}.ecm-calls-archive .ecm-archive-body h2{font-size:var(--forma-card-title-size,13px)}}

/* Calls/Writings card geometry remains feature-local; shared archive shell/grid rhythm is owned by forma-archives.css. */
.ecm-calls-archive.forma-archive .forma-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:899px){.ecm-calls-archive.forma-archive .forma-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639px){.ecm-calls-archive.forma-archive .forma-archive-grid{grid-template-columns:1fr}}

/* ECM 1.80.13 — canonical submission form composition */
.ecm-structured-submission{--ecm-form-gap:14px;padding:0!important;overflow:visible;border:0!important;background:transparent!important;box-shadow:none!important}
.ecm-submission-ux-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:14px 16px;border:1px solid var(--ecm-border);border-radius:12px;background:var(--ecm-card-bg)}
.ecm-submission-ux-head strong{display:block;color:var(--ecm-text);font-size:14px}
.ecm-submission-ux-head small{display:block;margin-top:3px;color:var(--ecm-muted)}
.ecm-submission-ux-actions{display:flex;gap:7px}
.ecm-submission-ux-actions button{min-height:34px;padding:0 11px;border:1px solid var(--ecm-border);border-radius:8px;background:var(--ecm-surface);color:var(--ecm-text);font:inherit;font-size:11px;cursor:pointer}
.ecm-structured-submission>.ecm-form-section{margin:0 0 var(--ecm-form-gap);padding:0;overflow:hidden;border-radius:13px;background:var(--ecm-card-bg)}
.ecm-structured-submission>.ecm-form-section>h3{position:relative;margin:0;padding:18px 18px 18px 48px;border-bottom:0;font-size:16px;cursor:pointer;outline:none}.ecm-structured-submission>.ecm-form-section>h3:focus-visible{box-shadow:inset 0 0 0 2px currentColor;border-radius:10px}
.ecm-structured-submission>.ecm-form-section>h3:after{content:"⌄";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--ecm-muted);font-size:18px;transition:transform .18s ease}
.ecm-structured-submission>.ecm-form-section.is-open>h3:after{transform:translateY(-50%) rotate(-180deg)}
.ecm-structured-submission>.ecm-form-section>*:not(h3){display:none}
.ecm-structured-submission>.ecm-form-section.is-open>*:not(h3){display:block}
.ecm-structured-submission>.ecm-form-section.is-open>.ecm-field-grid{display:grid}
.ecm-structured-submission>.ecm-form-section.is-open{padding-bottom:20px}.ecm-structured-submission>.ecm-form-section:has(:invalid){border-color:color-mix(in srgb,var(--ecm-danger,#b42318) 55%,var(--ecm-border));}
.ecm-structured-submission>.ecm-form-section.is-open>p,.ecm-structured-submission>.ecm-form-section.is-open>label,.ecm-structured-submission>.ecm-form-section.is-open>.ecm-field-grid,.ecm-structured-submission>.ecm-form-section.is-open>button{margin-right:20px;margin-left:20px}
.ecm-structured-submission .ecm-field-grid{gap:14px 16px}
.ecm-structured-submission .ecm-field-grid>label,.ecm-structured-submission>.ecm-form-section>label{margin:0;display:flex;flex-direction:column;gap:7px;font-size:13px}
.ecm-structured-submission .ecm-field-grid input,.ecm-structured-submission .ecm-field-grid select,.ecm-structured-submission .ecm-field-grid textarea,.ecm-structured-submission>.ecm-form-section>label>input,.ecm-structured-submission>.ecm-form-section>label>textarea{margin-top:0}
.ecm-submission-submit-tray{position:sticky;bottom:12px;z-index:14;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:12px 14px;border:1px solid var(--ecm-border);border-radius:12px;background:color-mix(in srgb,var(--ecm-card-bg) 95%,transparent);backdrop-filter:blur(14px);box-shadow:0 -8px 24px rgba(0,0,0,.14)}
.ecm-submission-submit-tray .ecm-terms{margin:0;flex:1}
.ecm-submission-submit-tray>.ecm-btn,.ecm-submission-submit-tray>.ecm-form-actions{margin:0;flex:0 0 auto}
.ecm-submission-submit-tray>.ecm-form-actions{display:flex;gap:8px}
@media(max-width:760px){
  .ecm-submission-ux-head{align-items:flex-start;flex-direction:column}.ecm-submission-ux-actions{width:100%}.ecm-submission-ux-actions button{flex:1}
  .ecm-structured-submission>.ecm-form-section>h3{padding:15px 14px 15px 42px}.ecm-structured-submission>.ecm-form-section>h3:after{right:13px}
  .ecm-structured-submission>.ecm-form-section.is-open>p,.ecm-structured-submission>.ecm-form-section.is-open>label,.ecm-structured-submission>.ecm-form-section.is-open>.ecm-field-grid,.ecm-structured-submission>.ecm-form-section.is-open>button{margin-right:14px;margin-left:14px}
  .ecm-submission-submit-tray{bottom:8px;align-items:stretch;flex-direction:column}.ecm-submission-submit-tray>.ecm-btn{width:100%}.ecm-submission-submit-tray>.ecm-form-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.ecm-submission-submit-tray>.ecm-form-actions .ecm-btn{width:100%}
}

/* 1.81.88 — Canonical applicant identity in call submission forms. */
.ecm-applicant-summary{margin:0 0 14px;padding:16px;border:1px solid var(--ecm-border);border-radius:13px;background:var(--ecm-card-bg);color:var(--ecm-text)}
.ecm-applicant-summary__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px}.ecm-applicant-summary__head>div{display:grid;gap:4px}.ecm-applicant-summary__head strong{font-size:14px}.ecm-applicant-summary__head small{color:var(--ecm-muted);font-size:10px;line-height:1.8}.ecm-applicant-summary__head>a{flex:0 0 auto;color:inherit;font-size:10px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.ecm-applicant-summary__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--ecm-border);border-radius:9px;background:var(--ecm-border)}.ecm-applicant-summary__grid>div{display:grid;gap:3px;min-width:0;padding:10px 12px;background:var(--ecm-surface)}.ecm-applicant-summary__grid span{color:var(--ecm-muted);font-size:9px}.ecm-applicant-summary__grid b{overflow-wrap:anywhere;font-size:11px;font-weight:750}
.ecm-profile-required-notice{margin:12px 0;padding:16px;border:1px solid var(--ecm-border);border-radius:13px;background:var(--ecm-card-bg)}.ecm-profile-required-notice strong{display:block;margin-bottom:7px}.ecm-profile-required-notice p{margin:0 0 12px;color:var(--ecm-muted);font-size:11px;line-height:1.8}
@media(max-width:639px){.ecm-applicant-summary__head{flex-direction:column}.ecm-applicant-summary__grid{grid-template-columns:1fr}}

/* 1.81.92 — Canonical form parity: program registration + call submission. */
.forma-canonical-registration-shell{padding:0!important;border:0!important;background:transparent!important}

.forma-canonical-registration-shell>.ecm-canonical-form{max-width:none;margin:0;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}

.ecm-canonical-form .ecm-form-section-note{margin:0 20px 12px!important;color:var(--ecm-muted)!important;font-size:10.5px;line-height:1.9}

.ecm-canonical-form .ecm-applicant-summary{margin:0 20px!important}

@media(max-width:639px){.ecm-canonical-form .ecm-form-section-note,.ecm-canonical-form .ecm-applicant-summary{margin-right:14px!important;margin-left:14px!important}}

/* 1.84.89 — legacy public program receipt access */
.forma-program-registration-receipt-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0;padding:14px 16px;border:1px solid color-mix(in srgb,var(--forma-accent,#16869a) 48%,var(--forma-border,#d8d8d8));border-radius:12px;background:color-mix(in srgb,var(--forma-accent,#16869a) 8%,transparent)}
.forma-program-registration-receipt-cta>div{min-width:0}.forma-program-registration-receipt-cta strong,.forma-program-registration-receipt-cta small{display:block}.forma-program-registration-receipt-cta small{margin-top:3px;color:var(--forma-muted,#777);font-size:11px}.forma-program-registration-receipt-cta a{flex:0 0 auto;border:1px solid var(--forma-accent,#16869a);border-radius:9px;padding:8px 12px;color:var(--forma-accent,#16869a);font-weight:800;text-decoration:none}
@media(max-width:620px){.forma-program-registration-receipt-cta{align-items:stretch;flex-direction:column}.forma-program-registration-receipt-cta a{text-align:center}}

/* FORMA 1.84.380: participation code + QR (workspace, verification page, panels) */
.ecm-certificate-qr-details{margin-top:6px;max-width:100%}
.ecm-certificate-qr-details>summary{cursor:pointer;font-weight:700;list-style:revert}
.ecm-certificate-qr-box{display:grid;gap:10px;justify-items:start;margin-top:10px;max-width:100%}
.ecm-certificate-qr-box .ecm-qr-preview{background:#fff;padding:6px;border-radius:10px;line-height:0;max-width:100%}
.ecm-certificate-qr-box .ecm-qr-preview svg{display:block;width:180px;height:180px;max-width:100%}
.ecm-certificate-qr-code{direction:ltr;font-size:13px;word-break:break-all}
.ecm-certificate-qr-actions{display:flex;flex-wrap:wrap;gap:6px}
.ecm-certificate-state.is-revoked{display:inline-block;margin-inline-start:6px;padding:2px 8px;border-radius:999px;font-size:12px;background:rgba(179,45,46,.16);color:#e06c6d;vertical-align:middle}
.ecm-certificate-card.is-revoked{opacity:.85;border-style:dashed}
.ecm-verification-result.ecm-verification-valid{border-color:#2f9e63}
.ecm-verification-result.ecm-verification-revoked{border-color:#b32d2e}
.ecm-verification-result.ecm-verification-invalid{border-color:#8a8f98}
@media(max-width:600px){.ecm-verification-result dl{grid-template-columns:1fr;gap:2px 0}.ecm-verification-result dd{margin-bottom:8px}.ecm-certificate-qr-actions .ecm-btn{flex:1 1 100%;text-align:center}}

/* 1.84.387 — Public Calls directory cards: same heading scale as Report cards. */
.ecm-calls-archive.forma-call-directory .ecm-archive-body h2{
    font-size:19px;
    line-height:1.55;
    font-weight:780;
    height:auto;
    max-height:none;
    overflow:visible;
    white-space:normal;
    text-overflow:clip;
    -webkit-line-clamp:unset;
    -webkit-box-orient:initial;
    display:block;
    overflow-wrap:anywhere;
}
.ecm-calls-archive.forma-call-directory .ecm-archive-body h2 a{white-space:normal;overflow:visible;text-overflow:clip;display:inline;overflow-wrap:anywhere}
@media(max-width:600px){.ecm-calls-archive.forma-call-directory .ecm-archive-body h2{font-size:18px}}

/* 1.84.388 — Call-directory card titles are headings, not underlined links. */
.ecm-calls-archive.forma-call-directory .ecm-archive-body h2 a,
.ecm-calls-archive.forma-call-directory .ecm-archive-body h2 a:visited,
.ecm-calls-archive.forma-call-directory .ecm-archive-body h2 a:hover,
.ecm-calls-archive.forma-call-directory .ecm-archive-body h2 a:focus-visible{
  text-decoration:none!important;text-decoration-line:none!important;
  border-bottom:0!important;box-shadow:none!important;
}

/* 1.84.389 — Maktubat cards: titles are headings with a link, without inherited underline.
   Targets directory and related-writings cards; does not change article body links. */
.ecm-calls-archive :is(.forma-media-directory-card) .ecm-archive-body h2 a,
.ecm-calls-archive :is(.forma-media-directory-card) .ecm-archive-body h2 a:visited,
.ecm-calls-archive :is(.forma-media-directory-card) .ecm-archive-body h2 a:hover,
.ecm-calls-archive :is(.forma-media-directory-card) .ecm-archive-body h2 a:focus-visible{
  text-decoration:none!important;text-decoration-line:none!important;
  border-bottom:0!important;box-shadow:none!important;
}
.ecm-calls-archive .forma-media-directory-card .ecm-archive-body h2 a:focus-visible{outline:2px solid var(--forma-accent,#10c9e7);outline-offset:3px}

/* 1.84.407 — Consistent acceptance block inside public forms. */
.forma-terms-ack{display:grid;gap:11px;margin:15px 0;padding:15px;border:1px solid var(--ecm-border,#d6dcdf);border-radius:11px;background:var(--ecm-surface,rgba(125,145,150,.06));box-sizing:border-box;min-width:0;line-height:1.9}
.forma-terms-ack__intro strong{display:block;font-size:13px;color:inherit}
.forma-terms-ack__intro p{margin:3px 0 0;font-size:12px;line-height:1.85;color:inherit;opacity:.78}
.forma-terms-ack__check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px;font-size:12px;cursor:pointer}
.forma-terms-ack__check input[type=checkbox]{flex:0 0 auto;width:17px;height:17px;margin-top:5px}
.forma-terms-ack__links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.forma-terms-ack .forma-terms-link{border:1px solid currentColor;border-radius:8px;padding:7px 12px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}

.forma-program-fixed-rules{display:grid;gap:12px;margin:18px 0;padding:18px;border:1px solid var(--ecm-border,#d6dcdf);border-radius:12px;background:var(--ecm-surface,rgba(125,145,150,.055));line-height:1.95;min-width:0;box-sizing:border-box}
.forma-program-fixed-rules>h3{margin:0;font-size:16px;line-height:1.6;color:inherit}
.forma-program-fixed-rules__hint{margin:0;opacity:.76;font-size:12px;line-height:1.85}
.forma-program-fixed-rules__part{display:grid;gap:7px;padding:12px 0;border-top:1px solid var(--ecm-border,#d8dcdf)}
.forma-program-fixed-rules__part>strong{font-size:13px;color:inherit}
.forma-program-fixed-rules__text{font-size:13px;line-height:2;overflow-wrap:anywhere}
.forma-program-fixed-rules__text p{margin:0 0 1em}.forma-program-fixed-rules__text p:last-child{margin-bottom:0}
.forma-program-fixed-rules__footer{margin:0;font-size:12px}
@media(max-width:600px){.forma-program-fixed-rules{padding:14px;gap:10px}}
