.professor-guided { max-width: 1000px; margin: 0 auto; padding: 16px; color: #202827; background: #fff; font-family: system-ui, sans-serif; }
.professor-guided.source-manager{background:#061d2d;color:#e9f7ff;min-height:260px;max-width:none;border-top:1px solid #265769}
#professor-view-content .professor-guided.source-manager :is(h2,h3,p,label,summary,pre){color:#e9f7ff}
#professor-view-content .professor-guided.source-manager button{background:#0b2a38;color:#65e8f1;border-color:#327185}
#professor-view-content .professor-guided.source-manager button.primary{background:#e3af37;color:#091e29;border-color:#e3af37}
#professor-view-content .professor-guided.source-manager a{color:#70eaf4!important}
.professor-guided.source-manager .guided-status:empty{display:none}
#professor-view-content .professor-guided :is(h2,h3,p,label,summary,pre) { color: #202827; letter-spacing: 0; }
#professor-view-content .professor-guided button { color: #23483b; background: #f5f8f6; border: 1px solid #607a6f; }
#professor-view-content .professor-guided button.primary { color: #fff; background: #23624b; border-color: #23624b; }
#professor-view-content .professor-guided button:focus-visible { outline: 3px solid #ae6438; outline-offset: 3px; }
#professor-view-content .professor-guided button:disabled { opacity: .55; }
.professor-mode:has(.professor-guided) #professor-juris-window { display: none !important; }
.professor-guided h2 { font-size: 24px; font-family: inherit; }
.professor-guided h3 { font-size: 20px; font-family: inherit; }
.professor-guided label { display: grid; gap: 8px; margin: 16px 0; font-size: 16px; }
.professor-guided input, .professor-guided select, .professor-guided textarea { box-sizing: border-box; width: 100%; min-width: 0; font: inherit; padding: 10px; color: #202827; background: #fff; border: 1px solid #899592; border-radius: 4px; }
.professor-guided textarea { min-height: 110px; resize: vertical; }
.professor-guided button { min-height: 44px; white-space: normal; overflow-wrap: anywhere; padding: 10px 16px; border-radius: 4px; }
.professor-guided .guided-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.professor-guided .guided-status { padding: 12px 0; border-bottom: 1px solid #bac7c0; white-space: pre-wrap; overflow-wrap: anywhere; }
.professor-guided .guided-item { border-bottom: 1px solid #bac7c0; padding: 16px 0; }
.professor-guided .guided-option { display: flex; align-items: center; gap: 12px; }
.professor-guided .guided-option input[type=radio], .professor-guided input[type=checkbox] { width: 22px; height: 22px; flex: 0 0 22px; }
.professor-guided .guided-option input[type=text] { flex: 1; }
.professor-guided .correct-answer-marker{font-size:14px;color:#183c4d;border:2px solid #183c4d;padding:4px 8px;max-width:120px;flex-shrink:0;line-height:1.2}
@media(max-width:600px){.professor-guided .guided-option{flex-wrap:wrap}.professor-guided .correct-answer-marker{margin-left:34px;margin-bottom:6px;max-width:none}.professor-guided .guided-option input[type=text]{flex-basis:calc(100% - 46px)}}
.professor-guided pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.professor-guided h3 { overflow-wrap: anywhere; }
.professor-guided blockquote { margin: 12px 0; padding: 12px; border-left: 3px solid #24604e; white-space: pre-wrap; overflow-wrap: anywhere; }
.professor-guided.scope-reader{position:fixed;inset:0;z-index:100;max-width:none;width:100%;height:100dvh;box-sizing:border-box;overflow:auto;padding:20px 28px;background:#fff}
.scope-reader textarea[readonly]{height:52dvh;min-height:300px;line-height:1.5}
.professor-guided.scope-reader label{color:#183c4d}
.professor-guided [hidden]{display:none!important}
.professor-guided label{color:#183c4d}
.professor-guided a{color:#155283!important;text-decoration:underline}
.professor-guided button.secondary{color:#183c4d!important;background:#f4f8f5!important;border-color:#638377!important}
.professor-guided .audit-progress{padding:10px 0;border-block:1px solid #bac7c0;font-weight:700;overflow-wrap:anywhere}
.questionnaire-entry{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}
.questionnaire-entry>button:first-child{flex:1;min-width:200px;white-space:normal;overflow-wrap:anywhere}
@media(min-width:900px){
 .professor-guided.audit-review{position:fixed;inset:8px;z-index:99;max-width:none;margin:0;display:grid;grid-template-rows:minmax(0,1fr) auto;padding:12px 20px;overflow:hidden}
 .audit-review .audit-body{min-height:0;overflow:auto;padding-right:8px}
 .audit-review .audit-toolbar{background:#fff;border-top:1px solid #899592}
 .audit-review .audit-toolbar .guided-actions{margin:8px 0;gap:8px}
 .audit-review .audit-toolbar .guided-status{margin:4px 0;padding:4px 0;max-height:3em;overflow:auto;font-size:14px}
 .audit-review .audit-toolbar .audit-progress{margin:4px 0;padding:4px 0}
 .audit-review .audit-body label{margin:8px 0;gap:4px}
 .audit-review .audit-body textarea{min-height:72px}
 .audit-review .audit-body h2,.audit-review .audit-body h3{margin:8px 0}
}
.scope-reader .scope-search{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-block:1px solid #bac7c0}
.scope-reader .scope-search label{flex:1 1 250px}
.scope-reader .scope-search .guided-actions{margin:0}
.scope-reader .scope-boundary{font-size:14px}
.scope-reader [hidden]{display:none!important}
@media(max-width:600px){.professor-guided.scope-reader{padding:12px}.scope-reader textarea[readonly]{height:50dvh;min-height:260px}.scope-reader .scope-search{gap:6px}}
@media(max-width:600px) { .professor-guided { padding: 8px; } .professor-guided .guided-actions > button { flex: 1 1 140px; } }
