.baf-ef-main {
  --ef-forest: #063e25;
  --ef-green: #0d5b35;
  --ef-gold: #b58b3b;
  --ef-cream: #f6f4eb;
  --ef-paper: #fffef9;
  --ef-ink: #1e2d25;
  --ef-muted: #66756c;
  --ef-line: #d9e1d6;
  --ef-error: #a43b32;
  min-width: 0;
  overflow: clip;
  background: var(--ef-cream);
  color: var(--ef-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.baf-ef-main [hidden] { display: none !important; }
.baf-ef-breadcrumb-wrap { border-bottom: 1px solid #e3e6dc; background: #fbfaf5; }
.baf-ef-breadcrumb { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0; color: #7b887f; font-size: 12px; }
.baf-ef-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; color: var(--ef-green); font-weight: 800; }
.baf-ef-breadcrumb a:hover { color: var(--ef-gold); }
.baf-ef-breadcrumb > span[aria-hidden] { color: #b8c0b9; }
.baf-ef-breadcrumb > span[aria-current] { color: #526158; font-weight: 700; }

.baf-ef-hero { position: relative; isolation: isolate; padding: clamp(50px, 6.5vw, 82px) 0; overflow: hidden; color: #fff; background: linear-gradient(125deg, #04341f 0%, #07502d 58%, #1b6339 100%); }
.baf-ef-hero::before { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -75%; width: 58%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255,255,255,.025), 0 0 0 108px rgba(255,255,255,.02); }
.baf-ef-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(34px, 6vw, 76px); align-items: end; }
.baf-ef-hero .eyebrow { margin-bottom: 16px; color: #c8dda9; letter-spacing: .18em; }
.baf-ef-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.baf-ef-hero h1 em { color: #e2c77f; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.baf-ef-hero-lede { max-width: 690px; margin: 20px 0 0; color: #dce9df; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; }
.baf-ef-hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.baf-ef-hero-meta span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #f1f5ee; background: rgba(255,255,255,.07); font-size: 11px; font-weight: 750; }
.baf-ef-private { display: grid; grid-template-columns: 38px 1fr; gap: 13px; max-width: 380px !important; margin: 0 !important; padding: 21px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; color: #dce8df; background: rgba(4,38,22,.34); box-shadow: 0 18px 45px rgba(0,23,12,.14); backdrop-filter: blur(8px); font-size: 13px; line-height: 1.55; }
.baf-ef-private > span:first-child { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #173b27; background: #dcc47f; font-size: 17px; font-weight: 900; }
.baf-ef-private strong { color: #fff; font-size: 14px; }

.baf-ef-section { padding: clamp(28px, 5vw, 58px) 0 clamp(64px, 8vw, 100px); }
.baf-ef-shell { max-width: 1080px; }
.baf-ef-init { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 96px; padding: 24px; border: 1px solid var(--ef-line); border-radius: 16px; color: #2c573d; background: var(--ef-paper); box-shadow: 0 12px 35px rgba(16,57,34,.06); font-size: 14px; font-weight: 750; }
.baf-ef-init.is-error { flex-direction: column; max-width: 640px; min-height: 0; margin: auto; padding: 30px; border-color: #e3bbb5; color: #7c3029; text-align: center; }
.baf-ef-init.is-error::before { content: "!"; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--ef-error); font-size: 20px; font-weight: 900; }
.baf-ef-app { padding: clamp(22px, 4vw, 48px); border: 1px solid #dbe3d7; border-radius: 24px; background: var(--ef-paper); box-shadow: 0 24px 70px rgba(14,54,31,.11); }

.baf-ef-progress-wrap { margin-bottom: clamp(30px, 5vw, 48px); padding-bottom: 22px; border-bottom: 1px solid #e5e9e1; }
.baf-ef-progress-copy { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 12px; }
.baf-ef-progress-copy span { color: var(--ef-gold); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.baf-ef-progress-copy strong { color: #244c35; font-size: 14px; text-align: right; }
.baf-ef-progress { height: 7px; overflow: hidden; border-radius: 999px; background: #e8ece5; }
.baf-ef-progress i { display: block; width: 12.5%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ef-green), #6c8a4d); transition: width .25s ease; }
.baf-ef-step { scroll-margin-top: 132px; }
.baf-ef-step h2 { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; margin: 0 0 30px; color: var(--ef-forest); font-size: clamp(20px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
.baf-ef-step h2 > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: #fff; background: var(--ef-green); box-shadow: 0 8px 20px rgba(13,91,53,.16); font-size: 17px; }
.baf-ef-step h2 small { display: block; color: var(--ef-muted); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.baf-ef-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.baf-ef-wide { grid-column: 1 / -1; }
.baf-ef-help { margin: -10px 0 24px; color: var(--ef-muted); font-size: 13px; line-height: 1.65; }
.baf-ef-note { margin: 24px 0 0; padding: 16px 18px; border-left: 3px solid var(--ef-gold); border-radius: 6px; color: #4c5f53; background: #f6f2e5; font-size: 13px; line-height: 1.6; }

.baf-ef-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; margin: 0; color: #314f3d; font-size: 13px; font-weight: 600; }
.baf-ef-field > span { line-height: 1.35; }
.baf-ef-field b, .baf-ef-group b, .baf-ef-upload b { color: var(--ef-error); }
.baf-ef-field input,
.baf-ef-field textarea,
.baf-ef-field select { width: 100%; min-width: 0; min-height: 52px; padding: 13px 15px; border: 1px solid #bccbbc; border-radius: 11px; outline: 0; color: var(--ef-ink); background: #fff; box-shadow: inset 0 1px 1px rgba(15,47,27,.025); font: inherit; font-size: 15px; font-weight: 500; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.baf-ef-field textarea { min-height: 125px; resize: vertical; line-height: 1.55; }
.baf-ef-field select { appearance: none; padding-right: 46px; background-image: linear-gradient(45deg, transparent 50%, #3f654d 50%), linear-gradient(135deg, #3f654d 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-repeat: no-repeat; background-size: 6px 6px, 6px 6px; cursor: pointer; }
.baf-ef-field select:disabled { cursor: not-allowed; color: #87928a; background-color: #f1f3ee; }
.baf-ef-field input:hover:not(:disabled), .baf-ef-field textarea:hover:not(:disabled), .baf-ef-field select:hover:not(:disabled) { border-color: #8ca78f; }
.baf-ef-field input:focus-visible, .baf-ef-field textarea:focus-visible, .baf-ef-field select:focus-visible, .baf-ef-upload input:focus-visible { border-color: var(--ef-green); box-shadow: 0 0 0 4px rgba(13,91,53,.14); outline: 0; }
.baf-ef-field input:invalid:not(:placeholder-shown) { border-color: #c4827c; }

#baf-ef-key_skills { height: 64px; min-height: 64px; }
.baf-ef-step[data-expert-step="4"] > .baf-ef-group { margin-top: 0; padding-top: 8px; }

.baf-ef-group { min-width: 0; margin: 0 0 26px; padding: clamp(18px, 3vw, 25px); border: 1px solid var(--ef-line); border-radius: 16px; background: #fbfcf8; }
.baf-ef-group legend { max-width: calc(100% - 14px); padding: 0 7px; color: var(--ef-forest); font-size: 14px; font-weight: 650; line-height: 1.4; }
.baf-ef-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.baf-ef-option { position: relative; display: flex; min-width: 0; min-height: 50px; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid #d7e0d5; border-radius: 11px; color: #334d3e; background: #fff; cursor: pointer; line-height: 1.35; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; }
.baf-ef-option:hover { border-color: #8da78f; transform: translateY(-1px); }
.baf-ef-option:has(input:checked) { border-color: var(--ef-green); color: #103f27; background: #edf5eb; box-shadow: 0 0 0 1px var(--ef-green), 0 7px 18px rgba(13,91,53,.08); }
.baf-ef-option input { appearance: none; display: grid; flex: 0 0 21px; width: 21px; height: 21px; margin: 0; place-content: center; border: 1.5px solid #84978a; background: #fff; cursor: pointer; }
.baf-ef-option input[type="checkbox"] { border-radius: 6px; }
.baf-ef-option input[type="radio"] { border-radius: 50%; }
.baf-ef-option input::before { content: ""; width: 11px; height: 11px; transform: scale(0); transition: transform .12s ease; }
.baf-ef-option input[type="checkbox"]::before { width: 10px; height: 6px; margin-top: -2px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg) scale(0); }
.baf-ef-option input[type="radio"]::before { border-radius: 50%; background: #fff; }
.baf-ef-option input:checked { border-color: var(--ef-green); background: var(--ef-green); }
.baf-ef-option input[type="checkbox"]:checked::before { transform: rotate(-45deg) scale(1); }
.baf-ef-option input[type="radio"]:checked::before { transform: scale(1); }
.baf-ef-option input:focus-visible { outline: 3px solid rgba(13,91,53,.2); outline-offset: 3px; }
.baf-ef-option span { min-width: 0; font-size: 13px; font-weight: 500; }
.baf-ef-conditional { max-width: 580px; margin-top: 16px; animation: baf-ef-reveal .18s ease-out; }

.baf-ef-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.baf-ef-upload { display: flex; min-width: 0; flex-direction: column; gap: 11px; padding: 18px; border: 1px solid var(--ef-line); border-radius: 14px; color: #284936; background: #fbfcf8; }
.baf-ef-upload > span { display: flex; flex-direction: column; gap: 4px; }
.baf-ef-upload small { color: var(--ef-muted); font-size: 11px; font-weight: 550; }
.baf-ef-upload input { width: 100%; min-height: 44px; padding: 8px; border: 1px dashed #9db19f; border-radius: 9px; color: #405448; background: #fff; font-size: 12px; }
.baf-ef-upload input::file-selector-button { min-height: 30px; margin-right: 10px; padding: 5px 10px; border: 0; border-radius: 7px; color: #fff; background: var(--ef-green); font-weight: 750; cursor: pointer; }
.baf-ef-upload em { min-height: 18px; overflow-wrap: anywhere; color: #7a867f; font-size: 11px; font-style: normal; }
.baf-ef-upload em.is-saved { color: #17683a; font-weight: 750; }

.baf-ef-declaration { margin-bottom: 20px; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--ef-line); border-radius: 16px; background: #fbfcf8; }
.baf-ef-declaration h3 { margin: 0 0 12px; color: var(--ef-forest); font-size: 19px; }
.baf-ef-declaration p, .baf-ef-declaration li { color: #3a4f42; font-size: 13px; line-height: 1.65; }
.baf-ef-declaration ul { margin: 12px 0 18px; padding-left: 20px; }
.baf-ef-confirm { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid #cad8c8; border-radius: 10px; color: #204630; background: #fff; font-size: 13px; font-weight: 750; cursor: pointer; }
.baf-ef-confirm input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--ef-green); }

.baf-ef-status { min-height: 24px; margin-top: 18px; font-size: 13px; font-weight: 750; }
.baf-ef-status:empty { min-height: 0; margin-top: 0; }
.baf-ef-status.is-success { color: #17683a; }
.baf-ef-status.is-warning { color: #7a5c18; }
.baf-ef-status.is-error { padding: 11px 13px; border-left: 3px solid var(--ef-error); border-radius: 5px; color: #852f29; background: #fbefed; }
.baf-ef-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #e2e8df; }
.baf-ef-main .button { min-height: 48px; margin: 0; padding: 11px 19px; border: 1px solid var(--ef-green); border-radius: 11px; color: #fff; background: var(--ef-green); box-shadow: 0 7px 18px rgba(13,91,53,.13); font-size: 13px; font-weight: 850; }
.baf-ef-main .button:hover { background: #074a2b; transform: translateY(-1px); }
.baf-ef-main .button:focus-visible { outline: 3px solid rgba(181,139,59,.38); outline-offset: 3px; }
.baf-ef-main .button.button-outline { border-color: #a8baa9; color: #245137; background: #fff; box-shadow: none; }
.baf-ef-main .button.button-quiet { border-color: transparent; color: #355c43; background: #edf2e9; box-shadow: none; }
.baf-ef-main .button:disabled { cursor: wait; opacity: .68; transform: none; }
.baf-ef-main .button.is-loading { min-width: 122px; }
.baf-ef-spinner { display: inline-block; flex: 0 0 19px; width: 19px; height: 19px; border: 2.5px solid #c7d7c7; border-top-color: var(--ef-green); border-radius: 50%; animation: baf-ef-spin .7s linear infinite; }
.baf-ef-main .button .baf-ef-spinner { border-color: rgba(255,255,255,.42); border-top-color: #fff; }
.baf-ef-main .button.button-outline .baf-ef-spinner, .baf-ef-main .button.button-quiet .baf-ef-spinner { border-color: #bfd0c0; border-top-color: var(--ef-green); }

.baf-ef-success { max-width: 660px; margin: auto; padding: clamp(30px, 6vw, 58px); border: 1px solid #c8d9c5; border-radius: 18px; color: #2c4636; background: #f3f8ee; text-align: center; }
.baf-ef-success-icon { display: grid; width: 54px; height: 54px; margin: 0 auto 18px; place-items: center; border-radius: 50%; color: #fff; background: var(--ef-green); font-size: 25px; font-weight: 900; }
.baf-ef-success h2 { margin: 0 0 10px; color: var(--ef-forest); font-size: 30px; }
.baf-ef-success p { margin: 8px 0; }
.baf-ef-success .button { margin-top: 16px; }
.baf-ef-success .baf-ef-status { text-align: left; }

@keyframes baf-ef-spin { to { transform: rotate(360deg); } }
@keyframes baf-ef-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .baf-ef-hero { padding: 46px 0 50px; }
  .baf-ef-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .baf-ef-private { max-width: 560px !important; }
  .baf-ef-grid, .baf-ef-upload-grid { grid-template-columns: 1fr; }
  .baf-ef-wide { grid-column: auto; }
}

@media (max-width: 560px) {
  .baf-ef-breadcrumb { min-height: 42px; font-size: 11px; }
  .baf-ef-hero h1 { font-size: clamp(37px, 11.5vw, 48px); }
  .baf-ef-hero-meta { gap: 7px; }
  .baf-ef-hero-meta span { font-size: 10px; }
  .baf-ef-private { grid-template-columns: 32px 1fr; padding: 17px; }
  .baf-ef-private > span:first-child { width: 32px; height: 32px; }
  .baf-ef-section { padding-top: 20px; }
  .baf-ef-app { margin-inline: -3px; padding: 22px 15px 27px; border-radius: 17px; }
  .baf-ef-progress-copy { align-items: start; flex-direction: column; gap: 4px; }
  .baf-ef-progress-copy strong { font-size: 13px; text-align: left; }
  .baf-ef-step h2 { grid-template-columns: 42px 1fr; gap: 11px; font-size: 20px; }
  .baf-ef-step h2 > span { width: 42px; height: 42px; border-radius: 12px; }
  .baf-ef-options { grid-template-columns: 1fr; }
  .baf-ef-group { padding: 17px 12px; border-radius: 13px; }
  .baf-ef-option { min-height: 52px; padding: 11px; }
  .baf-ef-actions { align-items: stretch; }
  .baf-ef-actions .button { flex: 1 1 135px; padding-inline: 12px; }
  .baf-ef-actions [data-expert-next], .baf-ef-actions [data-expert-submit] { flex-basis: 100%; order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .baf-ef-spinner { animation-duration: 1.5s; }
  .baf-ef-progress i, .baf-ef-option, .baf-ef-conditional { transition: none; animation: none; }
}
