.cr-editor-heading .cr-editor-back{flex-basis:100%;text-align:left;font-size:15px;min-height:38px}
body.cr-regie[data-surface="admin"] .cr-editor-heading{flex-wrap:wrap;gap:12px 25px}
.cr-editor-heading>.cr-editor-back+div{flex:1 1 320px;min-width:0}
body.cr-regie #btnToggleEditor[hidden]{display:none!important}
body.cr-regie[data-admin-view=presentations] .layout,body.cr-regie.presentation-fullscreen .layout{display:none!important}
.pres-window-title>.icon{display:none}
.cr-student-preview{display:block;width:100%;height:460px;border:1px solid var(--regie-line);border-radius:8px;background:#fff}
body.cr-regie[data-surface="admin"] .cr-live-layout .pres-fs-controlbar{flex-wrap:wrap!important;overflow-x:visible!important}
body.cr-regie[data-surface="admin"] .cr-live-layout .pres-fs-controlbar-group{flex-wrap:wrap!important;max-width:100%;min-width:0}
.cr-live-layout .pres-fs-toggle{white-space:normal;line-height:1.4}
.ui-dlg-ok,.ui-dlg-cancel,.pres-fs-end{min-height:44px}
.cr-save-status{font-size:15px;line-height:1.5;color:var(--regie-muted);min-height:24px;margin:-12px 0 20px}.cr-save-status.is-error{color:#9d222b;font-weight:650}
.cr-editor-more{position:relative}.cr-editor-more>summary{cursor:pointer;padding:11px 14px;border:1px solid var(--regie-line);border-radius:8px;font-size:15px;background:#fff}
.cr-editor-more[open]{display:flex;gap:8px;flex-wrap:wrap}.cr-editor-more[open]>summary{width:100%}
.cr-session-history>h2{font-size:21px;margin:32px 0 16px}.cr-session-record h3{font-size:19px;margin:0 0 8px}.cr-session-context{font-size:16px;color:var(--regie-muted)}
.cr-session-record>div:first-child{min-width:0;flex:1 1 240px}.cr-session-record h3{overflow-wrap:anywhere}
.cr-library-row-actions>.cr-library-edit{font-weight:650}.cr-live-indicator{font-size:15px;line-height:1.5;color:var(--cr-primary);font-weight:650;margin:0 0 12px}
@media(max-width:540px){.cr-session-record .cr-plan-actions{display:flex;flex-direction:column;align-items:stretch}.cr-editor-heading .cr-editor-back{order:-1}.cr-session-history h1{font-size:27px}}

/* Einstellungen zuerst: links auf dem Desktop, oben auf kleinen Bildschirmen. */
body.cr-regie[data-surface="admin"] .cr-editor-grid{grid-template-columns:280px minmax(0,1fr)}
body.cr-regie[data-surface="admin"] .cr-editor-properties{border-left:0;border-right:1px solid var(--regie-line)}
@media(max-width:1150px){body.cr-regie[data-surface="admin"] .cr-editor-grid{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:850px){body.cr-regie[data-surface="admin"] .cr-editor-properties{border-right:0;border-top:0;border-bottom:1px solid var(--regie-line)}}
.cr-editor-footer{display:flex;justify-content:flex-end;margin-top:18px;padding:18px 20px;border:1px solid var(--regie-line);border-radius:10px;background:#fff}
.cr-editor-footer .cr-editor-primary-actions{justify-content:flex-end;gap:10px}
@media(max-width:540px){.cr-editor-footer{padding:16px}.cr-editor-footer .cr-editor-primary-actions{width:100%}.cr-editor-footer button{flex:1 1 auto;min-height:44px}}

/* Direkte Ordnerverwaltung: ziehen oder Zielordner anklicken, ohne Auswahllisten. */
.cr-library-drag{border:1px solid transparent;background:transparent;border-radius:8px;min-width:44px;min-height:44px;align-self:center;justify-content:center;padding:4px;font:inherit;font-size:28px;color:var(--cr-primary)}
.cr-library-drag:hover{background:#f6eef3;border-color:var(--regie-line)}
.cr-library-row{position:relative}.cr-library-row.is-moving{outline:2px solid var(--cr-primary);outline-offset:1px;background:#fcf7fa!important}
.cr-move-exercise[aria-pressed=true]{background:var(--cr-primary)!important;color:#fff!important}
.cr-move-instruction{padding:14px;margin-top:18px;border:1px solid var(--cr-primary);border-radius:9px;background:#fff;overflow-wrap:anywhere}
.cr-move-instruction strong{font-size:16px;line-height:1.5}.cr-move-instruction p{font-size:15px;line-height:1.5;margin:8px 0 12px;color:var(--regie-ink)}
.cr-move-instruction .btn{min-height:44px}
.cr-folder-button small{display:block;font-size:13px;font-weight:600;color:var(--cr-primary);margin-top:4px}
.cr-folder-button.is-move-destination{border:2px dashed var(--cr-primary);background:#fff}
.cr-is-dragging .cr-folder-button:not([data-folder-target=""]){border:2px dashed var(--cr-primary);background:#fff}
.cr-folder-button.is-drop-target{outline:3px solid var(--cr-primary);background:#ecdbe6!important;outline-offset:1px}
.cr-move-active .cr-folder-button:disabled{opacity:.5;cursor:default}
.cr-library-row.is-drop-before:before,.cr-library-row.is-drop-after:after{content:'';position:absolute;left:0;right:0;height:4px;background:var(--cr-primary);border-radius:4px;pointer-events:none}
.cr-library-row.is-drop-before:before{top:-9px}.cr-library-row.is-drop-after:after{bottom:-9px}
.cr-library-workspace #exerciseList .cr-order-buttons{display:none!important}
.cr-library-workspace #exerciseList .cr-library-row.is-moving .cr-order-buttons{display:flex!important}
body.cr-regie[data-surface=admin] #exerciseList .cr-library-row.is-moving{cursor:grab!important}
body.cr-regie[data-surface=admin] #exerciseList .cr-library-row.is-moving:active{cursor:grabbing!important}
.cr-library-workspace .cr-order-button{min-width:44px;min-height:44px}
body.cr-regie .cr-library-workspace{overflow:clip}
.cr-folder-nav{position:sticky;top:16px;align-self:start;max-height:calc(100vh - 32px);overflow-y:auto}
@media(max-width:760px){.cr-folder-nav{position:static;max-height:none;align-self:stretch;overflow:visible}body.cr-regie #crLibraryWorkspace #folderTabs{flex-direction:row!important;flex-wrap:wrap!important}.cr-folder-button{flex:1 1 140px}.cr-library-row-order{align-self:auto;flex-wrap:wrap}.cr-library-row-actions .btn{min-height:44px}.cr-library-row-actions{gap:8px}.cr-move-instruction{scroll-margin-top:20px}}

/* Die vergrößerte Auswertung nutzt die komplette Regiefläche. */
.cr-result-content{display:contents}.cr-results-waiting{display:none}
body.cr-regie.pres-fs-results-only .pres-window-body{padding:0!important;max-width:none}
body.cr-regie.pres-fs-results-only .pres-fs.cr-live-layout{height:100dvh!important;min-height:0!important}
body.cr-regie.pres-fs-results-only .cr-live-layout .pres-fs-top,body.cr-regie.pres-fs-results-only .cr-live-layout .pres-fs-controlbar{flex-shrink:0}
body.cr-regie.pres-fs-results-only .cr-live-layout .pres-fs-panels{min-height:0!important;flex:1 1 0!important;overflow:hidden}
body.cr-regie.pres-fs-results-only .cr-live-stats{min-height:0;max-height:none!important;border-left:0!important}
body.cr-regie.pres-fs-results-only .cr-live-stats .pres-fs-panel-head{font-size:clamp(16px,1.3vw,22px);padding:12px 24px;flex-shrink:0}
body.cr-regie.pres-fs-results-only .cr-live-stats .pres-fs-panel-head span{font-size:inherit}
body.cr-regie.pres-fs-results-only .cr-live-stats .pres-fs-panel-stats{display:flex;flex-direction:column;min-height:0;max-height:none!important;padding:clamp(18px,2.5vw,44px);overflow:auto}
body.cr-regie.pres-fs-results-only .cr-live-stats [id="statsPanel"]{display:flex;flex-direction:column;flex:1;min-height:100%;width:100%;box-sizing:border-box}
body.cr-regie.pres-fs-results-only .cr-live-stats .stats-panel{display:flex;flex-direction:column;flex:1;min-height:100%;width:100%;max-width:none;box-sizing:border-box;margin:0;box-shadow:none;font-size:clamp(22px,2.2vw,36px);line-height:1.5}
body.cr-regie.pres-fs-results-only .cr-live-stats .stats-panel>h3{display:none}
body.cr-regie.pres-fs-results-only .cr-result-context{flex-shrink:0;padding:0 0 20px!important;margin:0 0 18px!important;background:transparent!important;border-bottom:1px solid var(--regie-line);border-radius:0!important}
body.cr-regie.pres-fs-results-only .cr-result-title{font-size:clamp(16px,1.3vw,22px)!important;line-height:1.5;color:inherit!important}
body.cr-regie.pres-fs-results-only .cr-result-question{font-size:clamp(26px,2.5vw,42px)!important;line-height:1.3!important;font-weight:650!important;color:inherit!important}
body.cr-regie.pres-fs-results-only .cr-result-content{display:flex;flex-direction:column;justify-content:safe center;gap:clamp(16px,2vh,28px);flex:1;min-width:0;overflow-wrap:anywhere}
body.cr-regie.pres-fs-results-only .cr-result-content [style*="font-size"]{font-size:inherit!important}
body.cr-regie.pres-fs-results-only .cr-result-content [style*="max-height"]{max-height:none!important;overflow:visible!important}
body.cr-regie.pres-fs-results-only .cr-result-content .bar-row{min-height:clamp(58px,8vh,96px);padding:10px 0;gap:24px;margin:0;font-size:inherit}
body.cr-regie.pres-fs-results-only .cr-result-content .bar-label{font-size:inherit!important;line-height:1.35;min-width:0;flex:0 1 32%;overflow-wrap:anywhere}
body.cr-regie.pres-fs-results-only .cr-result-content .bar-track{height:clamp(28px,4vh,44px);min-width:30px;border-radius:10px}
body.cr-regie.pres-fs-results-only .cr-result-content .bar-count{font-size:inherit;flex-shrink:0;min-width:2ch}
body.cr-regie.pres-fs-results-only .cr-result-summary{font-size:clamp(16px,1.4vw,22px)!important;line-height:1.5;margin:20px 0 0!important;flex-shrink:0;color:inherit!important;opacity:.8}
body.cr-regie.pres-fs-results-only .cr-result-content .word-cloud{flex:1;align-content:center;gap:24px;padding:24px}
body.cr-regie.pres-fs-results-only .cr-result-content .word-cloud>span{font-size:calc(var(--cr-cloud-size,1.4)*1em)!important;max-width:100%;overflow-wrap:anywhere}
body.cr-regie.pres-fs-results-only .cr-result-image{align-self:center;max-width:100%}
body.cr-regie.pres-fs-results-only .cr-result-image>img{max-height:55dvh;max-width:100%;width:auto;height:auto;object-fit:contain}
body.cr-regie.pres-fs-results-only .cr-results-empty .cr-result-content>:not(.cr-results-waiting){display:none!important}
body.cr-regie.pres-fs-results-only .cr-results-waiting{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:32px 16px;min-height:200px}
body.cr-regie.pres-fs-results-only .cr-results-waiting strong{font-size:clamp(30px,3.3vw,54px);line-height:1.2}
body.cr-regie.pres-fs-results-only .cr-results-waiting p{font-size:clamp(20px,1.8vw,28px);max-width:48ch;margin:20px 0 0;line-height:1.5}
@media(max-width:850px){body.cr-regie.pres-fs-results-only .pres-fs.cr-live-layout{height:calc(100dvh - 56px)!important}}
@media(max-width:700px){body.cr-regie.pres-fs-results-only .cr-live-stats .stats-panel{font-size:22px}body.cr-regie.pres-fs-results-only .cr-result-content .bar-row{gap:10px;flex-wrap:wrap;min-height:72px}body.cr-regie.pres-fs-results-only .cr-result-content .bar-label{flex:1 1 100%}body.cr-regie.pres-fs-results-only .cr-result-content .bar-track{height:28px}body.cr-regie.pres-fs-results-only .cr-result-content .word-cloud{padding:10px;gap:16px}}
