.teachers-shell{padding-top:clamp(28px,4vw,55px);color:var(--ink)}
.teachers-shell .cat-switch{margin-bottom:clamp(24px,4vw,40px)}
.teachers-shell h1,.teachers-shell h2,.teachers-shell h3,.teachers-shell p{margin:0}
.teachers-header{display:grid;gap:14px;margin-bottom:clamp(24px,4vw,37px)}
.teachers-header h1{font:400 clamp(1.3rem,3.4vw,2.65rem)/1.45 var(--display);overflow-wrap:anywhere}
.teachers-header h1:focus{outline:none}
.teachers-header p,.teachers-note{color:#43584a;line-height:1.55}
.teachers-header p{max-width:670px;font-size:1.03rem}
.teachers-link{color:#08663d;font-weight:700;text-underline-offset:3px}
.teachers-link:hover{color:var(--ink)}
.teachers-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;
  border:2px solid var(--ink);background:#fffef8;color:var(--ink);font-weight:730;text-align:center;text-decoration:none;
  box-shadow:2px 2px 0 var(--ink);cursor:pointer}
.teachers-button:hover:not(:disabled){background:#e5efe1}
.teachers-button:active:not(:disabled){transform:translate(2px,2px);box-shadow:none}
.teachers-button:disabled{opacity:.62;cursor:wait}
.teachers-primary,.teachers-button[aria-pressed="true"]{background:#0a7447;color:#fff}
.teachers-primary:hover:not(:disabled),.teachers-button[aria-pressed="true"]:hover:not(:disabled){background:#065b38}
.teachers-status:not(:empty){margin:14px 0;color:#43584a}
.teacher-search{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:18px;max-width:850px;margin-bottom:23px}
.teachers-field{display:grid;min-width:0;gap:6px;font-weight:680}
.teachers-field :is(input,select,textarea){width:100%;min-width:0;min-height:44px;padding:8px 11px;border:2px solid #849488;
  border-radius:0;background:#fffef9;color:var(--ink);font:400 1rem/1.35 var(--body)}
.teachers-field textarea{resize:vertical}
.teacher-results,.teacher-moderation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.teacher-card,.teacher-booking,.teachers-empty{border:2px solid var(--ink);background:#fffef8;box-shadow:3px 3px 0 #3e5145}
.teacher-card{display:flex;flex-direction:column;gap:12px;padding:clamp(16px,3vw,25px);overflow-wrap:anywhere}
.teacher-card h2,.teacher-card h3{line-height:1.25}
.teacher-card .teacher-intro-snippet{color:#43584a;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.teacher-card-facts{display:grid;gap:8px;padding-top:12px;margin-top:auto;border-top:1px solid #b7c3b7}
.teacher-card-facts strong{color:#08663d;font-size:1.15rem}
.teacher-card-facts p{font-size:.9rem;color:#425448}
.teacher-card-facts a,.teacher-more{justify-self:start}
.teachers-empty{grid-column:1/-1;padding:clamp(15px,4vw,26px);color:#43584a}
.teacher-subjects{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.teacher-subjects li{padding:3px 8px;border:1px solid #a2b79e;background:#ecf3e8;color:#264c35;font-weight:630;font-size:.82rem}
.teachers-shell>.teachers-link{display:inline-block;margin-bottom:17px}
.teacher-profile{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);align-items:start;gap:clamp(20px,5vw,54px);max-width:1090px}
.teacher-profile-about,.teacher-admin-text{overflow-wrap:anywhere}
.teacher-profile-about p,.teacher-admin-text{white-space:pre-line;line-height:1.6}
.teacher-profile-about h2{font-size:1.2rem;margin:0 0 9px}
.teacher-booking{display:grid;gap:15px;padding:clamp(15px,3vw,24px);background:#e7efdf;align-self:start}
.teacher-profile-facts{display:grid;margin:0;gap:12px}
.teacher-profile-facts>div{display:grid;gap:3px}
.teacher-profile-facts dt{color:#425448;font-size:.84rem}
.teacher-profile-facts dd{margin:0;font-weight:750;overflow-wrap:anywhere}
.teacher-profile-facts>div:first-child dd{color:#08663d;font-size:1.2rem}
.teacher-profile-actions{display:grid;justify-items:start;gap:6px}
.teacher-profile-actions[hidden]{display:none}
.teacher-profile-actions .teachers-status:not(:empty){margin:0}
.teacher-report{margin-top:28px;max-width:40rem;border-top:1px solid #a2b09f;padding-top:13px}
.teacher-report summary{color:#335744;cursor:pointer;font-weight:700}
.teacher-report form{display:grid;gap:12px;margin-top:12px;border:2px solid #a2b09f;padding:clamp(14px,3vw,23px);background:#fffef8}
.teacher-report form button{justify-self:start}
.teacher-monitor-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 23px;padding:0;list-style:none}
.teacher-monitor-stats li{display:grid;gap:6px;padding:14px;border:2px solid var(--ink);background:#e7efdf}
.teacher-monitor-stats strong{color:#08663d;font:400 clamp(.9rem,2vw,1.15rem)/1.45 var(--display)}
.teacher-monitor-stats span,.teacher-admin-text{overflow-wrap:anywhere}
.teacher-admin-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:start}
.teacher-dashboard>.teacher-admin-actions{margin-bottom:18px}
.teacher-admin-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px}
.teacher-state{padding:4px 6px;background:#e7efdf;color:#264c35;font-size:.8rem;font-weight:750}
.teacher-admin-card .teachers-note{font-size:.86rem}
.teacher-admin-card .teacher-admin-actions{margin-top:auto}
.teachers-admin-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:76px;padding-block:10px}
.teachers-admin-bar .teachers-link{text-align:right}
@media(max-width:660px){
  .teacher-search,.teacher-results,.teacher-profile,.teacher-moderation-list{grid-template-columns:1fr;gap:12px}
  .teachers-shell .cat-switch{width:100%;gap:.85rem;flex-wrap:wrap}
  .teacher-monitor-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .teacher-booking{grid-row:1}
}
