*{box-sizing:border-box}
body{margin:0;min-width:300px}
[hidden]{display:none!important}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:26px}
.brand img{flex:none}
.teachers-main{max-width:1200px;margin:auto;padding:40px 24px}
.teachers-intro{max-width:780px;margin-bottom:30px}
.teachers-intro h1{font-size:clamp(32px,5vw,54px);line-height:1.15;margin:12px 0 20px}
.teachers-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:13px;color:#125e57}
.teachers-small{font-size:14px;color:#565e59}
.teachers-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.3fr);gap:18px;padding:24px;background:#e7f4fa;border:1px solid #dce1d8;border-radius:6px}
.teachers-filters>div{min-width:0}
.teachers-filters label{display:block;font-size:15px;margin-bottom:6px}
.teachers-filters input,.teachers-filters select{width:100%;max-width:100%;min-height:48px;border:1px solid #68756b;border-radius:4px;background:#fff;color:#202725;padding:10px;font:inherit}
.teachers-filter-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}
.teachers-main button,.teachers-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid #202725;border-radius:4px;background:#ff654f;color:#202725;font:inherit;text-decoration:none;cursor:pointer;text-align:center}
.teachers-main button.teachers-secondary{background:#fff}
.teachers-main a:not(.teachers-action){color:#125e57;text-underline-offset:3px}
.teachers-status{min-height:26px;margin:24px 0 14px}
.teachers-error{padding:20px;border:1px solid #9b2f2f;border-radius:6px;background:#fff4ef}
.teachers-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.teachers-profile{grid-column:1/-1}
.teacher-card{min-width:0;border:1px solid #dce1d8;border-radius:6px;padding:24px;background:#fff}
.teacher-card h2{font-size:28px;line-height:1.25;margin:0 0 12px}
.teacher-bio{white-space:pre-line;overflow-wrap:anywhere}
.teacher-classes{display:grid;gap:16px;margin:20px 0}
.teacher-class{padding:18px;background:#f7f8f5;border-radius:4px;min-width:0}
.teacher-class h3{font-size:20px;line-height:1.3;margin:0 0 10px}
.teacher-class p{margin:8px 0}
.teacher-price{font-size:21px}
.teacher-class .teachers-action{margin-top:8px;max-width:100%}
.teacher-profile-link{display:inline-flex;align-items:center;min-height:44px}
.teachers-empty{grid-column:1/-1;border:1px solid #dce1d8;border-radius:6px;padding:24px;background:#f7f8f5}
.teachers-empty h2{margin:0 0 12px}
.teachers-explainer{margin-top:40px;border-top:1px solid #dce1d8;padding-top:24px;max-width:850px}
.teachers-explainer h2{font-size:28px;line-height:1.3}
.teachers-footer{display:flex;flex-wrap:wrap;gap:16px 24px}
.teachers-footer a{display:inline-flex;align-items:center;min-height:44px;color:#202725}
.teachers-main :is(a,button,input,select):focus-visible,.teachers-skip:focus-visible{outline:3px solid #125e57;outline-offset:4px}
.teachers-skip{position:absolute;left:16px;top:-100px;z-index:10;padding:14px;background:#fff;color:#202725}
.teachers-skip:focus{top:10px}
@media(max-width:760px){.teachers-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.teachers-filters>div:first-child{grid-column:1/-1}.teachers-results{grid-template-columns:1fr}}
@media(max-width:420px){.teachers-main{padding:28px 20px}.teachers-filters{padding:18px;grid-template-columns:1fr}.teachers-filters>div{grid-column:1}.teacher-card{padding:20px}.teachers-filter-actions button{flex:1 1 100px}}
