.teach-page{max-width:1100px;margin:0 auto;color:var(--studio-ink,#40434c)}
.teach-heading{padding:8px 0 22px}
.teach-heading h1,.sw-page .sw-heading h1{font-size:clamp(26px,3vw,39px);line-height:1.3;letter-spacing:-.035em;font-weight:700;margin:0}
.teach-class-summary,.teach-empty,.teach-work{background:var(--studio-surface,#fff);border:1px solid var(--studio-line,#d8e1ee);border-radius:16px}
.teach-class-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 28px;background:var(--studio-bg,#f2f6fc)}
.teach-class-column{min-width:0;flex:1}
.teach-class-column label{display:block;color:var(--studio-muted,#626c7b);font-size:13px;font-weight:600;margin-bottom:7px}
.teach-class-column select{display:block;max-width:100%;width:max-content;background:var(--studio-surface,#fff);color:inherit;font:inherit;font-size:clamp(18px,2vw,25px);font-weight:680;border:1px solid var(--studio-line,#d8e1ee);padding:6px 12px;border-radius:8px}
.teach-class-info,.teach-class-controls,.teach-tabs{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.teach-class-info{margin-top:13px;color:var(--studio-muted,#626c7b);font-size:13px}
.teach-state{border-left:3px solid #df9b61;padding-left:8px;font-weight:650;color:var(--studio-ink,#40434c)}
.teach-page button{cursor:pointer;font:inherit;font-size:14px;border-radius:8px}
.teach-page button:disabled{cursor:default;opacity:.6}
.teach-outline,.teach-primary{padding:10px 17px;min-height:40px}
.teach-outline{background:var(--studio-surface,#fff);color:var(--studio-ink,#40434c);border:1px solid var(--studio-line,#d8e1ee)}
.teach-primary{background:var(--studio-accent,#396cb2);color:#fff;border:0;font-weight:650}
.teach-link{border:0;background:transparent;color:var(--studio-ink,#40434c);padding:8px 0;text-decoration:underline;text-underline-offset:4px}
.teach-empty,.teach-work{padding:22px 28px;margin-top:20px}
.teach-empty h2,.teach-work h2{color:inherit;font-size:22px;line-height:1.4;margin:0}
.teach-empty p,.teach-work p{font-size:15px;color:var(--studio-muted,#626c7b);line-height:1.75}
.teach-work-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.teach-tabs{gap:3px;padding:3px;border-radius:9px;background:var(--studio-bg,#f2f6fc)}
.teach-tabs button{border:0;background:transparent;color:var(--studio-muted,#626c7b);padding:7px 11px}
.teach-tabs button[aria-pressed=true]{background:var(--studio-surface,#fff);color:var(--studio-ink,#40434c);font-weight:650;box-shadow:0 1px 3px #4e314216}
.teach-quiet{padding:26px 0 5px}
.teach-quiet p{margin:5px 0}
.teach-list{list-style:none;padding:0;margin:17px 0 0}
.teach-list li{border-top:1px solid var(--studio-line,#d8e1ee)}
.teach-list li button{width:100%;padding:15px 2px;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:80px 1fr auto;align-items:center;gap:18px;text-align:start}
.teach-list li button:hover{background:var(--studio-bg,#f2f6fc)}
.teach-kind,.teach-line small,.teach-meta{font-size:13px;color:var(--studio-muted,#626c7b)}
.teach-line{min-width:0;overflow-wrap:anywhere}
.teach-line strong,.teach-line small{display:block}.teach-line strong{font-size:16px}.teach-line small{margin-top:5px}
.teach-row-action{white-space:nowrap;color:var(--studio-accent,#396cb2);font-weight:650}
.teach-work .teach-material-heading{margin-top:14px}
.teach-values{margin:20px 0;overflow-wrap:anywhere}
.teach-values>div{padding:12px 0;border-top:1px solid var(--studio-line,#d8e1ee);display:grid;grid-template-columns:minmax(120px,29%) 1fr;gap:18px}
.teach-values dt{font-size:14px;color:var(--studio-muted,#626c7b)}.teach-values dd{margin:0;white-space:pre-wrap}
.teach-note,.teach-notice{padding:13px 18px;background:var(--studio-bg,#f2f6fc);border-radius:9px}
.teach-note h3{margin:0;font-size:16px}.teach-note p{white-space:pre-wrap}
#teach-artifact-review{display:grid;gap:10px}#teach-artifact-review label{font-weight:650}#teach-review-body{font:inherit;padding:12px;min-height:96px;border:1px solid var(--studio-line,#d8e1ee);border-radius:8px;color:inherit;resize:vertical;width:100%}#teach-artifact-review button{justify-self:start}
.teach-page :focus-visible{outline:3px solid var(--studio-accent,#396cb2);outline-offset:3px}
@media(max-width:720px){.teach-class-summary{align-items:flex-start;flex-direction:column}.teach-class-column{width:100%}.teach-class-summary,.teach-empty,.teach-work{padding:18px}.teach-list li button{grid-template-columns:1fr auto;gap:6px 12px}.teach-kind{grid-column:1/-1}.teach-values>div{grid-template-columns:1fr;gap:5px}.teach-row-action{align-self:center}.teach-heading{padding:4px 0 16px}}
.teach-teams{margin-top:20px;border-top:1px solid var(--studio-line,#d8e1ee);padding:16px 2px;color:var(--studio-muted,#626c7b)}
.teach-teams summary{cursor:pointer;font-size:15px}.teach-teams summary strong{margin-left:7px}
.teach-teams ul{list-style:none;padding:0;margin:12px 0}.teach-teams li{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--studio-line,#d8e1ee)}
.teach-teams li strong{color:var(--studio-ink,#40434c)}.teach-teams p,.teach-teams li span{font-size:14px}
