/* Screen 06: teacher training. No global selectors or external dependencies. */
#adults.teachers-section{background:#edf4fc;scroll-margin-top:100px}
#adults .teacher-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:50px;align-items:end;margin-bottom:32px}
#adults .teacher-heading .eyebrow{font-size:10px;letter-spacing:.11em}
#adults .teacher-heading :is(h1,h2){font-size:clamp(32px,3.4vw,51px);line-height:1.1}
#adults .teacher-heading>p{font-size:14px;color:var(--muted);line-height:1.85;margin:0;max-width:480px}
#adults .teacher-directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0 0 34px;padding:0}
#adults .teacher-directions li{display:flex;align-items:center;gap:14px;min-height:76px;padding:17px 20px;border-radius:12px;border:1px solid #d0e0f4;background:#fff;font-size:13px;font-weight:700;line-height:1.5;color:var(--deep)}
#adults .teacher-directions .teacher-direction-icon{display:block;flex:0 0 34px;width:34px;height:34px;background:var(--blue);mask:var(--teacher-icon) center/contain no-repeat;-webkit-mask:var(--teacher-icon) center/contain no-repeat}
#adults .teacher-rewards-title{font-size:29px;line-height:1.2;margin-bottom:20px}
#adults .teacher-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
#adults .teacher-rewards article{display:grid;grid-template-columns:34px 1fr;gap:14px;background:#06275A;border-radius:14px;padding:23px;color:white}

#adults .teacher-rewards svg{width:29px;height:29px;fill:none;stroke:#FFD90C;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#adults .teacher-rewards h4{font-size:18px;line-height:1.3;letter-spacing:-.03em;margin:0;font-weight:800}
#adults .teacher-rewards p{font-size:12px;line-height:1.75;color:#c6d7ef;margin:9px 0 0}
#adults .teacher-bottom{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;padding-top:27px}
#adults .teacher-facts{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:12px;line-height:1.8;color:var(--muted)}
#adults .teacher-facts b{color:var(--deep)}
#adults .teacher-enroll{justify-self:end;max-width:430px;text-align:right}
#adults .teacher-enroll p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 15px}
#adults .teacher-enroll .button{min-width:180px;min-height:46px;font-size:13px;padding:15px 25px}
#teacher-dialog{max-width:650px;max-height:calc(100dvh - 30px);padding:36px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:20px;animation:teacher-appear .2s ease-out}
#teacher-dialog::backdrop{background:#001b3f99;backdrop-filter:blur(3px)}
#teacher-dialog .teacher-close{position:absolute;top:12px;right:12px;width:40px;height:40px;background:#edf4fc;color:var(--deep);border:0;border-radius:50%;font-size:26px}
#teacher-dialog h2{font-size:29px;line-height:1.2;margin:0 0 24px;padding-right:35px;color:var(--deep)}
#teacher-dialog .teacher-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#teacher-dialog .teacher-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:var(--deep)}
#teacher-dialog .teacher-field input,#teacher-dialog .teacher-field select{width:100%;min-width:0;min-height:45px;border:1px solid #ccdbee;border-radius:9px;padding:12px;font-size:14px;font-weight:400;color:var(--ink);background:#fff}
#teacher-dialog .teacher-field small{font-size:10px;font-weight:400;color:var(--muted)}
#teacher-dialog fieldset{padding:0;border:0;margin:23px 0}
#teacher-dialog legend{font-size:12px;font-weight:700;color:var(--deep);margin-bottom:7px}
#teacher-dialog .teacher-direction-hint{font-size:11px;color:var(--muted);margin:0 0 12px}
#teacher-dialog .teacher-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#teacher-dialog .teacher-check-grid label{display:flex;align-items:start;gap:9px;padding:12px;background:#f3f7fc;border:1px solid #d8e5f5;border-radius:10px;font-size:12px;line-height:1.6;cursor:pointer;min-height:48px;color:var(--deep)}
#teacher-dialog input[type=checkbox]{accent-color:var(--blue);width:18px;height:18px;flex:none;margin:1px 0 0}
#teacher-dialog .teacher-check-grid label:has(input:checked){border-color:var(--blue);background:#e5eefb}
#teacher-dialog #teacher-directions-error{font-size:11px;line-height:1.7;margin:10px 0 0;color:#a22222}
#teacher-dialog .teacher-consent{display:flex;align-items:start;gap:10px;font-size:11px;line-height:1.8;color:var(--muted);margin-top:20px}
#teacher-dialog .teacher-form-note{font-size:11px;line-height:1.8;color:var(--muted);margin:18px 0}
#teacher-dialog .teacher-submit{width:100%;font-size:13px;margin:0}
#teacher-dialog .teacher-submit:disabled{opacity:.65;cursor:wait;transform:none;box-shadow:none}
#teacher-dialog #teacher-form-status{font-size:12px;line-height:1.8;margin:14px 0 0}
#teacher-dialog #teacher-whatsapp-link{display:block;font-size:12px;margin-top:10px}
@keyframes teacher-appear{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:950px){#adults .teacher-heading{grid-template-columns:1fr;gap:23px}#adults .teacher-heading>p{max-width:700px}#adults .teacher-directions,#adults .teacher-rewards{grid-template-columns:repeat(2,minmax(0,1fr))}#adults .teacher-rewards article{padding:21px}}
@media(max-width:600px){#adults .teacher-heading .eyebrow{font-size:9px}#adults .teacher-heading :is(h1,h2){font-size:33px}#adults .teacher-heading>p{font-size:13px}#adults .teacher-directions{grid-template-columns:1fr;gap:9px;margin-bottom:28px}#adults .teacher-directions li{min-height:57px;font-size:12px;padding:13px 17px}#adults .teacher-rewards{grid-template-columns:1fr;gap:11px}#adults .teacher-rewards article{padding:20px}#adults .teacher-rewards-title{font-size:26px}#adults .teacher-bottom{grid-template-columns:1fr;gap:21px}#adults .teacher-enroll{justify-self:stretch;max-width:none;text-align:left}#adults .teacher-enroll .button{width:100%}#teacher-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:29px 22px}#teacher-dialog h2{font-size:25px}#teacher-dialog .teacher-form-grid,#teacher-dialog .teacher-check-grid{grid-template-columns:1fr}#teacher-dialog .teacher-field input,#teacher-dialog .teacher-field select{font-size:16px}}
@media(prefers-reduced-motion:reduce){#teacher-dialog{animation:none}#adults .teacher-rewards article{transition:none;transform:none}}
/* Multiple direction selection shares the form checkbox state. */
#adults .teacher-select-title{font-size:24px;line-height:1.3;margin-bottom:18px;color:var(--deep)}
#adults .teacher-directions li{display:block;padding:0;border:0;background:none}
#adults .teacher-direction-choice{display:flex;align-items:center;gap:14px;width:100%;height:100%;min-height:76px;padding:17px 20px;text-align:left;border:1px solid #d0e0f4;border-radius:12px;background:white;color:var(--deep);font-size:13px;line-height:1.5;font-weight:700;transition:background .18s,border-color .18s,box-shadow .18s}
#adults .teacher-direction-choice:hover{border-color:var(--blue)}
#adults .teacher-direction-choice[aria-pressed=true]{background:#fff5b7;border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
#adults .teacher-details-action{margin:-15px 0 30px}
#adults .teacher-details-action .button{font-size:13px;min-height:46px;padding:14px 24px}
@media(max-width:600px){#adults .teacher-direction-choice{min-height:64px;padding:13px 17px;font-size:12px}#adults .teacher-details-action .button{width:100%}}
@media(prefers-reduced-motion:reduce){#adults .teacher-direction-choice{transition:none}}

#adults .teacher-rewards-title{margin-bottom:12px}
#adults .teacher-rewards-intro{max-width:850px;margin:0 0 22px;font-size:14px;line-height:1.8;color:var(--muted)}
#adults .teacher-rewards article>div{min-width:0}
#adults .teacher-rewards h4,#adults .teacher-rewards p{overflow-wrap:anywhere}
#adults .teacher-rewards-note{margin:20px 0 0;font-size:13px;line-height:1.8;color:var(--muted)}
#adults .teacher-rewards-note strong{color:var(--deep)}

#adults .teacher-heading-photo{display:block;width:100%;height:auto;min-width:0;border-radius:18px;align-self:center}

#adults .teacher-training-facts{margin:0 0 32px}
#adults .teacher-training-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
#adults .teacher-training-badges>div{display:flex;align-items:center;gap:15px;padding:20px 23px;background:#fff;border:1px solid #d0e0f4;border-radius:14px;min-width:0}
#adults .teacher-training-badges svg{width:30px;height:30px;flex:none;fill:none;stroke:var(--blue);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#adults .teacher-training-badges p{font-size:13px;line-height:1.8;color:var(--deep);margin:0}
#adults .teacher-training-audience{font-size:13px;line-height:1.8;color:var(--muted);margin:14px 0 0}
#adults .teacher-bottom .teacher-enroll{grid-column:1/-1}
@media(max-width:600px){#adults .teacher-training-badges{grid-template-columns:1fr;gap:11px}#adults .teacher-training-badges>div{padding:18px}}



#adults .teacher-heading .teacher-training-facts{margin:24px 0 0}
#adults .teacher-heading .teacher-training-badges{gap:12px}
#adults .teacher-heading .teacher-training-badges>div{padding:15px;align-items:flex-start;gap:10px}
#adults .teacher-heading .teacher-training-badges p{font-size:12px}

#adults .teacher-training-audience-badge{grid-column:1/-1}

#teacher-dialog .teacher-experience{margin-bottom:18px}

#adults #teacher-directions{margin-bottom:10px}
#adults .teacher-select-hint{margin:0 0 18px;font-size:16px;line-height:1.6;color:var(--deep)}

#adults{padding-top:0;overflow-x:clip}
#adults .teacher-heading{position:relative;isolation:isolate;padding-top:40px;padding-bottom:52px}
#adults .teacher-heading::before{content:"";position:absolute;inset:0 -100vw;background:#02275e;z-index:-1;pointer-events:none}
#adults .teacher-heading :is(h1,h2){color:#fff}
#adults .teacher-heading :is(h1,h2) em{color:#ffd90c}
#adults .teacher-heading .eyebrow{color:#c6d7ef}
@media(max-width:800px){#adults .teacher-heading{padding-top:24px;padding-bottom:40px}}

#adults .teacher-enroll-actions{display:flex;justify-content:flex-end;gap:16px;flex-wrap:wrap}
#adults .teacher-certificate-sample:disabled{background:transparent;border:1px solid #9cb6d7;color:#61738e;cursor:default;transform:none;box-shadow:none}
#adults .teacher-certificate-sample{background:rgba(2,30,69,.9);border:1px solid #3c8ede;color:#fff;box-shadow:inset 0 1px 20px #469fff0c,0 14px 35px #00163230;backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%)}
@media(max-width:500px){#adults .teacher-enroll-actions{flex-direction:column;align-items:stretch}}

#adults .teacher-enroll-actions{display:grid;grid-template-columns:minmax(0,1fr);width:min(100%,270px);margin-left:auto;gap:16px}
#adults .teacher-enroll-actions .button{width:100%;min-height:48px;margin:0;box-sizing:border-box}
@media(max-width:600px){#adults .teacher-enroll-actions{margin-inline:auto;justify-items:stretch;text-align:center}}

/* First-screen copy only; the existing program selector stays independent. */
#adults .teacher-hero-copy{min-width:0}
#adults .teacher-heading #teacher-title{max-width:none;font-size:clamp(30px,2.6vw,42px);line-height:1.13;text-wrap:wrap}
#adults .teacher-heading #teacher-title em{display:block}
#adults .teacher-hero-intro{font-size:14px;line-height:1.7;color:#c6d7ef;margin:20px 0}
#adults .teacher-hero-disciplines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px;list-style:none;padding:0;margin:0 0 22px;color:#fff;font-size:12px;line-height:1.5}
#adults .teacher-hero-disciplines li{position:relative;padding-left:15px;min-width:0}
#adults .teacher-hero-disciplines li::before{content:'';position:absolute;left:0;top:.45em;width:7px;height:7px;border-radius:50%;background:currentColor}
#adults .teacher-hero-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;list-style:none;padding:0;margin:0 0 24px;font-size:12px;line-height:1.5;color:#fff}
#adults .teacher-hero-checks li{display:flex;align-items:flex-start;gap:8px;min-width:0}
#adults .teacher-hero-checks li::before{content:'✓';color:#ffd90c;font-weight:800;flex:none}
#adults .teacher-hero-actions{display:flex;flex-wrap:wrap;gap:12px}
#adults .teacher-hero-actions .button{min-height:46px;font-size:11px;padding:14px 18px}
#adults .teacher-hero-programs{background:transparent;border:1px solid #c6d7ef;color:#fff}
#adults .teacher-hero-programs:hover{background:#ffffff12}
#adults #teacher-directions{scroll-margin-top:110px}
@media(min-width:951px){#adults .teacher-heading-photo{align-self:start;margin-top:44px}}
@media(max-width:600px){#adults .teacher-heading #teacher-title{font-size:28px}#adults .teacher-hero-intro{font-size:13px;line-height:1.65;margin:17px 0}#adults .teacher-hero-disciplines{gap:9px 12px;font-size:11px}#adults .teacher-hero-checks{gap:10px 12px;font-size:11px}#adults .teacher-hero-actions{display:grid;grid-template-columns:1fr}#adults .teacher-hero-actions .button{font-size:12px}}
