/* [site:event-submit] — "send for placement" form of the promo page. Plain controls on the surface the page
   already provides: no card of its own, only the inputs are boxed. */
.es { display: grid; gap: 28px; color: var(--ar-ink, #302b27); }
.es[hidden], .es [hidden] { display: none; }
.es__body { display: grid; gap: 28px; }
.es__section { display: grid; gap: 18px; min-width: 0; }
.es .es__section-title { margin: 0; color: var(--ar-ink, #302b27); padding-bottom: 10px; border-bottom: 1px solid var(--ar-line, #e8e2d9); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.es__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.es__field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.es__field--wide { grid-column: 1 / -1; }
.es__label { font-size: .9rem; font-weight: 650; line-height: 1.25; }
.es__req { color: var(--gym-accent, #d4552f); font-weight: 800; }
.es__opt { color: var(--ar-muted, #6f6760); font-weight: 500; }
.es__input,
.es__select,
.es__textarea { box-sizing: border-box; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--ar-line, #e8e2d9); border-radius: 14px; background: #fff; color: inherit; font: inherit; font-size: 1rem; line-height: 1.3; transition: border-color .2s ease, box-shadow .2s ease; }
.es__textarea { min-height: 132px; resize: vertical; }
.es__input::placeholder,
.es__textarea::placeholder { color: #9a928a; }
.es__input:focus-visible,
.es__select:focus-visible,
.es__textarea:focus-visible { border-color: transparent; outline: 2px solid var(--gym-button, #c2492a); outline-offset: 1px; }
.es .es__hint { margin: 0; color: var(--ar-muted, #6f6760); font-size: .9rem; line-height: 1.3; }
.es .es__error { margin: 0; color: #b3261e; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.es__field[data-invalid] :is(.es__input, .es__select, .es__textarea) { border-color: #b3261e; }

.es__file { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px dashed var(--ar-line, #e8e2d9); border-radius: 14px; background: #ffffff8c; }
.es__file-input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; opacity: 0; clip-path: inset(50%); }
.es__file-button,
.es__file-clear { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--ar-line, #e8e2d9); border-radius: 999px; background: #fff; color: inherit; font: inherit; font-size: .9rem; font-weight: 700; line-height: 1.2; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.es__file-button:hover,
.es__file-clear:hover { border-color: color-mix(in srgb, var(--gym-button, #c2492a) 45%, var(--ar-line, #e8e2d9)); }
.es__file-input:focus-visible + .es__file-button { outline: 2px solid var(--gym-button, #c2492a); outline-offset: 2px; }
.es__file-name { min-width: 0; color: var(--ar-muted, #6f6760); font-size: .9rem; overflow-wrap: anywhere; }
.es__file[data-filled] .es__file-name { color: var(--ar-ink, #302b27); font-weight: 600; }
.es__file-clear { margin-left: auto; color: var(--ar-muted, #6f6760); font-weight: 600; }

.es__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.es__field--consent { gap: 8px; }
.es__consent { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; line-height: 1.35; cursor: pointer; }
.es__consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gym-button, #c2492a); }
.es__consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.es__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.es__submit[disabled] { opacity: .6; cursor: progress; pointer-events: none; }
.es .es__status { margin: 0; color: var(--ar-muted, #6f6760); font-size: .9rem; line-height: 1.3; }
.es .es__status[data-state="error"] { color: #b3261e; font-weight: 600; }

.es__success { display: grid; justify-items: start; gap: 12px; padding: 6px 0; }
.es .es__success-title { margin: 6px 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.es .es__success-text { max-width: 560px; margin: 0; color: var(--ar-muted, #6f6760); font-size: .95rem; line-height: 1.4; }
.es__success:focus { outline: none; }

@media (max-width: 640px) {
    .es__grid { grid-template-columns: minmax(0, 1fr); }
    .es__file-clear { margin-left: 0; }
}
