.exam-page{max-width:1100px;margin:auto;padding:24px}.exam-page h1{font-size:32px}.exam-page label{display:block;margin-top:14px}.exam-page input:not([type=checkbox]),.exam-page select{max-width:100%;width:100%}.exam-page fieldset{margin:24px 0;padding:16px;border:2px solid #aacbdf;border-radius:10px}.exam-task{display:grid;grid-template-columns:28px minmax(0,1fr) 110px;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #ccddea}.exam-task label{margin:0}.exam-task input[type=checkbox]{width:22px;height:22px}.exam-task small{display:block}.exam-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.exam-threshold{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px}.exam-page form+form{margin-top:24px}#examMessage[data-error=true]{color:#9b2447}#examPreviewBody{overflow-wrap:anywhere}.exam-preview-task{border-top:1px solid #ccddea;padding-top:12px}@media(max-width:600px){.exam-page{padding:12px}.exam-task{grid-template-columns:24px minmax(0,1fr) 84px;gap:8px}.exam-page .panel{padding:18px}.exam-page h1{font-size:27px}}

.exam-page>header{display:block;margin:0 0 24px;padding:24px}.exam-page>header h1{margin:14px 0}

#examAfbSummary,#examPreviewBody>div{overflow-x:auto}.exam-page table{width:100%;border-collapse:collapse;font-size:14px}.exam-page th,.exam-page td{text-align:left;padding:8px;border-bottom:1px solid #ccddea}#examAfbTargets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

.lobby-participant{border-top:1px solid #aacbdf;margin-top:16px;padding-top:12px;overflow-wrap:anywhere}.lobby-participant form{display:grid;gap:10px}.exam-page img{max-width:100%;height:auto}#lobbyMessage[data-error=true]{color:#9b2447}

.work-question{border-top:2px solid #aacbdf;margin-top:24px;padding-top:20px;overflow-wrap:anywhere}.work-question textarea{width:100%;resize:vertical}.work-question fieldset label{display:flex;gap:10px;align-items:flex-start}.work-question input[type=radio],.work-question input[type=checkbox]{width:auto;flex-shrink:0}.work-question pre,.lobby-participant pre{white-space:pre-wrap;overflow-wrap:anywhere}#workClock{position:sticky;top:0;background:#eaf8ef;padding:12px;z-index:3;font-weight:bold}#workMessage{font-weight:bold}

.work-question img.ws-media-thumb{max-width:100%;max-height:320px;object-fit:contain;cursor:zoom-in}.ws-media-dialog{max-width:95vw;max-height:95vh}.ws-media-large{max-width:85vw;max-height:75vh;object-fit:contain;touch-action:none}.ws-media-controls{display:flex;gap:10px;justify-content:center}.ws-media-dialog::backdrop{background:#062347b3}.ws-media-dialog{border:3px solid #039be1;border-radius:18px;padding:18px;background:#f5fcff;color:#082454}

.review-question{border-top:2px solid #aacbdf;margin-top:24px;padding-top:20px;overflow-wrap:anywhere}.review-question form{margin:16px 0}.review-question img.ws-media-thumb{max-width:100%;max-height:320px;object-fit:contain;cursor:zoom-in}.review-question h4{margin-top:16px}#resultsEvidence pre,#correctionEvidence pre{white-space:pre-wrap;overflow-wrap:anywhere}#correctionClass{overflow-x:auto}

#correctionTotal,#resultsTotal{overflow-x:auto}.review-question pre{white-space:pre-wrap;overflow-wrap:anywhere}
#lobbyParticipants{max-width:100%;overflow-x:auto}.exam-page .lobby-table{min-width:640px;font-size:14px}.lobby-table .lobby-summary td{padding:7px 8px;vertical-align:middle}.lobby-table .lobby-summary button{font-size:14px;min-height:34px;padding:7px 12px}.lobby-table .lobby-edit-row[hidden]{display:none}.lobby-table .lobby-edit-row>td{background:#f0f8fc;padding:14px}.lobby-table .lobby-participant{margin:0;border:0;padding:0}.lobby-table .lobby-summary td:first-child{font-weight:bold;overflow-wrap:anywhere;max-width:220px}
.lobby-table .lobby-summary button.context-help-action{padding-right:40px}

.exam-link-button{display:inline-flex;align-items:center;box-sizing:border-box;min-height:44px;padding:12px 18px;border:2px solid #99bdd5;border-radius:12px;background:#fff;color:#063b61;text-decoration:none;font-weight:700}.exam-link-button.context-help-action{padding-right:44px}.exam-link-button:hover{background:#e4f2fc}.exam-link-button:focus-visible{outline:3px solid #e59c00;outline-offset:3px}.exam-page nav{display:flex;gap:12px;flex-wrap:wrap}

#examSettingsDialog{box-sizing:border-box;width:min(900px,94vw);max-height:90vh;overflow:auto;border:2px solid #99bdd5;border-radius:16px;padding:20px;background:#f5fcff;color:#063b61}#examSettingsDialog::backdrop{background:#062347b3}#examSettingsDialog .panel{margin-top:16px}#examSettingsClose{float:right;margin-bottom:12px}#examSettingsTitle{clear:both}

.upload-preview{max-width:94vw;max-height:90vh;overflow:auto}.upload-preview img{max-width:85vw;max-height:70vh;object-fit:contain}.upload-preview iframe{width:80vw;height:70vh;border:0}.upload-preview pre{white-space:pre-wrap;overflow-wrap:anywhere}.work-question li button,.review-question li button{margin:4px}

.exam-page>header nav .exam-link-button,.exam-page>header nav #examSettingsOpen{min-height:48px;height:48px;margin:0;padding-top:8px;padding-bottom:8px;font-size:16px;line-height:24px;box-sizing:border-box}.exam-page>header nav .context-help-group{align-self:center}.exam-page>header nav{align-items:center}#configUploadFormats{width:100%;box-sizing:border-box}

.exam-task .exam-print{grid-column:2 / -1;justify-self:start}

.exam-task>.context-help-group{grid-column:2 / -1;justify-self:start}

.exam-page .context-help-group>button.context-help-action{padding-right:44px;min-width:88px}

.exam-task:has(label[for^="exam-points-"]){grid-template-columns:auto minmax(0,1fr) auto 110px}.exam-task label[for^="exam-points-"]{font-size:.85em}@media(max-width:650px){.exam-task:has(label[for^="exam-points-"]){grid-template-columns:auto minmax(0,1fr)}.exam-task label[for^="exam-points-"]{grid-column:2}.exam-task input[id^="exam-points-"]{grid-column:2;max-width:140px}}

.work-question fieldset label{padding:10px;border:1px solid #aacbdf;border-radius:9px;line-height:1.5}
.work-question fieldset label input{margin-top:2px}

/* dev.12: formatted task text in the exam preparation list. */
.exam-task-description{min-width:0;cursor:pointer;overflow-wrap:anywhere}
.exam-task-prompt p{margin:0 0 .65em;line-height:1.6}
.exam-task-prompt p:last-child{margin-bottom:0}
.exam-task-prompt ul,.exam-task-prompt ol{margin:.4em 0 .8em;padding-left:1.5em}
.exam-task-prompt li{margin:.25em 0}
.exam-task-prompt h1,.exam-task-prompt h2,.exam-task-prompt h3,.exam-task-prompt h4,.exam-task-prompt h5,.exam-task-prompt h6{font-size:1.1em;margin:.6em 0 .4em}
.exam-task-prompt pre{max-width:100%;overflow:auto;white-space:pre}
.exam-task-description>small{margin-top:.4em}

/* dev.14: compact selection first, details only for the current preparation. */
.exam-picker{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(220px,1.5fr) auto;gap:6px 12px;align-items:end}
.exam-page .exam-picker>label{margin:0;font-size:14px}
.exam-picker>label:first-child{grid-column:1;grid-row:1}.exam-picker>input{grid-column:1;grid-row:2}
.exam-picker>label:nth-of-type(2){grid-column:2;grid-row:1}.exam-picker>select{grid-column:2;grid-row:2}
.exam-picker>button{grid-column:3;grid-row:2;white-space:nowrap}
.exam-picker input,.exam-picker select{min-width:0}
.exam-run-picker{grid-template-columns:minmax(160px,.8fr) minmax(220px,1.5fr)}
.exam-picker-filters{margin:12px 0;font-size:14px}.exam-picker-filters>summary,.exam-advanced>summary{min-height:44px;display:list-item;line-height:1.6;padding:10px 0}
.exam-filter-fields{display:flex;flex-wrap:wrap;gap:12px}.exam-filter-fields>label{flex:1 1 180px;margin:0}
.exam-page .exam-selector-hint{font-size:13px;color:#4b6174;margin:8px 0}
.exam-save-status{font-weight:700;padding:10px 12px;border-left:4px solid #087d42;background:#e5f4e9;overflow-wrap:anywhere}
.exam-save-status[data-dirty=true]{border-color:#b26d00;background:#fff3d9}
.exam-page #examPrepare{border-top:1px solid #aacbdf;padding-top:12px}
.exam-advanced{border-top:1px solid #ccddea;margin:16px 0}.exam-advanced>fieldset{margin-top:0}
.exam-task-description{cursor:default}.exam-page .exam-task-title{margin:0;cursor:pointer;font-weight:700;font-size:16px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.exam-task-description>small{font-size:13px;color:#425970;line-height:1.5}
.exam-task-details>summary{min-height:44px;padding:10px 0;font-size:14px;font-weight:600;cursor:pointer}
.exam-task-details[open]{margin-top:4px}.exam-task-details>.exam-task-prompt{padding:12px;background:#ffffffb3;border:1px solid #bed9ce;border-radius:9px}
.exam-task{align-items:start}.exam-task>input[type=checkbox]{margin-top:5px}
.exam-page .exam-task>label[for^="exam-points-"]{padding-top:8px;white-space:nowrap}
.exam-test-note{margin:12px 0;color:#4b6174;font-size:14px}.exam-test-note>summary{min-height:44px;padding:10px 0}
@media(max-width:650px){.exam-picker,.exam-run-picker{grid-template-columns:minmax(0,1fr);gap:6px}.exam-picker>label:first-child,.exam-picker>label:nth-of-type(2),.exam-picker>input,.exam-picker>select,.exam-picker>button{grid-column:auto;grid-row:auto}.exam-picker>label:nth-of-type(2){margin-top:8px}.exam-picker>button{margin-top:6px}.exam-task-description{grid-column:2}.exam-page .exam-task>label[for^="exam-points-"]{padding-top:0}.exam-filter-fields{display:grid;grid-template-columns:minmax(0,1fr)}#examAfbTargets{grid-template-columns:1fr}.exam-page fieldset{padding:12px}}

.exam-core-fields{display:grid;grid-template-columns:minmax(140px,.6fr) minmax(200px,1.4fr);gap:18px;align-items:start}.exam-core-fields>div{min-width:0}.exam-core-fields p{font-size:13px;margin-bottom:0}@media(max-width:650px){.exam-core-fields{grid-template-columns:minmax(0,1fr);gap:0}}

#examCollaboration{margin-top:24px;padding-top:18px;border-top:1px solid #aacbdf}#examCollaborationInfo{max-width:75ch}.exam-rehearsal-item{border-top:1px solid #aacbdf;margin-top:14px;padding-top:10px}.exam-rehearsal-item button,.exam-rehearsal-item a{margin:4px 8px 4px 0}.exam-share-dialog{width:min(44rem,calc(100vw - 2rem));max-width:calc(100vw - 2rem);max-height:85dvh;overflow:auto;border:3px solid #039be1;border-radius:18px;padding:20px;background:#f5fcff;color:#082454}.exam-share-dialog label{display:block;margin-top:14px}.exam-share-dialog select{width:100%;max-width:100%}.exam-share-dialog::backdrop{background:#062347b3}

.exam-share-dialog{width:min(54rem,calc(100vw - 2rem));max-height:90vh;max-height:90dvh;overflow:hidden}.exam-share-dialog form{display:flex;flex-direction:column;max-height:calc(90vh - 46px);max-height:calc(90dvh - 46px);gap:.6rem}.exam-share-dialog h2,.exam-share-dialog p{margin:.3rem 0}.exam-share-body{overflow:auto;min-height:0;padding:.3rem}.exam-share-actions{display:flex;gap:.7rem;flex-shrink:0;padding-top:.5rem}.exam-sharing-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,1fr) auto;align-items:center;gap:.6rem;padding:.6rem 0;border-bottom:1px solid #bbd3df}.exam-sharing-row span{overflow-wrap:anywhere}.exam-share-dialog input,.exam-share-dialog select{max-width:100%;min-width:0;box-sizing:border-box}.exam-share-dialog details{padding:.7rem;border:1px solid #9fbdcb;border-radius:.6rem;margin-top:.7rem}.exam-share-dialog summary{font-weight:bold;cursor:pointer}.exam-share-dialog details button{margin-top:.7rem}@media(max-width:620px){.exam-sharing-row{grid-template-columns:1fr}.exam-share-dialog{padding:12px}.exam-share-dialog h2{font-size:1.25rem}.exam-share-actions{flex-wrap:wrap}}

/* Korrektur: besondere Ereignisse deutlich, ohne automatisches Täuschungsurteil */
.exam-paste-alert {color:#a80000;font-weight:800;background:#fff0f0;border:2px solid #bd1d1d;padding:12px 16px;border-radius:8px;}

/* Korrektur-Gesamtübersicht (07.11.2026) */
.exam-correction-overview-table {width:100%;border-collapse:collapse;}
.exam-correction-overview-table th,.exam-correction-overview-table td{padding:.55rem;text-align:left;border-bottom:1px solid #a8b5c6;}
#correctionOverview{overflow-x:auto;}
