.tef26-form-shell {
  --tef26-orange: #ff9f00;
  --tef26-orange-dark: #e88d00;
  --tef26-ink: #171717;
  --tef26-muted: #666;
  --tef26-line: #d7d7d7;
  --tef26-soft: #fbf8f3;
  --tef26-error: #db2c17;
  --tef26-focus: #704200;
  --tef26-success: #176b3a;
  box-sizing: border-box;
  width: min(1240px, calc(100% - 32px));
  max-width: 100%;
  margin: clamp(36px, 6vw, 80px) auto;
  color: var(--tef26-ink);
  font-family: inherit;
  line-height: 1.5;
}

.tef26-form-shell--grant {
  --tef26-orange: #FFA500;
  --tef26-orange-dark: #9a5a00;
  --tef26-ink: #101010;
  --tef26-line: #cfcfcf;
  --tef26-error: #d12b0e;
  width: min(1240px, calc(100vw - 32px));
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  align-self: center;
  justify-self: center;
}

/* WordPress constrained-layout rules can force direct shortcode output back to
 * the theme's narrow content width with !important auto margins. Keep the
 * approved 1240px grant card while leaving block alignment wrappers intact. */
body .is-layout-constrained > .tef26-form-shell.tef26-form-shell--grant {
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
  justify-self: center;
}

.tef26-form-shell *,
.tef26-form-shell *::before,
.tef26-form-shell *::after {
  box-sizing: border-box;
}

.tef26-form-shell h2,
.tef26-form-shell h3,
.tef26-form-shell p {
  margin-top: 0;
}

.tef26-form-shell .tef26-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.tef26-corner-card,
.tef26-step--fields {
  position: relative;
  border: 1px solid var(--tef26-line);
  background:
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) left top / 42px 1px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) left top / 1px 42px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) right top / 42px 1px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) right top / 1px 42px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) left bottom / 42px 1px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) left bottom / 1px 42px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) right bottom / 42px 1px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) right bottom / 1px 42px no-repeat,
    #fff;
}

.tef26-form-shell--grant .tef26-corner-card,
.tef26-form-shell--grant .tef26-step--fields {
  background:
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) left top / 50px 1px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) left top / 1px 50px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) right top / 50px 1px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) right top / 1px 50px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) left bottom / 50px 1px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) left bottom / 1px 50px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) right bottom / 50px 1px no-repeat,
    linear-gradient(var(--tef26-orange), var(--tef26-orange)) right bottom / 1px 50px no-repeat,
    #fff;
}

.tef26-intro {
  padding: clamp(46px, 6vw, 78px) 24px clamp(48px, 7vw, 86px);
}

.tef26-intro__inner {
  width: min(100%, 650px);
  margin: 0 auto;
}

.tef26-form__inner {
  width: min(100%, 606px);
  margin: 0 auto;
}

.tef26-intro h2,
.tef26-form__header h2 {
  margin-bottom: 10px;
  font-size: clamp(27px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.tef26-eyebrow {
  margin-bottom: 0;
  color: var(--tef26-ink);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tef26-intro__description {
  margin: 14px 0 0;
  color: var(--tef26-muted);
  font-size: 16px;
}

.tef26-intro__stages {
  margin: clamp(46px, 6vw, 72px) 0 50px;
  padding: 0;
  list-style: none;
}

.tef26-intro__stages li {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 28px;
  min-width: 0;
  padding: 0 0 48px;
}

.tef26-intro__stages li:last-child {
  padding-bottom: 0;
}

.tef26-intro__stages li:not(:last-child)::after {
  position: absolute;
  top: 66px;
  bottom: 0;
  left: 32px;
  width: 1px;
  background: var(--tef26-orange);
  content: "";
}

.tef26-intro__number {
  display: grid;
  width: 66px;
  height: 66px;
  border: 1px solid var(--tef26-orange);
  background: #fff;
  color: var(--tef26-orange);
  font-size: 28px;
  font-weight: 500;
  place-items: center;
}

.tef26-intro__stages h3 {
  margin: 1px 0 9px;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 700;
  line-height: 1.25;
}

.tef26-intro__stages p {
  margin-bottom: 0;
  color: #292929;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
}

.tef26-intro__action {
  display: flex;
  justify-content: center;
}

.tef26-intro__action .tef26-button {
  min-width: 216px;
}

.tef26-step--fields {
  padding: clamp(42px, 6vw, 72px) 24px clamp(54px, 7vw, 88px);
}

.tef26-form-shell--grant .tef26-step--fields {
  padding-top: 88px;
  padding-bottom: 96px;
}

.tef26-form__header {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--tef26-line);
}

.tef26-form__header h2 {
  font-size: clamp(25px, 2.3vw, 33px);
}

.tef26-form__header .tef26-eyebrow {
  font-size: 14px;
}

.tef26-form-shell--grant .tef26-form__header h2 {
  font-size: 32px;
  line-height: 1.2;
}

.tef26-form-shell--grant .tef26-form__header .tef26-eyebrow {
  font-size: 18px;
  line-height: 1.4;
}

.tef26-section {
  padding: 0 0 38px;
}

.tef26-section + .tef26-section {
  padding-top: 10px;
}

.tef26-section__header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 26px;
}

.tef26-section__number {
  display: none;
}

.tef26-section__header > div {
  width: 100%;
}

.tef26-section__header h3 {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tef26-line);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.25;
}

.tef26-form-shell--grant .tef26-section__header h3 {
  padding-bottom: 14px;
  font-size: 28px;
  line-height: 1.2;
}

.tef26-section__header p {
  margin: 9px 0 0;
  color: var(--tef26-muted);
  font-size: 14px;
}

.tef26-section__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  min-width: 0;
}

.tef26-form-shell--grant .tef26-section__fields {
  gap: 44px 20px;
}

.tef26-field--textarea,
.tef26-field--radio,
.tef26-field--checkbox,
.tef26-field--file,
.tef26-field--full,
.tef26-form-shell--grant .tef26-field:not(.tef26-field--half) {
  grid-column: 1 / -1;
}

.tef26-field__label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: var(--tef26-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.tef26-form-shell--grant .tef26-field__label {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.tef26-required {
  margin-left: 3px;
  color: var(--tef26-error);
}

.tef26-field__description {
  margin: -2px 0 9px;
  color: var(--tef26-muted);
  font-size: 13px;
  line-height: 1.45;
}

.tef26-form-shell--grant .tef26-field__description,
.tef26-form-shell--grant .tef26-field__note {
  color: var(--tef26-muted);
  font-size: 16px;
  line-height: 1.4;
}

.tef26-field__note {
  margin: 7px 0 0;
  color: #929292;
  font-size: 13px;
  line-height: 1.35;
}

.tef26-control {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #9b9b9b;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: var(--tef26-ink);
  font: inherit;
  letter-spacing: normal;
  line-height: 1.35;
  text-transform: none;
}

.tef26-form-shell--grant .tef26-form .tef26-control {
  width: 100%;
  height: 57px;
  min-height: 57px;
  padding: 12px 16px;
  border: 1px solid var(--tef26-ink);
  border-radius: 0;
  background-color: #fff;
  box-shadow: none;
  color: var(--tef26-ink);
}

.tef26-control--select {
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, #333 50%), linear-gradient(135deg, #333 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 11px) 21px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  appearance: none;
}

.tef26-form-shell--grant .tef26-form .tef26-control--select {
  padding-right: 42px;
  background-position: calc(100% - 17px) 25px, calc(100% - 11px) 25px;
}

.tef26-control--textarea {
  min-height: 112px;
  resize: vertical;
}

.tef26-form-shell--grant .tef26-form .tef26-control--textarea {
  height: 145px;
  min-height: 145px;
  padding: 14px 16px;
}

.tef26-form-shell--grant .tef26-form .tef26-field--large-control .tef26-control {
  height: 145px;
  min-height: 145px;
  padding: 14px 16px;
}

.tef26-form .tef26-field--conditional[hidden] {
  display: none !important;
}

.tef26-form-shell--grant .tef26-field--related {
  margin-top: -20px;
  padding-left: 32px;
}

.tef26-form-shell--grant .tef26-form .tef26-field--related .tef26-control {
  height: 73px;
  min-height: 73px;
}

.tef26-control:focus-visible,
.tef26-choice input:focus-visible + .tef26-choice__mark,
.tef26-file-control input:focus-visible + .tef26-file-drop,
.tef26-button:focus-visible {
  outline: 3px solid var(--tef26-focus);
  outline-offset: 2px;
}

.tef26-file-control:focus-within .tef26-file-drop {
  outline: 3px solid var(--tef26-focus);
  outline-offset: 2px;
}

.tef26-field--error .tef26-control {
  border-color: var(--tef26-error);
}

.tef26-field--error .tef26-field__label,
.tef26-field--error .tef26-required {
  color: var(--tef26-error);
}

.tef26-form-shell--grant .tef26-field--error .tef26-field__label {
  color: var(--tef26-ink);
}

.tef26-form-shell--grant .tef26-required {
  display: none;
}

.tef26-field__error {
  margin: 7px 0 0;
  color: var(--tef26-error);
  font-size: 13px;
  font-weight: 600;
}

.tef26-form-shell--grant .tef26-field__error {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.tef26-choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.tef26-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 22px;
}

.tef26-form-shell--grant .tef26-choices {
  grid-template-columns: 1fr;
  gap: 10px;
}

.tef26-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
}

.tef26-form-shell--grant .tef26-choice {
  gap: 20px;
  min-height: 44px;
  padding: 10px 0;
  font-size: 18px;
  line-height: 24px;
}

.tef26-choice > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tef26-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tef26-choice__mark {
  position: relative;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border: 1px solid #777;
  background: #fff;
}

.tef26-choice input[type="radio"] + .tef26-choice__mark {
  border-radius: 50%;
}

.tef26-form-shell--grant .tef26-choice input[type="radio"] + .tef26-choice__mark {
  flex-basis: 20px;
  width: 20px;
  height: 20px;
  border-color: var(--tef26-ink);
}

.tef26-form-shell--grant .tef26-choice input[type="checkbox"] + .tef26-choice__mark {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
  border-color: var(--tef26-ink);
}

.tef26-choice input:checked + .tef26-choice__mark {
  border-color: var(--tef26-orange);
  background: var(--tef26-orange);
}

.tef26-form-shell--grant .tef26-choice input[type="radio"]:checked + .tef26-choice__mark {
  border-color: var(--tef26-orange);
  background: #fff;
}

.tef26-choice input[type="checkbox"]:checked + .tef26-choice__mark::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.tef26-choice input[type="radio"]:checked + .tef26-choice__mark::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.tef26-form-shell--grant .tef26-choice input[type="radio"]:checked + .tef26-choice__mark::after {
  background: var(--tef26-orange);
}

.tef26-form-shell--grant .tef26-choice input[type="checkbox"]:checked + .tef26-choice__mark::after {
  top: 4px;
  left: 8px;
  width: 6px;
  height: 11px;
}

.tef26-choice--agreement {
  padding: 4px 0;
}

.tef26-choice--agreement a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tef26-choice--agreement a:hover,
.tef26-choice--agreement a:focus-visible {
  color: var(--tef26-orange-dark);
}

.tef26-choice--agreement a:focus-visible {
  outline: 3px solid var(--tef26-focus);
  outline-offset: 2px;
}

.tef26-file-control {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  min-width: 0;
}

.tef26-file-control input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tef26-file-drop {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 154px;
  padding: 24px;
  border-bottom: 1px solid var(--tef26-line);
  background: #fff;
  color: var(--tef26-muted);
  cursor: pointer;
  text-align: center;
  transition: background-color .16s ease, border-color .16s ease;
}

.tef26-form-shell--grant .tef26-form .tef26-file-drop {
  width: 100%;
  height: 332px;
  min-height: 332px;
  padding: 32px;
  border: 1px solid var(--tef26-line);
}

.tef26-file-control--dragging .tef26-file-drop,
.tef26-file-drop:hover {
  border-color: var(--tef26-orange);
  background: #fff9ef;
}

.tef26-field--error .tef26-file-drop {
  border-color: var(--tef26-error);
}

.tef26-file-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  color: #b6b6b6;
}

.tef26-file-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tef26-file-prompt {
  margin-bottom: 10px;
  font-size: 13px;
}

.tef26-file-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid var(--tef26-ink);
  background: #fff;
  color: var(--tef26-ink);
  font-size: 13px;
  font-weight: 650;
}

.tef26-file-name {
  display: none;
  order: -1;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #b8b8b8;
  overflow-wrap: anywhere;
  color: var(--tef26-ink);
  font-size: 14px;
}

.tef26-file-name--selected {
  display: block;
}

.tef26-file-selection[hidden] {
  display: none !important;
}

.tef26-form-shell--grant .tef26-file-selection {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 94px;
  margin-bottom: 20px;
  padding: 16px 20px;
  border: 1px solid var(--tef26-ink);
  background: #fff;
}

.tef26-form-shell--grant .tef26-file-selection__icon {
  display: block;
  width: 32px;
  height: 40px;
  color: var(--tef26-ink);
}

.tef26-form-shell--grant .tef26-file-selection__icon svg,
.tef26-form-shell--grant .tef26-file-remove svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tef26-form-shell--grant .tef26-file-selection .tef26-file-name--selected {
  display: block;
  min-width: 0;
  min-height: 0;
  order: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.4;
}

.tef26-form-shell--grant .tef26-file-remove {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 9px;
  border: 1px solid var(--tef26-line);
  border-radius: 0;
  appearance: none;
  background: #fff;
  box-shadow: none;
  color: var(--tef26-ink);
  cursor: pointer;
  place-items: center;
}

.tef26-form-shell--grant .tef26-file-remove:hover {
  border-color: var(--tef26-orange);
  color: var(--tef26-orange-dark);
}

.tef26-form-shell--grant .tef26-file-remove:focus-visible {
  outline: 3px solid var(--tef26-focus);
  outline-offset: 2px;
}

.tef26-form-shell--grant .tef26-file-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.tef26-form-shell--grant .tef26-file-prompt {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.4;
}

.tef26-form-shell--grant .tef26-file-button {
  min-height: 60px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
}

.tef26-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 34px;
  border-top: 1px solid var(--tef26-line);
}

.tef26-form__actions--end {
  justify-content: flex-end;
}

.tef26-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 104px;
  min-height: 48px;
  padding: 11px 24px;
  border: 1px solid var(--tef26-ink);
  border-radius: 0;
  appearance: none;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.tef26-form-shell--grant .tef26-form__actions {
  margin-top: 24px;
  padding-top: 32px;
  border-top: 0;
}

.tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button {
  height: 60px;
  min-height: 60px;
  border-color: #232323;
  background: #fff;
  color: var(--tef26-ink);
  font-weight: 700;
}

.tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button--secondary {
  width: 120px;
  min-width: 120px;
}

.tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button--primary {
  width: 202px;
  min-width: 202px;
}

.tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button:hover {
  border-color: var(--tef26-ink);
  background: var(--tef26-ink);
  color: #fff;
}

.tef26-button--primary {
  border-color: var(--tef26-orange);
  background: var(--tef26-orange);
  color: #fff;
}

.tef26-button--primary:hover {
  border-color: var(--tef26-orange-dark);
  background: var(--tef26-orange-dark);
}

.tef26-button--secondary {
  background: #fff;
  color: var(--tef26-ink);
}

.tef26-button--secondary:hover {
  background: var(--tef26-ink);
  color: #fff;
}

.tef26-button--outline {
  border-color: #555;
  background: #fff;
  color: var(--tef26-ink);
}

.tef26-button--outline:hover {
  border-color: var(--tef26-orange);
  color: var(--tef26-orange-dark);
}

.tef26-submit-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.tef26-button:disabled {
  cursor: wait;
  opacity: .62;
}

.tef26-notice {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--tef26-ink);
  background: var(--tef26-soft);
}

.tef26-notice h2,
.tef26-notice p:last-child {
  margin-bottom: 0;
}

.tef26-notice--success {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-color: var(--tef26-success);
}

.tef26-notice--error {
  border-color: var(--tef26-error);
  background: #fff2ef;
  color: var(--tef26-error);
}

.tef26-notice--validation {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  border: 0;
  background: var(--tef26-error);
  color: #fff;
}

.tef26-notice--validation[hidden] {
  display: none !important;
}

.tef26-notice--validation strong {
  display: block;
  margin-bottom: 2px;
  font-size: 17px;
}

.tef26-notice--validation p {
  margin: 0;
  font-size: 13px;
}

.tef26-notice__error-icon {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  place-items: center;
}

.tef26-form-shell--grant .tef26-notice--validation {
  min-height: 129px;
  margin-bottom: 54px;
  padding: 24px 26px;
  gap: 20px;
}

.tef26-form-shell--grant .tef26-notice--validation strong {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.2;
}

.tef26-form-shell--grant .tef26-notice--validation p {
  font-size: 16px;
  line-height: 1.4;
}

.tef26-form-shell--grant .tef26-notice__error-icon {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
}

.tef26-form-shell--grant .tef26-notice__error-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.tef26-notice__icon {
  display: inline-grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tef26-success);
  color: #fff;
  font-weight: 800;
  place-items: center;
}

.tef26-form-shell--registration {
  width: min(1166px, calc(100% - 32px));
}

.tef26-registration-card {
  padding: clamp(58px, 6vw, 84px) 24px clamp(54px, 6vw, 70px);
}

.tef26-registration-card--has-errors {
  padding-top: 50px;
}

.tef26-registration-card__inner {
  width: min(100%, 570px);
  margin: 0 auto;
}

.tef26-form-shell--registration .tef26-section {
  padding: 0;
}

.tef26-form-shell--registration .tef26-section__fields {
  gap: 28px 18px;
}

.tef26-form-shell--registration .tef26-control {
  min-height: 48px;
  border-color: #777;
}

.tef26-form-shell--registration .tef26-choices {
  grid-template-columns: 1fr;
  gap: 12px;
}

.tef26-form-shell--registration .tef26-field__label {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.tef26-form-shell--registration .tef26-choice {
  gap: 10px;
  font-size: 14px;
}

.tef26-form-shell--registration .tef26-field--related {
  margin-top: -20px;
  padding-left: 28px;
}

.tef26-form-shell--registration .tef26-field--radio.tef26-field--error {
  position: relative;
}

.tef26-form-shell--registration .tef26-field--radio.tef26-field--error > .tef26-field__error {
  position: absolute;
  top: calc(100% + 63px);
  left: 28px;
  margin: 0;
}

.tef26-form-shell--registration .tef26-field--radio.tef26-field--error + .tef26-field--related {
  margin-bottom: 20px;
}

.tef26-form-shell--registration .tef26-field--error .tef26-field__label {
  color: var(--tef26-ink);
}

.tef26-form-shell--registration .tef26-field__error {
  color: #e3311b;
  font-size: 12px;
  font-weight: 500;
}

.tef26-registration-validation {
  min-height: 82px;
  margin-bottom: 54px;
  background: #df2d0f;
}

.tef26-registration-validation__icon {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
}

.tef26-registration-validation__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.tef26-registration-actions {
  margin-top: 22px;
  padding-top: 24px;
  border-top: 0;
}

.tef26-registration-actions .tef26-button {
  min-width: 118px;
}

.tef26-submission-complete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 150px;
  padding: 38px 24px;
  text-align: center;
}

.tef26-submission-complete strong {
  font-size: 20px;
}

.tef26-submission-complete span {
  color: var(--tef26-muted);
}

html.tef26-modal-open,
body.tef26-modal-open {
  overflow: hidden !important;
}

.tef26-modal-backdrop {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  padding: 24px;
  overflow: auto;
  background: rgba(0, 0, 0, .48);
  place-items: center;
}

.tef26-modal-backdrop[hidden] {
  display: none !important;
}

.tef26-success-dialog {
  position: relative;
  display: flex;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  border: 1px solid #171717;
  overflow: auto;
  background:
    linear-gradient(#171717, #171717) left top / 50px 2px no-repeat,
    linear-gradient(#171717, #171717) left top / 2px 50px no-repeat,
    linear-gradient(#171717, #171717) right top / 50px 2px no-repeat,
    linear-gradient(#171717, #171717) right top / 2px 50px no-repeat,
    linear-gradient(#171717, #171717) left bottom / 50px 2px no-repeat,
    linear-gradient(#171717, #171717) left bottom / 2px 50px no-repeat,
    linear-gradient(#171717, #171717) right bottom / 50px 2px no-repeat,
    linear-gradient(#171717, #171717) right bottom / 2px 50px no-repeat,
    #fff;
  color: #171717;
  font-family: inherit;
}

.tef26-success-dialog--registration {
  min-height: 494px;
}

.tef26-success-dialog--grant {
  min-height: 524px;
}

.tef26-success-dialog__close {
  position: absolute;
  z-index: 1;
  top: 49px;
  right: 49px;
  display: grid;
  width: 43px;
  height: 43px;
  padding: 9px;
  border: 1px solid #333;
  border-radius: 0;
  background: #fff;
  color: #222;
  cursor: pointer;
  place-items: center;
}

.tef26-success-dialog__close:hover {
  border-color: var(--tef26-orange);
  color: var(--tef26-orange-dark);
}

.tef26-success-dialog__close:focus-visible {
  outline: 3px solid var(--tef26-focus);
  outline-offset: 2px;
}

.tef26-success-dialog__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.4;
}

.tef26-success-dialog__content {
  width: min(640px, calc(100% - 80px));
  margin: 0 auto;
  padding: 134px 0 56px;
  text-align: center;
}

.tef26-success-dialog__content h2 {
  margin: 0 0 30px;
  font-size: clamp(28px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.tef26-success-dialog__line {
  display: block;
  width: 100%;
  height: 1px;
  background: #737373;
}

.tef26-success-dialog__content p {
  max-width: 620px;
  margin: 42px auto 38px;
  font-size: 20px;
  line-height: 1.55;
}

.tef26-success-dialog--grant .tef26-success-dialog__content p {
  max-width: 600px;
}

.tef26-success-dialog__home {
  min-width: 265px;
  min-height: 60px;
  font-size: 18px;
}

.tef26-honeypot,
.tef26-form-shell .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.tef26-step[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .tef26-form-shell {
    width: min(100% - 20px, 1240px);
    margin: 24px auto;
  }

  .tef26-form-shell--grant {
    width: min(1240px, calc(100vw - 20px));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  body .is-layout-constrained > .tef26-form-shell.tef26-form-shell--grant {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .tef26-intro,
  .tef26-step--fields {
    padding: 34px 18px 42px;
  }

  .tef26-form-shell--grant .tef26-step--fields {
    padding: 42px 18px 52px;
  }

  .tef26-form-shell--grant .tef26-form__inner {
    width: 100%;
  }

  .tef26-intro__stages {
    margin: 38px 0 42px;
  }

  .tef26-intro__stages li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 17px;
    padding-bottom: 36px;
  }

  .tef26-intro__number {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .tef26-intro__stages li:not(:last-child)::after {
    top: 52px;
    left: 25px;
  }

  .tef26-section__fields,
  .tef26-choices {
    grid-template-columns: 1fr;
  }

  .tef26-form-shell--grant .tef26-section__fields {
    gap: 36px;
  }

  .tef26-form-shell--grant .tef26-section__header h3 {
    font-size: 24px;
  }

  .tef26-form-shell--grant .tef26-field__label {
    font-size: 18px;
  }

  .tef26-form-shell--grant .tef26-choices {
    gap: 8px;
  }

  .tef26-form-shell--grant .tef26-choice {
    gap: 14px;
    padding: 10px 0;
    font-size: 16px;
    line-height: 24px;
  }

  .tef26-field,
  .tef26-field--half {
    grid-column: 1 / -1;
  }

  .tef26-form__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .tef26-button {
    width: 100%;
  }

  .tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button,
  .tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button--primary,
  .tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button--secondary {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .tef26-file-drop {
    min-height: 140px;
    padding: 20px 14px;
  }

  .tef26-form-shell--grant .tef26-form .tef26-file-drop {
    height: 220px;
    min-height: 220px;
    padding: 24px 16px;
  }

  .tef26-form-shell--grant .tef26-file-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
  }

  .tef26-form-shell--grant .tef26-file-prompt {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .tef26-form-shell--grant .tef26-file-button {
    min-height: 52px;
    padding: 11px 20px;
  }

  .tef26-form-shell--grant .tef26-file-selection {
    grid-template-columns: 26px minmax(0, 1fr) 36px;
    gap: 12px;
    min-height: 76px;
    margin-bottom: 14px;
    padding: 12px;
  }

  .tef26-form-shell--grant .tef26-file-selection__icon {
    width: 26px;
    height: 32px;
  }

  .tef26-form-shell--grant .tef26-file-selection .tef26-file-name--selected {
    font-size: 14px;
  }

  .tef26-form-shell--grant .tef26-file-remove {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  .tef26-form-shell--grant .tef26-field--related {
    margin-top: -12px;
    padding-left: 0;
  }

  .tef26-form-shell--grant .tef26-form .tef26-field--related .tef26-control {
    height: 64px;
    min-height: 64px;
  }

  .tef26-form-shell--grant .tef26-notice--validation {
    min-height: 0;
    margin-bottom: 38px;
    padding: 20px;
  }

  .tef26-registration-card {
    padding: 42px 18px 38px;
  }

  .tef26-form-shell--registration .tef26-field--related {
    padding-left: 0;
  }

  .tef26-form-shell--registration .tef26-field--radio.tef26-field--error > .tef26-field__error {
    left: 0;
  }

  .tef26-registration-validation {
    margin-bottom: 38px;
  }

  .tef26-registration-actions {
    flex-direction: row;
  }

  .tef26-registration-actions .tef26-button {
    width: auto;
  }

  .tef26-submission-complete {
    align-items: stretch;
    flex-direction: column;
  }

  .tef26-modal-backdrop {
    align-items: center;
    padding: 12px;
  }

  .tef26-success-dialog,
  .tef26-success-dialog--grant,
  .tef26-success-dialog--registration {
    width: 100%;
    min-height: min(500px, calc(100vh - 24px));
    max-height: calc(100vh - 24px);
  }

  .tef26-success-dialog__close {
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .tef26-success-dialog__content {
    width: calc(100% - 40px);
    padding: 94px 0 40px;
  }

  .tef26-success-dialog__content h2 {
    margin-bottom: 24px;
    font-size: 27px;
  }

  .tef26-success-dialog__content p {
    margin: 32px auto;
    font-size: 17px;
    line-height: 1.5;
  }

  .tef26-success-dialog__home {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 16px;
  }
}

/* Grant form fidelity pass based on the approved 1242 × 1060 frame and the
 * supplied desktop/mobile exports. All theme neutralization stays namespaced. */
.tef26-block--grant {
  display: flex;
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
  justify-content: center;
}

.is-layout-constrained > .tef26-block--grant,
.tef26-block--grant.alignwide,
.tef26-block--grant.alignfull {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

.tef26-form-shell--grant {
  width: min(1242px, calc(100vw - 32px));
  margin-right: auto;
  margin-left: auto;
  overflow-wrap: break-word;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

body .is-layout-constrained > .tef26-form-shell.tef26-form-shell--grant,
.tef26-block--grant .tef26-form-shell--grant {
  width: min(1242px, calc(100vw - 32px)) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 1080px) {
  .tef26-block--grant {
    justify-content: center !important;
  }

  .tef26-form-shell--grant,
  body .is-layout-constrained > .tef26-form-shell.tef26-form-shell--grant,
  .tef26-block--grant .tef26-form-shell--grant {
    margin-right: auto !important;
    margin-left: auto !important;
    align-self: center;
    justify-self: center;
  }
}

.tef26-form-shell--grant .tef26-form,
.tef26-form-shell--grant .tef26-form input,
.tef26-form-shell--grant .tef26-form textarea,
.tef26-form-shell--grant .tef26-form select,
.tef26-form-shell--grant .tef26-form button {
  font-family: Arial, Helvetica, sans-serif;
}

.tef26-form-shell--grant .tef26-corner-card,
.tef26-form-shell--grant .tef26-step--fields {
  background: #fff;
}

.tef26-corner {
  position: absolute;
  z-index: 3;
  display: block;
  width: 50px;
  height: 50px;
  border: 0;
  pointer-events: none;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.tef26-corner--tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid #FFA500;
  border-left: 2px solid #FFA500;
}

.tef26-corner--tr {
  top: -1px;
  right: -1px;
  border-top: 2px solid #FFA500;
  border-right: 2px solid #FFA500;
}

.tef26-corner--bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid #FFA500;
  border-left: 2px solid #FFA500;
}

.tef26-corner--br {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid #FFA500;
  border-bottom: 2px solid #FFA500;
}

.tef26-corner--mobile {
  display: none;
}

.tef26-form-shell--grant .tef26-intro {
  position: relative;
  min-height: 1060px;
  padding: 52px 0 49px;
  border: 1px solid #CFCFCF;
  background: linear-gradient(225deg, #fff 0%, #FAF3EB 100%);
}

.tef26-form-shell--grant .tef26-intro__inner {
  width: min(650px, calc(100% - 48px));
  margin: 0 auto;
}

.tef26-form-shell--grant .tef26-intro__header h2 {
  margin: 0 0 20px;
  font-size: 37px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.tef26-form-shell--grant .tef26-intro__header .tef26-eyebrow {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.tef26-form-shell--grant .tef26-intro__body {
  margin-top: 96.5px;
}

.tef26-form-shell--grant .tef26-intro__stages {
  margin: 0;
  padding: 0;
}

.tef26-form-shell--grant .tef26-intro__stages li {
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 48px;
  min-height: 190px;
  padding: 0;
}

.tef26-form-shell--grant .tef26-intro__stages li:nth-child(2) {
  min-height: 280px;
}

.tef26-form-shell--grant .tef26-intro__stages li:nth-child(2) > div {
  max-width: 480px;
}

.tef26-form-shell--grant .tef26-intro__stages li:last-child {
  min-height: 0;
}

.tef26-form-shell--grant .tef26-intro__stages li:not(:last-child)::after {
  top: 80px;
  bottom: 0;
  left: 39px;
  width: 1px;
  background: #FFA500;
  opacity: .5;
}

.tef26-form-shell--grant .tef26-intro__number {
  width: 80px;
  height: 80px;
  border: 1px solid #FFA500;
  color: #FFA500;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.tef26-form-shell--grant .tef26-intro__stages h3 {
  margin: 2px 0 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.22;
}

.tef26-form-shell--grant .tef26-intro__stages p {
  margin: 0;
  color: #292929;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.tef26-form-shell--grant .tef26-intro__action {
  margin-top: 70px;
}

.tef26-form-shell--grant .tef26-intro__action .tef26-button {
  width: 215px;
  min-width: 215px;
  min-height: 55px;
  padding: 12px 24px;
  border: 1px solid #FFA500;
  background: #FFA500;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.tef26-form-shell--grant .tef26-step--fields {
  position: relative;
  padding: 88px 24px 96px;
  border: 1px solid #CFCFCF;
  background: #fff;
}

.tef26-form-shell--grant .tef26-form__inner {
  width: min(606px, 100%);
}

.tef26-form-shell--grant .tef26-fields-card {
  display: contents;
}

.tef26-form-shell--grant .tef26-form__header {
  margin-bottom: 44px;
  padding-bottom: 30px;
  border-bottom: 1px solid #CFCFCF;
}

.tef26-form-shell--grant .tef26-section {
  padding-bottom: 42px;
}

.tef26-form-shell--grant .tef26-section + .tef26-section {
  padding-top: 6px;
}

.tef26-form-shell--grant .tef26-section__header {
  margin-bottom: 30px;
}

.tef26-form-shell--grant .tef26-section__fields {
  gap: 40px 20px;
}

.tef26-form-shell--grant .tef26-form .tef26-control::placeholder {
  color: #A6A6A6;
  opacity: 1;
}

.tef26-form-shell--grant .tef26-choice--agreement {
  min-height: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
}

.tef26-form-shell--grant .tef26-notice--preview-submit {
  margin: 8px 0 0;
  padding: 16px 18px;
  border: 1px solid #FFA500;
  background: #FFF8EC;
  color: #101010;
}

.tef26-form-shell--grant .tef26-notice--preview-submit[hidden] {
  display: none !important;
}

.tef26-preview-badge {
  position: fixed;
  z-index: 1000001;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border: 2px solid #FFA500;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  color: #101010;
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
}

@media (max-width: 767px) {
  .tef26-form-shell--grant,
  body .is-layout-constrained > .tef26-form-shell.tef26-form-shell--grant,
  .tef26-block--grant .tef26-form-shell--grant {
    width: calc(100vw - 38px) !important;
    max-width: none !important;
    margin: 44px auto !important;
  }

  .tef26-form-shell--grant .tef26-corner--desktop {
    display: none;
  }

  .tef26-form-shell--grant .tef26-corner--mobile {
    display: block;
    width: 24px;
    height: 24px;
  }

  .tef26-form-shell--grant .tef26-intro {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .tef26-form-shell--grant .tef26-intro__inner {
    width: 100%;
  }

  .tef26-form-shell--grant .tef26-intro__header h2 {
    max-width: 330px;
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.08;
  }

  .tef26-form-shell--grant .tef26-intro__header .tef26-eyebrow {
    max-width: 330px;
    font-size: 18px;
    line-height: 1.22;
  }

  .tef26-form-shell--grant .tef26-intro__body {
    position: relative;
    margin-top: 36px;
    padding: 32px 16px 51px;
    border: 1px solid #CFCFCF;
    background: linear-gradient(225deg, #fff 0%, #FAF3EB 100%);
  }

  .tef26-form-shell--grant .tef26-intro__stages li,
  .tef26-form-shell--grant .tef26-intro__stages li:nth-child(2),
  .tef26-form-shell--grant .tef26-intro__stages li:last-child {
    display: block;
    min-height: 0;
    padding: 0 0 60px;
  }

  .tef26-form-shell--grant .tef26-intro__stages li:nth-child(2) {
    padding-bottom: 61px;
  }

  .tef26-form-shell--grant .tef26-intro__stages li:nth-child(2) > div {
    max-width: none;
  }

  .tef26-form-shell--grant .tef26-intro__stages li:last-child {
    padding-bottom: 0;
  }

  .tef26-form-shell--grant .tef26-intro__stages li:not(:last-child)::after {
    display: none;
  }

  .tef26-form-shell--grant .tef26-intro__number {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .tef26-form-shell--grant .tef26-intro__stages li > div {
    margin-top: 24px;
  }

  .tef26-form-shell--grant .tef26-intro__stages h3 {
    margin: 0 0 24px;
    font-size: 23px;
    line-height: 1.18;
  }

  .tef26-form-shell--grant .tef26-intro__stages p {
    font-size: 18px;
    line-height: 1.48;
  }

  .tef26-form-shell--grant .tef26-intro__action {
    margin-top: 62px;
  }

  .tef26-form-shell--grant .tef26-intro__action .tef26-button {
    width: 194px;
    min-width: 194px;
    min-height: 50px;
    padding: 10px 20px;
    font-size: 16px;
  }

  .tef26-form-shell--grant .tef26-step--fields {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .tef26-form-shell--grant .tef26-form__inner {
    width: 100%;
  }

  .tef26-form-shell--grant .tef26-form__header {
    margin: 0 0 34px;
    padding: 0;
    border: 0;
    text-align: center;
  }

  .tef26-form-shell--grant .tef26-form__header h2 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.12;
  }

  .tef26-form-shell--grant .tef26-form__header .tef26-eyebrow {
    font-size: 15px;
    line-height: 1.3;
  }

  .tef26-form-shell--grant .tef26-fields-card {
    position: relative;
    display: block;
    padding: 32px 16px 28px;
    border: 1px solid #CFCFCF;
    background: #fff;
  }

  .tef26-form-shell--grant .tef26-section {
    padding-bottom: 34px;
  }

  .tef26-form-shell--grant .tef26-section + .tef26-section {
    padding-top: 0;
  }

  .tef26-form-shell--grant .tef26-section__header {
    margin-bottom: 24px;
  }

  .tef26-form-shell--grant .tef26-section__header h3 {
    padding-bottom: 13px;
    font-size: 20px;
    line-height: 1.18;
  }

  .tef26-form-shell--grant .tef26-section__fields {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tef26-form-shell--grant .tef26-field,
  .tef26-form-shell--grant .tef26-field--half {
    grid-column: 1 / -1;
  }

  .tef26-form-shell--grant .tef26-field__label {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.25;
  }

  .tef26-form-shell--grant .tef26-field__description,
  .tef26-form-shell--grant .tef26-field__note,
  .tef26-form-shell--grant .tef26-field__error {
    font-size: 12px;
    line-height: 1.35;
  }

  .tef26-form-shell--grant .tef26-field__error {
    margin-top: 7px;
  }

  .tef26-form-shell--grant .tef26-form .tef26-control {
    height: 42px;
    min-height: 42px;
    padding: 9px 11px;
    font-size: 14px;
  }

  .tef26-form-shell--grant .tef26-form .tef26-control--select {
    padding-right: 36px;
    background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px;
    background-size: 5px 5px, 5px 5px;
  }

  .tef26-form-shell--grant .tef26-form .tef26-control--textarea,
  .tef26-form-shell--grant .tef26-form .tef26-field--large-control .tef26-control {
    height: 130px;
    min-height: 130px;
    padding: 11px;
  }

  .tef26-form-shell--grant .tef26-choices {
    gap: 5px;
  }

  .tef26-form-shell--grant .tef26-choice {
    gap: 10px;
    min-height: 24px;
    padding: 2px 0;
    font-size: 13px;
    line-height: 1.42;
  }

  .tef26-form-shell--grant .tef26-choice input[type="radio"] + .tef26-choice__mark {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
    margin-top: 1px;
  }

  .tef26-form-shell--grant .tef26-choice input[type="radio"]:checked + .tef26-choice__mark::after {
    inset: 3px;
  }

  .tef26-form-shell--grant .tef26-choice input[type="checkbox"] + .tef26-choice__mark {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }

  .tef26-form-shell--grant .tef26-choice input[type="checkbox"]:checked + .tef26-choice__mark::after {
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
  }

  .tef26-form-shell--grant .tef26-choice--agreement {
    gap: 9px;
    min-height: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.42;
  }

  .tef26-form-shell--grant .tef26-field--related {
    margin-top: -12px;
    padding-left: 26px;
  }

  .tef26-form-shell--grant .tef26-form .tef26-field--related .tef26-control {
    height: 48px;
    min-height: 48px;
  }

  .tef26-form-shell--grant .tef26-form .tef26-file-drop {
    height: 154px;
    min-height: 154px;
    padding: 18px 12px;
  }

  .tef26-form-shell--grant .tef26-file-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }

  .tef26-form-shell--grant .tef26-file-prompt {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .tef26-form-shell--grant .tef26-file-button {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 12px;
  }

  .tef26-form-shell--grant .tef26-file-selection {
    grid-template-columns: 22px minmax(0, 1fr) 30px;
    gap: 9px;
    min-height: 56px;
    margin-bottom: 10px;
    padding: 8px 9px;
  }

  .tef26-form-shell--grant .tef26-file-selection__icon {
    width: 22px;
    height: 28px;
  }

  .tef26-form-shell--grant .tef26-file-selection .tef26-file-name--selected {
    font-size: 11px;
  }

  .tef26-form-shell--grant .tef26-file-remove {
    width: 30px;
    height: 30px;
    padding: 7px;
  }

  .tef26-form-shell--grant .tef26-notice--validation {
    min-height: 102px;
    margin-bottom: 30px;
    gap: 12px;
    padding: 17px 14px;
  }

  .tef26-form-shell--grant .tef26-notice--validation strong {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .tef26-form-shell--grant .tef26-notice--validation p {
    font-size: 12px;
    line-height: 1.35;
  }

  .tef26-form-shell--grant .tef26-notice__error-icon,
  .tef26-form-shell--grant .tef26-notice__error-icon svg {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .tef26-form-shell--grant .tef26-form__actions {
    align-items: center;
    flex-direction: column-reverse;
    gap: 14px;
    margin-top: 4px;
    padding-top: 26px;
  }

  .tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button,
  .tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button--primary,
  .tef26-form-shell--grant .tef26-form .tef26-form__actions .tef26-button--secondary {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    height: 48px;
    min-height: 48px;
    padding: 9px 16px;
    font-size: 14px;
  }

  .tef26-preview-badge {
    top: 10px;
    right: 10px;
    padding: 6px 9px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tef26-form-shell *,
  .tef26-form-shell *::before,
  .tef26-form-shell *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* TEF 2026 final form polish: match static field states from the approved design. */
.tef26-form input.tef26-control:focus,
.tef26-form input.tef26-control:focus-visible,
.tef26-form textarea.tef26-control:focus,
.tef26-form textarea.tef26-control:focus-visible,
.tef26-form select.tef26-control:focus,
.tef26-form select.tef26-control:focus-visible,
.tef26-phone-control__code:focus,
.tef26-phone-control__code:focus-visible {
  border-color: var(--tef26-ink) !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.tef26-form .tef26-control--textarea {
  resize: none !important;
}

.tef26-phone-control {
  display: flex;
  width: 100%;
  height: 57px;
  min-height: 57px;
}

.tef26-phone-control__code {
  flex: 0 0 108px;
  width: 108px;
  min-width: 108px;
  height: 57px;
  margin: 0;
  padding: 12px 40px 12px 16px;
  border: 1px solid var(--tef26-ink);
  border-radius: 0;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #333 50%), linear-gradient(135deg, #333 50%, transparent 50%);
  background-position: calc(100% - 20px) 25px, calc(100% - 14px) 25px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  color: var(--tef26-ink);
  font: inherit;
  line-height: 1.35;
  appearance: none;
}

.tef26-form-shell--grant .tef26-form .tef26-phone-control__number {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  border-left: 0;
}

.tef26-field--error .tef26-phone-control__code,
.tef26-field--error .tef26-phone-control__number {
  border-color: var(--tef26-error) !important;
}

@media (max-width: 640px) {
  .tef26-phone-control__code {
    flex-basis: 96px;
    width: 96px;
    min-width: 96px;
    padding-left: 12px;
  }
}


/* TEF 2026 — final input-state corrections from approved screenshots. */
.tef26-form-shell .tef26-form input.tef26-control::placeholder,
.tef26-form-shell .tef26-form textarea.tef26-control::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.tef26-form-shell .tef26-form input.tef26-control:focus,
.tef26-form-shell .tef26-form input.tef26-control:focus-visible,
.tef26-form-shell .tef26-form textarea.tef26-control:focus,
.tef26-form-shell .tef26-form textarea.tef26-control:focus-visible,
.tef26-form-shell .tef26-form select.tef26-control:focus,
.tef26-form-shell .tef26-form select.tef26-control:focus-visible,
.tef26-form-shell .tef26-form .tef26-phone-control__code:focus,
.tef26-form-shell .tef26-form .tef26-phone-control__code:focus-visible {
  border-color: var(--tef26-ink) !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  background-color: #fff !important;
}

.tef26-form-shell .tef26-form textarea.tef26-control,
.tef26-form-shell .tef26-form .tef26-control--textarea {
  resize: none !important;
}

/* Keep validation borders red even while an invalid field has focus. */
.tef26-form-shell .tef26-form .tef26-field--error input.tef26-control:focus,
.tef26-form-shell .tef26-form .tef26-field--error input.tef26-control:focus-visible,
.tef26-form-shell .tef26-form .tef26-field--error textarea.tef26-control:focus,
.tef26-form-shell .tef26-form .tef26-field--error textarea.tef26-control:focus-visible,
.tef26-form-shell .tef26-form .tef26-field--error select.tef26-control:focus,
.tef26-form-shell .tef26-form .tef26-field--error select.tef26-control:focus-visible,
.tef26-form-shell .tef26-form .tef26-field--error .tef26-phone-control__code:focus,
.tef26-form-shell .tef26-form .tef26-field--error .tef26-phone-control__code:focus-visible {
  border-color: var(--tef26-error) !important;
}

/* Choice/file controls also keep their normal visual state when keyboard-focused. */
.tef26-form-shell .tef26-form .tef26-choice input:focus + .tef26-choice__mark,
.tef26-form-shell .tef26-form .tef26-choice input:focus-visible + .tef26-choice__mark,
.tef26-form-shell .tef26-form .tef26-file-control input:focus + .tef26-file-drop,
.tef26-form-shell .tef26-form .tef26-file-control input:focus-visible + .tef26-file-drop,
.tef26-form-shell .tef26-form .tef26-file-control:focus-within .tef26-file-drop {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* Registration controls use the lighter inactive border from their base design. */
.tef26-form-shell--registration .tef26-form input.tef26-control:focus,
.tef26-form-shell--registration .tef26-form input.tef26-control:focus-visible,
.tef26-form-shell--registration .tef26-form textarea.tef26-control:focus,
.tef26-form-shell--registration .tef26-form textarea.tef26-control:focus-visible,
.tef26-form-shell--registration .tef26-form select.tef26-control:focus,
.tef26-form-shell--registration .tef26-form select.tef26-control:focus-visible {
  border-color: #9b9b9b !important;
}
.tef26-form-shell--registration .tef26-form .tef26-field--error input.tef26-control:focus,
.tef26-form-shell--registration .tef26-form .tef26-field--error input.tef26-control:focus-visible,
.tef26-form-shell--registration .tef26-form .tef26-field--error textarea.tef26-control:focus,
.tef26-form-shell--registration .tef26-form .tef26-field--error textarea.tef26-control:focus-visible,
.tef26-form-shell--registration .tef26-form .tef26-field--error select.tef26-control:focus,
.tef26-form-shell--registration .tef26-form .tef26-field--error select.tef26-control:focus-visible {
  border-color: var(--tef26-error) !important;
}

/* TEF 2026 — requested amount, uploaded-file remove icon, forum "Other" behavior. */
/* Hide native increment/decrement controls on numeric inputs (the design uses a plain field). */
.tef26-form-shell .tef26-form input.tef26-control[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.tef26-form-shell .tef26-form input.tef26-control[type="number"]::-webkit-outer-spin-button,
.tef26-form-shell .tef26-form input.tef26-control[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* The uploaded-file remove button must show the X from the approved mockup. */
.tef26-form-shell .tef26-form .tef26-file-remove svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  pointer-events: none;
}
