/* Keep Safari text sizing predictable while retaining user zoom. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}
.teacher-card .teacher-schedule-note{display:flex;align-items:flex-start;gap:9px;margin:0;padding:18px 0 8px;font-family:inherit;font-size:12px;line-height:1.6;color:var(--muted);}
.teacher-card .teacher-schedule-note svg{margin-top:2px;flex:0 0 17px;}
.teacher-card .teacher-schedule-note + details{margin-top:0;}
.teacher-full-profile{min-width:0;}
/* Match the visible edges of planning, comparison and contact cards. */
#compare.teacher-comparison{width:calc(100% - 80px);max-width:1240px;box-sizing:border-box;}
.comparison-selectors select{-webkit-appearance:none;appearance:none;font:400 16px/1.4 Arial,Helvetica,sans-serif;padding:12px 42px 12px 14px;background-image:url('../images/select-chevron.svg');background-repeat:no-repeat;background-position:right 14px center;background-size:16px;}
html[data-theme="dark"] .comparison-selectors select{background-image:url('../images/select-chevron-light.svg');}
#compare .comparison-table{-webkit-text-size-adjust:100%;text-size-adjust:100%;font-family:Arial,Helvetica,sans-serif;}
#compare .comparison-table[data-count="1"]{min-width:0;}
#compare .comparison-table[data-count="1"] th:first-child{width:110px;}
.comparison-toolbar #comparison-clear{flex-shrink:0;white-space:nowrap;}
.loading-accessible-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.academy-loading-note{width:40px;height:40px;padding:0;justify-content:center;top:calc(12px + env(safe-area-inset-top));box-shadow:0 3px 12px #102c3512;}
@media(max-width:900px){#compare.teacher-comparison{width:calc(100% - 50px);}}
@media(max-width:650px){#compare.teacher-comparison{width:calc(100% - 40px);padding:18px;}.comparison-selectors label{grid-template-columns:60px minmax(0,1fr);}.comparison-toolbar{align-items:flex-start;}#compare .comparison-table th,#compare .comparison-table td{font-size:13px;line-height:1.55;}#compare .comparison-table[data-count="1"] th:first-child{width:104px;}#compare .comparison-table[data-count="1"] th,#compare .comparison-table[data-count="1"] td{padding:10px;}.teacher-card .teacher-schedule-note{font-size:12px;}}

/* Use the teacher directory content edges for every coloured panel. */
.teachers-page #contact.contact.wrap{width:calc(100% - 80px);max-width:1240px;box-sizing:border-box;margin-inline:auto;padding-inline:32px;}
@media(max-width:900px){.teachers-page #contact.contact.wrap{width:calc(100% - 50px);}}
@media(max-width:650px){.teachers-page #contact.contact.wrap{width:calc(100% - 40px);padding-inline:24px;}}

/* Planning has an inner panel, so remove the extra outer inset. */
.teachers-page .teacher-planning.wrap{width:calc(100% - 80px);max-width:1240px;padding-inline:0;box-sizing:border-box;}
@media(max-width:900px){.teachers-page .teacher-planning.wrap{width:calc(100% - 50px);}}
@media(max-width:650px){.teachers-page .teacher-planning.wrap{width:calc(100% - 40px);}}
