/* M1.25 teacher academy. Scoped to teacher panel, keeps merchant styles intact. */
.teacher-academy{display:flex;flex-direction:column;gap:16px;padding:8px 2px 12px;font-family:inherit}
.teacher-academy-header{display:grid;grid-template-columns:88px 1fr auto;align-items:center;gap:16px;
 padding:16px;border:1px solid #b7aa87;border-radius:13px;background:linear-gradient(115deg,#203c47,#344f54);color:#f9f4e7;box-shadow:0 7px 20px #172d3330}
.teacher-portrait{height:91px;width:82px;border:1px solid #c7a76a;border-radius:11px;padding:7px;
 background:radial-gradient(circle at 50% 25%,#698477,#25404c);display:grid;place-items:center}
.teacher-portrait img{max-width:100%;max-height:100%;object-fit:contain}
.teacher-eyebrow{color:#caa86d;font-size:10px;font-weight:900;letter-spacing:1.3px}
.teacher-intro h2{font:700 clamp(23px,3vw,30px)/1.2 Georgia,serif;margin:4px 0 7px;color:#fff7e9}
.teacher-intro p{color:#d1e1dc;font-size:12px;line-height:1.5;margin:0}
.teacher-points{text-align:center;border:1px solid #bfa46c;border-radius:9px;padding:9px 14px;min-width:116px;background:#1c3039}
.teacher-points span,.teacher-points small{display:block;font-size:9px;color:#decda8;letter-spacing:.4px}
.teacher-points strong{display:block;font-size:32px;line-height:1.25;color:#f6df95}
.teacher-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;overflow:visible;padding:0}
.teacher-tabs button{min-width:0;min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
 white-space:normal;line-height:1.2;background:#e2eae8;border:1px solid #a7b9b5;color:#284247;
 padding:7px 5px;font-size:10px;border-radius:10px}
.teacher-tabs button.active{background:#234554;color:#fff6e5;border:2px solid #cfa768;box-shadow:inset 0 0 0 1px #4b6a68}
.teacher-tab-icon{font-size:22px;line-height:1.2}
.teacher-school-panel{padding:13px;border:1px solid #c2cecb;border-radius:12px;background:#e8eff0}
.teacher-school-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.teacher-school-heading h3{font:700 20px Georgia,serif;color:#223d46;margin:4px 0}
.teacher-school-heading p{font-size:11px;color:#617783;line-height:1.4;margin:0}
.teacher-school-counter{font-size:12px;font-weight:800;color:#385b62;white-space:nowrap}
.teacher-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.teacher-talent-card{display:grid;grid-template-columns:52px 1fr;gap:8px;align-items:start;padding:13px;
 border:1px solid #b5c6c3;border-radius:10px;background:#f6f9f8}
.teacher-talent-card.learned{border-color:#62b28c;background:#ebf6ef}
.teacher-talent-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#2f4b58;
 color:#fff6d6;font-size:25px;box-shadow:inset 0 0 0 1px #b6a276}
.teacher-talent-body h4{font-size:14px;color:#223c47;margin:4px 0 5px}
.teacher-talent-body p{font-size:11px;color:#536d75;line-height:1.5;margin:0}
.teacher-talent-kind{font-size:9px;color:#976d3e;font-weight:900;letter-spacing:.6px}
.teacher-gear-hint{display:block;margin-top:6px;color:#9e6444;font-size:10px}
.teacher-learn-button{grid-column:1/-1;justify-self:stretch;min-height:34px;border:1px solid #ae8e5a;
 background:#345460;color:#fff4dd;border-radius:8px;font-weight:800;font-size:11px;cursor:pointer}
.teacher-learn-button:disabled{cursor:default;border-color:#a9beb4;background:#e1ece6;color:#4d8065}
.teacher-learn-button:not(:disabled):hover{background:#426b77}
@media(max-width:700px){
 .teacher-academy-header{grid-template-columns:58px 1fr;gap:9px;padding:10px}.teacher-portrait{width:56px;height:66px}
 .teacher-points{grid-column:1/-1;padding:6px;display:flex;align-items:center;justify-content:center;gap:12px}
 .teacher-points strong{font-size:23px}
 .teacher-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-tabs button{min-height:55px;font-size:9px}
 .teacher-tab-icon{font-size:18px}.teacher-skill-grid{grid-template-columns:1fr}
 .teacher-school-panel{padding:9px}
}
