/* Teaching records are scoped to the professor workspace and shared semantic theme. */
html[data-theme] .prof-workspace{max-width:1260px;margin:15px auto 50px;color:var(--cp-text);font-family:var(--sans);min-width:0}
.prof-workspace *{box-sizing:border-box}
html[data-theme] .prof-preview-banner{padding:18px 22px;margin:0 0 25px;border:1px solid var(--cp-warning);border-left:4px solid var(--cp-warning);border-radius:9px;background:var(--cp-warning-soft);color:var(--cp-text)}
html[data-theme] .prof-preview-banner strong{display:block;color:var(--cp-text);font:700 16px/1.6 var(--sans)}
html[data-theme] .prof-preview-banner p{margin:6px 0 8px;color:var(--cp-text);font:400 14px/1.75 var(--sans);max-width:90ch}
html[data-theme] .prof-preview-banner a{display:inline-flex;align-items:center;min-height:44px;color:var(--cp-text);font:600 14px/1.6 var(--sans);text-decoration:underline}
html[data-theme] .prof-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:30px}
html[data-theme] .prof-kicker{font:600 13px/1.6 var(--sans);color:var(--cp-accent)}
html[data-theme] .prof-heading h1{font:750 clamp(35px,4.2vw,52px)/1.12 var(--sans);letter-spacing:-.04em;margin:10px 0 15px;color:var(--cp-text)}
html[data-theme] .prof-heading p{max-width:62ch;color:var(--cp-muted);font:400 17px/1.75 var(--sans);margin:0}
html[data-theme] .prof-workspace .prof-link{display:inline-flex;align-items:center;min-height:44px;color:var(--cp-accent);font:600 14px/1.6 var(--sans);white-space:normal}
html[data-theme] .prof-heading>.prof-link{flex-shrink:0;margin-top:10px}
html[data-theme] .prof-panel{min-width:0;padding:29px;border:1px solid var(--cp-border);border-radius:13px;background:var(--cp-surface);margin-bottom:24px;scroll-margin-top:110px}
html[data-theme] .prof-panel h2{margin:0 0 13px;color:var(--cp-text);font:700 27px/1.25 var(--sans);letter-spacing:-.025em}
html[data-theme] .prof-panel h3{font:700 19px/1.4 var(--sans);color:var(--cp-text);margin:0 0 10px}
html[data-theme] .prof-panel p{color:var(--cp-muted);font:400 16px/1.75 var(--sans);margin:0 0 20px;max-width:70ch}
html[data-theme] .prof-access{padding:36px;max-width:900px}
html[data-theme] .prof-access-symbol{display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--cp-border-strong);border-radius:12px;background:var(--cp-accent-soft);color:var(--cp-accent);font-size:34px;margin-bottom:22px}
html[data-theme] .prof-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:24px 0}
html[data-theme] .prof-workspace :is(button,.prof-primary,.prof-secondary){display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 16px;border:1px solid var(--cp-border-strong);border-radius:8px;font:600 14px/1.5 var(--sans);background:var(--cp-surface-raised);color:var(--cp-text);cursor:pointer;white-space:normal;text-decoration:none}
html[data-theme] .prof-workspace .prof-primary{background:var(--cp-accent);border-color:var(--cp-accent);color:var(--cp-accent-text)}
html[data-theme] .prof-workspace .prof-secondary{background:var(--cp-surface);color:var(--cp-text)}
html[data-theme] .prof-workspace button.prof-text-button{border-color:transparent;background:transparent;color:var(--cp-accent);padding:10px 5px}
html[data-theme] .prof-workspace :is(button,.prof-primary,.prof-secondary):hover{border-color:var(--cp-accent)}
html[data-theme] .prof-workspace :is(button,input,select,textarea):disabled{opacity:.6;cursor:default}
html[data-theme] .prof-workspace :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--cp-accent);outline-offset:3px}
html[data-theme] .prof-workspace .prof-note{font:400 13px/1.75 var(--sans);color:var(--cp-muted);margin:17px 0 0}
html[data-theme] .prof-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:0 0 25px}
html[data-theme] .prof-metrics>div{padding:23px;border:1px solid var(--cp-border);border-radius:12px;background:var(--cp-surface)}
html[data-theme] .prof-metrics strong{display:block;color:var(--cp-text);font:750 37px/1.15 var(--sans);letter-spacing:-.03em}
html[data-theme] .prof-metrics span{display:block;color:var(--cp-muted);font:400 14px/1.65 var(--sans);margin-top:9px}
.prof-feedback:empty{display:none}
html[data-theme] .prof-workspace :is(.prof-success,.prof-error){margin:0 0 22px;padding:15px 18px;border-left:3px solid var(--cp-success);border-radius:5px;background:var(--cp-success-soft);color:var(--cp-text);font:500 15px/1.75 var(--sans);overflow-wrap:anywhere}
html[data-theme] .prof-workspace .prof-error{border-color:var(--cp-danger);background:var(--cp-danger-soft)}
html[data-theme] .prof-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}
html[data-theme] .prof-roster-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:4px 0 23px}
html[data-theme] .prof-workspace label{display:block;font:600 14px/1.6 var(--sans);color:var(--cp-text);margin:0 0 19px}
html[data-theme] .prof-workspace :is(input,select,textarea){display:block;width:100%;min-width:0;max-width:100%;min-height:47px;padding:10px 12px;margin-top:8px;border:1px solid var(--cp-border-strong);border-radius:7px;background:var(--cp-bg);color:var(--cp-text);font:400 16px/1.6 var(--sans)}
html[data-theme] .prof-workspace textarea{resize:vertical}
html[data-theme] .prof-workspace input::placeholder,html[data-theme] .prof-workspace textarea::placeholder{color:var(--cp-subtle);opacity:1}
html[data-theme] .prof-workspace fieldset{min-width:0;margin:0;padding:0;border:0}
html[data-theme] .prof-table-scroll{position:relative;max-width:100%;overflow-x:auto;border:1px solid var(--cp-border);border-radius:9px}
html[data-theme] .prof-table{width:100%;min-width:740px;border-collapse:collapse;text-align:left;margin:0}
html[data-theme] .prof-table :is(th,td){padding:17px 15px;border:0;border-bottom:1px solid var(--cp-border);font:400 14px/1.7 var(--sans);vertical-align:top;color:var(--cp-text)}
html[data-theme] .prof-table thead th{background:var(--cp-surface-soft);color:var(--cp-muted);font-weight:600;font-size:13px}
html[data-theme] .prof-table tbody tr:last-child :is(th,td){border-bottom:0}
html[data-theme] .prof-table tbody th{max-width:300px}
html[data-theme] .prof-student-email{display:block;font-weight:650;overflow-wrap:anywhere}
html[data-theme] .prof-subtext{display:block;color:var(--cp-muted);font:400 12px/1.75 var(--sans);margin-top:5px}
html[data-theme] .prof-percentage{display:block;color:var(--cp-text);font-size:17px}
html[data-theme] .prof-table progress{width:125px;max-width:100%;height:7px;accent-color:var(--cp-accent);margin-top:8px}
html[data-theme] .prof-table td.prof-empty{padding:25px;color:var(--cp-muted)}
html[data-theme] .prof-editor-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;align-items:start;min-width:0}
html[data-theme] #prof-mark-maximum{font-weight:400;color:var(--cp-muted);margin-left:4px}
html[data-theme] .prof-grading-note{padding:20px;margin-top:28px;border:1px solid var(--cp-border);border-left:3px solid var(--cp-accent);border-radius:8px;background:var(--cp-surface-soft)}
html[data-theme] .prof-grading-note p{font-size:14px;margin-bottom:0}
.prof-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:950px){html[data-theme] .prof-editor-grid{grid-template-columns:minmax(0,1fr)}html[data-theme] .prof-heading{display:block}html[data-theme] .prof-heading>.prof-link{margin-top:18px}}
@media(max-width:550px){html[data-theme] .prof-heading h1{font-size:35px}html[data-theme] .prof-heading p{font-size:16px}html[data-theme] .prof-panel,html[data-theme] .prof-access{padding:23px 18px}html[data-theme] .prof-metrics{grid-template-columns:minmax(0,1fr);gap:10px}html[data-theme] .prof-metrics>div{display:flex;align-items:center;gap:18px;padding:18px}html[data-theme] .prof-metrics strong{font-size:31px;min-width:62px}html[data-theme] .prof-metrics span{margin-top:0}html[data-theme] .prof-roster-controls{grid-template-columns:minmax(0,1fr);gap:0}html[data-theme] .prof-section-heading{display:block}html[data-theme] .prof-section-heading>button{margin-bottom:20px}html[data-theme] .prof-actions{align-items:stretch;flex-direction:column}html[data-theme] .prof-panel h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.prof-workspace *{animation:none!important;transition:none!important}}
html[data-theme] .professor-document{margin:0;min-width:0;background:var(--cp-bg);color:var(--cp-text);font-family:"DM Sans",Arial,sans-serif;--sans:"DM Sans",Arial,sans-serif}
html[data-theme] .prof-page-header{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:23px 36px;border-bottom:1px solid var(--cp-border);max-width:1440px;margin:auto}
html[data-theme] .prof-page-brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;font:800 21px/1.2 var(--sans);letter-spacing:.02em;color:var(--cp-text);text-decoration:none}
.prof-page-brand svg{width:32px;height:36px;color:var(--cp-accent)}
html[data-theme] .prof-page-header nav{display:flex;align-items:center;gap:19px;border:0;background:transparent;padding:0;margin:0}
html[data-theme] .prof-page-header nav:before,html[data-theme] .prof-page-header nav:after,html[data-theme] .prof-page-header nav a:before,html[data-theme] .prof-page-header nav a:after{display:none;content:none}
html[data-theme] .prof-page-header nav a{display:inline-flex;align-items:center;min-height:44px;padding:4px 0;border:0;background:transparent;color:var(--cp-muted);font:600 13px/1.5 var(--sans);text-decoration:none}
html[data-theme] .prof-page-header nav a[hidden]{display:none}
html[data-theme] .prof-page-appearance{display:flex;gap:4px;padding:3px;border:1px solid var(--cp-border);border-radius:9px;background:var(--cp-surface)}
html[data-theme] .prof-page-appearance button{min-height:44px;padding:8px 11px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--cp-muted);font:600 13px/1.5 var(--sans);cursor:pointer}
html[data-theme] .prof-page-appearance button[aria-pressed=true]{background:var(--cp-accent-soft);color:var(--cp-text);border-color:var(--cp-border-strong)}
html[data-theme] .professor-document main{display:block;max-width:1380px;margin:auto;padding:34px 36px;outline:none}
html[data-theme] .prof-page-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 36px;border-top:1px solid var(--cp-border);max-width:1380px;margin:auto}
html[data-theme] .prof-page-footer :is(a,button){display:inline-flex;align-items:center;min-height:44px;padding:8px 0;background:transparent;border:0;color:var(--cp-muted);font:500 13px/1.5 var(--sans)}
html[data-theme] .prof-page-skip{position:fixed;top:-80px;left:20px;z-index:10;padding:12px 18px;min-height:44px;border-radius:7px;background:var(--cp-accent);color:var(--cp-accent-text);font:600 14px/1.5 var(--sans)}
.prof-page-skip:focus{top:12px}
html[data-theme] .professor-document :is(a,button):focus-visible{outline:3px solid var(--cp-accent);outline-offset:4px}
@media(max-width:1050px){html[data-theme] .prof-page-header{flex-wrap:wrap;gap:14px}html[data-theme] .prof-page-header nav{order:3;flex-basis:100%;flex-wrap:wrap;gap:10px 22px}}
@media(max-width:550px){html[data-theme] .prof-page-header{padding:17px 18px}html[data-theme] .prof-page-brand{font-size:18px;gap:7px}.prof-page-brand svg{width:27px;height:31px}html[data-theme] .prof-page-header nav{gap:7px 18px}html[data-theme] .prof-page-header nav a{font-size:12px}html[data-theme] .professor-document main{padding:27px 18px}html[data-theme] .prof-page-footer{padding:15px 18px}html[data-theme] .prof-page-appearance button{padding:8px 9px}}

html[data-theme] .prof-demo-signout{min-height:44px;padding:8px 12px;border:1px solid var(--cp-border-strong);border-radius:6px;background:var(--cp-surface);color:var(--cp-text);font:600 13px/1.5 var(--sans);cursor:pointer}
html[data-theme] .prof-submission{margin-top:25px;padding-top:16px;border-top:1px solid var(--cp-border)}
html[data-theme] .prof-submission summary{min-height:44px;cursor:pointer;color:var(--cp-accent);font:600 14px/1.7 var(--sans)}
html[data-theme] .prof-submission article{padding:20px 0;border-bottom:1px solid var(--cp-border)}
html[data-theme] .prof-submission article h3{font-size:17px;line-height:1.6}
html[data-theme] .prof-submission article p{white-space:pre-wrap;overflow-wrap:anywhere}
