/* 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-artwork{position:relative;border:1px solid var(--ecm-border);border-radius:12px;padding:18px;margin:16px 0;background:var(--ecm-surface);color:var(--ecm-text)}
.ecm-artwork legend{color:var(--ecm-text);padding:0 8px;font-weight:700}
.ecm-remove{position:absolute;top:8px;left:8px;border:1px solid transparent;background:transparent;color:var(--ecm-muted);font-size:22px;cursor:pointer;border-radius:7px;width:34px;height:34px;line-height:28px}
.ecm-remove:hover{color:var(--ecm-rejected);border-color:var(--ecm-rejected)}
.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-submission-form input[type=text],.ecm-submission-form input[type=number],.ecm-submission-form input[type=file],.ecm-submission-form textarea,.ecm-submission-form select{width:100%;box-sizing:border-box;background:var(--ecm-input-bg)!important;color:var(--ecm-text)!important;border:1px solid var(--ecm-border)!important;border-radius:8px;padding:10px 12px;outline:none}
.ecm-submission-form input::placeholder,.ecm-submission-form textarea::placeholder{color:var(--ecm-muted);opacity:.9}
.ecm-submission-form input:focus,.ecm-submission-form textarea:focus,.ecm-submission-form select:focus{border-color:var(--ecm-accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--ecm-accent) 22%,transparent)}
.ecm-submission-form input[type=file]::file-selector-button{background:var(--ecm-surface);color:var(--ecm-text);border:1px solid var(--ecm-border);border-radius:7px;padding:7px 10px;margin-inline-end:10px;cursor:pointer}
.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)}
.ecm-v07-form label{display:block;color:var(--ecm-text,#ECECEC)}
.ecm-v07-form small{opacity:.7}
.ecm-v07-form input,.ecm-v07-form textarea,.ecm-v07-form select{width:100%;box-sizing:border-box;margin-top:7px}

/* 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{width:min(1180px,100%);margin:0 auto;padding:34px 0 54px;color:var(--ecm-text)}
.ecm-archive-heading{margin:0 0 28px;padding:0 2px 20px;border-bottom:1px solid var(--ecm-border)}
.ecm-archive-kicker{display:block;margin:0 0 7px;color:var(--ecm-accent);font-size:11px;font-weight:800;letter-spacing:.16em}
.ecm-archive-heading h1{margin:0 0 7px;color:var(--ecm-text);font-size:clamp(28px,4vw,44px);line-height:1.25;font-weight:800}
.ecm-archive-heading p{margin:0;color:var(--ecm-muted);font-size:14px}
.ecm-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ecm-archive-card{overflow:hidden;background:var(--ecm-card-bg);border:1px solid var(--ecm-border);border-radius:var(--ecm-radius);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.ecm-archive-card:hover{transform:translateY(-3px);border-color:var(--ecm-accent);box-shadow:0 14px 34px rgba(0,0,0,.24)}
.ecm-archive-image{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ecm-surface)}
.ecm-archive-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ecm-archive-card:hover .ecm-archive-image img{transform:scale(1.02)}
.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;right: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-archive-body{padding:18px}
.ecm-archive-date{margin:0 0 9px;color:var(--ecm-muted);font-size:11px;line-height:1.7}
.ecm-archive-body h2{margin:0 0 10px;font-size:18px;line-height:1.6;font-weight:750}
.ecm-archive-body h2 a{color:var(--ecm-text);text-decoration:none}
.ecm-archive-body h2 a:hover{color:var(--ecm-accent)}
.ecm-archive-body p{margin:0 0 17px;color:var(--ecm-muted);font-size:13px;line-height:1.9}
.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-archive-link:hover{gap:10px}
.ecm-archive-card.is-expired .ecm-archive-image img{filter:saturate(.72)}
@media(max-width:900px){.ecm-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ecm-calls-archive{padding:22px 0 38px}.ecm-archive-grid{grid-template-columns:1fr;gap:16px}.ecm-archive-heading{margin-bottom:20px}.ecm-archive-body{padding:16px}}

/* 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-film-edit-form{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.10)}
.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}
.ecm-artist-event-list{display:grid;gap:12px}.ecm-artist-event-item{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;padding:18px;border:1px solid var(--ecm-border);border-radius:var(--ecm-radius);background:var(--ecm-card-bg)}
.ecm-artist-event-type{display:inline-flex;margin-bottom:7px;color:var(--ecm-accent);font-size:11px;font-weight:800}.ecm-artist-event-main h3{margin:0 0 5px;font-size:18px}.ecm-artist-event-main h3 a{color:var(--ecm-text);text-decoration:none}.ecm-artist-event-main p{margin:0;color:var(--ecm-muted);font-size:13px}
.ecm-artist-event-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ecm-artist-event-facts span{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--ecm-text)}.ecm-artist-event-facts strong{font-size:10px;color:var(--ecm-muted)}
@media(max-width:700px){.ecm-event-summary{grid-template-columns:1fr}.ecm-artist-event-item{grid-template-columns:1fr}.ecm-artist-event-facts{grid-template-columns:1fr 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;right:-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:right}
.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:right}
.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}
html[data-forma-theme="light"] .ecm-forma-participation-badge{color:#1E7B8D;border-color:#9cc5cc;background:#eef7f8}
