.teacher-summary{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px;margin-bottom:22px}.teacher-summary h2{font-size:15px;margin:0 0 10px}.teacher-summary strong{display:block;font-size:28px;color:#146f6a}.teacher-summary small{display:block;color:#637889;margin-top:8px}.teacher-summary progress{display:block;width:100%;height:9px;margin-top:12px;accent-color:#147875;border:0;border-radius:10px;overflow:hidden}.teacher-summary progress::-webkit-progress-bar{background:#e8eef2}.teacher-summary progress::-webkit-progress-value{background:#147875}.teacher-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:start}.teacher-categories{padding:15px}.teacher-categories h2{font-size:17px}.teacher-categories nav{display:flex;flex-direction:column;gap:3px}.teacher-categories nav button{display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;color:#294454;text-align:right;font-size:13px;font-weight:500;padding:13px 10px;border-radius:9px;border:0;border-bottom:1px solid #f0f3f5;width:100%}.teacher-categories nav button.selected{background:#ddf0ee;color:#0d6864;font-weight:700}.teacher-categories small{white-space:nowrap}.teacher-main{min-width:0}.teacher-section-head{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.teacher-section-head h2,.teacher-section-head h3{margin:0;line-height:1.8}.teacher-section-head h3{font-size:16px;flex:1;min-width:180px}.teacher-filters{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.teacher-filters button{font-size:12px;padding:8px 12px}.teacher-indicator{margin:12px 0;padding:22px}.teacher-indicator p{line-height:1.9}.teacher-examples{background:#eef8f7;padding:12px 15px;border-radius:9px;margin:12px 0;color:#426c76;line-height:1.9}.teacher-examples strong{color:#11756f;margin-left:12px}.teacher-indicator details,.teacher-source{font-size:13px;color:#536e7e}.teacher-source{margin-top:14px}.teacher-witnesses{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.teacher-witness{font-size:12px;white-space:normal;max-width:100%;overflow-wrap:anywhere}.teacher-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0}.teacher-legacy{border-right:4px solid #d6a34a;margin:15px 0}.teacher-submit-choice{display:flex;gap:10px;align-items:center;padding:14px 0}.teacher-submit-choice input{width:auto}.teacher-main .actions{flex-wrap:wrap}.teacher-summary .card{min-width:0}.cycle-gap{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid #e4eeee}.cycle-gap input{width:auto;margin-top:7px}.cycle-gap span{flex:1;min-width:0}.cycle-source{margin:12px 0;padding:12px;background:#edf7f6;border-radius:9px}
@media(max-width:1050px){.teacher-layout{grid-template-columns:220px minmax(0,1fr)}.teacher-indicator{padding:16px}}@media(max-width:760px){.teacher-summary{grid-template-columns:1fr 1fr;gap:10px}.teacher-summary>section:first-child{grid-column:1/-1}.teacher-layout{grid-template-columns:1fr;gap:12px}.teacher-categories nav{display:grid;grid-template-columns:1fr 1fr}.teacher-categories nav button{font-size:12px}.teacher-indicator{padding:15px}.teacher-section-head h3{min-width:100%}.teacher-summary strong{font-size:24px}.teacher-filters{gap:5px}.teacher-filters button{padding:8px}.teacher-pagination{font-size:12px}.teacher-indicator .actions button{font-size:12px}.teacher-source{line-height:1.8}}@media print{.teacher-categories,.teacher-filters,.teacher-pagination{display:none}.teacher-layout{display:block}.teacher-indicator{break-inside:avoid}}

.teacher-profile-selector{margin-bottom:16px}.teacher-profile-selector select{max-width:100%;min-width:220px}.teacher-reference-details{margin:-5px 0 18px;padding:12px 18px;background:#f5f8f8;border-radius:8px}.teacher-reference-details summary{cursor:pointer;color:#426c76}.teacher-reference-details li{margin:8px 0}.teacher-categories small{font-size:10px;white-space:normal}

/* Mobile performance workspace; desktop keeps the full category navigation. */
.teacher-mobile-picker,.teacher-summary-toggle{display:none}
@media(max-width:760px){
 .teacher-mobile-picker{display:grid;gap:10px}.teacher-mobile-picker label{font-size:13px;font-weight:700}
 .teacher-mobile-picker select{width:100%;min-width:0;font-size:16px;min-height:46px}
 .teacher-mobile-picker button{justify-self:start;min-height:44px}
 .teacher-categories nav{display:none}.teacher-categories.mobile-list-open nav{display:flex;margin-top:12px}
 .teacher-categories nav button{font-size:14px;min-height:48px}
 .teacher-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:8px}
 .teacher-summary>section:first-child{grid-column:auto}.teacher-summary .card{padding:12px 8px;margin:0}
 .teacher-summary h2{font-size:12px;line-height:1.6;margin-bottom:7px}.teacher-summary strong{font-size:21px}
 .teacher-summary small{display:none}.teacher-summary.mobile-explained small{display:block;font-size:12px}
 .teacher-summary-toggle{display:block;margin:0 0 16px;min-height:44px;font-size:13px}
 .teacher-layout{display:grid;grid-template-columns:minmax(0,1fr)}
 .teacher-categories,.teacher-main{min-width:0}
 .teacher-filters{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:4px 0 10px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .teacher-filters button{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:9px 13px;font-size:13px}
 .teacher-indicator{width:100%;box-sizing:border-box;overflow-wrap:anywhere}
 .teacher-indicator .actions{display:flex;flex-direction:column;align-items:stretch}
 .teacher-indicator .actions button{width:100%;min-height:44px;font-size:14px}
 .teacher-indicator .actions [data-t-action="new"]{font-weight:700;min-height:48px}
 .teacher-profile-selector select{font-size:16px;max-width:100%}
}
@media print{.teacher-mobile-picker,.teacher-summary-toggle{display:none}}
