.sequence-designer{--seq-green:#216c57;--seq-ink:#203d36;--seq-muted:#63776f;--seq-line:#dfe7e1;margin:0;min-height:0;background:#f5f6f1;color:var(--seq-ink);font:14px/1.5 'DM Sans',system-ui,sans-serif}
.sequence-designer *{box-sizing:border-box}.sequence-designer [hidden]{display:none!important}.sequence-designer button,.sequence-designer input,.sequence-designer select,.sequence-designer textarea{font:inherit}.sequence-designer button{cursor:pointer}.sequence-designer button:disabled{cursor:not-allowed;opacity:.48}.sequence-designer button:focus-visible,.sequence-designer a:focus-visible,.sequence-designer input:focus-visible,.sequence-designer textarea:focus-visible,.sequence-designer select:focus-visible{outline:3px solid #54a68c;outline-offset:3px}.sequence-designer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.seq-topbar{min-height:80px;padding:16px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--seq-line);background:#fffefb}.seq-views,.seq-modes{display:flex;gap:4px;border:1px solid var(--seq-line);padding:4px;border-radius:12px;background:#f0f3ee}.seq-views button{padding:10px 20px;border:0;border-radius:8px;background:transparent;font-weight:600;color:#5d7067}.seq-views button[aria-pressed=true]{color:#fff;background:var(--seq-green);box-shadow:0 2px 4px #214c3c20}
.seq-notice{padding:9px 32px;background:#eeefe6;color:#657064;display:flex;gap:16px;align-items:center;justify-content:space-between;font-size:12px}.seq-notice button{border:0;background:transparent;color:#536b5e;text-decoration:underline;font-size:12px;flex-shrink:0}
.seq-workspace{display:grid;grid-template-columns:292px minmax(0,1fr);min-height:calc(100dvh - 120px)}.seq-sidebar{background:#fcfcf8;border-right:1px solid var(--seq-line);padding:28px 18px;position:sticky;top:0;height:100dvh;overflow:auto}.seq-sidebar-head{padding:0 12px 20px}.seq-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#6a8074}.seq-sequence-title{display:block;text-align:left;border:0;background:transparent;color:var(--seq-ink);font-size:20px!important;font-weight:750!important;line-height:1.35;margin:8px 0 20px;padding:0;overflow-wrap:anywhere}.seq-progress-label{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:8px 0}.seq-progress{height:5px;background:#e2e8de;border-radius:9px;overflow:hidden}.seq-progress i{display:block;height:100%;background:#3b9372;transition:width .2s}.seq-nav-overview,.seq-nav-row{width:100%;display:flex;align-items:center;gap:10px;min-height:44px;text-align:left;padding:10px;border:0;border-radius:8px;background:transparent;color:#455c50}.seq-nav-row span{min-width:0;overflow-wrap:anywhere}.seq-nav-overview{font-weight:700}.seq-nav-overview[aria-current],.seq-nav-row[aria-current]{background:#e2eee4;color:#236247}.seq-nav-task{font-size:13px!important;margin:2px 0}.seq-nav-task small{display:block;color:#748277;font-size:11px;margin-top:2px}.seq-nav-group{margin-top:12px}.seq-nav-group-head{display:flex;align-items:center}.seq-nav-group-head>button:first-child{background:transparent;border:0;color:#637a69;padding:7px;width:30px}.seq-nav-group-head .seq-nav-row{font-weight:650}.seq-nav-children{padding-left:16px;border-left:1px solid #dce5d9;margin-left:14px}.seq-nav-group .seq-nav-group{margin-top:3px}.seq-nav-group .seq-nav-group-head .seq-nav-row{font-size:12px}.seq-state-icon{width:23px;height:23px;flex-shrink:0;border:1px solid #c9d4c6;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#6e8273}.seq-state-icon svg{width:14px;height:14px}.seq-state-icon.done{background:#2f805c;color:#fff;border-color:#2f805c}.seq-state-icon.started{border:2px solid #c3954a;background:#faf0d8;color:#967039}.seq-add-root{margin-top:24px;width:100%;padding:12px;border:1px dashed #aabca9;border-radius:9px;background:transparent;color:#51705a;font-size:13px!important}.seq-sidebar-note{font-size:12px;color:#7c887d;margin:24px 12px}.seq-mobile-toggle{display:none}
.seq-main{width:100%;min-width:0;margin:0;padding:28px clamp(20px,4vw,68px) 70px;max-width:1320px}.seq-mode-bar{padding:16px 20px;background:#fff;border:1px solid var(--seq-line);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.seq-mode-bar strong{font-size:13px}.seq-mode-bar small{display:block;color:#748075;font-size:12px;margin-top:3px}.seq-modes{flex-shrink:0}.seq-modes label{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;padding:7px 10px;border-radius:7px;cursor:pointer}.seq-modes label:has(:checked){background:#fff;color:#286844;box-shadow:0 1px 5px #243d3420}.seq-modes input{accent-color:var(--seq-green)}.seq-location{display:flex;justify-content:space-between;gap:12px;color:#839082;font-size:12px;margin-bottom:20px}.seq-location span:first-child{color:#536d5b;overflow-wrap:anywhere}
.seq-hero{position:relative;overflow:hidden;border:1px solid #dbe5da;border-radius:18px;background:white;margin-bottom:28px}.seq-hero-image{display:block;width:100%;height:195px;object-fit:cover}.seq-cover-action{position:absolute;top:14px;right:14px;padding:7px 12px;background:#fffffff0;border:1px solid #dde5dc;border-radius:8px;color:#365e47;font-size:12px!important}.seq-hero-body{padding:28px 32px}.seq-hero-label{display:inline-block;color:#577d5a;font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:8px}.seq-hero h1{font:750 clamp(26px,3.4vw,38px)/1.2 'Manrope',system-ui,sans-serif;letter-spacing:-.04em;margin:0 0 12px}.seq-hero p{color:#607263;max-width:700px;white-space:pre-wrap;margin:0;line-height:1.7}.seq-hero-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.seq-edit-inline{padding:8px;border:1px solid var(--seq-line);border-radius:8px;background:white;color:#60816b;display:inline-flex}.seq-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.seq-chip{font-size:12px;color:#52745b;background:#eef4e9;border:1px solid #e0e9db;border-radius:6px;padding:4px 9px}.seq-chip.warm{background:#faf3e1;border-color:#eee3c6;color:#8b7341}.seq-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}.seq-section-title h2{font-size:19px;margin:0;font-weight:700;letter-spacing:-.02em}.seq-section-title span{font-size:12px;color:#7d8b7e}
.seq-cards{display:grid;gap:14px}.seq-group-card{border:1px solid #dce5da;border-radius:13px;background:white;overflow:hidden}.seq-group-top{padding:20px 22px;display:flex;align-items:center;gap:16px}.seq-group-number{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#edf2e5;color:#799465;border-radius:10px;font-size:18px;font-weight:600}.seq-group-title{border:0;background:transparent;display:block;color:var(--seq-ink);padding:0;text-align:left;font-size:18px!important;font-weight:650!important}.seq-group-copy{flex:1;min-width:0}.seq-group-copy p{font-size:13px;color:#7d8c7b;margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.seq-group-status{width:115px;flex-shrink:0;color:#73876f;font-size:12px}.seq-group-children{border-top:1px solid #eef1eb;padding:4px 20px 14px}.seq-task-card{display:flex;align-items:center;gap:12px;min-height:74px;padding:16px 12px;border:0;border-bottom:1px solid #edf0e8;background:transparent;text-align:left;color:var(--seq-ink);width:100%}.seq-task-card:last-child{border-bottom:0}.seq-task-card:hover:not(:disabled){background:#f6f8f1}.seq-task-icon{color:#567b99;background:#edf2f6;padding:9px;border-radius:9px;display:flex;flex-shrink:0}.seq-task-copy{flex:1;min-width:0}.seq-task-copy b{display:block;font-size:14px;overflow-wrap:anywhere}.seq-task-copy small{display:block;color:#8a9484;font-size:12px;margin-top:3px}.seq-task-status{font-size:12px;color:#81917c;white-space:nowrap}.seq-task-status.done{color:#2c7752}.seq-task-status.started{color:#a17b37}.seq-subgroup{margin:12px 0 0 18px;border-left:2px solid #e5eadf;padding-left:16px}.seq-subgroup-title{font-weight:650;background:transparent;border:0;padding:8px 0;color:#5b765d;font-size:13px!important;display:flex;align-items:center;gap:8px}
.seq-insert-line{width:100%;padding:12px;margin-top:16px;border:1px dashed #c4d2be;background:#f6f8f0;color:#71886b;border-radius:9px;font-size:13px!important}.seq-node-tools{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.seq-node-tools button,.seq-dialog button,.seq-foot button,.seq-reset{background:white;border:1px solid #dce5d8;border-radius:8px;padding:9px 13px;color:#527351;display:inline-flex;align-items:center;justify-content:center;gap:7px}.sequence-designer .seq-primary{background:var(--seq-green);border-color:var(--seq-green);color:white}.seq-info{margin:14px 0;border:1px solid #e3e8da;border-radius:12px;background:#f2f5e9;padding:22px 24px}.seq-info h2{font-size:17px;margin:0 0 8px}.seq-info p{margin:0;white-space:pre-wrap;color:#6a7c61;line-height:1.7;overflow-wrap:anywhere}.seq-info img{display:block;max-height:340px;width:100%;object-fit:contain;margin:0 0 16px;border-radius:8px}.seq-info figcaption{font-size:12px;color:#75846c;margin-top:8px}.seq-info figure{margin:0}.seq-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:20px 0}.seq-foot small{color:#7b8774;font-size:12px;max-width:450px}.seq-empty{padding:36px;text-align:center;color:#7e8e76;border:1px dashed #cbd6c1;border-radius:12px}.seq-complete{background:#eaf3e4;border-radius:12px;padding:24px;margin-top:20px;color:#2e7048}
.seq-player-shell.panel{height:auto;display:block}.seq-player-shell .public-content{margin:0;min-height:0;box-shadow:none;border:0;padding:0;max-width:none;background:transparent}.seq-player-shell .participant-banner,.seq-player-shell .public-content>h1,.seq-player-shell .public-content>h2,.seq-player-shell .paper-label{display:none}.seq-player-shell .public-content>.eyebrow{margin-bottom:12px;display:block}.seq-player-shell .public-content p{line-height:1.8}.seq-player-shell .public-content .public-preview{font-size:16px}.seq-player-shell .public-content :is(input,select,button){font-size:14px}.seq-player-shell table{width:100%}.seq-player-shell .table-scroll{overflow:auto}.seq-player-shell .public-content .public-table-preview{overflow:auto}.seq-task-heading{margin-bottom:22px}.seq-task-heading h1{font-size:28px;margin:4px 0 8px;letter-spacing:-.03em}.seq-task-heading p{font-size:13px;color:#74846d;margin:0}
.seq-dialog{width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:26px;border:1px solid #dee7d7;border-radius:16px;color:var(--seq-ink);background:#fffefb;box-shadow:0 30px 90px #263a3933}.seq-dialog::backdrop{background:#1d393750;backdrop-filter:blur(4px)}.seq-dialog header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:22px}.seq-dialog h2{margin:3px 0 0;font-size:22px}.seq-dialog header>button{padding:0;width:34px;height:34px;font-size:24px}.seq-dialog label{display:grid;gap:7px;margin:15px 0;font-size:13px;font-weight:600}.seq-dialog :is(input,textarea,select){width:100%;padding:11px 12px;border:1px solid #c9d6c0;border-radius:8px;background:white;color:var(--seq-ink);font-size:16px}.seq-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.seq-dialog p{color:#7c8872;font-size:13px}.seq-insert-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.seq-insert-options button{padding:18px;display:flex;flex-direction:column;align-items:start;text-align:left}.seq-insert-options small{color:#87957e;font-size:12px;margin-top:5px}.seq-insert-options svg{margin-bottom:8px}.seq-task-option{display:block!important;width:100%;text-align:left;justify-content:flex-start!important;margin:6px 0}.seq-task-option span{display:block;min-width:0}.seq-task-option small{display:block;font-size:12px;color:#819075}.seq-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 20px;border-radius:10px;background:#244a3b;color:white;box-shadow:0 5px 20px #183b3525;z-index:100;display:none}.seq-toast.visible{display:block}
@media(min-width:801px){.seq-workspace{height:calc(100dvh - 120px);min-height:0}.seq-sidebar{height:100%;}.seq-main{overflow:auto;}}
@media(max-width:1150px){.seq-main{padding:24px}.seq-mode-bar{align-items:flex-start;flex-direction:column;gap:10px}.seq-workspace{grid-template-columns:260px minmax(0,1fr)}.seq-group-status{width:90px}.seq-hero-body{padding:24px}.seq-location span:last-child{display:none}}
@media(max-width:800px){.seq-topbar{padding:14px 16px;flex-wrap:wrap;gap:12px}.seq-views{order:3;width:100%}.seq-views button{flex:1;padding:10px}.seq-notice{padding:10px 16px;align-items:flex-start;flex-direction:column;gap:4px}.seq-workspace{display:block}.seq-sidebar{position:static;height:auto;padding:0;border-right:0;border-bottom:1px solid var(--seq-line);overflow:visible}.seq-mobile-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;padding:16px 20px;background:#fafbf5;color:#4c7057;font-weight:650!important}#seqNavigatorBody{display:none;padding:20px}.seq-sidebar.mobile-open #seqNavigatorBody{display:block}.seq-main{padding:20px 16px 60px}.seq-hero-image{height:145px}.seq-hero-body{padding:22px}.seq-hero h1{font-size:28px}.seq-modes{width:100%}.seq-modes label{padding:8px 4px;flex:1;white-space:normal;font-size:12px}.seq-group-top{padding:18px 16px;gap:10px;flex-wrap:wrap}.seq-group-status{margin-left:52px;width:calc(100% - 52px)}.seq-group-children{padding:4px 8px 12px}.seq-task-card{flex-wrap:wrap}.seq-task-copy{min-width:calc(100% - 66px)}.seq-task-status{padding-left:50px}.seq-task-card>.seq-state-icon{margin-left:auto}.seq-node-tools button{padding:10px;min-height:44px}.seq-player-shell .public-content :is(input,select){font-size:16px}.seq-subgroup{margin-left:5px;padding-left:10px}.seq-task-heading h1{font-size:24px}.seq-insert-options{grid-template-columns:1fr}.seq-hero-heading{gap:5px}.seq-foot{align-items:stretch;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.sequence-designer *{transition:none!important;scroll-behavior:auto!important}}

.seq-no-cover>.seq-cover-action{position:static;display:block;margin:16px 24px 0 auto}.seq-hero h1,.seq-group-title{overflow-wrap:anywhere}.seq-nav-group-head .seq-nav-row>span{flex:1}.seq-nav-count{font-size:11px;color:#7b8a75;font-weight:500;white-space:nowrap}.seq-group-status .seq-progress-label{font-size:11px;gap:4px}.seq-group-status .seq-progress-label>b{display:none}.seq-modes{align-items:center;gap:10px;padding:10px 12px;cursor:pointer}.seq-modes>span{font-size:12px;color:#6b7c66;white-space:nowrap}.seq-modes>input[role=switch]{flex-shrink:0}.seq-modes:has(:checked)>span:last-child,.seq-modes:not(:has(:checked))>span:first-child{color:#286844;font-weight:700}@media(max-width:800px){.seq-modes{justify-content:space-between}.seq-modes>span{white-space:normal;max-width:100px}.seq-no-cover>.seq-cover-action{margin:16px 22px 0 auto}}

#editorView.editing-sequence > :not(.worksheet-meta-row):not(#sequenceEditor){display:none!important}
#sequenceEditor[hidden]{display:none!important}
.sequence-designer{width:100%;min-width:0;display:flex;flex-direction:column;flex:1;overflow:hidden}
.seq-topbar{padding:12px 20px;min-height:0;flex-wrap:wrap;flex:none}.seq-workspace{flex:1;min-height:0;height:auto}.seq-sidebar{position:static;height:100%;min-height:0}.seq-main{max-width:none}.seq-dialog{max-height:calc(85dvh - 24px)}
.seq-nav-task,.seq-add-root,.seq-insert-line,.seq-subgroup-title{font-size:14px!important}.seq-nav-task small,.seq-nav-count{font-size:12px}.seq-nav-group .seq-nav-group-head .seq-nav-row{font-size:14px}.seq-mode-bar strong,.seq-dialog label,.seq-dialog p,.seq-group-copy p{font-size:14px}
.file-type-icon.sequence{color:#315c9d;background:#e1e9f7}.file-type-icon.sequence svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s}.file-row:hover .file-type-icon.sequence svg{transform:scale(1.08)}
@media(max-width:800px){.sequence-designer{overflow:visible;flex:none}.seq-workspace{display:block;height:auto;min-height:0}.seq-sidebar{height:auto;overflow:visible}.seq-main{overflow:visible}.seq-topbar{padding:12px}.seq-views button{padding:8px 12px}.seq-notice{padding:12px;flex-wrap:wrap}.seq-hero-body{padding:22px}.seq-dialog{max-height:calc(100dvh - 24px)}}

.seq-cover-remove{margin:12px 24px 0;padding:8px 12px;background:white;border:1px solid #dfe7e1;border-radius:8px;color:#365e47}

.seq-player-shell>.paper{overflow:visible!important}.seq-player-shell .public-content{overflow:visible}.seq-task-option{display:flex!important;align-items:center;gap:12px;cursor:pointer;padding:12px;border-bottom:1px solid var(--seq-line)}.seq-task-option input[type=checkbox]{width:18px;height:18px;flex-shrink:0}.seq-picker-actions{position:sticky;bottom:-26px;background:#fffefb;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.seq-picker-actions small{font-size:12px}

.seq-live-note{margin:0;padding:10px 20px;background:#fbf3dc;font-size:14px}
#publicWorksheetContent.sequence-game{max-width:none;width:100%;padding:0;margin:0;background:transparent;box-shadow:none;border:0}
.sequence-game .sequence-designer{min-height:calc(100dvh - 120px)}.sequence-game .seq-workspace{height:auto}.sequence-game .seq-sidebar{height:auto}.sequence-game .seq-main{overflow:visible}.seq-game-status{padding:12px 20px;background:#fff;display:flex;gap:12px;align-items:center}.seq-game-status [role=status]{font-size:14px}.seq-game-status .error{color:#a12e25}.sequence-game .seq-player-shell .public-content{padding:0;background:transparent}
@media(min-width:801px){.sequence-game .seq-sidebar{position:sticky;top:0;height:100dvh}.sequence-game .seq-workspace{align-items:start}}
@media(max-width:800px){.sequence-game .sequence-designer{min-height:0}.sequence-game .seq-sidebar{height:auto}.sequence-game .seq-main{padding:20px 12px 40px}.seq-game-status{flex-wrap:wrap}}

.public-mode:not(.public-live-presentation) .public-sheet:has(.sequence-game){width:min(100%,1400px);padding:24px}
@media(max-width:800px){.public-mode:not(.public-live-presentation) .public-sheet:has(.sequence-game){padding:16px 8px}.sequence-game .seq-main{padding:20px 8px 32px}}

/* Lernansicht: Übersicht und Aufgabe bilden jeweils eine eigene, ruhige Fläche. */
.seq-learner .seq-sidebar,.seq-learner .seq-location{display:none}
.seq-learner .seq-workspace{display:flex;min-width:0}
.seq-learner .seq-main{flex:1;width:100%;min-width:0;padding:24px 32px 36px}
.seq-learner-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-bottom:24px}
.seq-learner-navigation .seq-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:2px solid var(--seq-green);border-radius:10px;background:#e6f3ed;color:var(--seq-green);font-weight:800}
.seq-learner-navigation .seq-back:hover{background:#d5ebdf}
.seq-learner-navigation .seq-back:focus-visible{outline:3px solid var(--seq-green);outline-offset:3px}
.seq-learner-navigation[hidden]{display:none}
.seq-learner-intro{margin:0 0 28px}
.seq-learner-intro h1{margin:0 0 12px;font-size:28px;line-height:1.3;overflow-wrap:anywhere}
.seq-learner-intro p,.seq-learner-group>p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.seq-learner-intro .seq-hero-image{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:12px;margin-bottom:20px}
.seq-learner-group{margin:20px 0;border:1px solid #e0e7e1;border-radius:16px;background:#f6f8f5;overflow:hidden}
.sequence-designer.seq-learner .seq-cards .seq-learner-group>h2{margin:0;font:650 18px/1.4 'DM Sans',system-ui,sans-serif}
.seq-learner-group>h2>:is(button,span){display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:20px 22px 12px;border:0;background:transparent;color:var(--seq-ink);text-align:left;font-weight:650;overflow-wrap:anywhere}
.seq-learner-group>p{padding:0 22px 18px;color:var(--seq-muted)}
.seq-learner-group>.seq-group-children{padding:0 12px 8px}
.seq-learner-subgroup{margin:0;border:0;border-left:2px solid #dce6de;border-radius:0;background:transparent;padding-left:16px;overflow:visible}
.seq-learner .seq-learner-task{flex-wrap:nowrap;gap:14px;min-height:76px;min-width:0;height:100%;padding:16px 18px;border:1px solid #dce5de;border-radius:12px;background:#fff;text-align:left;box-shadow:0 1px 2px #203d3604;transition:background-color .15s,border-color .15s,box-shadow .15s}
.seq-learner .seq-learner-task[data-state=done]{background:#f0f7f2;border-color:#d2e3d7}
.seq-learner .seq-learner-task[data-state=incorrect]{background:#fff3f2;border-color:#e6c7c3}
.seq-learner .seq-learner-task[data-state=started]{background:#fffdf6;border-color:#d8bf87}
.seq-learner .seq-learner-task:disabled{opacity:1;background:#f0f3ef;border-color:#e0e6df;color:#637168;cursor:not-allowed}
.seq-learner .seq-learner-task:hover:not(:disabled){background:#f2f7f3;border-color:#91b29d;box-shadow:0 3px 10px #203d360a}
.seq-learner .seq-learner-task:focus-visible{outline:3px solid var(--seq-green);outline-offset:3px}
.seq-learner .seq-learner-task:disabled>.seq-state-icon{background:#e8ede7;border-color:#d0d9d0;color:#637168}
@media(prefers-reduced-motion:reduce){.seq-learner .seq-learner-task{transition:none}}
.seq-learner .seq-task-copy{min-width:0}
.seq-learner .seq-task-card>.seq-state-icon{margin:0;width:28px;height:28px;flex-basis:28px;background-color:#fff}.seq-learner .seq-task-card>.seq-state-icon.started{background:#faf0d8}
.seq-state-icon.incorrect,.seq-learner .seq-task-card>.seq-state-icon.incorrect{background:#ad3e36;color:white;border-color:#ad3e36;outline:0!important}
.seq-learner .seq-task-card>.seq-state-icon.done{background:var(--seq-green);color:white}
.seq-learner .seq-task-card>svg{width:18px;color:var(--seq-muted)}
.seq-learner .seq-task-heading{margin:0 0 18px}
.seq-learner .seq-player-shell .public-content>.eyebrow{display:none}
.seq-learner .seq-learner-next{justify-content:flex-end}
.seq-learner .seq-learner-next button{min-width:140px;min-height:44px}
.seq-learner .seq-complete{margin:0 0 24px;padding:16px 20px;font-size:18px;font-weight:650}
.sequence-game .sequence-designer{min-height:0;background:transparent}
.sequence-game .seq-main{max-width:920px;margin:0 auto;padding:16px 0 24px}
.sequence-game .seq-game-status{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:110;max-width:calc(100vw - 32px);width:max-content;padding:12px 16px;border:1px solid var(--seq-line);border-radius:10px;box-shadow:0 4px 20px #203d3620}
#sequenceEditor .seq-main{max-width:1040px;margin-inline:auto}
.seq-editor-navigation{justify-content:flex-start;flex-wrap:wrap}
.seq-editor-navigation .seq-back{max-width:100%;text-align:left;overflow-wrap:anywhere}
.seq-intro-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.seq-intro-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.seq-intro-actions button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid var(--seq-line);border-radius:8px;color:var(--seq-green);background:white}
.seq-preview-note{margin:0 0 16px;font-size:12px;color:var(--seq-muted)}
.public-mode:not(.public-live-presentation) .public-sheet:has(.sequence-game){width:min(100%,1040px)}
@media(max-width:800px){.seq-learner .seq-main{padding:16px 12px 28px}.sequence-game .seq-main{padding:8px 0 20px}.seq-learner-navigation{gap:12px;margin-bottom:18px}.seq-learner-intro h1{font-size:24px}.seq-learner-group>h2>:is(button,span){padding:16px}.seq-learner-group>p{padding:0 16px 12px}.seq-learner-group>.seq-group-children{padding:0 6px 6px}.seq-learner .seq-learner-next{align-items:flex-end}.seq-learner .seq-learner-next button{width:100%}}

/* Blockregeln stehen unmittelbar beim Inhalt, ohne zusätzliche Navigation. */
.seq-block-rule{font-size:14px;color:var(--seq-muted);margin:0 0 12px}
.seq-open-title{font-size:24px;line-height:1.3;margin:0 0 20px;overflow-wrap:anywhere}
.seq-dialog [role=switch]{width:44px;padding:0}
.seq-dialog [hidden]{display:none!important}
.seq-learner-group button:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:800px){.seq-learner-subgroup .seq-group-children{padding-inline:3px}.seq-learner-subgroup>h2>button{padding:12px}.seq-open-title{font-size:22px}}

/* Der Explorer gehört ausschließlich zum Editor; die Lernansicht bleibt unverändert. */
#sequenceEditor .seq-workspace{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr)}
.seq-explorer{min-width:0;min-height:0;padding:16px 10px;border-right:1px solid var(--seq-line);background:#fafbf7;overflow:hidden}
.seq-explorer-toggle{display:flex;align-items:center;gap:6px;width:100%;padding:8px;border:0;background:transparent;text-align:left;font-size:14px;font-weight:700;color:var(--seq-ink);cursor:pointer}.seq-explorer-toggle svg{width:16px;height:16px}.seq-explorer-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.seq-explorer-body{display:flex;flex-direction:column;min-height:0;flex:1}.seq-explorer-body[hidden]{display:none!important}
.seq-explorer-actions{display:flex;gap:6px;padding:12px 4px}
.seq-explorer-actions button{min-height:36px;padding:7px 10px;border:1px solid var(--seq-line);border-radius:7px;background:#fff;color:var(--seq-green);font-size:14px}
.seq-explorer-actions button:disabled{opacity:.5;cursor:not-allowed}
.seq-explorer-body>p{margin:12px 6px 0;color:var(--seq-muted);font-size:12px;line-height:1.5}
.seq-explorer-tree{min-height:0;overflow:auto;overscroll-behavior:contain}
.seq-explorer-tree [role=treeitem]{outline:none}
.seq-explorer-tree [hidden]{display:none!important}
.seq-tree-row{position:relative;display:flex;align-items:center;gap:7px;min-height:40px;padding:5px 8px 5px calc(4px + var(--tree-depth)*12px);border:2px solid transparent;border-radius:7px;cursor:pointer;user-select:none}
.seq-tree-row:hover{background:#edf2eb}
.seq-tree-row[draggable=true]{cursor:grab}
.seq-tree-row button{display:grid;place-items:center;flex:0 0 22px;width:22px;height:28px;padding:0;border:0;background:transparent;color:var(--seq-muted)}
.seq-tree-row button svg{width:14px;height:14px;transition:transform .15s}
[aria-expanded=true]>.seq-tree-row button svg{transform:rotate(90deg)}
.seq-tree-spacer{width:22px;flex:0 0 22px}
.seq-tree-icon{display:grid;place-items:center;flex:0 0 22px;color:#8a7141}
.seq-tree-icon.task{color:#315c9d}
.seq-tree-icon.content{color:var(--seq-muted)}
.seq-tree-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.seq-tree-row:hover .seq-tree-icon svg{transform:scale(1.06)}
.seq-tree-icon[data-block-kind]{position:relative;flex-basis:34px;height:30px;justify-items:start}
.seq-tree-icon[data-block-kind]>svg:first-child{width:27px;height:27px}
.seq-tree-icon .seq-block-mark{position:absolute;right:0;bottom:0;width:20px;height:20px;padding:1px;border-radius:4px;background:#fff;color:var(--seq-ink);stroke-width:1.8}
@media(prefers-reduced-motion:reduce){.seq-tree-icon svg{transition:none}.seq-tree-row:hover .seq-tree-icon svg{transform:none}}

.seq-tree-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.4}
[aria-selected=true]>.seq-tree-row{color:var(--seq-green);background:#e4eee5;font-weight:700}
.seq-explorer-tree [role=treeitem]:focus-visible>.seq-tree-row{outline:2px solid var(--seq-green);outline-offset:-2px}
.seq-tree-root{padding-left:8px;font-weight:650}
.seq-tree-dragging{opacity:.5}
.seq-tree-row[data-drop=inside]{background:#d9eddf;border-color:var(--seq-green)}
.seq-tree-row[data-drop=before]{border-top-color:var(--seq-green)}
.seq-tree-row[data-drop=after]{border-bottom-color:var(--seq-green)}
.seq-tree-row[data-drop=invalid]{background:#f9e8e5;cursor:not-allowed}
@media(min-width:801px){.seq-explorer{display:flex;flex-direction:column}.seq-explorer-tree{flex:1}.seq-explorer-actions,.seq-explorer-body>p,.seq-explorer-toggle{flex:none}}
@media(max-width:800px){#sequenceEditor .seq-workspace{display:block}.seq-explorer{padding:8px 12px;border-right:0;border-bottom:1px solid var(--seq-line);overflow:visible}.seq-explorer-tree{overflow:visible;overscroll-behavior:auto}.seq-explorer-actions button{min-height:44px}.seq-tree-row{min-height:44px}.seq-explorer-body>p{margin-bottom:8px}}


/* Keep each group together, including groups without visible framing. */
.seq-learner .seq-cards{gap:22px;min-width:0}
.seq-learner .seq-learner-group{margin:0;min-width:0}
.seq-learner-group>.seq-group-content{padding:0 22px 22px}
.sequence-designer.seq-learner .seq-cards .seq-learner-subgroup>h2{font-size:16px}
.seq-learner-subgroup>h2>:is(button,span){padding:2px 0 12px}
.seq-learner-subgroup>p{padding:0 0 14px}
.seq-learner-subgroup>.seq-group-content{padding:0}
.seq-learner .seq-info{margin:0;border:0;background:#edf2e9;padding:18px 20px}
.seq-group-bundle{display:grid;gap:16px;min-width:0}
.seq-group-bundle>.seq-hero-image{border-radius:12px}
.seq-learner .seq-task-columns{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}
.seq-task-columns>.seq-info{grid-column:1/-1;margin:0}
.seq-dialog .seq-group-display-setting{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.seq-group-display-setting small{grid-column:1/-1;font-weight:400;line-height:1.5}

@media(max-width:800px){
 .seq-learner .seq-task-columns{grid-template-columns:minmax(0,1fr)}
 .seq-learner .seq-cards{gap:20px}
 .seq-learner .seq-task-columns{gap:10px}
 .seq-learner-group>h2>:is(button,span){padding:16px 14px 10px}
 .seq-learner-group>p{padding:0 14px 14px}
 .seq-learner-group>.seq-group-content{padding:0 12px 14px}
 .seq-learner-subgroup{padding-left:10px}
 .seq-learner-subgroup>h2>:is(button,span){padding:2px 0 10px}
 .seq-learner-subgroup>p{padding:0 0 12px}
 .seq-learner-subgroup>.seq-group-content{padding:0}
 .seq-learner .seq-learner-task{min-height:70px;padding:14px 12px;gap:12px}
}
