.teaching-card{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;overflow:auto;padding:24px;box-sizing:border-box}
.teaching-card label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.teaching-card input,.teaching-card select,.teaching-card textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid var(--border,#ccc);border-radius:8px;background:var(--bg-card,#fff);color:var(--text,#222);font:inherit}
.teaching-card form,.teaching-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}
.teaching-toolbar code{flex-basis:100%;overflow-wrap:anywhere}
.teaching-status{min-height:1.5em;color:var(--accent,#485f48)}
.teaching-row{display:flex;align-items:end;gap:12px;padding:10px 0;border-bottom:1px solid var(--border,#ddd)}
.teaching-rows{margin-bottom:20px}.teaching-metrics{padding:16px;margin-top:16px;border-radius:12px;background:var(--bg-secondary,#f1f3ed);line-height:1.8;font-weight:600}
@media(max-width:600px){.teaching-card{padding:16px}.teaching-card form{display:grid;grid-template-columns:1fr}.teaching-card .modal-header{gap:12px}.teaching-card h2{font-size:20px}}
