:root{color-scheme:light;--paper:#ffffff;--surface:#ffffff;--surface-soft:rgba(255,255,255,.72);--ink:#20231f;--muted:#697067;--line:rgba(31,35,30,.13);--line-strong:rgba(31,35,30,.24);--shadow:0 .875rem 2.375rem rgba(35,39,31,.08);--radius-xl:.25rem;--radius-lg:.25rem;--radius-md:.25rem;--lime-a:#f3e88c;--lime-b:#d7e79f;--lime-c:#a9d1af;--rose-a:#f2e58d;--rose-b:#efbdba;--rose-c:#cfb5d3;--cyan-a:#f2e58d;--cyan-b:#b8ddd1;--cyan-c:#9cc6d9;--focus:#236d7a;--danger:#9d2e3d;--ok:#4f783d;--header-h:3.625rem;--page:67.5rem;--reading:48.75rem;--space:clamp(1rem,2vw,1.625rem);--text:.9375rem}html[data-theme="dark"]{color-scheme:dark;--paper:#ffffff;--surface:#ffffff;--surface-soft:rgba(0,0,0,.92);--ink:#f1f2ed;--muted:#aeb5aa;--line:rgba(241,242,237,.13);--line-strong:rgba(241,242,237,.26);--shadow:0 1rem 2.625rem rgba(0,0,0,.28);--lime-a:#81792e;--lime-b:#58733f;--lime-c:#35665a;--rose-a:#7b7031;--rose-b:#815052;--rose-c:#625170;--cyan-a:#766c31;--cyan-b:#3d6c64;--cyan-c:#3d6375;--focus:#91d3de;--danger:#ff9ba8;--ok:#b1d69b}*,*::before,*::after{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth;background:var(--paper);overscroll-behavior-y:none}html[data-theme="dark"],html[data-theme="dark"] body{background:#000000 !important}body{margin:0;min-height:100vh;min-height:100dvh;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--text);line-height:1.55;text-rendering:optimizeLegibility}button,input,textarea,select{font:inherit;color:inherit}a{color:inherit;text-decoration-thickness:.08em;text-underline-offset:.18em}img,svg{max-width:100%}svg{display:block;width:1.25em;height:1.25em;flex:0 0 auto}button{cursor:pointer}:focus-visible{outline:.1875rem solid color-mix(in srgb,var(--focus) 72%,transparent);outline-offset:.1875rem}[hidden]{display:none !important}.visually-hidden{position:absolute !important;width:.0625rem !important;height:.0625rem !important;padding:0 !important;margin:-.0625rem !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important}.skip-link{position:fixed;z-index:1000;left:.75rem;top:.625rem;transform:translateY(-150%);background:var(--ink);color:var(--paper);padding:.5rem .75rem;border-radius:.25rem}.skip-link:focus{transform:none}.site-header{position:sticky;z-index:80;top:0;padding-top:env(safe-area-inset-top,0);min-height:var(--header-h);background:color-mix(in srgb,var(--paper) 91%,transparent);border-bottom:.0625rem solid var(--line);backdrop-filter:blur(1.125rem)}.header-shell{width:min(var(--page),calc(100% - 1.75rem));min-height:var(--header-h);margin:0 auto;display:grid;grid-template-columns:auto minmax(13.75rem,1fr) auto;gap:.75rem;align-items:center}.header-search{position:relative;width:min(27.5rem,100%);justify-self:center}.header-search input{width:100%;height:2.25rem;padding:.4375rem 2.375rem .4375rem .8125rem;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface-soft);box-shadow:none;outline:none}.header-search input:focus{border-color:var(--line-strong);background:var(--surface)}.header-search button{position:absolute;right:.1875rem;top:.1875rem;width:1.875rem;height:1.875rem;display:grid;place-items:center;border:0;border-radius:.25rem;background:transparent}.header-search button svg{width:1rem;height:1rem}.brand{font-weight:830;letter-spacing:.08em;font-size:.75rem;text-decoration:none}.main-nav{display:flex;gap:.25rem;align-items:center;justify-content:center}.main-nav a{display:inline-flex;align-items:center;gap:.4375rem;min-height:2.375rem;padding:.4375rem .6875rem;border-radius:.25rem;text-decoration:none;color:var(--muted);font-weight:650;font-size:.8125rem}.main-nav a svg{width:1.125rem;height:1.125rem}.main-nav a:hover,.main-nav a.active{color:var(--ink);background:var(--surface);box-shadow:inset 0 0 0 .0625rem var(--line)}.theme-toggle{display:grid;place-items:center;width:2.25rem;height:2.25rem;padding:0;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface)}.theme-toggle svg{width:1.0625rem;height:1.0625rem}.theme-moon{display:none}html[data-theme="dark"] .theme-sun{display:none}html[data-theme="dark"] .theme-moon{display:block}.page-shell{width:min(var(--page),calc(100% - 1.75rem));min-height:calc(100vh - 8.4375rem);margin:0 auto;padding:1.625rem 0 3.375rem}.breadcrumb{display:flex;gap:.375rem;align-items:center;flex-wrap:wrap;margin:0 0 .75rem;font-size:.75rem;color:var(--muted)}.breadcrumb a{text-decoration:none}.breadcrumb a+a::before{content:"/";margin-right:.375rem;color:var(--line-strong)}.quiet-head{min-height:11rem;padding:clamp(1.5rem,4vw,3rem);border-radius:.25rem;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1.375rem;align-items:center;overflow:hidden;box-shadow:var(--shadow);border:.0625rem solid color-mix(in srgb,var(--line) 60%,transparent);margin-bottom:1.25rem}.quiet-head h1{margin:0;font-size:clamp(2.25rem,6vw,4.8rem);line-height:.95;letter-spacing:-.055em}.quiet-head p{max-width:40rem;margin:.75rem 0 0;color:color-mix(in srgb,var(--ink) 72%,transparent);font-size:.875rem}.title-icon{width:3.125rem;height:3.125rem;display:grid;place-items:center;border-radius:.25rem;background:rgba(255,255,255,.35);border:.0625rem solid rgba(255,255,255,.48)}.title-icon svg{width:1.75rem;height:1.75rem}.hero-lime,.gradient-lime-soft{background:linear-gradient(135deg,var(--lime-a),var(--lime-b) 52%,var(--lime-c))}.hero-rose,.gradient-pink-soft{background:linear-gradient(135deg,var(--rose-a),var(--rose-b) 52%,var(--rose-c))}.hero-cyan,.gradient-cyan-soft{background:linear-gradient(135deg,var(--cyan-a),var(--cyan-b) 52%,var(--cyan-c))}.head-tools{display:grid;gap:.625rem;justify-items:end;min-width:min(18.75rem,32vw)}.tool-row,.chip-row{display:flex;flex-wrap:wrap;gap:.4375rem;align-items:center}.head-tools .chip-row,.head-tools .tool-row{justify-content:flex-end}.home-intro{max-width:47.5rem;margin:0 auto 1.125rem;padding:.9375rem 1.125rem;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface-soft)}.home-intro h1{margin:0 0 .3125rem;font-size:.875rem;letter-spacing:-.01em}.home-intro p{margin:0;color:var(--muted);font-size:.75rem;line-height:1.55}.library-windows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.125rem}.library-window{min-height:18.375rem;padding:1.75rem;border-radius:.25rem;display:flex;flex-direction:column;gap:.9375rem;text-decoration:none;border:.0625rem solid color-mix(in srgb,var(--line) 52%,transparent);box-shadow:var(--shadow);transition:transform .18s ease,box-shadow .18s ease}.library-window:hover{transform:translateY(-.1875rem);box-shadow:0 1.25rem 2.875rem rgba(35,39,31,.12)}.card-lime{background:linear-gradient(145deg,var(--lime-a),var(--lime-b) 56%,var(--lime-c))}.card-rose{background:linear-gradient(145deg,var(--rose-a),var(--rose-b) 56%,var(--rose-c))}.card-cyan{background:linear-gradient(145deg,var(--cyan-a),var(--cyan-b) 56%,var(--cyan-c))}.window-icon,.book-card-icon{display:grid;place-items:center;width:3.375rem;height:3.375rem;border-radius:.25rem;background:rgba(255,255,255,.31);border:.0625rem solid rgba(255,255,255,.45)}.window-icon svg,.book-card-icon svg{width:1.875rem;height:1.875rem}.window-copy{display:grid;gap:.3125rem;margin-top:auto}.window-copy strong{font-size:clamp(1.6rem,3vw,2.3rem);line-height:1;letter-spacing:-.04em}.window-copy small{color:color-mix(in srgb,var(--ink) 72%,transparent)}.button-chip,.small-button,.text-button,.alphabet button{border:0;border-radius:.25rem;min-height:2.125rem;padding:.4375rem .8125rem;display:inline-flex;align-items:center;justify-content:center;gap:.4375rem;background:var(--ink);color:var(--paper);text-decoration:none;font-size:.75rem;font-weight:730;line-height:1}.button-chip svg{width:1rem;height:1rem}.button-chip.ghost,.small-button,.alphabet button{background:color-mix(in srgb,var(--surface) 82%,transparent);color:var(--ink);border:.0625rem solid var(--line)}.button-chip:hover,.small-button:hover,.alphabet button:hover{filter:brightness(.96)}.text-button{background:transparent;color:var(--muted);padding-inline:.25rem}.text-button.danger{color:var(--danger)}.text-link{font-weight:700}.chip,.origin-badge{display:inline-flex;align-items:center;min-height:1.6875rem;padding:.3125rem .5625rem;border-radius:.25rem;background:color-mix(in srgb,var(--surface) 66%,transparent);border:.0625rem solid color-mix(in srgb,var(--line) 74%,transparent);font-size:.6875rem;font-weight:700;line-height:1.2}.origin-badge.original{background:color-mix(in srgb,var(--lime-b) 52%,var(--surface))}.origin-badge.addition{background:color-mix(in srgb,var(--cyan-b) 46%,var(--surface))}.muted{color:var(--muted)}.progress-meter{display:grid;gap:.25rem;width:min(15.625rem,100%)}.progress-copy{display:flex;justify-content:space-between;gap:.625rem;font-size:.6875rem;font-weight:650}.progress-track{height:.4375rem;border-radius:.25rem;overflow:hidden;background:rgba(255,255,255,.48);border:.0625rem solid rgba(0,0,0,.07)}.progress-track>span{display:block;width:0;min-height:100%;background:var(--ink);border-radius:.25rem;transition:width .22s ease}.progress-meter.compact{min-width:6.5rem;max-width:9.375rem}.progress-meter.compact .progress-copy{font-size:.625rem}.progress-meter.compact .progress-track{height:.3125rem}.subject-list,.book-grid{margin-top:1.125rem}.subject-list{display:grid;gap:.5rem}.subject-row{display:grid;grid-template-columns:2.625rem minmax(0,1fr) auto auto;gap:.75rem;align-items:center;padding:.8125rem .9375rem;border-radius:.25rem;background:var(--surface);border:.0625rem solid var(--line);text-decoration:none}.subject-row:hover{border-color:var(--line-strong);transform:translateX(.125rem)}.subject-order{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.75rem}.subject-title{font-weight:760}.subject-hours{white-space:nowrap}.subject-row .progress-meter{min-width:7.625rem;max-width:10rem}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.875rem}.book-card{min-height:13.25rem;border-radius:.25rem;padding:1.25rem;display:flex;flex-direction:column;gap:.625rem;text-decoration:none;border:.0625rem solid color-mix(in srgb,var(--line) 54%,transparent);box-shadow:0 .5625rem 1.5rem rgba(35,39,31,.06)}.book-card:hover{transform:translateY(-.125rem)}.book-card>strong{margin-top:auto;font-size:1.3rem;line-height:1.05;letter-spacing:-.025em}.book-card>small{color:color-mix(in srgb,var(--ink) 70%,transparent)}.book-card .progress-meter{width:100%}.fold{margin:.875rem 0}.fold>summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.9375rem 1.125rem;font-weight:780}.fold-body{padding:.125rem 1.125rem 1.25rem;border-top:.0625rem solid var(--line)}.chapter-status{display:flex;align-items:center}.chapter-answer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.625rem;margin-bottom:1.125rem}.chapter-answer>div{padding:.8125rem;background:var(--paper);border-radius:.25rem;border:.0625rem solid var(--line)}.chapter-answer span{display:block;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.5625rem;font-weight:800}.chapter-answer p{margin:.375rem 0 0;font-size:.8125rem}.content-block{margin:1.125rem 0}.content-block>h3,.content-label h3{margin:0;font-size:.9375rem}.content-label{display:flex;justify-content:space-between;gap:.75rem;align-items:center;margin-bottom:.5625rem}.original-block,.answer-block,.addition-block{padding:1rem;border:.0625rem solid var(--line);border-radius:.25rem}.original-block{border-left:.25rem solid var(--lime-c)}.answer-block,.addition-block{border-left:.25rem solid var(--cyan-c)}.content-block p:first-child{margin-top:0}.content-block p:last-child{margin-bottom:0}.prose{max-width:var(--reading)}.prose h2,.prose h3,.prose h4,.rich-learning h2,.rich-learning h3,.rich-learning h4{line-height:1.18;letter-spacing:-.025em}.prose h2,.rich-learning h2{margin:1.7em 0 .55em;font-size:1.55rem}.prose h3,.rich-learning h3{margin:1.55em 0 .5em;font-size:1.23rem}.prose h4,.rich-learning h4{margin:1.35em 0 .4em;font-size:1rem}.prose p,.rich-learning p{margin:.7em 0}.prose ul,.prose ol,.rich-learning ul,.rich-learning ol{padding-left:1.35em}.prose li+li,.rich-learning li+li{margin-top:.24em}.prose blockquote{border-left:.1875rem solid var(--line-strong);margin-left:0;padding-left:.875rem;color:var(--muted)}.text-flow{overflow-wrap:anywhere}.plain-list{margin:0;padding-left:1.2rem}.inner-fold{margin:.9375rem 0;border-top:.0625rem solid var(--line);border-bottom:.0625rem solid var(--line)}.inner-fold>summary{display:flex;justify-content:space-between;padding:.6875rem 0;font-weight:700}.inner-fold>div{padding:0 0 .8125rem}.checklist{display:grid;gap:0;border-top:.0625rem solid var(--line)}.check-item{display:grid;grid-template-columns:1.875rem minmax(0,1fr);gap:.5rem;align-items:start;padding:.5625rem 0;border-bottom:.0625rem solid var(--line)}.check-item.level-1{padding-left:1rem}.check-item.level-2{padding-left:2rem;color:var(--muted)}.check-item.level-3{padding-left:3rem;color:var(--muted);font-size:.8125rem}.check-control{width:1.5rem;height:1.5rem;display:grid;place-items:center;padding:0;border:.0625rem solid var(--line-strong);border-radius:.25rem;background:var(--surface);color:transparent}.check-control svg,.check-mark{width:.9375rem;height:.9375rem}.check-control[data-state="done"],.check-control.is-done{background:var(--ink);color:var(--paper)}.check-text{line-height:1.35;padding-top:.125rem}.keyword-chips,.chip-links{display:flex;flex-wrap:wrap;gap:.375rem}.keyword-chip,.chip-links a{display:inline-flex;align-items:center;padding:.375rem .5625rem;border-radius:.25rem;border:.0625rem solid var(--line);background:var(--paper);text-decoration:none;font-size:.6875rem;line-height:1.2}.word-link{border:0;padding:0;color:inherit;background:linear-gradient(transparent 68%,color-mix(in srgb,var(--cyan-b) 70%,transparent) 68%);font:inherit;cursor:pointer}.source-note,.source-link,.privacy-hint,.note-source{color:var(--muted);font-size:.6875rem}.source-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding-top:1.125rem}.source-card{border:.0625rem solid var(--line);border-radius:.25rem;padding:.875rem}.source-card h3{font-size:.875rem;margin:0 0 .4375rem}.source-card dl{display:grid;gap:.3125rem;margin:.625rem 0}.source-card dl div{display:grid;grid-template-columns:7.5rem 1fr;gap:.5rem}.source-card dt{color:var(--muted);font-size:.6875rem}.source-card dd{margin:0;font-size:.75rem}.file-list{display:grid;gap:.4375rem;padding:0;list-style:none}.file-list a{display:flex;gap:.5rem;align-items:center;padding:.5625rem .6875rem;border:.0625rem solid var(--line);border-radius:.25rem;text-decoration:none}.note-saved-dot{width:.4375rem;height:.4375rem;border-radius:.25rem;background:var(--ok);opacity:0}.note-saved-dot.active{opacity:1}.local-actions{display:flex;gap:.625rem;align-items:center;margin-top:.625rem}.save-state{margin-left:auto;color:var(--muted);font-size:.6875rem}.wikipedia-loader{margin-top:.625rem;border:.0625rem solid var(--line);border-radius:.25rem}.wikipedia-loader>summary{list-style:none;display:flex;gap:.5rem;align-items:center;padding:.625rem .75rem;font-size:.75rem;font-weight:700;cursor:pointer}.wikipedia-loader>summary::-webkit-details-marker{display:none}.wikipedia-loader-body{padding:0 .75rem .75rem}.wikipedia-loader form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4375rem}.wikipedia-results{display:grid;gap:.4375rem;margin-top:.5rem}.wikipedia-result{display:grid;grid-template-columns:1fr auto;gap:.625rem;padding:.625rem;border-radius:.25rem;background:var(--paper)}.wikipedia-result p{margin:.25rem 0 0;font-size:.6875rem;color:var(--muted)}.wikipedia-result>div:last-child{display:flex;gap:.5rem;align-items:start}.consent-panel,.notes-viewbar,.notes-dashboard{margin-top:.875rem}.consent-panel{padding:.9375rem;background:var(--surface);border:.0625rem solid var(--line);border-radius:.25rem}.consent-status-row{display:flex;gap:.75rem;align-items:center}.consent-mark{display:grid;place-items:center;width:2.125rem;height:2.125rem;border-radius:50%;background:var(--paper)}.consent-manage{margin-top:.75rem;display:flex;flex-wrap:wrap;gap:.625rem}.notes-viewbar{display:flex;justify-content:flex-end}.notes-sort{display:flex;align-items:center;gap:.5rem;font-size:.75rem}.notes-sort select{width:auto;padding:.4375rem 1.75rem .4375rem .5625rem}.notes-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.note-card{padding:.875rem;background:var(--surface);border:.0625rem solid var(--line);border-radius:.25rem}.note-card small{color:var(--muted)}.note-card h2{margin:.25rem 0 .625rem;font-size:.9375rem}.note-card footer{display:flex;gap:.5rem;align-items:center;margin-top:.5rem}.search-stage{max-width:51.875rem;margin:1.125rem auto 0}.search-page-form{position:relative}.search-page-form input{height:3.625rem;padding:.75rem 3.375rem .75rem 1.125rem;font-size:1.125rem;box-shadow:var(--shadow)}.search-page-form>button[type="submit"]{position:absolute;right:.5625rem;top:.5625rem;width:2.5rem;height:2.5rem;border-radius:.25rem;border:0;display:grid;place-items:center;background:var(--ink);color:var(--paper)}.search-results{margin-top:.75rem}.results-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:.75rem;margin:.5rem .125rem}.result-list{display:grid;gap:.5rem}.result-card,.suggestion-row,.suggestion-shelf,.word-result{background:var(--surface);border:.0625rem solid var(--line);border-radius:.25rem;padding:.75rem .875rem}.result-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;text-decoration:none}.result-card h3{margin:0;font-size:.875rem}.result-context{color:var(--muted);font-size:.6875rem;margin:.1875rem 0}.result-inline-preview{margin:.3125rem 0 0;color:var(--muted);font-size:.75rem}.result-relevance{min-width:4.375rem;text-align:right;font-size:.6875rem;font-weight:750}.suggestion-row,.suggestion-shelf{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.suggestion-row.nested{margin-left:1.125rem}.search-empty{text-align:center;padding:1.625rem;color:var(--muted)}.all-results,.shelf-open{font-size:.6875rem;font-weight:700}.word-dialog,.consent-dialog{width:min(38.75rem,calc(100% - 1.75rem));max-height:min(47.5rem,calc(100vh - 2.625rem));overflow:auto;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface);color:var(--ink);padding:1.375rem;box-shadow:0 1.5rem 5rem rgba(0,0,0,.25)}.word-dialog::backdrop,.consent-dialog::backdrop{background:rgba(0,0,0,.38);backdrop-filter:blur(.25rem)}.dialog-close{float:right;border:0;background:transparent;color:var(--muted);font-size:.75rem}.word-dialog h2,.consent-dialog h2{margin:0 0 .875rem;font-size:1.4rem}.word-dialog [data-word-results]{display:grid;gap:.5rem}.word-web-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5625rem;margin-top:.875rem;padding-top:.875rem;border-top:.0625rem solid var(--line)}.word-provider-switch{grid-column:1 / -1;display:inline-flex;justify-self:start;padding:.1875rem;border:.0625rem solid var(--line);border-radius:62.4375rem;background:var(--paper)}.word-provider-switch button{min-height:1.875rem;padding:.3125rem .6875rem;border:0;border-radius:62.4375rem;background:transparent;color:var(--muted);font:inherit;font-size:.75rem;font-weight:750}.word-provider-switch button.active{background:var(--ink);color:var(--paper)}.word-external-primary,.word-external-wiki{display:inline-flex;align-items:center;justify-content:center;min-height:2.4375rem;padding:.5rem .8125rem;border:.0625rem solid var(--line);border-radius:62.4375rem;text-decoration:none;font-size:.75rem;font-weight:780}.word-external-primary{background:var(--ink);color:var(--paper)}.word-external-wiki{background:var(--surface);color:var(--ink)}.word-web-search small{grid-column:1 / -1;color:var(--muted);line-height:1.35}.confirm-row{display:grid;grid-template-columns:auto 1fr;gap:.5625rem;align-items:start;margin:.625rem 0}.wiki-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1rem}.wiki-card{display:grid;gap:.4375rem;padding:.9375rem;background:var(--surface);border:.0625rem solid var(--line);border-radius:.25rem;text-decoration:none}.wiki-card strong{font-size:1.05rem}.intro-prose{margin:0 0 .875rem}.lexicon-tools{position:sticky;top:calc(var(--header-h)+.5rem);z-index:20;padding:.625rem;background:color-mix(in srgb,var(--paper) 91%,transparent);backdrop-filter:blur(.875rem);border:.0625rem solid var(--line);border-radius:.25rem}.lexicon-tools label{display:block}.alphabet{display:flex;flex-wrap:wrap;gap:.3125rem;margin-top:.5rem}.alphabet button{min-height:1.8125rem;padding:.3125rem .5625rem}.alphabet button.active{background:var(--ink);color:var(--paper)}.lexicon-list{display:grid;gap:.4375rem;margin-top:.75rem}.lexicon-entry>summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:.625rem;align-items:center;padding:.6875rem .875rem}.lexicon-entry>summary>span{color:var(--muted);font-size:.6875rem}.lexicon-entry>summary::after{grid-column:3}.lexicon-body{padding:0 .875rem .875rem;border-top:.0625rem solid var(--line)}.lexicon-body p{max-width:var(--reading)}.lexicon-empty{text-align:center;color:var(--muted);padding:1.25rem}.sitemap-windows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.625rem;margin:.875rem 0}.sitemap-windows a{display:flex;gap:.5rem;align-items:center;padding:.875rem;background:var(--surface);border:.0625rem solid var(--line);border-radius:.25rem;text-decoration:none}.sitemap-windows svg{width:1.25rem;height:1.25rem}.sitemap-links{display:grid;gap:.3125rem}.sitemap-links a{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.5rem;padding:.5rem 0;border-bottom:.0625rem solid var(--line);text-decoration:none}.sitemap-links a>span{color:var(--muted);font-size:.6875rem}.legal-links{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.legal-text{max-width:var(--reading)}.legal-text h2{margin-top:1.7em}.site-footer{border-top:.0625rem solid var(--line)}.footer-nav{width:min(var(--page),calc(100% - 1.75rem));min-height:3.625rem;margin:0 auto;display:flex;gap:.875rem;align-items:center;color:var(--muted);font-size:.6875rem}.footer-nav a{text-decoration:none}.top-link{margin-left:auto;display:inline-flex;gap:.3125rem;align-items:center}.top-link svg{width:.875rem;height:.875rem}@media (max-width:53.125rem){.quiet-head{grid-template-columns:auto minmax(0,1fr);min-height:9.875rem;padding:1.5rem}.quiet-head h1{font-size:clamp(2.1rem,10vw,3.9rem)}.head-tools{grid-column:1 / -1;width:100%;min-width:0;justify-items:start}.head-tools .chip-row,.head-tools .tool-row{justify-content:flex-start}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.source-cards,.notes-dashboard{grid-template-columns:1fr}.subject-row{grid-template-columns:2.25rem minmax(0,1fr) auto}.subject-row .progress-meter{grid-column:2 / -1;max-width:none}.chapter-answer{grid-template-columns:1fr}}@media (max-width:38.75rem){:root{--header-h:3.5rem;--text:.875rem}.header-shell{width:calc(100% - 1.125rem);grid-template-columns:auto 1fr;gap:.4375rem}.brand{font-size:.5625rem}.header-search{display:none}.main-nav{gap:.0625rem;justify-self:end}.main-nav a{padding:.4375rem;min-width:2.625rem;justify-content:center}.main-nav a span{display:none}.main-nav a svg{width:1.1875rem;height:1.1875rem}.theme-toggle{width:2.125rem;height:2.125rem}.page-shell{width:calc(100% - 1.125rem);padding-top:.875rem}.quiet-head{min-height:8.875rem;padding:1.25rem;gap:.875rem;border-radius:.25rem}.title-icon{width:2.625rem;height:2.625rem;border-radius:.25rem}.title-icon svg{width:1.5rem;height:1.5rem}.quiet-head h1{font-size:clamp(2rem,13vw,3.15rem)}.quiet-head p{font-size:.75rem}.library-windows,.book-grid,.wiki-grid,.sitemap-windows{grid-template-columns:1fr}.library-window{min-height:14.75rem;padding:1.3125rem}.book-card{min-height:11.125rem}.subject-row{grid-template-columns:1.875rem minmax(0,1fr);padding:.6875rem}.subject-row .subject-hours{grid-column:2;justify-self:start}.subject-row .progress-meter{grid-column:2}.content-label{align-items:flex-start;flex-direction:column;gap:.3125rem}.check-item.level-1{padding-left:.625rem}.check-item.level-2{padding-left:1.25rem}.check-item.level-3{padding-left:1.875rem}.source-card dl div{grid-template-columns:1fr;gap:0}.wikipedia-loader form{grid-template-columns:1fr}.wikipedia-result{grid-template-columns:1fr}.search-page-form input{height:3.25rem;font-size:1rem}.lexicon-entry>summary{grid-template-columns:minmax(0,1fr) auto}.lexicon-entry>summary>span{grid-column:1}.lexicon-entry>summary::after{grid-column:2;grid-row:1 / 3}.footer-nav{width:calc(100% - 1.125rem);gap:.625rem;font-size:.625rem}}@media (max-width:24.375rem){.header-shell{grid-template-columns:auto 1fr}.brand{display:inline-block}.header-search{display:none}}.footer-theme-toggle{margin-inline:auto}@media (max-width:47.5rem){.header-shell{grid-template-columns:auto 1fr !important}.header-search{display:none !important}.main-nav{justify-self:end;margin-left:0}.footer-theme-toggle{display:inline-flex}}@media (min-width:47.5625rem){.header-search{display:block}}@media print{@page{size:A4;margin:11mm 10mm 12mm}:root{--ink:#000;--paper:#fff;--surface:#fff;--muted:#444;--line:#bbb;--text:9.2pt}*{box-shadow:none !important;text-shadow:none !important}html,body{background:#fff !important;color:#000 !important;font-family:Arial,sans-serif}body{line-height:1.28}.page-shell{width:auto;min-height:0;margin:0;padding:0}.quiet-head{display:block;min-height:0;padding:0 0 5mm;margin:0 0 4mm;border:0;border-radius:.25rem;background:none !important;overflow:visible}.quiet-head .title-icon{display:none}.quiet-head h1{font-size:18pt;letter-spacing:-.02em;line-height:1.1}.quiet-head p{margin:2mm 0 0;font-size:9pt;color:#222}details:not([open])>*:not(summary){display:block !important}.chapter-answer{grid-template-columns:repeat(3,1fr);gap:2mm;margin-bottom:3mm}.chapter-answer>div,.original-block,.answer-block,.addition-block{padding:2mm;border:.4pt solid #aaa;border-radius:.25rem;background:none}.content-block{margin:3mm 0}.content-label{margin-bottom:1mm}.origin-badge{border:.4pt solid #888;background:none !important;min-height:0;padding:1mm 2mm;font-size:7pt}.checklist{border-top:.4pt solid #aaa}.check-item{grid-template-columns:6mm minmax(0,1fr);padding:1.3mm 0;border-bottom:.3pt solid #ccc;break-inside:avoid}.check-item.level-1{padding-left:4mm}.check-item.level-2{padding-left:8mm}.check-item.level-3{padding-left:12mm}.check-control{width:4mm;height:4mm;border-radius:.25rem;padding:0;background:#fff !important;color:#000 !important}.check-control[data-state="done"],.check-control.is-done{background:#000 !important}.check-control svg{display:none}.prose,.rich-learning{max-width:none;font-size:9pt}.prose h2,.rich-learning h2{font-size:13pt;margin:4mm 0 1.5mm}.prose h3,.rich-learning h3{font-size:11pt;margin:3mm 0 1mm}.prose h4,.rich-learning h4{font-size:9.5pt;margin:2.5mm 0 1mm}.prose p,.rich-learning p{margin:1.4mm 0}.prose li+li,.rich-learning li+li{margin-top:.7mm}.source-cards{display:block;padding:0}.source-card{break-inside:avoid;border:.4pt solid #aaa;border-radius:.25rem;padding:2mm;margin-bottom:2mm}.source-card dl{margin:1mm 0}.word-link{background:none;border-bottom:.4pt dotted #555}a{text-decoration:none;color:#000}a[href^="http"]::after{content:none !important}.book-grid,.library-windows,.subject-list,.wiki-grid{display:block}.book-card,.library-window,.subject-row,.wiki-card{break-inside:avoid;min-height:0;margin-bottom:2mm;padding:2mm;border:.4pt solid #aaa;border-radius:.25rem;background:none !important}}.progress-track>i{display:block;width:0;min-height:100%;background:var(--ink);border-radius:.25rem;transition:width .22s ease}.check-control.is-checked{background:var(--ink);color:var(--paper)}.check-control:not(.is-checked) .check-mark{opacity:0}.check-control.is-checked .check-mark{opacity:1}.search-page-form>.search-results{position:absolute;z-index:50;left:0;right:0;top:calc(100%+.5rem);max-height:min(68vh,38.75rem);overflow:auto;padding:.625rem;background:var(--surface);border:.0625rem solid var(--line);border-radius:.25rem;box-shadow:0 1.25rem 4.375rem rgba(0,0,0,.18)}.search-page-form>.search-results section+section{margin-top:.625rem}.search-page-form>.search-results h2{margin:.3125rem .4375rem .375rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.5625rem}.suggestion-row span,.suggestion-shelf button span{display:grid;gap:.125rem;text-align:left}.suggestion-row small,.suggestion-shelf small{color:var(--muted);font-size:.625rem}.suggestion-row i,.suggestion-shelf i{font-style:normal;color:var(--muted);font-size:.625rem}.suggestion-shelf{display:block;padding:0;overflow:hidden}.suggestion-shelf>button{width:100%;border:0;background:transparent;color:inherit;padding:.75rem .875rem;display:flex;justify-content:space-between;align-items:center}.suggestion-shelf [data-shelf-books]{border-top:.0625rem solid var(--line);padding:.4375rem}.suggestion-row.active,.suggestion-shelf>button.active{background:var(--paper)}.result-card{grid-template-columns:minmax(0,1fr) 5rem}.result-card>.result-context,.result-card>h2,.result-card>p,.result-card>details{grid-column:1}.result-card>h2{margin:0;font-size:.9375rem}.result-card>p{margin:.3125rem 0 0;font-size:.75rem;color:var(--muted)}.result-relevance{grid-column:2;grid-row:1 / span 4;align-self:start}.result-relevance>span{display:block;height:.3125rem;border-radius:62.4375rem;overflow:hidden;background:var(--paper);margin-bottom:.25rem}.result-relevance i{display:block;height:100%;background:var(--ink)}.word-result{display:grid;gap:.1875rem;text-decoration:none}.word-result small{color:var(--muted)}.notes-dashboard{display:block}.notes-dashboard>.notes-viewbar{margin-bottom:.625rem}[data-local-notes-report]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.consent-manage{margin-top:.625rem}.consent-manage>summary{cursor:pointer;color:var(--muted);font-size:.75rem}.consent-manage>div{margin-top:.5rem}@media (max-width:53.125rem){[data-local-notes-report]{grid-template-columns:1fr}}.search-page-form>.search-results{display:grid;gap:.5rem;padding:.5rem;scrollbar-gutter:stable}.search-group{display:grid;gap:.4375rem;padding:.5rem;border:.0625rem solid var(--line);border-radius:.25rem;background:color-mix(in srgb,var(--surface) 94%,transparent)}.search-group-head{display:flex;align-items:center;justify-content:space-between;gap:.625rem;padding:0 .1875rem}.search-page-form>.search-results .search-group-head h2{margin:0;color:var(--muted);text-transform:uppercase;letter-spacing:.09em;font-size:.5625rem}.search-group-head>span{display:grid;place-items:center;min-width:1.375rem;height:1.375rem;border-radius:62.4375rem;background:var(--paper);color:var(--muted);font-size:.625rem;font-weight:750}.search-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4375rem}.suggestion-book,.suggestion-hit{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.6875rem .75rem;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface);text-decoration:none}.suggestion-book span,.suggestion-hit span{min-width:0;display:grid;gap:.125rem}.suggestion-book strong,.suggestion-hit strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem}.suggestion-book small,.suggestion-hit small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.625rem}.suggestion-book i,.suggestion-hit i{flex:0 0 auto;color:var(--muted);font-style:normal;font-size:.625rem}.suggestion-book.active,.suggestion-hit.active,.suggestion-book:hover,.suggestion-hit:hover{border-color:var(--line-strong);background:var(--paper)}.search-hit-list,.search-shelf-list{display:grid;gap:.375rem}.suggestion-shelf{display:block;padding:0;overflow:hidden}.suggestion-shelf>button{position:static;inset:auto;width:100%;height:auto;min-height:0;border:0;border-radius:.25rem;background:transparent;color:inherit;padding:.625rem .75rem;display:flex;justify-content:space-between;align-items:center}.suggestion-shelf>button:hover,.suggestion-shelf>button.active{background:var(--paper)}.suggestion-shelf [data-shelf-books]{background:color-mix(in srgb,var(--paper) 76%,transparent)}.suggestion-row.nested{margin:.3125rem 0 0}.all-results{position:sticky;bottom:0;display:flex;justify-content:center;padding:.625rem .75rem;border-radius:.25rem;background:var(--ink);color:var(--paper);text-decoration:none;font-size:.6875rem}.search-empty{display:grid;gap:.25rem;padding:1.375rem}.search-empty strong{color:var(--ink)}.search-empty span{font-size:.6875rem}.lexicon-categories{display:flex;flex-wrap:wrap;gap:.3125rem;margin-top:.5rem}.lexicon-categories button{min-height:1.8125rem;padding:.3125rem .625rem;border:.0625rem solid var(--line);border-radius:62.4375rem;background:var(--surface);color:var(--ink);font-size:.6875rem;font-weight:700}.lexicon-categories button.active{background:var(--ink);color:var(--paper)}.lexicon-entry>summary>span{display:flex;align-items:center;justify-content:flex-end;gap:.375rem}.lexicon-entry>summary>span i{padding:.1875rem .4375rem;border-radius:62.4375rem;background:var(--paper);color:var(--ink);font-style:normal;font-size:.5625rem;font-weight:700}.lexicon-entry>summary>span small{color:var(--muted);font-size:.625rem}@media (max-width:38.75rem){html:not([data-theme="dark"]){--paper:#fff;--surface:#fff}html:not([data-theme="dark"]) body{background:#fff}.search-page-form>.search-results{left:-.125rem;right:-.125rem;max-height:calc(100vh - 9.625rem);padding:.375rem;border-radius:.25rem;background:#fff}html[data-theme="dark"] .search-page-form>.search-results{background:var(--surface)}.search-group{padding:.375rem;border-radius:.25rem}.search-book-grid{grid-template-columns:1fr}.suggestion-book,.suggestion-hit{padding:.625rem}.suggestion-book strong,.suggestion-hit strong{white-space:normal}.lexicon-tools{top:calc(var(--header-h)+.25rem);padding:.4375rem;border-radius:.25rem}.lexicon-categories,.alphabet{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.125rem;scrollbar-width:none}.lexicon-categories::-webkit-scrollbar,.alphabet::-webkit-scrollbar{display:none}.lexicon-categories button,.alphabet button{flex:0 0 auto}.lexicon-entry>summary>span{justify-content:flex-start;flex-wrap:wrap}}:where(h1,h2,h3,h4,.book-title,.shelf-title,.chapter-title,.fold>summary,strong){hyphens:auto;overflow-wrap:break-word;word-break:normal}@media (max-width:38.75rem){.word-web-search{grid-template-columns:1fr}.word-provider-switch,.word-web-search small{grid-column:1}.word-external-primary,.word-external-wiki{width:100%}}html{hyphens:auto}@media (max-width:40rem){html:not([data-theme="dark"]) body{background:#fff}.quiet-head{min-height:9.25rem;padding:1.15rem}.quiet-head h1{font-size:clamp(2rem,12vw,3.35rem);line-height:.9}.search-dropdown{max-height:min(64vh,35rem)}}.quiet-head{grid-template-columns:minmax(0,1fr) auto;min-height:9.375rem;padding:clamp(1.375rem,3.4vw,2.375rem)}.library-head,.shelf-head{grid-template-columns:minmax(0,1fr)}.quiet-head h1{max-width:100%;overflow-wrap:anywhere;hyphens:auto}.library-window{min-height:15.625rem;padding:1.5rem}.window-copy{margin-top:auto}.theme-toggle{width:auto;min-width:3.625rem;height:2.125rem;padding:0 .6875rem;border-radius:62.4375rem;font-size:.6875rem;font-weight:760;letter-spacing:.01em}.check-mark{display:block;width:.875rem;height:.875rem;border:.09375rem solid currentColor;border-radius:.25rem;position:relative}.check-control[aria-checked="true"] .check-mark::after{content:"";position:absolute;left:.1875rem;top:0;width:.3125rem;height:.5625rem;border-right:.125rem solid currentColor;border-bottom:.125rem solid currentColor;transform:rotate(42deg)}@media (max-width:45rem){html[data-theme="light"] body{background:linear-gradient(to top,#f1f1ed 0%,#f8f8f5 38%,#fff 100%);background-attachment:fixed}.page-shell{width:min(100% - 1.25rem,var(--page));padding-top:1rem}.quiet-head{min-height:7.875rem;padding:1.25rem;border-radius:.25rem}.quiet-head h1{font-size:clamp(2rem,11vw,3.25rem);line-height:.94}.library-windows{grid-template-columns:1fr;gap:.75rem}.library-window{min-height:12.8125rem;padding:1.25rem;border-radius:.25rem}.window-copy strong{font-size:clamp(1.55rem,8vw,2.15rem)}.book-grid{grid-template-columns:1fr 1fr;gap:.5625rem}.book-card{min-height:10.5rem;padding:.9375rem}.book-card>strong{font-size:1.08rem;line-height:1.08}.subject-row{grid-template-columns:1.875rem minmax(0,1fr) auto;padding:.6875rem .75rem}.subject-row .progress-meter{grid-column:2 / -1;max-width:none}}@media (max-width:26.25rem){.book-grid{grid-template-columns:1fr}.main-nav a{padding-inline:.5rem}.main-nav span{font-size:.6875rem}.brand{font-size:.8125rem}.theme-toggle{min-width:3.25rem;padding-inline:.5625rem}}.main-nav a svg{display:block !important;width:1.125rem;height:1.125rem;flex:0 0 auto}.main-nav a{gap:.4375rem}.sitemap-tree{display:grid;gap:.75rem;margin-top:.875rem}.sitemap-shelf>summary{font-size:1.08rem}.sitemap-branch{display:grid;gap:.5rem;padding-top:.75rem}.sitemap-node{border:.0625rem solid var(--line);border-radius:.25rem;background:color-mix(in srgb,var(--surface) 92%,transparent);overflow:hidden}.sitemap-node>summary{list-style:none;display:grid;grid-template-columns:2rem minmax(0,1fr) auto 1.5rem;align-items:center;gap:.5625rem;padding:.625rem .75rem;cursor:pointer}.sitemap-node>summary::-webkit-details-marker{display:none}.sitemap-node>summary::after{content:"+";grid-column:4;font-size:1.0625rem;color:var(--muted);text-align:center}.sitemap-node[open]>summary::after{content:"−"}.sitemap-node[open]>summary{background:linear-gradient(90deg,color-mix(in srgb,var(--cyan-b) 18%,var(--surface)),var(--surface))}.sitemap-number{color:var(--muted);font-size:.6875rem;font-variant-numeric:tabular-nums}.sitemap-count{color:var(--muted);font-size:.6875rem;white-space:nowrap}.sitemap-node-body{padding:.5rem .75rem .75rem 2.75rem;border-top:.0625rem solid var(--line)}.sitemap-parent-link{display:inline-flex;margin-bottom:.4375rem;font-size:.75rem;font-weight:700;text-decoration:none}.sitemap-leaf-list{display:grid;gap:.125rem}.sitemap-leaf{display:block;padding:.375rem .5rem;border-radius:.25rem;color:var(--ink);text-decoration:none;font-size:.8125rem;line-height:1.35;overflow-wrap:anywhere;hyphens:auto}.sitemap-leaf:hover{background:var(--soft)}.sitemap-leaf.level-2{padding-left:1.125rem}.sitemap-leaf.level-3{padding-left:1.875rem;font-size:.78125rem}.sitemap-leaf.level-4,.sitemap-leaf.level-5,.sitemap-leaf.level-6{padding-left:2.625rem;font-size:.75rem;color:var(--muted)}.sitemap-legal{margin-top:1rem}@media (max-width:38.75rem){.site-header{position:sticky;top:0}.header-shell{gap:.375rem}.main-nav{margin-left:auto}.main-nav a{display:flex;min-width:2.5rem;min-height:2.375rem;padding:.4375rem .5625rem;border-radius:.25rem}.main-nav a span{display:none}.main-nav a svg{width:1.25rem;height:1.25rem}.theme-toggle{min-width:2.875rem;padding-inline:.5rem}.sitemap-node>summary{grid-template-columns:1.6875rem minmax(0,1fr) 1.5rem;gap:.4375rem;padding:.625rem}.sitemap-node>summary .sitemap-count{grid-column:2;font-size:.625rem}.sitemap-node>summary::after{grid-column:3;grid-row:1 / 3}.sitemap-node-body{padding:.5rem .5625rem .625rem 2rem}.sitemap-leaf{padding-block:.375rem}}.origin-badge.teaching{background:color-mix(in srgb,var(--surface) 82%,var(--lime-b));color:var(--ink);border-color:color-mix(in srgb,var(--line) 70%,var(--lime-c))}.teaching-material-block{margin-top:1.5rem;padding:clamp(1rem,2.5vw,1.5rem);border:.0625rem solid color-mix(in srgb,var(--line) 72%,var(--lime-c));border-radius:.25rem;background:linear-gradient(145deg,color-mix(in srgb,var(--paper) 94%,var(--lime-a)),color-mix(in srgb,var(--surface) 96%,var(--yellow-a)) 68%,var(--surface));box-shadow:0 .875rem 2.125rem rgba(35,39,31,.065)}.teaching-material-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:1rem;margin-bottom:1rem}.teaching-material-head .content-label{margin-bottom:.5rem}.material-intro{margin:0;max-width:76ch;color:var(--muted);font-size:.8125rem;line-height:1.55}.material-topic-count,.material-source-count{display:inline-flex;align-items:center;justify-content:center;min-height:1.75rem;padding:.3125rem .5625rem;border:.0625rem solid var(--line);border-radius:62.4375rem;background:color-mix(in srgb,var(--paper) 86%,transparent);color:var(--muted);font-size:.625rem;font-weight:760;white-space:nowrap}.material-summary-main{min-width:0;display:flex;align-items:center;gap:.6875rem}.material-sequence{display:grid;place-items:center;flex:0 0 auto;width:1.9375rem;height:1.9375rem;border-radius:.25rem;background:var(--paper);color:var(--muted);font-size:.625rem;font-weight:820;font-variant-numeric:tabular-nums}.material-source-card{overflow:hidden;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface)}.material-source-heading{padding:.625rem .75rem;border-bottom:.0625rem solid var(--line);background:color-mix(in srgb,var(--paper) 72%,var(--surface))}.material-source-heading h4{margin:0;font-size:.6875rem;font-weight:790;color:var(--muted)}.material-document-list{display:grid}.material-document-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.625rem .75rem;font-size:.75rem;line-height:1.35}.material-document-row+.material-document-row{border-top:.0625rem solid var(--line)}.material-document-row span{min-width:0;font-weight:690;overflow-wrap:anywhere}.material-document-row time{color:var(--muted);font-size:.6875rem;font-variant-numeric:tabular-nums;white-space:nowrap}.material-learning-frame{max-width:none;margin-top:.875rem;padding:clamp(1rem,2.6vw,1.5rem);border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface)}.material-learning-frame>:first-child{margin-top:0}.material-learning-frame>:last-child{margin-bottom:0}.material-learning-frame h3{padding-bottom:.5rem;border-bottom:.0625rem solid color-mix(in srgb,var(--line) 76%,transparent)}.material-learning-frame h4{color:color-mix(in srgb,var(--ink) 88%,var(--muted))}.source-fold{margin:.875rem 0 0;padding:0 .75rem;border:.0625rem solid var(--line);border-radius:.25rem;background:color-mix(in srgb,var(--surface) 94%,var(--paper))}.source-fold>summary{padding:.6875rem 0;font-size:.75rem}.source-fold>div{padding-bottom:.8125rem}.source-list{margin:0;padding-left:1.25rem;display:grid;gap:.625rem}.source-list li a{overflow-wrap:anywhere}.source-list li span{display:block;margin-top:.125rem;color:var(--muted);font-size:.6875rem}.material-crosslinks{margin-top:1rem}@media (max-width:45rem){.teaching-material-block{padding:.875rem;border-radius:.25rem}.teaching-material-head{grid-template-columns:1fr;gap:.625rem}.material-topic-count{justify-self:start}.material-source-count{grid-column:1;justify-self:start;margin-left:2.625rem}.material-sequence{width:1.9375rem;height:1.9375rem}.material-document-row{grid-template-columns:1fr;gap:.1875rem}.material-learning-frame{padding:1rem .875rem}}@media (max-width:24.375rem){.header-shell{grid-template-columns:auto 1fr}.brand{display:inline-block}.header-search{display:none}}@media print{.teaching-material-block{padding:3mm}.material-source-card{margin-bottom:2mm}.material-learning-frame{margin-top:2mm;padding:3mm}}@media screen{html[data-theme="dark"],html[data-theme="dark"] body{background:#000}}.header-source{margin-top:.625rem !important}.header-source a{font-size:.75rem;font-weight:720;text-underline-offset:.1875rem}.source-citation{margin-top:.875rem !important;padding-top:.625rem;border-top:.0625rem solid var(--line);color:var(--muted);font-size:.6875rem;line-height:1.45}.source-citation cite{font-style:normal}.source-citation a{font-weight:700}.material-chapter{--chapter-accent:var(--cyan-c)}.source-chapter{--chapter-accent:var(--lime-c)}.qa-check-list{display:grid;gap:0;margin-top:.875rem;border-top:.0625rem solid var(--line)}.qa-check-row{display:grid;grid-template-columns:1.75rem minmax(0,1fr);gap:.5rem;align-items:start;padding:.5rem 0;border-bottom:.0625rem solid var(--line);font-size:.75rem}.learning-material-section{margin-top:.75rem}.material-learning-frame{margin:0;padding:0;border:0;border-radius:.25rem;background:transparent}.origin-badge,.keyword-block,.material-topic-count,.material-source-count,.material-sequence{display:none !important}.top-link{margin-left:auto;min-width:3.625rem;height:2.125rem;padding:0 .6875rem;display:inline-flex;align-items:center;justify-content:center;border:.0625rem solid var(--line);border-radius:62.4375rem;background:var(--surface);font-size:.6875rem;font-weight:760}@media (max-width:45rem){.material-chapter>summary::after{display:none}.material-chapter>summary .chapter-status{grid-column:3}}@media (max-width:24.375rem){.header-shell{grid-template-columns:auto 1fr}.brand{display:inline-block}.header-search{display:none}}@media print{}.source-chapter{--chapter-accent:var(--lime-c)}.chapter-hours{color:var(--muted);font-size:.625rem;font-weight:690;white-space:nowrap}.material-learning-frame{margin:0;padding:0;border:0;background:transparent}.origin-badge,.keyword-block,.keyword-chips,.material-topic-count,.material-source-count,.material-sequence,.material-crosslinks{display:none !important}.wiki-note,.lexicon-note{margin-top:1rem}.lexicon-entry>summary{grid-template-columns:minmax(0,1fr) auto 1.875rem}.lexicon-entry>summary .chapter-status{grid-column:3}.top-link{margin-left:auto;min-width:3.625rem;height:2.125rem;padding:0 .6875rem;display:inline-flex;align-items:center;justify-content:center;border:.0625rem solid var(--line);border-radius:62.4375rem;background:var(--surface);color:var(--ink);font-size:.6875rem;font-weight:760;line-height:1}@media (max-width:45rem){.material-chapter>summary::after{display:none}.chapter-hours{font-size:.5625rem}.lexicon-entry>summary{grid-template-columns:minmax(0,1fr) 1.875rem}.lexicon-entry>summary>span:not(.chapter-status){grid-column:1}.lexicon-entry>summary .chapter-status{grid-column:2;grid-row:1 / 3}}@media (max-width:24.375rem){.header-shell{grid-template-columns:auto 1fr}.brand{display:inline-block}.header-search{display:none}}@media print{}@media (max-width:35rem){}.footer-inner{width:min(var(--page),calc(100% - 1.75rem));margin:0 auto;padding:.75rem 0 1.125rem;display:grid;justify-items:center;gap:.625rem}.footer-inner .footer-nav{width:100%;min-height:2.125rem;justify-content:center;margin:0}.footer-top-link{margin:0}.footer-status{width:min(38.75rem,100%);border:.0625rem solid var(--line);border-radius:62.4375rem;background:var(--surface);color:var(--muted);font-size:.6875rem;overflow:hidden}.footer-status>summary{padding:.5625rem .875rem;text-align:center;cursor:pointer;font-weight:700;list-style:none}.footer-status>summary::-webkit-details-marker{display:none}.footer-status>div{padding:0 .875rem .75rem;text-align:center;line-height:1.55}html[data-theme="dark"] .footer-status{background:#000}@media (max-width:53.125rem){.footer-inner{width:calc(100% - 1.5rem);padding-bottom:1.375rem}.footer-inner .footer-nav{flex-wrap:wrap;text-align:center;gap:.875rem}.footer-status{border-radius:.25rem}}.material-learning-frame{display:grid;gap:.625rem}.material-section-body,.material-topic-body{padding:.6875rem .75rem .875rem}.material-topic-group{border:0;background:transparent;overflow:visible}.material-topic-group>h4{margin:.25rem 0 .5rem;font-size:.875rem}.material-topic-body>:first-child,.material-section-body>:first-child{margin-top:0}.material-topic-body>:last-child,.material-section-body>:last-child{margin-bottom:0}.material-learning-frame table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;-webkit-overflow-scrolling:touch}.material-learning-frame th,.material-learning-frame td{min-width:7rem;vertical-align:top}.material-learning-frame ul,.material-learning-frame ol{padding-inline-start:1.25rem}.material-learning-frame li{margin:.28em 0}@media (max-width:35rem){.material-section-body,.material-topic-body{padding:.625rem}.material-learning-frame{font-size:.875rem;line-height:1.52}}.check-dashboard{margin-top:.875rem;padding:1rem;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface)}.check-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.check-dashboard-head h2{margin:0 0 .25rem;font-size:1.125rem}.check-statistics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:.875rem 0}.check-statistics>div{padding:.75rem;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface)}.check-statistics strong{display:block;font-size:1.25rem;line-height:1.1}.check-statistics span{display:block;margin-top:.25rem;color:var(--muted);font-size:.6875rem}.check-tree{display:grid;gap:.5625rem}.check-tree-shelf,.check-tree-book{border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface);overflow:hidden}.check-tree-shelf>summary,.check-tree-book>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:3.125rem;padding:.6875rem .8125rem}.check-tree-shelf>summary::-webkit-details-marker,.check-tree-book>summary::-webkit-details-marker{display:none}.check-tree-shelf>summary::after,.check-tree-book>summary::after{content:"+";color:var(--muted);font-size:1.0625rem}.check-tree-shelf[open]>summary::after,.check-tree-book[open]>summary::after{content:"−"}.check-tree-shelf>summary>span{margin-left:auto;color:var(--muted);font-size:.6875rem}.check-tree-shelf-body{display:grid;gap:.5rem;padding:.5625rem;border-top:.0625rem solid var(--line)}.check-tree-book>summary{min-height:2.875rem}.check-tree-book>summary>span{min-width:0;display:grid;gap:.125rem}.check-tree-book>summary strong{overflow-wrap:anywhere}.check-tree-book>summary small{color:var(--muted);font-weight:500}.check-tree-book-body{padding:.625rem;border-top:.0625rem solid var(--line)}.check-book-link{margin-bottom:.625rem;text-decoration:none}.check-tree-items{display:grid;gap:0;border-top:.0625rem solid var(--line)}.check-tree-item{display:grid;grid-template-columns:1.875rem minmax(0,1fr);gap:.5rem;align-items:start;padding:.5625rem 0;border-bottom:.0625rem solid var(--line);font-size:.75rem}.check-tree-item>span{min-width:0;overflow-wrap:anywhere}.check-tree-item small{display:block;margin-bottom:.125rem;color:var(--muted);font-size:.625rem}.check-tree-item.is-done>span{color:var(--muted)}html[data-theme="dark"] .check-dashboard,html[data-theme="dark"] .check-statistics>div,html[data-theme="dark"] .check-tree-shelf,html[data-theme="dark"] .check-tree-book,html[data-theme="dark"] .check-tree-shelf-body,html[data-theme="dark"] .check-tree-book-body{background:#000;background-image:none}@media (max-width:45rem){.check-dashboard{padding:.6875rem}.check-statistics{grid-template-columns:repeat(2,minmax(0,1fr))}.check-tree-shelf>summary,.check-tree-book>summary{padding:.625rem}}@media (max-width:24.375rem){.header-shell{grid-template-columns:auto 1fr}.brand{display:inline-block}.header-search{display:none}}@media print{.check-dashboard{display:none !important}}.responsive-table{width:100%;max-width:100%;margin:.75rem 0 1rem;overflow-x:auto;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface);-webkit-overflow-scrolling:touch}.responsive-table table,.material-learning-frame .responsive-table table{display:table;width:100%;min-width:38rem;margin:0;overflow:visible;border-collapse:collapse;background:transparent}.responsive-table th,.responsive-table td,.material-learning-frame .responsive-table th,.material-learning-frame .responsive-table td{min-width:0;padding:.625rem .75rem;border:0;border-right:.0625rem solid var(--line);border-bottom:.0625rem solid var(--line);text-align:left;vertical-align:top;overflow-wrap:normal;word-break:normal;hyphens:auto}.responsive-table th:last-child,.responsive-table td:last-child{border-right:0}.responsive-table tbody tr:last-child td{border-bottom:0}.responsive-table thead th{background:color-mix(in srgb,var(--accent) 12%,var(--surface));font-size:.88em;font-weight:760}.responsive-table tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--ink) 2.5%,var(--surface))}html[data-theme="dark"] .responsive-table,html[data-theme="dark"] .responsive-table thead th,html[data-theme="dark"] .responsive-table tbody td{background:#000;background-image:none}html[data-theme="dark"] .responsive-table thead th{background:color-mix(in srgb,var(--accent) 14%,#000)}@media (max-width:35rem){.responsive-table{margin:.625rem 0 .875rem;border-radius:.25rem}.responsive-table table,.material-learning-frame .responsive-table table{min-width:34rem;font-size:.78125rem}.responsive-table th,.responsive-table td,.material-learning-frame .responsive-table th,.material-learning-frame .responsive-table td{padding:.5625rem .625rem}}@media (max-width:24.375rem){.header-shell{grid-template-columns:auto 1fr}.brand{display:inline-block}.header-search{display:none}}@media print{.responsive-table{overflow:visible;border-color:#bbb}.responsive-table table,.material-learning-frame .responsive-table table{min-width:0;font-size:9pt}}html{background:var(--paper);scrollbar-gutter:stable}html[data-theme="dark"],html[data-theme="dark"] body{background-color:#000}body{min-height:100dvh}.site-header{padding-top:env(safe-area-inset-top,0)}.theme-toggle{width:4.25rem;min-width:4.25rem;height:2.25rem;border-radius:62.4375rem;white-space:nowrap;font-variant-numeric:tabular-nums}html[data-theme="dark"] .site-header,html[data-theme="dark"] .header-shell,html[data-theme="dark"] .main-nav a,html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] footer,html[data-theme="dark"] .footer-inner{background-color:#000;background-image:none}@media (max-width:45rem){.site-header{top:0}.header-shell{min-height:3.625rem}.theme-toggle{width:4rem;min-width:4rem}}.consent-dialog{width:min(40.625rem,calc(100% - 1.5rem));padding:clamp(1.25rem,4vw,1.875rem)}.consent-kicker{margin:0 0 .3125rem;color:var(--muted);font-size:.6875rem;font-weight:820;letter-spacing:.08em;text-transform:uppercase}.consent-intro{margin:0 0 1.125rem;color:var(--muted);line-height:1.55}.consent-options{display:grid;gap:.6875rem}.consent-option{display:block;padding:.9375rem;border:.0625rem solid var(--line);border-radius:.25rem;background:color-mix(in srgb,var(--surface) 92%,var(--paper));cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.consent-option:hover{border-color:color-mix(in srgb,var(--line) 50%,var(--lime-c));box-shadow:0 .5rem 1.5rem rgba(0,0,0,.055)}.consent-option-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;align-items:start}.consent-option input{width:1.3125rem;height:1.3125rem;margin:.0625rem 0 0;accent-color:var(--ink)}.consent-option strong{display:block;margin-bottom:.25rem;font-size:.875rem}.consent-option small{display:block;color:var(--muted);line-height:1.45}.consent-option-detail{display:block;margin:.8125rem 0 0 2.0625rem;padding-top:.75rem;border-top:.0625rem solid var(--line)}.consent-option-detail[hidden]{display:none}.consent-option-detail .confirm-row{margin:0 0 .4375rem}.consent-option-detail .confirm-row input{width:1.125rem;height:1.125rem}.consent-privacy{margin:.875rem 0 0;color:var(--muted);font-size:.75rem}.consent-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.5625rem;margin-top:1.125rem}.consent-essential{background:var(--surface);color:var(--ink)}.consent-save{background:var(--ink);color:var(--paper)}.consent-error{margin:.625rem 0 0;padding:.625rem .75rem;border-radius:.25rem;background:color-mix(in srgb,#d74b4b 10%,var(--surface));color:color-mix(in srgb,#d74b4b 72%,var(--ink));font-size:.75rem}html[data-theme="dark"] .consent-option{background:#090909}@media (max-width:35rem){.consent-dialog{max-height:calc(100dvh - 1.125rem);border-radius:.25rem}.consent-actions{display:grid;grid-template-columns:1fr}.consent-actions .button-chip{width:100%;min-height:2.75rem}}@supports (padding-top:env(safe-area-inset-top)){html[data-theme="dark"] body::before{content:"";position:fixed;z-index:1098;inset:0 0 auto 0;height:env(safe-area-inset-top);background:#000;pointer-events:none}html[data-theme="dark"] .site-header{background:#000;background-image:none}}html,body{background:#ffffff}body{min-width:0}.site-shell,main,.page-shell,.content-shell,.site-main{background:transparent}html[data-theme="dark"],html[data-theme="dark"] body{background:#000000 !important}.header-search{width:min(28.75rem,100%)}.header-search input{height:2.25rem;padding:.4375rem .75rem;border-radius:.25rem;background:var(--surface)}.header-search input::placeholder{color:var(--muted)}@media (max-width:47.5rem){.header-shell{grid-template-columns:auto minmax(0,1fr) auto !important;gap:.375rem}.header-search{display:block !important;width:100%;min-width:0}.header-search input{height:2.125rem;width:100%;min-width:0;padding:.4375rem .625rem}.main-nav{justify-self:end}}button,.button,.btn,.chip,.tag,.pill,input,textarea,select,details,summary,.card,.panel,.window,.chapter,.subchapter{border-radius:.25rem !important}:root{--page:61.25rem;--space-1:.5rem;--space-2:1rem;--space-3:1.5rem;--space-4:2rem;--guide-plan:#6e8f73;--guide-material:#c49a45;--guide-question:#6f86a8;--guide-answer:#7f9f78;--guide-note:#8a7ca8;--guide-neutral:#a8a8a2;--chapter-gradient-light:linear-gradient(180deg,#ffffff 0%,#f7f7f4 100%);--chapter-gradient-dark:linear-gradient(180deg,#080808 0%,#020202 100%)}body{line-height:1.6}main,.site-main,.page-shell,.content-shell,.library-shell,.reading-shell{width:min(var(--page),calc(100% - 2rem));margin-inline:auto}section,.card,.panel,.window,.chapter,.subchapter,details,.reader-section,.book-section{margin-block:var(--space-2)}.card,.panel,.window,.chapter,.subchapter,.reader-section,.book-section,details{padding:var(--space-2)}.chapter,.reader-section,.book-section,details.chapter,details.reader-section{background:var(--chapter-gradient-light);border:.0625rem solid var(--line)}.chapter[open],.reader-section[open],.book-section[open],details.chapter[open],details.reader-section[open]{border-left:.1875rem solid var(--chapter-accent,var(--guide-neutral))}.chapter-header,.subchapter-header,summary,.card-header,.panel-header,.window-header{min-height:2.625rem;display:flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2)}.chapter-content,.subchapter-content,.details-content,.reader-content{padding:var(--space-2)}.chapter--plan,[data-section-type="plan"],[data-kind="plan"]{--chapter-accent:var(--guide-plan)}.chapter--material,[data-section-type="material"],[data-kind="material"]{--chapter-accent:var(--guide-material)}.chapter--questions,[data-section-type="questions"],[data-kind="questions"]{--chapter-accent:var(--guide-question)}.answer,.answer-box,[data-section-type="answer"],[data-kind="answer"]{border-left:.1875rem solid var(--guide-answer);background:linear-gradient(180deg,#fbfdf9 0%,#f3f7f0 100%)}.note,.note-box,[data-section-type="note"],[data-kind="note"]{border-left:.1875rem solid var(--guide-note)}.source,.source-box,.hint,.hint-box,[data-section-type="source"],[data-kind="source"],[data-section-type="hint"],[data-kind="hint"]{border-left:.1875rem solid var(--guide-neutral)}.hero,.hero-lime,.book-hero,.library-hero{margin-bottom:var(--space-3)}button,.button,.btn,.button-chip,.chip,input,select,textarea{min-height:2.25rem;padding:.4375rem .75rem}.header-shell,.footer-shell,.site-footer-inner{gap:var(--space-2)}.site-footer{padding-block:var(--space-3)}@media (max-width:47.5rem){:root{--space-2:.875rem;--space-3:1.25rem;--space-4:1.75rem}main,.site-main,.page-shell,.content-shell,.library-shell,.reading-shell{width:min(var(--page),calc(100% - 1.25rem))}.card,.panel,.window,.chapter,.subchapter,.reader-section,.book-section,details{padding:var(--space-2)}}html[data-theme="dark"] .chapter,html[data-theme="dark"] .reader-section,html[data-theme="dark"] .book-section,html[data-theme="dark"] details.chapter,html[data-theme="dark"] details.reader-section{background:var(--chapter-gradient-dark)}html[data-theme="dark"] .answer,html[data-theme="dark"] .answer-box,html[data-theme="dark"] [data-section-type="answer"],html[data-theme="dark"] [data-kind="answer"]{background:linear-gradient(180deg,#071007 0%,#020502 100%)}@media print{:root{--chapter-gradient-light:none;--chapter-gradient-dark:none}html,body,main,.site-main,.page-shell,.content-shell,.library-shell,.reading-shell,.hero,.hero-lime,.book-hero,.library-hero,.chapter,.reader-section,.book-section,details,.answer,.answer-box,.note,.note-box,.source,.source-box,.hint,.hint-box{background:#ffffff !important;background-image:none !important;box-shadow:none !important}.chapter,.reader-section,.book-section,details,.answer,.answer-box,.note,.note-box,.source,.source-box,.hint,.hint-box{border-color:#bdbdbd !important;border-left-width:.0625rem !important}}:root{--space-unit:1rem;--radius:.25rem;--shelf-bg:linear-gradient(180deg,#ffffff 0%,#f4f4f2 100%);--shelf-bg-dark:linear-gradient(180deg,#090909 0%,#020202 100%)}main,.site-main,.page-shell,.content-shell,.library-shell,.reading-shell{padding-block:var(--space-unit)}section,.card,.panel,.window,.chapter,.subchapter,details,.reader-section,.book-section,.library-window,.shelf,.book-shelf,.library-shelf{margin:0 0 var(--space-unit) 0 !important}.card,.panel,.window,.chapter,.subchapter,details,.reader-section,.book-section,.library-window,.shelf,.book-shelf,.library-shelf{padding:var(--space-unit) !important}*,*::before,*::after{border-radius:.25rem !important}input[type="checkbox"],input[type="radio"]{border-radius:.125rem !important}svg,img{border-radius:0 !important}.library-windows,.library-window,.shelf,.book-shelf,.library-shelf,.shelf-section,.shelf-card,[data-shelf],[data-library-window]{background:var(--shelf-bg) !important;background-image:var(--shelf-bg) !important;border-color:var(--line) !important;box-shadow:none !important}.library-window *,.shelf *,.book-shelf *,.library-shelf *,.shelf-section *,.shelf-card *{--chapter-accent:var(--guide-neutral) !important}.library-window,.shelf,.book-shelf,.library-shelf,.shelf-section,.shelf-card{border-left-color:var(--line) !important;border-right-color:var(--line) !important}.home-intro{max-width:var(--page);margin:0 auto var(--space-unit) !important;padding:.625rem var(--space-unit) !important;border:.0625rem solid var(--line);background:#ffffff !important}.home-intro p{margin:0 !important}.chapter-header,.subchapter-header,summary,.card-header,.panel-header,.window-header,.chapter-content,.subchapter-content,.details-content,.reader-content{padding:.625rem var(--space-unit) !important}html[data-theme="dark"] .library-windows,html[data-theme="dark"] .library-window,html[data-theme="dark"] .shelf,html[data-theme="dark"] .book-shelf,html[data-theme="dark"] .library-shelf,html[data-theme="dark"] .shelf-section,html[data-theme="dark"] .shelf-card{background:var(--shelf-bg-dark) !important;background-image:var(--shelf-bg-dark) !important}html[data-theme="dark"] .home-intro{background:#000000 !important}@media print{.library-windows,.library-window,.shelf,.book-shelf,.library-shelf,.shelf-section,.shelf-card,.home-intro{background:#ffffff !important;background-image:none !important}}.header-search{position:relative;z-index:95}.header-search-results{position:absolute;top:calc(100%+.375rem);left:0;right:0;width:min(45rem,calc(100vw - 1.5rem));max-height:min(70vh,38.75rem);overflow:auto;padding:.5rem;border:.0625rem solid var(--line);border-radius:.25rem !important;background:var(--surface);box-shadow:0 .75rem 1.875rem rgba(0,0,0,.12)}.header-search-results[hidden]{display:none !important}.header-search-results .search-group{margin:0 0 .5rem !important;padding:0 !important}.header-search-results .search-group:last-child{margin-bottom:0 !important}.header-search-results .search-group-head,.header-search-results .suggestion-book,.header-search-results .suggestion-hit,.header-search-results .suggestion-row,.header-search-results .all-results{border-radius:.25rem !important}.template-suche .quiet-head{margin-bottom:1rem !important}.template-suche .full-search{margin-top:0 !important}@media (max-width:47.5rem){.header-search-results{position:fixed;top:calc(var(--header-h)+env(safe-area-inset-top,0)+.375rem);left:.625rem;right:.625rem;width:auto;max-height:calc(100dvh - var(--header-h) - env(safe-area-inset-top,0) - 1.25rem)}}.reading-shell,.book-page,.book-content,.chapter-list,.reader-sections,.book-sections{width:100%}.chapter,.reader-section,.book-section,details.chapter,details.reader-section,details.book-section{margin:0 0 .75rem 0 !important;padding:0 !important;border:.0625rem solid var(--line) !important;background:var(--chapter-gradient-light) !important;box-shadow:none !important}.chapter[open],.reader-section[open],.book-section[open],details.chapter[open],details.reader-section[open],details.book-section[open]{border-left:.1875rem solid var(--chapter-accent,var(--guide-neutral)) !important}.chapter-header,.reader-section>summary,.book-section>summary,details.chapter>summary,details.reader-section>summary,details.book-section>summary{margin:0 !important;padding:.625rem .875rem !important}.chapter-content,.reader-content,.book-section-content,details.chapter>.details-content,details.reader-section>.details-content,details.book-section>.details-content{padding:0 .875rem .875rem !important}.subchapter,.subsection,.chapter .subchapter,.reader-section .subchapter,.book-section .subchapter,details details{margin:.5rem 0 0 0 !important;padding:0 !important;border:0 !important;border-top:.0625rem solid var(--line) !important;background:transparent !important;box-shadow:none !important}.subchapter>summary,.subsection>summary,details details>summary{padding:.5625rem 0 !important;min-height:2.375rem;background:transparent !important}.subchapter-content,.subsection-content,details details>.details-content{padding:0 0 .625rem !important}.answer,.answer-box,.note,.note-box,.source,.source-box,.hint,.hint-box,.info-box,.callout{margin:.625rem 0 !important;padding:.625rem .75rem !important;border-top:0 !important;border-right:0 !important;border-bottom:0 !important;box-shadow:none !important}.chapter-content>*,.reader-content>*,.book-section-content>*{max-width:none !important;margin-left:0 !important;margin-right:0 !important}@media (max-width:47.5rem){.reading-shell,.book-page,.book-content{width:calc(100% - .75rem) !important}.chapter-header,.reader-section>summary,.book-section>summary,details.chapter>summary,details.reader-section>summary,details.book-section>summary{padding:.5625rem .625rem !important}.chapter-content,.reader-content,.book-section-content,details.chapter>.details-content,details.reader-section>.details-content,details.book-section>.details-content{padding:0 .625rem .625rem !important}.subchapter,.subsection,.chapter .subchapter,.reader-section .subchapter,.book-section .subchapter,details details{margin-top:.375rem !important}.answer,.answer-box,.note,.note-box,.source,.source-box,.hint,.hint-box,.info-box,.callout{padding:.5625rem .625rem !important}}html[data-theme="dark"] .chapter,html[data-theme="dark"] .reader-section,html[data-theme="dark"] .book-section,html[data-theme="dark"] details.chapter,html[data-theme="dark"] details.reader-section,html[data-theme="dark"] details.book-section{background:var(--chapter-gradient-dark) !important}@media print{.chapter,.reader-section,.book-section,details.chapter,details.reader-section,details.book-section,.subchapter,.subsection,details details{background:#ffffff !important;background-image:none !important;box-shadow:none !important}}html[data-theme="dark"]{--paper:#000000;--surface:#000000;--surface-soft:rgba(0,0,0,.96)}.site-header{background:#ffffff !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important}html[data-theme="dark"] .site-header{background:#000000 !important}html[data-theme="dark"] .consent-panel,html[data-theme="dark"] .consent-status-row,html[data-theme="dark"] .consent-manage,html[data-theme="dark"] .consent-manage>div,html[data-theme="dark"] .notes-dashboard,html[data-theme="dark"] .note-card,html[data-theme="dark"] .check-dashboard,html[data-theme="dark"] .check-statistics>div,html[data-theme="dark"] .check-tree-shelf,html[data-theme="dark"] .check-tree-book,html[data-theme="dark"] .check-tree-shelf-body,html[data-theme="dark"] .check-tree-book-body{background:#000000 !important;background-image:none !important;color:var(--ink) !important}.library-windows{gap:1rem !important}.library-window,.library-window.card-lime,.library-window.card-rose,.library-window.card-cyan{background:linear-gradient(180deg,#ffffff 0%,#f6f6f4 100%) !important;background-image:linear-gradient(180deg,#ffffff 0%,#f6f6f4 100%) !important;border:.0625rem solid var(--line) !important;box-shadow:none !important;padding:1rem !important;margin:0 !important}html[data-theme="dark"] .library-window,html[data-theme="dark"] .library-window.card-lime,html[data-theme="dark"] .library-window.card-rose,html[data-theme="dark"] .library-window.card-cyan{background:linear-gradient(180deg,#070707 0%,#000000 100%) !important;background-image:linear-gradient(180deg,#070707 0%,#000000 100%) !important}.home-only{min-height:0 !important;margin:1rem auto !important;padding:.75rem 1rem !important;background:#ffffff !important}html[data-theme="dark"] .home-only{background:#000000 !important}.site-footer{padding:1rem 0 calc(1rem+env(safe-area-inset-bottom,0)) !important}.footer-inner{width:min(var(--page),calc(100% - 1.5rem)) !important;padding:0 !important;gap:.625rem !important}.footer-inner .footer-nav{min-height:0 !important;gap:.75rem !important}.footer-theme-toggle,.footer-top-link{min-height:2.125rem !important;height:2.125rem !important;padding:.375rem .625rem !important;margin:0 !important}.footer-status{width:auto !important;max-width:100% !important;margin:0 !important;padding:.4375rem .625rem !important;border:.0625rem solid var(--line) !important;border-radius:.25rem !important;background:transparent !important;color:var(--muted) !important;font-size:.6875rem !important;line-height:1.4 !important;text-align:center !important}.site-footer details,.site-footer p,.site-footer button,.site-footer a{margin-top:0 !important;margin-bottom:0 !important}@media (max-width:47.5rem){.page-shell{min-height:0 !important;padding-bottom:1.5rem !important}.footer-inner{gap:.5625rem !important}.footer-inner .footer-nav{gap:.625rem .875rem !important;line-height:1.35 !important}.footer-status{width:100% !important;padding:.5rem .625rem !important}.library-window{padding:.875rem !important}}@media print{.library-window,.home-only{background:#ffffff !important;background-image:none !important}}.home-start{width:100%;margin:0 !important;padding:0 !important}.home-art{display:grid;place-items:center;width:min(47.5rem,92vw);margin:.5rem auto 1rem !important;padding:0 !important;background:transparent !important;border:0 !important;box-shadow:none !important}.home-art img{grid-area:1 / 1;display:block;width:100%;height:auto;object-fit:contain;border:0 !important;border-radius:0 !important;box-shadow:none !important}.home-art-dark{display:none !important}html[data-theme="dark"] .home-art-light{display:none !important}html[data-theme="dark"] .home-art-dark{display:block !important}.home-only{max-width:47.5rem !important;margin:0 auto 1rem !important;border:0 !important;padding:0 1rem !important;background:transparent !important;text-align:center}.home-only p{color:var(--muted);font-size:.8125rem;line-height:1.55}.header-search input{background:var(--surface) !important;border:.0625rem solid var(--line-strong) !important;box-shadow:none !important}.header-search input:focus{border-color:currentColor !important;outline:.125rem solid color-mix(in srgb,currentColor 16%,transparent);outline-offset:.0625rem}.header-search-results{z-index:120;border:.0625rem solid var(--line-strong) !important;background:var(--surface) !important;overscroll-behavior:contain}.header-search-results a,.header-search-results button{min-width:0}.header-search-results strong,.header-search-results small{overflow-wrap:anywhere}@media (max-width:47.5rem){.home-art{width:min(35rem,96vw);margin-top:.25rem !important;margin-bottom:.75rem !important}.home-only{padding-inline:.75rem !important}.header-search-results{left:.5rem !important;right:.5rem !important}}@media print{.home-art{width:150mm}.home-art-dark{display:none !important}.home-art-light{display:block !important}}.home-art{width:min(40rem,78vw) !important;max-height:62vh}.home-art img{max-height:62vh;object-fit:contain !important}.footer-status{order:2;width:100% !important;max-width:47.5rem !important;margin:0 auto !important;padding:0 !important;border:0 !important;background:transparent !important;font-size:.6875rem !important;line-height:1.45 !important;text-align:center !important}.footer-theme-toggle{order:3}.footer-top-link{order:4}@media (max-width:47.5rem){.home-art{width:min(26.875rem,82vw) !important;max-height:46dvh !important;margin:.5rem auto .625rem !important}.home-art img{max-height:46dvh !important;width:auto !important;max-width:100% !important}.header-search-results{position:fixed !important;left:0 !important;right:0 !important;width:100vw !important;max-width:none !important;margin:0 !important;border-left:0 !important;border-right:0 !important;border-radius:0 0 .25rem .25rem !important}.footer-status{max-width:100% !important;padding-inline:.25rem !important}}@media (max-width:47.5rem){.header-search input,input[type="search"],input[type="text"],input[type="email"],input[type="url"],input[type="tel"],input[type="number"],textarea,select{font-size:1rem !important}.header-search input{transform:none !important;zoom:1 !important}}.compact-search-page{width:min(var(--page),calc(100% - 1.5rem));margin:.75rem auto 1.5rem !important;padding:0 !important}.compact-search-page .results-meta{margin:0 0 .5rem !important;padding:0 !important;color:var(--muted);font-size:.75rem}.compact-result-list{display:grid;gap:0;border-top:.0625rem solid var(--line)}.compact-result{display:grid;gap:.1875rem;padding:.625rem .125rem !important;border-bottom:.0625rem solid var(--line);color:inherit;text-decoration:none;background:transparent !important}.compact-result:hover,.compact-result:focus-visible{background:var(--surface-soft) !important}.compact-result-context{display:flex;flex-wrap:wrap;gap:.25rem;color:var(--muted);font-size:.625rem;line-height:1.25}.compact-result-context i{font-style:normal}.compact-result-context b{font-weight:400}.compact-result strong{font-size:.875rem;line-height:1.35}.compact-result small{display:block;color:var(--muted);font-size:.6875rem;line-height:1.45;max-width:78ch}.search-empty-page{padding:1rem 0}@media (max-width:47.5rem){.compact-search-page{width:calc(100% - 1rem);margin-top:.5rem !important}.compact-result{padding:.5625rem 0 !important}.compact-result strong{font-size:.8125rem}}@media (max-width:47.5rem){}.responsive-table{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.responsive-table table{min-width:35rem}.responsive-table th,.responsive-table td{padding:.5625rem .625rem !important}@media (max-width:47.5rem){.responsive-table table{min-width:31.25rem}.responsive-table th,.responsive-table td{padding:.5rem !important}}@media print{.responsive-table{overflow:visible !important}.responsive-table table{min-width:0 !important;width:100% !important}}

/* 1.7.56 · ein gemeinsames Layoutsystem */
:root{
  --ui-gap:.65rem;
  --ui-pad:.75rem;
  --ui-line:var(--line);
  --ui-accent:var(--lime-c);
  --ui-radius:.25rem;
  --page:64rem;
  --reading:52rem;
}

.page-shell{padding-block:1rem 2rem}
.breadcrumb{margin-block:0 .55rem}

.quiet-head{
  min-height:7.5rem;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1rem;
  padding:1.35rem 1.5rem;
  margin-bottom:.8rem;
  border:.0625rem solid var(--ui-line);
  box-shadow:none;
}
.quiet-head h1{font-size:clamp(2rem,5vw,3.6rem);line-height:.98}
.quiet-head p{margin-top:.45rem}
.head-tools{min-width:0;gap:.5rem}

:where(.fold,.unit,.chapter-section,.qa-item,.lexicon-entry,.local-tools){
  margin:0;
  border:.0625rem solid var(--ui-line);
  border-radius:var(--ui-radius);
  background:var(--surface);
  box-shadow:none;
  overflow:hidden;
}
:where(.fold,.unit,.chapter-section,.qa-item,.lexicon-entry,.local-tools)>summary{
  list-style:none;
  cursor:pointer;
}
:where(.fold,.unit,.chapter-section,.qa-item,.lexicon-entry,.local-tools)>summary::-webkit-details-marker{display:none}
:where(.fold,.unit,.chapter-section,.qa-item,.lexicon-entry,.local-tools)>summary::after{
  content:"+";
  margin-left:auto;
  color:var(--muted);
  font-size:1rem;
  font-weight:400;
}
:where(.fold,.unit,.chapter-section,.qa-item,.lexicon-entry,.local-tools)[open]>summary::after{content:"−"}
:where(.fold,.unit,.chapter-section,.qa-item,.lexicon-entry,.local-tools)[open]>summary{border-bottom:.0625rem solid var(--ui-line)}

:where(.units,.subject-units,.lexicon-list,.result-list,.compact-result-list){
  display:grid;
  gap:var(--ui-gap);
  margin-block:.75rem;
}

:where(.unit,.subject-unit){border-left:.22rem solid var(--ui-accent)}
:where(.unit,.subject-unit)>summary{
  display:grid;
  grid-template-columns:2rem minmax(0,1fr) auto 1rem;
  gap:.6rem;
  align-items:center;
  min-height:2.8rem;
  padding:.45rem .7rem;
}
:where(.unit,.subject-unit)>summary::after{grid-column:4;justify-self:end}
:where(.unit,.subject-unit)>summary strong{font-size:.9rem;line-height:1.25}
.chapter-number{
  display:grid;
  place-items:center;
  width:1.7rem;
  height:1.7rem;
  border-radius:.2rem;
  background:color-mix(in srgb,var(--ui-accent) 18%,var(--surface));
  font-size:.68rem;
  font-weight:800;
}
.unit-meta{display:flex;align-items:center;gap:.5rem}
.unit-body{padding:.55rem .7rem .7rem;border:0}

.chapter-section{margin-block:.45rem}
:where(.chapter-section,.fold,.local-tools)>summary{
  display:flex;
  align-items:center;
  min-height:2.4rem;
  padding:.4rem .6rem;
  font-size:.82rem;
  font-weight:720;
}
:where(.chapter-section-body,.fold-body,.local-tools-body){padding:.5rem .65rem .65rem;border:0}

.qa-list{display:grid;gap:0}
.qa-item{border-width:0 0 .0625rem;border-radius:0}
.qa-item:last-of-type{border-bottom:0}
.qa-item>summary{
  display:grid;
  grid-template-columns:1.65rem minmax(0,1fr) 1rem;
  gap:.5rem;
  align-items:center;
  min-height:2.75rem;
  padding:.4rem 0;
}
.qa-item>summary::after{grid-column:3;justify-self:end}
.qa-question-text{font-size:.84rem;line-height:1.3}
.qa-answer{padding:0 0 .6rem 2.15rem}

.lexicon-tools{
  position:static;
  display:grid;
  gap:.55rem;
  margin-block:.75rem;
  padding:.65rem;
  border:.0625rem solid var(--ui-line);
  border-radius:var(--ui-radius);
  background:var(--surface);
  backdrop-filter:none;
}
.lexicon-tools input{min-height:2.4rem}
.lexicon-categories,.alphabet{display:flex;flex-wrap:wrap;gap:.35rem;margin:0}
.lexicon-categories button,.alphabet button{
  min-height:1.9rem;
  padding:.3rem .55rem;
  border:.0625rem solid var(--ui-line);
  border-radius:.2rem;
  background:var(--surface);
  color:var(--ink);
  font-size:.7rem;
  font-weight:700;
}
.lexicon-entry>summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 1rem;
  gap:.6rem;
  align-items:center;
  min-height:2.7rem;
  padding:.45rem .65rem;
}
.lexicon-entry>summary::after{grid-column:3;justify-self:end}
.lexicon-entry>summary>span{display:flex;gap:.45rem;color:var(--muted);font-size:.68rem}
.lexicon-body{padding:.45rem .65rem .65rem}
.lexicon-body p{margin:.35rem 0}

.full-search,.compact-search-page,.search-stage{width:100%;max-width:none;margin:.75rem 0 1.5rem;padding:0}
.compact-result-list{border:0}
.compact-result,.result-card{
  display:grid;
  gap:.2rem;
  padding:.6rem .7rem;
  border:.0625rem solid var(--ui-line);
  border-radius:var(--ui-radius);
  background:var(--surface);
  text-decoration:none;
}
.compact-result:hover,.result-card:hover{border-color:var(--line-strong);background:var(--surface-soft)}
.compact-result strong,.result-card h3{margin:0;font-size:.88rem;line-height:1.3}
.compact-result small,.result-context,.result-inline-preview{color:var(--muted);font-size:.72rem;line-height:1.4}

.library-windows,.book-grid,.wiki-grid,.notes-dashboard{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
  margin-top:.75rem;
}
.library-window,.book-card,.wiki-card,.note-card,.source-card{
  min-height:0;
  padding:.9rem;
  border:.0625rem solid var(--ui-line);
  border-radius:var(--ui-radius);
  box-shadow:none;
}
.library-window:hover,.book-card:hover{transform:none;border-color:var(--line-strong)}
.window-copy{margin-top:0}
.window-copy strong{font-size:1.45rem}
.book-card>strong{margin-top:0;font-size:1rem;line-height:1.2}
.wiki-card{display:grid;gap:.3rem}

.progress-meter{max-width:12rem}
.template-buch .progress-meter,
.template-wikibuch .progress-meter,
.template-wiki-eintrag .progress-meter,
.template-lexikon .progress-meter,
.template-materialregal .progress-meter{display:none}

.prose,.rich-learning,.text-flow{max-width:var(--reading)}
.prose :where(h1,h2,h3,h4),.rich-learning :where(h1,h2,h3,h4),.text-flow :where(h1,h2,h3,h4){margin-inline:0;padding-inline:0;line-height:1.16}
.prose h1,.rich-learning h1,.text-flow h1{margin-block:.8rem .3rem;font-size:1.8rem}
.prose h2,.rich-learning h2,.text-flow h2{margin-block:.7rem .25rem;font-size:1.35rem}
.prose h3,.rich-learning h3,.text-flow h3{margin-block:.6rem .2rem;font-size:1.08rem}
.prose h4,.rich-learning h4,.text-flow h4{margin-block:.5rem .15rem;font-size:.95rem}
.prose p,.rich-learning p,.text-flow p{margin-block:.45rem}

@media(max-width:47.5rem){
  .page-shell{width:calc(100% - 1rem);padding-block:.6rem 1.25rem}
  .quiet-head{grid-template-columns:1fr;min-height:0;padding:1rem;margin-bottom:.6rem}
  .quiet-head h1{font-size:clamp(1.9rem,10vw,2.8rem)}
  .head-tools{justify-items:start}
  .head-tools .chip-row,.head-tools .tool-row{justify-content:flex-start}
  :where(.unit,.subject-unit)>summary{grid-template-columns:1.8rem minmax(0,1fr) 1rem;padding:.4rem .55rem}
  :where(.unit,.subject-unit)>summary::after{grid-column:3}
  .unit-meta{grid-column:2/-1;flex-wrap:wrap}
  .unit-body{padding:.45rem .55rem .6rem}
  .library-windows,.book-grid,.wiki-grid,.notes-dashboard{grid-template-columns:1fr}
  .lexicon-entry>summary>span{display:none}
  .compact-result,.result-card{padding:.55rem .6rem}
}


/* 1.7.57 · Mobil-QC: kompakt, einspaltig, ohne Wortzerfall */
@media (max-width:47.5rem){
  .site-header{position:sticky}
  .header-shell{
    width:calc(100% - 1rem);
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:.45rem;
  }
  .brand{font-size:.72rem;white-space:nowrap}
  .header-search{min-width:0;width:100%}
  .main-nav a{padding:.4rem;min-width:2.35rem}
  .main-nav a span{display:none}

  .page-shell{width:calc(100% - 1rem)!important}

  :where(.unit,.subject-unit){
    min-height:0!important;
    height:auto!important;
  }
  :where(.unit,.subject-unit)>summary{
    display:grid!important;
    grid-template-columns:1.8rem minmax(0,1fr) 1rem!important;
    grid-auto-rows:auto!important;
    gap:.4rem .55rem!important;
    min-height:0!important;
    height:auto!important;
    padding:.55rem!important;
    align-items:center!important;
  }
  :where(.unit,.subject-unit)>summary strong{
    min-width:0!important;
    font-size:.92rem!important;
    line-height:1.2!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:auto;
  }
  :where(.unit,.subject-unit)>summary::after{
    grid-column:3!important;
    grid-row:1!important;
  }
  .chapter-number{grid-column:1;grid-row:1;width:1.75rem;height:1.75rem}
  .unit-meta{
    grid-column:2/4!important;
    grid-row:2!important;
    display:grid!important;
    grid-template-columns:auto minmax(5.5rem,1fr)!important;
    gap:.35rem .6rem!important;
    width:100%!important;
    min-width:0!important;
    align-items:center!important;
  }
  .unit-meta .chapter-hours{white-space:nowrap}
  .unit-meta .progress-meter{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .unit-body{padding:.5rem!important}

  :where(.chapter-section,.fold,.local-tools){
    min-height:0!important;
    height:auto!important;
  }
  :where(.chapter-section,.fold,.local-tools)>summary{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    min-height:2.55rem!important;
    height:auto!important;
    padding:.55rem .65rem!important;
    gap:.5rem!important;
    align-items:center!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }
  :where(.chapter-section,.fold,.local-tools)>summary::after{
    flex:0 0 auto!important;
  }
  :where(.chapter-section-body,.fold-body,.local-tools-body){padding:.5rem .65rem .65rem!important}

  .qa-item>summary{
    grid-template-columns:1.7rem minmax(0,1fr) 1rem!important;
    min-height:0!important;
    padding:.55rem 0!important;
  }
  .qa-question-text{
    min-width:0!important;
    font-size:.86rem!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:auto;
  }
  .qa-answer{padding:0 0 .6rem 2.2rem!important}

  .local-tools{margin-block:.6rem!important}
  .local-tools>summary{font-size:.9rem!important;font-weight:750!important}

  .site-footer{margin-top:1rem!important}
  .footer-inner{width:calc(100% - 1rem)!important}
  .footer-nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important}
}

/* 1.7.58 · Mobile Notizen und schlichte Fußzeile */
.note-chapter > summary {
  grid-template-columns: 2.25rem minmax(max-content,1fr) auto !important;
}
.note-chapter > summary strong,
.note-chapter .notes-title {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}
.footer-line {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: .35rem .8rem !important;
  padding: 0 !important;
}
.footer-line .footer-nav {
  display: contents !important;
}
.footer-line a,
.footer-text-action,
.footer-line .footer-status {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--muted) !important;
  font: inherit !important;
  font-size: .6875rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}
.footer-line a:hover,
.footer-text-action:hover {
  color: var(--ink) !important;
  text-decoration: underline !important;
}
.footer-text-action {
  cursor: pointer;
}
.footer-line .footer-status {
  text-align: center !important;
}
@media (max-width: 47.5rem) {
  .note-chapter > summary {
    grid-template-columns: 2rem minmax(max-content,1fr) auto !important;
  }
  .footer-line {
    gap: .3rem .65rem !important;
  }
  .footer-line .footer-status {
    flex-basis: 100% !important;
    order: 10 !important;
  }
}

/* 1.7.59 · Papier, farbiges Glas und Lernfragen-Slideshow */
.qa-children {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  border-radius: .25rem;
  background: color-mix(in srgb,var(--fg) 7%,var(--bg));
}

:root,
html[data-theme="paper"] {
  color-scheme: light;
  --bg: #fff4b8;
  --fg: #15140f;
  --paper: #fff4b8;
  --surface: #fffbe2;
  --surface-soft: rgba(255,251,226,.82);
  --ink: #15140f;
  --muted: #665f38;
  --line: rgba(35,31,10,.17);
  --line-strong: rgba(35,31,10,.32);
  --shadow: 0 1rem 2.6rem rgba(76,60,0,.10);
  --focus: #5c6500;
  --ok: #347016;
  --home-question-rest: rgba(21,20,15,.15);
  --home-question-live: #15140f;
  --home-answer-rest: rgba(42,111,14,.16);
  --home-answer-live: #286b0d;
  --home-progress: #15140f;
}
html[data-theme="glass-light"] {
  color-scheme: light;
  --bg: #f7f8fb;
  --fg: #0b0d12;
  --paper: #f7f8fb;
  --surface: rgba(255,255,255,.58);
  --surface-soft: rgba(255,255,255,.42);
  --ink: #0b0d12;
  --muted: #515663;
  --line: rgba(11,13,18,.14);
  --line-strong: rgba(11,13,18,.29);
  --shadow: 0 1.25rem 3.5rem rgba(39,44,64,.15);
  --focus: #006f79;
  --ok: #166d22;
  --home-question-rest: rgba(11,13,18,.13);
  --home-question-live: #090a0d;
  --home-answer-rest: rgba(23,125,38,.15);
  --home-answer-live: #11651b;
  --home-progress: #0b0d12;
}
html[data-theme="glass-black"] {
  color-scheme: dark;
  --bg: #000000;
  --fg: #f6f6ef;
  --paper: #000000;
  --surface: rgba(10,10,12,.56);
  --surface-soft: rgba(10,10,12,.40);
  --ink: #f6f6ef;
  --muted: #a9abb2;
  --line: rgba(255,255,255,.16);
  --line-strong: rgba(255,255,255,.32);
  --shadow: 0 1.35rem 4rem rgba(0,0,0,.46);
  --focus: #fff200;
  --ok: #8cff56;
  --home-question-rest: rgba(255,242,0,.16);
  --home-question-live: #fff200;
  --home-answer-rest: rgba(124,255,74,.15);
  --home-answer-live: #7cff4a;
  --home-progress: #fff200;
}

html[data-theme="paper"],
html[data-theme="paper"] body,
html[data-theme="glass-light"],
html[data-theme="glass-light"] body,
html[data-theme="glass-black"],
html[data-theme="glass-black"] body {
  background: var(--bg) !important;
  color: var(--fg);
}
body {
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}
html[data-theme="paper"] body::before {
  background:
    radial-gradient(circle at 16% 9%, rgba(255,255,255,.88), transparent 29rem),
    linear-gradient(155deg, #fff9d3 0%, #fff1a8 55%, #ffe889 100%);
}
html[data-theme="glass-light"] body::before {
  background:
    radial-gradient(circle at 11% 18%, rgba(255,226,0,.90) 0 0, transparent 24rem),
    radial-gradient(circle at 86% 12%, rgba(0,235,255,.72) 0 0, transparent 25rem),
    radial-gradient(circle at 78% 78%, rgba(255,50,155,.58) 0 0, transparent 27rem),
    radial-gradient(circle at 17% 87%, rgba(99,255,0,.52) 0 0, transparent 26rem),
    #f7f8fb;
  filter: saturate(1.08);
}
html[data-theme="glass-black"] body::before {
  background:
    radial-gradient(circle at 10% 15%, rgba(255,226,0,.72) 0 0, transparent 24rem),
    radial-gradient(circle at 86% 13%, rgba(0,222,255,.62) 0 0, transparent 25rem),
    radial-gradient(circle at 81% 82%, rgba(255,0,129,.56) 0 0, transparent 28rem),
    radial-gradient(circle at 13% 86%, rgba(92,255,0,.48) 0 0, transparent 25rem),
    #000;
  filter: saturate(1.3);
}

html[data-theme^="glass"] .site-header,
html[data-theme^="glass"] .home-qa-glass,
html[data-theme^="glass"] .home-intro,
html[data-theme^="glass"] .quiet-head,
html[data-theme^="glass"] .surface-fold,
html[data-theme^="glass"] .unit,
html[data-theme^="glass"] .subject-row,
html[data-theme^="glass"] .book-card,
html[data-theme^="glass"] .search-result,
html[data-theme^="glass"] dialog {
  background: var(--surface-soft) !important;
  -webkit-backdrop-filter: blur(1.5rem) saturate(1.35);
  backdrop-filter: blur(1.5rem) saturate(1.35);
  border-color: var(--line) !important;
  box-shadow: var(--shadow);
}
html[data-theme="glass-black"] .hero-lime,
html[data-theme="glass-black"] .gradient-lime-soft,
html[data-theme="glass-black"] .hero-rose,
html[data-theme="glass-black"] .gradient-pink-soft,
html[data-theme="glass-black"] .hero-cyan,
html[data-theme="glass-black"] .gradient-cyan-soft {
  background: rgba(8,8,10,.48) !important;
}
html[data-theme="glass-light"] .hero-lime,
html[data-theme="glass-light"] .gradient-lime-soft,
html[data-theme="glass-light"] .hero-rose,
html[data-theme="glass-light"] .gradient-pink-soft,
html[data-theme="glass-light"] .hero-cyan,
html[data-theme="glass-light"] .gradient-cyan-soft {
  background: rgba(255,255,255,.42) !important;
}

.home-qa-start {
  position: relative;
  min-height: calc(100dvh - var(--header-h) - 5rem);
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1rem,4vw,3rem) 0;
}
.home-qa-underlay {
  position: absolute;
  z-index: -1;
  inset: 2% -4% 12%;
  border-radius: .25rem;
  opacity: .95;
  pointer-events: none;
}
html[data-theme="paper"] .home-qa-underlay {
  background: linear-gradient(135deg, rgba(255,255,255,.58), rgba(255,226,77,.32));
  border: .0625rem solid rgba(80,64,0,.12);
}
html[data-theme="glass-light"] .home-qa-underlay,
html[data-theme="glass-black"] .home-qa-underlay {
  background:
    radial-gradient(circle at 12% 20%, #fff200 0 8%, transparent 28%),
    radial-gradient(circle at 88% 14%, #00efff 0 8%, transparent 30%),
    radial-gradient(circle at 84% 82%, #ff3b9d 0 8%, transparent 31%),
    radial-gradient(circle at 13% 86%, #7cff00 0 8%, transparent 29%);
  filter: blur(2.2rem) saturate(1.2);
}
.home-qa-stage {
  width: min(59rem, 100%);
  min-height: clamp(24rem, 58vh, 39rem);
  margin: 0 auto;
  opacity: 1;
  transition: opacity 2s linear;
}
.home-qa-stage.is-fading {
  opacity: 0;
}
.home-qa-glass {
  min-height: inherit;
  display: grid;
  align-content: center;
  padding: clamp(1.35rem, 5vw, 4.5rem);
  border: .0625rem solid var(--line);
  border-radius: .25rem;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}
html[data-theme="paper"] .home-qa-glass {
  background: rgba(255,250,211,.82);
}
.home-qa-context {
  min-height: 1.4em;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.home-qa-question,
.home-qa-answer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  letter-spacing: -.025em;
}
.home-qa-question {
  min-height: 3.1em;
  font-size: clamp(1.65rem, 4.8vw, 4.15rem);
  font-weight: 820;
  line-height: 1.03;
}
.home-qa-answer {
  min-height: 7.4em;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  font-size: clamp(1rem, 2.05vw, 1.55rem);
  font-weight: 640;
  line-height: 1.42;
}
.home-qa-char {
  color: var(--home-question-rest);
  transition: color .16s linear;
}
.home-qa-char.is-visible {
  color: var(--home-question-live);
}
.home-qa-answer .home-qa-char {
  color: var(--home-answer-rest);
}
.home-qa-answer .home-qa-char.is-visible {
  color: var(--home-answer-live);
}
.home-qa-progress {
  height: .1875rem;
  margin-top: 1.15rem;
  overflow: hidden;
  background: color-mix(in srgb,var(--home-progress) 12%,transparent);
}
.home-qa-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--home-progress);
}
.home-qa-source {
  justify-self: start;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}
.home-qa-source:hover {
  color: var(--ink);
  text-decoration: underline;
}
.home-qa-start .home-intro {
  width: min(59rem,100%);
  margin: 0 auto;
}

.logbook-list {
  display: grid;
  gap: 1rem;
}
.logbook-entry {
  padding: 1rem;
  border: .0625rem solid var(--line);
  border-radius: .25rem;
  background: var(--surface-soft);
}
.logbook-entry h2,
.logbook-entry h3 {
  margin-top: 0;
}

@media (max-width: 47.5rem) {
  .home-qa-start {
    min-height: calc(100dvh - var(--header-h) - 3rem);
    padding-top: .75rem;
  }
  .home-qa-stage {
    min-height: 68vh;
  }
  .home-qa-glass {
    padding: 1.15rem;
  }
  .home-qa-question {
    font-size: clamp(1.55rem, 8vw, 2.75rem);
  }
  .home-qa-answer {
    min-height: 10.5em;
    font-size: .98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-qa-stage,
  .home-qa-char {
    transition-duration: .01ms !important;
  }
}

@media print {
  body::before,
  .home-qa-underlay,
  .home-qa-progress,
  .home-qa-source {
    display: none !important;
  }
  .home-qa-stage,
  .home-qa-glass {
    min-height: 0 !important;
  }
  .home-qa-char,
  .home-qa-char.is-visible,
  .home-qa-answer .home-qa-char,
  .home-qa-answer .home-qa-char.is-visible {
    color: #000 !important;
  }
}

/* 1.7.62 · Inhaltsfolien, Titel-Einleitung, Unterfragen und flache Farbhierarchie */
:root,
html[data-theme="paper"] {
  --level-book: color-mix(in srgb,#ffd900 20%,var(--surface));
  --level-section: color-mix(in srgb,#00cfe8 12%,var(--surface));
  --level-question: color-mix(in srgb,#ff5aa5 10%,var(--surface));
  --level-answer: color-mix(in srgb,#72d83c 12%,var(--surface));
  --level-source: color-mix(in srgb,#8d78d8 10%,var(--surface));
}
html[data-theme="glass-light"] {
  --level-book: color-mix(in srgb,#fff200 21%,rgba(255,255,255,.72));
  --level-section: color-mix(in srgb,#00efff 17%,rgba(255,255,255,.68));
  --level-question: color-mix(in srgb,#ff3b9d 13%,rgba(255,255,255,.7));
  --level-answer: color-mix(in srgb,#7cff00 15%,rgba(255,255,255,.7));
  --level-source: color-mix(in srgb,#a984ff 13%,rgba(255,255,255,.68));
}
html[data-theme="glass-black"] {
  --level-book: color-mix(in srgb,#fff200 16%,rgba(8,8,10,.86));
  --level-section: color-mix(in srgb,#00efff 14%,rgba(8,8,10,.84));
  --level-question: color-mix(in srgb,#ff3b9d 13%,rgba(8,8,10,.86));
  --level-answer: color-mix(in srgb,#7cff00 13%,rgba(8,8,10,.86));
  --level-source: color-mix(in srgb,#a984ff 14%,rgba(8,8,10,.86));
}

.head-title-block{min-width:0}
.head-title-toggle{
  display:inline;
  width:auto;
  max-width:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:inherit;
  line-height:inherit;
  letter-spacing:inherit;
  text-align:left;
  cursor:pointer;
}
.head-title-toggle:hover{text-decoration:underline;text-decoration-thickness:.06em;text-underline-offset:.12em}
.head-title-toggle:focus-visible{outline:.15rem solid currentColor;outline-offset:.2rem}
.head-title-hint{display:block;margin-top:.45rem;color:color-mix(in srgb,var(--ink) 68%,transparent);font-size:.67rem;font-weight:700;letter-spacing:.02em}
.book-introduction{margin-bottom:.75rem;background:var(--level-section)!important}

.unit-question-count,.summary-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:1.45rem;
  padding:.2rem .45rem;
  border:.0625rem solid color-mix(in srgb,var(--ink) 16%,transparent);
  border-radius:.2rem;
  background:color-mix(in srgb,var(--surface) 56%,transparent);
  color:color-mix(in srgb,var(--ink) 76%,transparent);
  font-size:.62rem;
  font-weight:760;
  line-height:1.1;
  white-space:nowrap;
}
.chapter-section>summary .summary-count{margin-left:.5rem}

.home-content-intro{
  width:min(59rem,100%);
  margin:0 auto .75rem;
  padding:.4rem 0 .75rem;
  border-bottom:.0625rem solid var(--line);
}
.home-content-intro h1{margin:0;font-size:clamp(1.65rem,4vw,3rem);line-height:1;letter-spacing:-.045em}
.home-content-intro p{max-width:48rem;margin:.55rem 0 0;color:var(--muted);font-size:.8rem}

.question-slide-shell{
  width:100%;
  margin:.75rem 0 1rem;
  border:.0625rem solid var(--line);
  border-left:.35rem solid color-mix(in srgb,var(--ok) 72%,var(--ink));
  border-radius:.25rem;
  overflow:hidden;
  background:var(--level-answer);
  box-shadow:none;
}
.question-slide-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  min-height:2.35rem;
  padding:.45rem .7rem;
  border-bottom:.0625rem solid var(--line);
  background:color-mix(in srgb,var(--level-answer) 74%,var(--surface));
}
.question-slide-heading strong{font-size:.78rem}
.question-slide-heading span{color:var(--muted);font-size:.64rem;font-weight:700}
.question-slide-stage{
  width:100%;
  min-height:22rem;
  margin:0;
  opacity:1;
  transition:opacity 2s linear;
}
.question-slide-stage.is-fading{opacity:0}
.question-slide-content{
  min-height:inherit;
  display:grid;
  align-content:center;
  width:100%;
  padding:clamp(1rem,3vw,2.25rem);
  border:0;
  border-radius:0;
  background:transparent!important;
  box-shadow:none!important;
}
.question-slide-home{width:min(59rem,100%);margin-inline:auto}
.question-slide-book{margin-top:.75rem}
.question-slide-book .question-slide-stage{min-height:19rem}
.question-slide-book .home-qa-question{font-size:clamp(1.35rem,3.3vw,2.65rem)}
.question-slide-book .home-qa-answer{font-size:clamp(.9rem,1.5vw,1.08rem)}
.home-qa-context{margin-bottom:.65rem}
.home-qa-question{min-height:2.35em;font-size:clamp(1.55rem,4vw,3.4rem);line-height:1.06}
.home-qa-answer{min-height:6.2em;margin-top:1.35rem;font-size:clamp(.96rem,1.75vw,1.25rem);line-height:1.48}
.home-qa-progress{margin-top:.8rem}
.home-qa-source{margin-top:.9rem}

/* Flache Hierarchie: Tiefe wird über Farbe statt Breitenverlust gezeigt. */
.subject-unit,.material-chapter,.learning-chapter,.source-chapter,.note-chapter{background:var(--level-book)!important}
.subject-unit>.unit-body,.material-chapter>.unit-body,.learning-chapter>.unit-body{background:color-mix(in srgb,var(--level-book) 32%,var(--surface))}
.chapter-section{margin:.4rem 0!important;border:0!important;border-left:.28rem solid color-mix(in srgb,#00bcd4 68%,var(--ink))!important;border-radius:.2rem!important;background:var(--level-section)!important}
.chapter-section>summary{background:transparent!important}
.curriculum-requirement{border-left-color:color-mix(in srgb,#ffd600 72%,var(--ink))!important;background:var(--level-book)!important}
.qa-section{border-left-color:color-mix(in srgb,#ff3b9d 72%,var(--ink))!important;background:var(--level-question)!important}
.qa-section>.chapter-section-body{padding:.25rem .55rem .55rem!important}
.qa-list{background:transparent!important}
.qa-item{
  margin:0!important;
  border:0!important;
  border-bottom:.0625rem solid color-mix(in srgb,var(--ink) 13%,transparent)!important;
  border-radius:0!important;
  background:transparent!important;
}
.qa-item:last-of-type{border-bottom:0!important}
.qa-item>summary{padding:.48rem .1rem!important}
.qa-answer{
  max-width:none!important;
  margin:0!important;
  padding:.65rem .7rem .8rem!important;
  border-top:.0625rem solid color-mix(in srgb,var(--ink) 10%,transparent);
  background:var(--level-answer)!important;
}
.qa-answer>*:first-child{margin-top:0}
.qa-answer>*:last-child{margin-bottom:0}
.curriculum-hints{background:color-mix(in srgb,#ffd600 9%,var(--surface))!important}
.public-notes{background:color-mix(in srgb,#00efff 8%,var(--surface))!important}
.chapter-files,.material-sources{background:var(--level-source)!important;border-left-color:color-mix(in srgb,#8c6ee8 70%,var(--ink))!important}
.teaching-material-list{display:grid;gap:.4rem;margin:0!important;padding:0!important}
.teaching-material{
  margin:0!important;
  border:0!important;
  border-left:.28rem solid color-mix(in srgb,#7cff00 65%,var(--ink))!important;
  border-radius:.2rem!important;
  overflow:hidden;
  background:var(--level-answer)!important;
}
.teaching-material>summary{min-height:2.45rem;padding:.45rem .65rem!important;background:transparent!important}
.teaching-material-body{padding:.6rem .7rem!important;background:color-mix(in srgb,var(--level-answer) 52%,var(--surface))!important}
.material-learning-frame{max-width:none!important}

@media(max-width:47.5rem){
  .quiet-head{padding:.85rem!important}
  .head-title-hint{font-size:.62rem}
  .head-tools{width:100%}
  .head-tools .chip-row,.head-tools .tool-row{width:100%;justify-content:flex-start!important}
  .unit-meta{
    grid-column:2/4!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:.3rem!important;
  }
  .unit-question-count{white-space:normal;text-align:center}
  .question-slide-shell{margin:.55rem 0 .7rem;border-left-width:.28rem}
  .question-slide-heading{padding:.42rem .55rem}
  .question-slide-heading span{font-size:.59rem}
  .question-slide-stage,.question-slide-book .question-slide-stage{min-height:24rem}
  .question-slide-content{padding:.85rem .65rem 1rem}
  .home-qa-question,.question-slide-book .home-qa-question{min-height:2.8em;font-size:clamp(1.35rem,7.2vw,2.35rem);overflow-wrap:break-word}
  .home-qa-answer,.question-slide-book .home-qa-answer{min-height:11em;margin-top:1rem;font-size:.92rem;overflow-wrap:break-word}
  .home-content-intro{padding-inline:.15rem}

  .unit-body{padding:0!important}
  .chapter-section,.teaching-material{width:100%!important;margin:.28rem 0!important;border-radius:0!important}
  .chapter-section>summary,.teaching-material>summary{padding:.52rem .58rem!important}
  .chapter-section-body,.teaching-material-body{padding:.58rem!important}
  .qa-section>.chapter-section-body{padding:.12rem .5rem .5rem!important}
  .qa-item>summary{
    grid-template-columns:1.65rem minmax(0,1fr) 1rem!important;
    padding:.52rem 0!important;
  }
  .qa-answer{padding:.62rem .55rem .75rem!important}
  .material-learning-frame,.prose,.rich-learning,.text-flow{max-width:none!important;width:100%!important}
  .chapter-answer{margin:.4rem!important}
  .learning-chapter>.unit-body{padding:.28rem!important}
  .note-chapter>.unit-body{padding:.4rem!important}
}

@media print{
  .question-slide-shell{border:.0625rem solid #999!important;background:#fff!important}
  .question-slide-heading{background:#fff!important}
  .question-slide-stage{min-height:0!important}
  .chapter-section,.teaching-material,.qa-answer,.subject-unit,.material-chapter{background:#fff!important}
}

/* 1.7.62b · keine versteckten Innenränder in tiefen Mobilstrukturen */
.subject-unit,.material-chapter,.learning-chapter,.source-chapter,.note-chapter{padding:0!important}
@media(max-width:47.5rem){
  .qa-section>.chapter-section-body{padding:0!important}
  .qa-section>.chapter-section-body>.source-citation{margin:.55rem!important}
}

/* 1.7.63 · geordnete Lernfolie und Merksteuerung */
.home-learning-flow{
  width:min(59rem,100%);
  margin:0 auto;
  display:grid;
  gap:1.25rem;
  padding:.9rem 0 1.5rem;
}
.question-slide-shell{
  position:relative;
  width:100%;
  margin:0;
  border:0;
  border-radius:.25rem;
  overflow:visible;
  background:transparent;
  box-shadow:none;
}
.question-slide-home{isolation:isolate}
.question-slide-home .home-qa-underlay{
  z-index:-1;
  inset:-.65rem;
  border-radius:.25rem;
}
.question-slide-stage{
  position:relative;
  width:100%;
  min-height:clamp(32rem,58vw,43rem);
  margin:0;
  border-radius:.25rem;
  opacity:1;
  transition:opacity 2s linear;
}
.question-slide-book .question-slide-stage{min-height:24rem}
.question-slide-content{
  min-height:inherit;
  display:grid;
  grid-template-rows:auto auto auto auto minmax(8rem,auto);
  align-content:center;
  gap:0;
  width:100%;
  padding:clamp(1.4rem,5vw,4rem);
  border:.0625rem solid var(--line);
  border-radius:.25rem;
  background:var(--surface-soft)!important;
  box-shadow:var(--shadow)!important;
  overflow:hidden;
}
html[data-theme="paper"] .question-slide-content{background:rgba(255,250,211,.88)!important}
html[data-theme^="glass"] .question-slide-content{
  -webkit-backdrop-filter:blur(1.5rem) saturate(1.35);
  backdrop-filter:blur(1.5rem) saturate(1.35);
}
.question-slide-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  min-height:1.6rem;
  margin-bottom:1rem;
}
.question-slide-topline .home-qa-context{margin:0;min-height:0}
.question-slide-pool{
  flex:0 0 auto;
  max-width:48%;
  color:var(--muted);
  font-size:.68rem;
  font-weight:760;
  line-height:1.25;
  text-align:right;
}
.home-qa-question{
  min-height:2.45em;
  font-size:clamp(1.8rem,5vw,4rem);
  line-height:1.02;
  overflow-wrap:anywhere;
}
.home-qa-progress{margin-top:1rem}
.question-slide-controls{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  margin-top:.8rem;
}
.slide-control{
  min-height:2rem;
  padding:.32rem .62rem;
  border:.0625rem solid color-mix(in srgb,var(--ink) 22%,transparent);
  border-radius:.2rem;
  background:color-mix(in srgb,var(--surface) 64%,transparent);
  color:var(--ink);
  font-size:.68rem;
  font-weight:760;
  line-height:1;
  cursor:pointer;
}
.slide-control:hover,.slide-control:focus-visible{background:color-mix(in srgb,#fff200 26%,var(--surface));outline:none}
.slide-control.is-active{background:color-mix(in srgb,#7cff00 30%,var(--surface));border-color:color-mix(in srgb,#2f7c00 52%,var(--ink))}
.question-slide-stage.is-paused .home-qa-progress>span{opacity:.55}
.home-qa-answer{
  min-height:8em;
  margin-top:clamp(1.2rem,3vw,2.2rem);
  font-size:clamp(1rem,2vw,1.45rem);
  line-height:1.44;
  overflow-wrap:anywhere;
}
.question-slide-book{margin:.8rem 0 1rem}
.question-slide-book .question-slide-content{padding:clamp(1rem,3vw,2.1rem)}
.question-slide-book .home-qa-question{font-size:clamp(1.45rem,3.6vw,2.8rem)}
.question-slide-book .home-qa-answer{font-size:clamp(.95rem,1.5vw,1.12rem)}


@media(max-width:47.5rem){
  .home-learning-flow{gap:.8rem;padding:.55rem 0 1rem}
  .question-slide-home .home-qa-underlay{inset:-.3rem}
  .question-slide-stage{min-height:38rem}
  .question-slide-content{padding:1rem .8rem 1.1rem}
  .question-slide-topline{gap:.5rem;margin-bottom:.75rem}
  .home-qa-context{font-size:.64rem}
  .question-slide-pool{max-width:45%;font-size:.58rem}
  .home-qa-question{min-height:3.1em;font-size:clamp(1.55rem,8.2vw,2.75rem)}
  .home-qa-answer{min-height:12em;margin-top:1rem;font-size:.95rem;line-height:1.42}
  .question-slide-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem}
  .slide-control{width:100%;font-size:.65rem}
}

@media print{
  .question-slide-controls,.question-slide-filters,.question-slide-answer-actions{display:none!important}
  .question-slide-content{min-height:0!important;background:#fff!important;box-shadow:none!important}
}
@media(max-width:47.5rem){.question-slide-stage{min-height:32rem}}

/* 1.7.64 · einfache Buchauswahl, Reihenfolge, Statusfilter und ruhiger Footer */
.question-slide-content{
  grid-template-rows:auto auto auto auto auto minmax(8rem,auto) auto;
}
.question-slide-origin{min-width:0}
.question-slide-label{
  margin:0 0 .18rem;
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.question-slide-filters{
  display:grid;
  grid-template-columns:minmax(15rem,1fr) auto auto;
  gap:.45rem;
  align-items:end;
  margin:0 0 1.1rem;
  padding:.55rem;
  border:.0625rem solid color-mix(in srgb,var(--ink) 13%,transparent);
  border-radius:.22rem;
  background:color-mix(in srgb,var(--surface) 56%,transparent);
}
.question-filter-select{
  display:grid;
  gap:.2rem;
  min-width:0;
}
.question-filter-select>span{
  color:var(--muted);
  font-size:.6rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.question-filter-select select{
  width:100%;
  min-height:2.15rem;
  padding:.36rem 2rem .36rem .55rem;
  border:.0625rem solid color-mix(in srgb,var(--ink) 22%,transparent);
  border-radius:.2rem;
  background:var(--surface);
  color:var(--ink);
  font:inherit;
  font-size:.72rem;
  font-weight:740;
}
.slide-control:disabled,.slide-check-control:disabled{
  opacity:.42;
  cursor:not-allowed;
}
.home-qa-char{
  display:inline-block;
  transform:translateY(0);
  opacity:1;
  transition:color .16s linear,opacity .6s ease,transform .6s ease,filter .6s ease;
}
.question-slide-stage.is-deconstructing .home-qa-question .home-qa-char{
  opacity:0;
  transform:translateY(-.55rem);
  filter:blur(.08rem);
}
.question-slide-stage.is-deconstructing .home-qa-answer .home-qa-char{
  opacity:0;
  transform:translateY(.55rem);
  filter:blur(.08rem);
}
.question-slide-stage.is-fading{
  opacity:0;
  transform:scale(.992);
  filter:blur(.08rem);
}
.question-slide-stage{
  transform:scale(1);
  filter:none;
  transition:opacity 2s ease,transform 2s ease,filter 2s ease;
}
.home-qa-progress{
  position:relative;
  border-radius:999rem;
  transition:background-color .25s ease;
}
.home-qa-progress>span{
  border-radius:inherit;
  transition:background-color .25s ease,opacity .25s ease;
}
.home-qa-progress[data-phase="question"]>span{background:var(--home-progress)}
.home-qa-progress[data-phase="answer-build"]{background:transparent}
.home-qa-progress[data-phase="answer-pause"]{
  background:color-mix(in srgb,#43c900 14%,transparent);
}
.home-qa-progress[data-phase="answer-pause"]>span{
  background:#43c900;
  box-shadow:0 0 .55rem color-mix(in srgb,#43c900 34%,transparent);
}
.question-slide-answer-actions{
  display:flex;
  justify-content:flex-start;
  min-height:2.25rem;
  margin-top:.75rem;
  opacity:0;
  transform:translateY(.25rem);
  pointer-events:none;
  transition:opacity .3s ease,transform .3s ease;
}
.question-slide-answer-actions.is-visible{
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.slide-check-control{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  min-height:2.1rem;
  padding:.34rem .68rem;
  border:.0625rem solid color-mix(in srgb,var(--ink) 22%,transparent);
  border-radius:.2rem;
  background:color-mix(in srgb,var(--surface) 64%,transparent);
  color:var(--ink);
  font:inherit;
  font-size:.68rem;
  font-weight:800;
  cursor:pointer;
}
.slide-check-control .check-mark{
  width:.92rem;
  height:.92rem;
  border:.1rem solid color-mix(in srgb,var(--ink) 44%,transparent);
  border-radius:.16rem;
  background:transparent;
}
.slide-check-control.is-checked{
  background:color-mix(in srgb,#7cff00 29%,var(--surface));
  border-color:color-mix(in srgb,#2f7c00 52%,var(--ink));
}
.slide-check-control.is-checked .check-mark{
  border-color:#2f7c00;
  background:#7cff00;
  box-shadow:inset 0 0 0 .16rem var(--surface);
}
.question-slide-book .question-slide-filters{
  grid-template-columns:auto auto;
  justify-content:start;
}

.site-footer{
  margin-top:1.5rem;
  padding:0 0 max(1rem,env(safe-area-inset-bottom));
  border:0;
  background:transparent;
}
.footer-panel{
  display:grid;
  grid-template-columns:minmax(12rem,1.1fr) minmax(18rem,1.8fr) auto;
  gap:.75rem 1rem;
  align-items:center;
  padding:1rem;
  border:.0625rem solid var(--line);
  border-left:.38rem solid color-mix(in srgb,#00efff 68%,var(--ink));
  border-radius:.25rem;
  background:color-mix(in srgb,var(--surface-soft) 82%,transparent);
  box-shadow:var(--shadow);
}
html[data-theme^="glass"] .footer-panel{
  -webkit-backdrop-filter:blur(1.4rem) saturate(1.25);
  backdrop-filter:blur(1.4rem) saturate(1.25);
}
.footer-brand-block{
  display:grid;
  gap:.15rem;
}
.footer-brand-block strong{
  font-size:.86rem;
  letter-spacing:.08em;
}
.footer-brand-block span{
  color:var(--muted);
  font-size:.66rem;
  line-height:1.35;
}
.footer-panel .footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:.32rem .72rem;
  justify-content:center;
}
.footer-panel .footer-nav a,.footer-panel .footer-text-action{
  color:var(--ink);
  font-size:.68rem;
  font-weight:760;
  text-decoration:none;
}
.footer-panel .footer-nav a:hover,.footer-panel .footer-text-action:hover{text-decoration:underline}
.footer-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.65rem;
  white-space:nowrap;
}
.footer-panel .footer-text-action{
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}
.footer-panel .footer-status{
  grid-column:1/-1;
  margin:.05rem 0 0;
  padding-top:.65rem;
  border-top:.0625rem solid var(--line);
  color:var(--muted);
  font-size:.61rem;
  line-height:1.35;
  text-align:center;
}

@media(max-width:47.5rem){
  .question-slide-content{padding:.85rem .65rem 1rem}
  .home-qa-question,.question-slide-book .home-qa-question{
    font-size:clamp(1.42rem,7.2vw,2.45rem);
    overflow-wrap:normal;
    word-break:normal;
    hyphens:auto;
    text-wrap:balance;
  }
  .question-slide-filters{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.35rem;
    margin-bottom:.8rem;
    padding:.45rem;
  }
  .question-filter-select{grid-column:1/-1}
  .question-filter-select select{font-size:.68rem}
  .question-slide-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .question-slide-controls .slide-control:last-child:nth-child(odd){grid-column:1/-1}
  .question-slide-answer-actions{justify-content:stretch}
  .slide-check-control{width:100%;justify-content:center}
  .question-slide-book .question-slide-filters{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}
  .footer-panel{
    grid-template-columns:1fr;
    gap:.75rem;
    width:calc(100% - 1rem)!important;
    padding:.8rem;
  }
  .footer-brand-block{text-align:center}
  .footer-panel .footer-nav{justify-content:center}
  .footer-actions{justify-content:center;flex-wrap:wrap}
  .footer-panel .footer-status{grid-column:1;text-align:left}
}

@media print{
  .question-slide-filters,.question-slide-controls,.question-slide-answer-actions{display:none!important}
  .site-footer{display:none!important}
}
.home-qa-word{display:inline-block;white-space:nowrap}
.home-qa-space{display:inline;white-space:pre}


/* 1.7.67 · ruhige Folien, eingeklappte Settings und headerartige Fußzeile */
.question-slide-settings,.book-slide-fold{margin:0 0 1rem;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface-soft)}
.question-slide-settings>summary,.book-slide-fold>summary{display:flex;align-items:center;justify-content:space-between;min-height:2.75rem;padding:.625rem .8rem;font-weight:760;cursor:pointer;list-style:none}
.question-slide-settings>summary::-webkit-details-marker,.book-slide-fold>summary::-webkit-details-marker{display:none}
.question-slide-settings>summary::after,.book-slide-fold>summary::after{content:"+";font-size:1.1rem;font-weight:500}
.question-slide-settings[open]>summary::after,.book-slide-fold[open]>summary::after{content:"−"}
.question-slide-settings-body{display:grid;gap:.55rem;padding:0 .75rem .75rem;border-top:.0625rem solid var(--line)}
.question-slide-settings .question-slide-filters,.question-slide-settings .question-slide-controls{margin:.65rem 0 0}
.book-slide-fold{margin-top:1.25rem;background:var(--surface)}
.book-slide-fold-body{padding:.25rem .75rem .75rem;border-top:.0625rem solid var(--line)}
.book-slide-fold .question-slide-shell{margin:0}
.home-qa-question,.home-qa-answer{opacity:0;transform:translateX(-.75rem);filter:blur(.08rem);will-change:opacity,transform,filter}
.home-qa-question.is-wipe-visible,.home-qa-answer.is-wipe-visible{animation:qa-soft-in 2s cubic-bezier(.22,.72,.18,1) forwards}
@keyframes qa-soft-in{0%{opacity:0;transform:translateX(-.75rem);filter:blur(.08rem)}45%{opacity:.82;filter:blur(0)}100%{opacity:1;transform:none;filter:none}}
.question-slide-stage.is-deconstructing .home-qa-question,.question-slide-stage.is-deconstructing .home-qa-answer{animation:qa-soft-out 1.8s cubic-bezier(.4,0,.2,1) forwards}
@keyframes qa-soft-out{0%{opacity:1;transform:none;filter:none}70%{opacity:.22;transform:translateX(.45rem);filter:blur(.035rem)}100%{opacity:0;transform:translateX(.8rem);filter:blur(.08rem)}}
.home-qa-char,.home-qa-word{display:contents!important;opacity:1!important;transform:none!important}
.site-footer{margin-top:1.5rem!important;padding:0!important;background:#121512!important;color:#f4f5ef!important;border-top:.0625rem solid rgba(255,255,255,.14)!important}
.footer-inner.footer-panel{width:min(var(--page),calc(100% - 1.75rem))!important;min-height:var(--header-h);margin:0 auto!important;padding:.75rem 0 calc(.75rem + env(safe-area-inset-bottom,0))!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:.75rem 1.25rem!important;background:transparent!important;border:0!important;box-shadow:none!important}
.footer-brand-block{display:grid;gap:.1rem}.footer-brand-block strong{letter-spacing:.08em;font-size:.75rem}.footer-brand-block span{color:#b8beb5;font-size:.6875rem}
.footer-nav{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:.35rem .9rem!important}.footer-nav a,.footer-text-action{color:#e8ebe5!important;text-decoration:none!important;font-size:.75rem!important;background:transparent!important;border:0!important;padding:.25rem!important}
.footer-actions{display:flex;justify-content:flex-end;gap:.5rem}.footer-status{grid-column:1/-1!important;color:#9fa69c!important;font-size:.65rem!important;text-align:center!important}
@media(max-width:47.5rem){.footer-inner.footer-panel{grid-template-columns:1fr!important;text-align:center!important}.footer-nav,.footer-actions{justify-content:center!important}.question-slide-settings-body{padding-inline:.55rem}}
@media(prefers-reduced-motion:reduce){.home-qa-question,.home-qa-answer,.home-qa-question.is-wipe-visible,.home-qa-answer.is-wipe-visible{clip-path:none!important;opacity:1!important;transform:none!important;animation:none!important}}


/* 1.7.71 · kompakte Fragenfolie, ein grüner Zeitbalken, Vollbild und Wortlinks */
.question-slide-content{
  grid-template-rows:auto auto auto auto auto auto;
  align-content:center;
}
.question-slide-topline{margin-bottom:.35rem}
.question-slide-settings{margin-bottom:.22rem}
.home-qa-progress{
  order:0;
  height:.22rem;
  margin:.08rem 0 .52rem;
  background:color-mix(in srgb,#43c900 12%,transparent)!important;
}
.home-qa-progress>span{
  display:block;
  height:100%;
  background:#43c900!important;
  box-shadow:0 0 .4rem color-mix(in srgb,#43c900 28%,transparent)!important;
}
.home-qa-question{min-height:0;margin:0}
.home-qa-answer{min-height:0;margin-top:.55rem}
.question-slide-answer-actions{
  justify-content:center;
  min-height:1.5rem;
  margin-top:.42rem;
}
.slide-check-control{
  min-height:1.45rem;
  padding:.08rem .34rem;
  border:0;
  background:transparent;
  font-size:.62rem;
  color:var(--muted);
}
.slide-check-control:hover,.slide-check-control:focus-visible{background:color-mix(in srgb,var(--surface) 42%,transparent)}
.slide-check-control.is-checked{border:0;background:transparent;color:var(--ink)}
.slide-check-control .check-mark{width:.72rem;height:.72rem;border-width:.075rem}
.question-slide-shell:fullscreen{
  width:100vw;
  height:100vh;
  padding:clamp(.5rem,2vw,1.5rem);
  background:var(--page);
  overflow:auto;
}
.question-slide-shell:fullscreen .question-slide-stage{min-height:calc(100vh - 3rem)}
.question-slide-shell:fullscreen .question-slide-content{
  min-height:calc(100vh - 3rem);
  border-radius:.25rem;
  padding:clamp(1.2rem,5vw,5rem);
}
.question-slide-shell:fullscreen .home-qa-question{font-size:clamp(2rem,6vw,5.4rem)}
.question-slide-shell:fullscreen .home-qa-answer{font-size:clamp(1.05rem,2.2vw,1.8rem);max-width:70rem}
@media(max-width:47.5rem){
  .question-slide-stage,.question-slide-book .question-slide-stage{min-height:26rem}
  .question-slide-content{padding:.82rem .66rem .9rem}
  .home-qa-question,.question-slide-book .home-qa-question{min-height:0}
  .home-qa-answer,.question-slide-book .home-qa-answer{min-height:0;margin-top:.5rem}
}

/* 1.7.72 · vollständiger Fragenbestand, ruhige Rückwärtsbewegung und mobiler Vollbildmodus */
:root,
html[data-theme="paper"]{--header-solid:#fff4b8}
html[data-theme="glass-light"]{--header-solid:#f7f8fb}
html[data-theme="glass-black"]{--header-solid:#000000}
.site-header{
  padding-top:max(env(safe-area-inset-top,0rem),0rem)!important;
  background:var(--header-solid)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  isolation:isolate;
}
.site-header::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:0;
  right:0;
  top:calc(-1 * env(safe-area-inset-top,0rem));
  height:env(safe-area-inset-top,0rem);
  background:var(--header-solid);
  pointer-events:none;
}

.question-slide-content{
  grid-template-rows:auto auto auto auto auto auto auto;
}
.question-slide-topline{
  align-items:center;
  margin-bottom:.22rem;
}
.question-slide-label{margin:0}
.question-slide-bookline{
  min-height:1.05rem;
  margin:.2rem 0 .18rem;
  color:var(--muted);
  font-size:.64rem;
  font-weight:720;
  line-height:1.3;
  letter-spacing:.012em;
  text-wrap:balance;
}
.home-qa-progress{margin:.02rem 0 .48rem}
.home-qa-answer{margin-top:.48rem}
.question-slide-answer-actions{
  align-items:center;
  justify-content:center;
  gap:.68rem;
  min-height:1.55rem;
  margin-top:.36rem;
}
.slide-content-link{
  display:inline-flex;
  align-items:center;
  min-height:1.45rem;
  padding:.08rem .12rem;
  color:var(--muted);
  font-size:.62rem;
  font-weight:760;
  line-height:1;
  text-decoration:none;
  border-bottom:.0625rem solid color-mix(in srgb,var(--muted) 52%,transparent);
}
.slide-content-link:hover,.slide-content-link:focus-visible{
  color:var(--ink);
  border-bottom-color:currentColor;
}
.slide-content-link[aria-disabled="true"]{opacity:.4;pointer-events:none}

.home-qa-question,.home-qa-answer,.question-slide-bookline{
  opacity:0;
  transform:translateX(-.75rem);
  filter:blur(.08rem);
  will-change:opacity,transform,filter;
}
.home-qa-question.is-wipe-visible,.home-qa-answer.is-wipe-visible,.question-slide-bookline.is-wipe-visible{
  animation:qa-soft-in-172 .98s cubic-bezier(.22,.72,.18,1) forwards;
}
.question-slide-bookline.is-wipe-visible{animation-duration:.52s}
@keyframes qa-soft-in-172{
  0%{opacity:0;transform:translateX(-.75rem);filter:blur(.08rem)}
  52%{opacity:.84;filter:blur(0)}
  100%{opacity:1;transform:none;filter:none}
}
.question-slide-stage.is-deconstructing .home-qa-answer{
  animation:qa-soft-out-172 .72s cubic-bezier(.4,0,.2,1) forwards;
}
.question-slide-stage.is-deconstructing .question-slide-answer-actions{
  opacity:0;
  transform:translateX(-.35rem);
  transition:opacity .42s ease,transform .42s ease;
}
.question-slide-stage.is-deconstructing .home-qa-question{
  animation:qa-soft-out-172 .72s .46s cubic-bezier(.4,0,.2,1) forwards;
}
.question-slide-stage.is-deconstructing .question-slide-bookline{
  animation:qa-soft-out-172 .62s .58s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes qa-soft-out-172{
  0%{opacity:1;transform:none;filter:none}
  70%{opacity:.22;transform:translateX(-.45rem);filter:blur(.035rem)}
  100%{opacity:0;transform:translateX(-.8rem);filter:blur(.08rem)}
}
.question-slide-stage.is-deconstructing{opacity:1!important;transform:none!important;filter:none!important}

.question-slide-shell:fullscreen,
.question-slide-shell.is-fullscreen-fallback{
  width:100vw;
  height:100vh;
  height:100dvh;
  padding:max(.5rem,env(safe-area-inset-top,0rem)) max(.5rem,env(safe-area-inset-right,0rem)) max(.5rem,env(safe-area-inset-bottom,0rem)) max(.5rem,env(safe-area-inset-left,0rem));
  background:var(--bg)!important;
  overflow:auto;
}
.question-slide-shell.is-fullscreen-fallback{
  position:fixed;
  z-index:1200;
  inset:0;
}
.question-slide-shell:fullscreen .question-slide-stage,
.question-slide-shell.is-fullscreen-fallback .question-slide-stage{
  min-height:calc(100dvh - 1rem);
}
.question-slide-shell:fullscreen .question-slide-content,
.question-slide-shell.is-fullscreen-fallback .question-slide-content{
  min-height:calc(100dvh - 1rem);
  padding:clamp(1.2rem,5vw,5rem);
}
.question-slide-shell:fullscreen .home-qa-question,
.question-slide-shell.is-fullscreen-fallback .home-qa-question{font-size:clamp(2rem,6vw,5.4rem)}
.question-slide-shell:fullscreen .home-qa-answer,
.question-slide-shell.is-fullscreen-fallback .home-qa-answer{font-size:clamp(1.05rem,2.2vw,1.8rem);max-width:70rem}
html.qa-fullscreen-lock,html.qa-fullscreen-lock body{overflow:hidden!important}

.qa-origin-label{
  margin:.78rem 0 .32rem;
  padding-top:.48rem;
  border-top:.0625rem solid var(--line);
  color:var(--muted);
  font-size:.64rem;
  font-weight:820;
  line-height:1.3;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.qa-origin-label:first-child{margin-top:0;padding-top:0;border-top:0}

@media(max-width:47.5rem){
  .site-header{min-height:calc(var(--header-h) + env(safe-area-inset-top,0rem))}
  .question-slide-bookline{font-size:.61rem;margin-top:.16rem}
  .question-slide-answer-actions{justify-content:center!important;gap:.55rem}
  .slide-check-control{width:auto!important;justify-content:center}
  .slide-content-link{font-size:.61rem}
  .question-slide-shell.is-fullscreen-fallback .question-slide-content{padding:1rem .78rem 1.1rem}
}

@media(prefers-reduced-motion:reduce){
  .question-slide-bookline,.question-slide-bookline.is-wipe-visible,
  .question-slide-stage.is-deconstructing .question-slide-bookline{
    opacity:1!important;transform:none!important;filter:none!important;animation:none!important
  }
}

/* 1.7.73 · Mobile header, safe area and lightweight notes dashboard */
:root{--header-safe-bg:#fff4b8}
html[data-theme="paper"]{--header-safe-bg:#fff4b8}
html[data-theme="glass-light"]{--header-safe-bg:#f7f8fb}
html[data-theme="glass-black"]{--header-safe-bg:#000000}
html{background:var(--header-safe-bg)}
.site-header{
  position:sticky;
  top:0;
  padding-top:env(safe-area-inset-top,0px);
  background:var(--header-safe-bg)!important;
  isolation:isolate;
}
.site-header::before{
  content:"";
  position:fixed;
  z-index:0;
  inset:0 0 auto 0;
  height:env(safe-area-inset-top,0px);
  background:var(--header-safe-bg);
  pointer-events:none;
}
.header-shell{position:relative;z-index:1}
.brand{
  display:inline-flex;
  align-items:center;
  min-height:2.75rem;
  padding:.5rem .25rem;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.main-nav a{
  min-width:2.75rem;
  min-height:2.75rem;
  justify-content:center;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
@media (max-width:47.5rem){
  .site-header{min-height:calc(var(--header-h) + env(safe-area-inset-top,0px))}
  .header-shell{width:calc(100% - 1rem);gap:.375rem}
  .brand{font-size:.72rem}
  .header-search input{min-height:2.25rem}
  .main-nav{gap:.125rem}
  .main-nav a{padding:.4375rem}
}
.consent-error{
  margin:.625rem 0 0;
  padding:.625rem .75rem;
  border-left:.1875rem solid var(--danger);
  background:color-mix(in srgb,var(--danger) 8%,transparent);
  color:var(--ink);
  font-size:.75rem;
}
.consent-panel.is-blocked{border-color:color-mix(in srgb,var(--danger) 42%,var(--line))}
.check-tree-question-link{
  display:grid;
  gap:.125rem;
  min-width:0;
  color:inherit;
  text-decoration:none;
}
.check-tree-question-link:hover,.check-tree-question-link:focus-visible{text-decoration:underline}
.check-tree-question-link small{color:var(--muted);font-size:.625rem;line-height:1.3}
.check-tree-question-link span{overflow-wrap:anywhere}
.check-tree-items>.muted{margin:.5rem 0;font-size:.6875rem}
@media (max-width:47.5rem){
  .check-tree-item{grid-template-columns:2.75rem minmax(0,1fr);align-items:start}
  .check-tree-item .check-control{margin-top:.0625rem}
  .check-tree-question-link{padding:.375rem 0;line-height:1.4}
}

/* 1.7.79 · ausfallsichere und leichtere Fragenfolie */
.question-slide-stage:not(.is-enhanced) .home-qa-question,
.question-slide-stage:not(.is-enhanced) .home-qa-answer,
.question-slide-stage:not(.is-enhanced) .question-slide-bookline{
  opacity:1!important;
  transform:none!important;
  filter:none!important;
  animation:none!important;
}
.question-slide-stage:not(.is-enhanced) .question-slide-answer-actions{
  opacity:1!important;
  transform:none!important;
  pointer-events:auto;
}
.question-slide-noscript{
  margin:.55rem 0 0;
  color:var(--muted);
  font-size:.68rem;
}

/* 1.7.81 · ruhiger Folienwechsel, kompakte Setting-Zeile und Tastatursteuerung */
.question-slide-stage,
.question-slide-book .question-slide-stage{
  min-height:clamp(23rem,46vw,33rem);
}
.question-slide-content{
  align-content:start;
  padding:clamp(.82rem,2.5vw,1.65rem);
}
.question-slide-topline{
  min-height:0;
  margin:0 0 .08rem;
}
.question-slide-label{
  font-size:.61rem;
  letter-spacing:.035em;
  text-transform:none;
}
.question-slide-settings{
  margin:0 0 .12rem!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.question-slide-settings>summary{
  justify-content:flex-start;
  gap:.42rem;
  min-height:0!important;
  padding:.08rem 0!important;
  border:0;
  color:var(--muted);
  font-size:.64rem;
  font-weight:760;
  line-height:1.2;
}
.question-slide-settings>summary::after{
  content:"öffnen";
  margin-left:auto;
  font-size:.59rem;
  font-weight:650;
}
.question-slide-settings[open]>summary::after{
  content:"Folie angehalten · schließen";
}

.question-slide-settings>summary .question-slide-pool{
  margin-left:.28rem;
  color:color-mix(in srgb,var(--muted) 82%,transparent);
  font-size:.59rem;
  font-weight:600;
}
.question-slide-settings>summary .question-slide-pool::before{content:"· ";}
.question-slide-settings-body{
  gap:.38rem;
  padding:.2rem 0 .38rem;
  border-top:.0625rem solid color-mix(in srgb,var(--ink) 10%,transparent);
}
.question-slide-settings .question-slide-filters,
.question-slide-settings .question-slide-controls{
  margin:.38rem 0 0;
}
.question-slide-filters{
  margin-bottom:.48rem;
  padding:.42rem;
}
.question-slide-controls{
  gap:.28rem;
  margin-top:.35rem;
}
.question-slide-bookline{
  margin:.08rem 0 .12rem;
}
.home-qa-progress{
  margin:0 0 .36rem;
}
.home-qa-answer,
.question-slide-book .home-qa-answer{
  margin-top:.36rem;
}

.home-qa-question,
.home-qa-answer,
.question-slide-bookline{
  opacity:0;
  transform:translateY(.14rem);
  filter:none;
  will-change:opacity,transform;
}
.home-qa-question.is-wipe-visible,
.home-qa-answer.is-wipe-visible,
.question-slide-bookline.is-wipe-visible{
  animation:qa-calm-in-181 .52s cubic-bezier(.22,.7,.2,1) forwards;
}
.question-slide-bookline.is-wipe-visible{animation-duration:.26s}
@keyframes qa-calm-in-181{
  from{opacity:0;transform:translateY(.14rem)}
  to{opacity:1;transform:none}
}
.question-slide-stage.is-deconstructing .home-qa-answer{
  animation:qa-calm-out-181 .34s cubic-bezier(.4,0,.2,1) forwards;
}
.question-slide-stage.is-deconstructing .question-slide-answer-actions{
  opacity:0;
  transform:translateY(.08rem);
  transition:opacity .28s ease,transform .28s ease;
}
.question-slide-stage.is-deconstructing .home-qa-question{
  animation:qa-calm-out-181 .38s .12s cubic-bezier(.4,0,.2,1) forwards;
}
.question-slide-stage.is-deconstructing .question-slide-bookline{
  animation:qa-calm-out-181 .3s .2s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes qa-calm-out-181{
  from{opacity:1;transform:none}
  to{opacity:0;transform:translateY(-.12rem)}
}

.question-slide-answer-actions{
  display:grid;
  grid-template-columns:2rem minmax(0,1fr) 2rem;
  align-items:center;
  gap:.5rem;
  width:min(24rem,100%);
  margin:.34rem auto 0;
}
.question-slide-answer-center{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.68rem;
  min-width:0;
}
.slide-arrow-control{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2rem;
  height:1.65rem;
  padding:0;
  border:0;
  border-bottom:.0625rem solid color-mix(in srgb,var(--muted) 45%,transparent);
  border-radius:0;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:.92rem;
  line-height:1;
  cursor:pointer;
}
.slide-arrow-control:hover,
.slide-arrow-control:focus-visible{
  color:var(--ink);
  border-bottom-color:currentColor;
  outline:none;
}
.slide-arrow-control:disabled{
  opacity:.24;
  cursor:not-allowed;
}
.question-slide-stage.is-settings-open .home-qa-progress>span{opacity:.46}

.question-slide-shell:fullscreen .question-slide-content,
.question-slide-shell.is-fullscreen-fallback .question-slide-content{
  align-content:center;
}

@media(max-width:47.5rem){
  .question-slide-stage,
  .question-slide-book .question-slide-stage{min-height:22rem}
  .question-slide-content{padding:.68rem .62rem .78rem}
  .question-slide-topline{margin-bottom:.02rem}
  .question-slide-settings>summary{min-height:0!important;padding:.05rem 0!important;font-size:.62rem}
  .question-slide-settings>summary::after{font-size:.56rem}
  .question-slide-bookline{margin:.04rem 0 .1rem}
  .home-qa-progress{margin-bottom:.3rem}
  .home-qa-answer,.question-slide-book .home-qa-answer{margin-top:.32rem}
  .question-slide-answer-actions{grid-template-columns:1.8rem minmax(0,1fr) 1.8rem;gap:.35rem}
  .slide-arrow-control{width:1.8rem;height:1.55rem}
  .question-slide-answer-center{gap:.5rem}
}

@media(prefers-reduced-motion:reduce){
  .home-qa-question,.home-qa-answer,.question-slide-bookline,
  .home-qa-question.is-wipe-visible,.home-qa-answer.is-wipe-visible,.question-slide-bookline.is-wipe-visible,
  .question-slide-stage.is-deconstructing .home-qa-question,
  .question-slide-stage.is-deconstructing .home-qa-answer,
  .question-slide-stage.is-deconstructing .question-slide-bookline{
    opacity:1!important;
    transform:none!important;
    animation:none!important;
  }
}


/* 1.7.82 · ruhiger Textwechsel, zufälliger Start und einheitliche Inhaltsränder */
.home-qa-question,.home-qa-answer{
  clip-path:none!important;
  opacity:0;
  transform:translateY(.3rem);
  filter:none!important;
}
.home-qa-question.is-wipe-visible,.home-qa-answer.is-wipe-visible{
  animation:qa-calm-in .65s cubic-bezier(.22,.61,.36,1) forwards!important;
}
@keyframes qa-calm-in{
  from{opacity:0;transform:translateY(.3rem)}
  to{opacity:1;transform:none}
}
.question-slide-stage.is-deconstructing .home-qa-question,
.question-slide-stage.is-deconstructing .home-qa-answer{
  animation:qa-calm-out .7s ease forwards!important;
}
@keyframes qa-calm-out{
  from{opacity:1;transform:none}
  to{opacity:0;transform:translateY(-.2rem)}
}
.question-slide-stage,
.question-slide-stage.is-fading{
  transform:none!important;
  filter:none!important;
  transition:none!important;
}
.question-slide-content{align-content:start!important;padding-top:clamp(.7rem,2vw,1.25rem)!important}
.question-slide-bookline{margin:.05rem 0 .35rem!important}
.home-qa-progress{margin:.2rem 0 .65rem!important}
.home-qa-question{min-height:0!important;margin:0!important}
.home-qa-answer{min-height:0!important;margin-top:.7rem!important}
.question-slide-answer-actions{margin-top:.65rem!important}
.question-slide-settings{margin:0 0 .55rem!important;border:0!important;background:transparent!important}
.question-slide-settings>summary{min-height:1.8rem!important;padding:.15rem 0!important;font-size:.72rem!important}
.question-slide-settings-body{padding:0 0 .5rem!important;border-top:.0625rem solid var(--line)!important}

/* Kapitel, Listen und Textkörper erhalten dieselbe Innenkante. */
.subject-unit>.unit-body,
.material-chapter>.unit-body,
.learning-chapter>.unit-body,
.source-chapter>.unit-body,
.note-chapter>.unit-body,
.chapter-section>.chapter-section-body,
.qa-section>.chapter-section-body,
.rich-learning,
.material-learning-frame,
.prose,
.text-flow{padding-inline:clamp(.75rem,2vw,1.15rem)!important}
.chapter-section,.qa-section,.subject-unit,.material-chapter,.learning-chapter,.source-chapter,.note-chapter{overflow:hidden}
.chapter-section>summary,.qa-section>summary,.subject-unit>summary,.material-chapter>summary,.learning-chapter>summary,.source-chapter>summary,.note-chapter>summary{padding-inline:clamp(.75rem,2vw,1rem)!important}
.rich-learning :where(ul,ol),.prose :where(ul,ol),.text-flow :where(ul,ol){padding-left:1.25rem!important}
.rich-learning :where(li),.prose :where(li),.text-flow :where(li){padding-left:.15rem}
@media(max-width:47.5rem){
  .page-shell{width:calc(100% - 1rem)!important}
  .question-slide-content{padding-inline:.7rem!important}
  .subject-unit>.unit-body,.material-chapter>.unit-body,.learning-chapter>.unit-body,.source-chapter>.unit-body,.note-chapter>.unit-body,.chapter-section>.chapter-section-body,.qa-section>.chapter-section-body,.rich-learning,.material-learning-frame,.prose,.text-flow{padding-inline:.7rem!important}
}

/* Ausfallsicherer Folienstart, reine Überblendung und ruhige Notizseite */
.home-qa-question,
.home-qa-answer,
.question-slide-bookline{
  clip-path:none!important;
  transform:none!important;
  filter:none!important;
  will-change:opacity;
}
.home-qa-question.is-wipe-visible,
.home-qa-answer.is-wipe-visible,
.question-slide-bookline.is-wipe-visible{
  animation:qa-fade-only-in .42s ease-out forwards!important;
}
@keyframes qa-fade-only-in{
  from{opacity:0}
  to{opacity:1}
}
.question-slide-stage.is-deconstructing .home-qa-question,
.question-slide-stage.is-deconstructing .home-qa-answer,
.question-slide-stage.is-deconstructing .question-slide-bookline,
.question-slide-stage.is-deconstructing .question-slide-answer-actions{
  transform:none!important;
  animation:qa-fade-only-out .38s ease-in forwards!important;
}
@keyframes qa-fade-only-out{
  from{opacity:1}
  to{opacity:0}
}
.question-slide-stage[data-qa-ready="true"]{contain:layout paint}
.question-slide-settings>summary{touch-action:manipulation}

.notes-page-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(18rem,26rem);
  gap:1rem;
  align-items:stretch;
  margin-bottom:1rem;
}
.notes-page-title,
.notes-panel,
.notes-consent{
  border:.0625rem solid var(--line);
  background:var(--surface);
}
.notes-page-title{
  min-height:10rem;
  padding:clamp(1.1rem,3vw,2rem);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:linear-gradient(135deg,var(--rose-a),var(--rose-b) 54%,var(--rose-c));
}
.notes-page-title .eyebrow,
.notes-section-head .eyebrow{margin:0 0 .35rem;color:color-mix(in srgb,var(--ink) 62%,transparent)}
.notes-page-title h1{margin:0;font-size:clamp(2.2rem,6vw,4.4rem);line-height:.92;letter-spacing:-.055em}
.notes-page-title>p:last-child{margin:.7rem 0 0;max-width:42rem;font-size:.78rem;color:color-mix(in srgb,var(--ink) 74%,transparent)}
.notes-consent{margin:0!important;padding:1rem!important;display:flex;flex-direction:column;justify-content:space-between;gap:.65rem}
.notes-consent .consent-status-row{padding:0!important;border:0!important;background:transparent!important}
.notes-consent .consent-status-row span{font-weight:700}
.notes-consent .consent-manage{margin:0!important;border-top:.0625rem solid var(--line);padding-top:.45rem}
.notes-consent .consent-manage>summary{padding:.25rem 0!important;font-size:.7rem;color:var(--muted)}
.notes-consent .consent-manage>div{padding:.35rem 0 0!important;background:transparent!important}
.notes-page-grid{display:grid;gap:1rem}
.notes-panel{padding:clamp(.85rem,2vw,1.2rem)}
.notes-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}
.notes-section-head h2{margin:0;font-size:1.15rem;letter-spacing:-.02em}
.notes-section-head p{margin:.25rem 0 0;max-width:48rem;font-size:.72rem;color:var(--muted)}
.notes-count{display:grid;place-items:center;min-width:2.4rem;height:2.4rem;padding:0 .55rem;border:.0625rem solid var(--line);background:var(--surface-soft);font-size:.85rem;font-variant-numeric:tabular-nums}
.notes-viewbar{display:flex;justify-content:flex-end;align-items:center;margin:0 0 .75rem;padding:.55rem 0;border-top:.0625rem solid var(--line);border-bottom:.0625rem solid var(--line)}
.notes-sort{display:flex;align-items:center;gap:.5rem;font-size:.68rem;color:var(--muted)}
.notes-sort select{min-height:2rem;padding:.3rem 1.8rem .3rem .55rem;border:.0625rem solid var(--line);background:var(--surface);color:var(--ink)}
.notes-report{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.note-card{margin:0!important;padding:.8rem!important;border:.0625rem solid var(--line)!important;background:var(--surface-soft)!important;box-shadow:none!important}
.note-card header{margin-bottom:.5rem}
.note-card h2{margin:.12rem 0 0;font-size:.82rem;line-height:1.35}
.note-card header small{color:var(--muted);font-size:.6rem}
.note-card textarea{width:100%;min-height:9rem;resize:vertical;padding:.65rem;border:.0625rem solid var(--line);background:var(--surface);line-height:1.5}
.note-card footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.5rem}
.notes-empty{grid-column:1/-1;min-height:6.5rem;display:grid;place-content:center;text-align:center;padding:1rem;border:.0625rem dashed var(--line-strong);background:var(--surface-soft)}
.notes-empty strong{font-size:.82rem}
.notes-empty p{margin:.3rem 0 0;color:var(--muted);font-size:.7rem}
.check-statistics{grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin:.65rem 0 .85rem!important}
.check-statistics>div{min-height:4.1rem;padding:.65rem!important;border:.0625rem solid var(--line)!important;background:var(--surface-soft)!important;box-shadow:none!important}
.check-statistics strong{font-size:1.05rem;font-variant-numeric:tabular-nums}
.check-statistics span{font-size:.62rem;color:var(--muted)}
.check-tree{display:grid;gap:.35rem}
.check-tree-shelf,
.check-tree-book{border:.0625rem solid var(--line)!important;background:var(--surface)!important;box-shadow:none!important}
.check-tree-shelf>summary,
.check-tree-book>summary{min-height:2.8rem;padding:.6rem .75rem!important}
.check-tree-shelf-body,
.check-tree-book-body{padding:.45rem .6rem .65rem!important;background:var(--surface-soft)!important}
.check-tree-book{margin:.35rem 0 0!important}
.check-tree-items{margin-top:.5rem;border-top:.0625rem solid var(--line)}
.check-tree-item{padding:.35rem 0;border-bottom:.0625rem solid var(--line)}
.check-book-link{margin:.2rem 0 .25rem}

html[data-theme="glass-black"] .notes-page-title,
html[data-theme="dark"] .notes-page-title{
  background:linear-gradient(135deg,#17130b,#211215 54%,#15101b)!important;
}
@media(max-width:47.5rem){
  .notes-page-head{grid-template-columns:1fr}
  .notes-page-title{min-height:8rem}
  .notes-consent{padding:.75rem!important}
  .notes-panel{padding:.7rem}
  .notes-report{grid-template-columns:1fr}
  .check-statistics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .notes-section-head{gap:.6rem}
}
@media(prefers-reduced-motion:reduce){
  .home-qa-question.is-wipe-visible,
  .home-qa-answer.is-wipe-visible,
  .question-slide-bookline.is-wipe-visible,
  .question-slide-stage.is-deconstructing .home-qa-question,
  .question-slide-stage.is-deconstructing .home-qa-answer,
  .question-slide-stage.is-deconstructing .question-slide-bookline,
  .question-slide-stage.is-deconstructing .question-slide-answer-actions{animation:none!important;opacity:1!important}
}

/* 1.7.84 · vorbereitete Suche, flache Fragenfolie und ruhiger Vollbildton */
.header-search{overflow:visible}
.header-search::after{
  content:"";
  position:absolute;
  z-index:4;
  left:.2rem;
  right:.2rem;
  bottom:-.16rem;
  height:.1rem;
  border-radius:.1rem;
  background:var(--ok);
  opacity:0;
  transform:scaleX(0);
  transform-origin:left center;
  pointer-events:none;
}
.header-search.is-search-loading::after{
  opacity:.72;
  animation:gremmatik-search-load 1.05s ease-in-out infinite;
}
@keyframes gremmatik-search-load{
  0%{transform:scaleX(.08);transform-origin:left center}
  48%{transform:scaleX(.78);transform-origin:left center}
  52%{transform:scaleX(.78);transform-origin:right center}
  100%{transform:scaleX(.08);transform-origin:right center}
}

.question-slide-shell{
  --qa-fullscreen-bg:var(--paper);
  transition:background-color .8s ease;
}
.question-slide-shell[data-qa-tone="0"]{--qa-fullscreen-bg:color-mix(in srgb,var(--paper) 91%,#e9d96a 9%)}
.question-slide-shell[data-qa-tone="1"]{--qa-fullscreen-bg:color-mix(in srgb,var(--paper) 91%,#9fd6bd 9%)}
.question-slide-shell[data-qa-tone="2"]{--qa-fullscreen-bg:color-mix(in srgb,var(--paper) 91%,#9fc8df 9%)}
.question-slide-shell[data-qa-tone="3"]{--qa-fullscreen-bg:color-mix(in srgb,var(--paper) 91%,#d8abc9 9%)}
.question-slide-shell[data-qa-tone="4"]{--qa-fullscreen-bg:color-mix(in srgb,var(--paper) 91%,#ddbb8b 9%)}
.question-slide-shell[data-qa-tone="5"]{--qa-fullscreen-bg:color-mix(in srgb,var(--paper) 91%,#b6b0dd 9%)}
html[data-theme="glass-black"] .question-slide-shell[data-qa-tone="0"]{--qa-fullscreen-bg:#0d0c05}
html[data-theme="glass-black"] .question-slide-shell[data-qa-tone="1"]{--qa-fullscreen-bg:#06100b}
html[data-theme="glass-black"] .question-slide-shell[data-qa-tone="2"]{--qa-fullscreen-bg:#050d12}
html[data-theme="glass-black"] .question-slide-shell[data-qa-tone="3"]{--qa-fullscreen-bg:#10070d}
html[data-theme="glass-black"] .question-slide-shell[data-qa-tone="4"]{--qa-fullscreen-bg:#100b05}
html[data-theme="glass-black"] .question-slide-shell[data-qa-tone="5"]{--qa-fullscreen-bg:#090712}

.question-slide-stage,
.question-slide-book .question-slide-stage{
  min-height:clamp(22rem,44vw,31rem)!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.question-slide-content,
.home-qa-glass.question-slide-content{
  display:flex!important;
  flex-direction:column;
  align-content:normal!important;
  min-height:inherit;
  gap:0;
  padding:clamp(.58rem,1.8vw,1rem) clamp(.45rem,2.3vw,1.2rem) .7rem!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.question-slide-content .text-flow{
  width:100%!important;
  max-width:none!important;
  padding-inline:0!important;
}
.question-slide-settings{flex:0 0 auto;margin-bottom:.18rem!important}
.home-qa-progress{
  order:2;
  flex:0 0 auto;
  width:100%;
  margin:.05rem 0 .3rem!important;
}
.question-slide-bookline{
  order:3;
  display:block;
  width:max-content;
  max-width:100%;
  margin:0 0 .46rem!important;
  padding:0;
  color:var(--muted);
  font-size:.64rem;
  font-weight:700;
  line-height:1.3;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.question-slide-bookline:hover,
.question-slide-bookline:focus-visible{
  color:var(--ink);
  text-decoration:underline;
  outline:none;
}
.home-qa-question{order:4;min-height:0!important;margin:0!important}
.home-qa-answer{order:5;min-height:0!important;margin:.48rem 0 0!important}
.question-slide-play-control{
  order:6;
  align-self:center;
  min-width:4.6rem;
  min-height:1.7rem;
  margin:.52rem auto 0;
  padding:.15rem .6rem;
  border:0;
  border-bottom:.0625rem solid color-mix(in srgb,var(--muted) 48%,transparent);
  border-radius:0;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:.67rem;
  font-weight:720;
  line-height:1.2;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease,color .16s ease,border-color .16s ease;
}
.question-slide-play-control.is-visible{opacity:1;pointer-events:auto}
.question-slide-play-control:hover,
.question-slide-play-control:focus-visible{color:var(--ink);border-bottom-color:currentColor;outline:none}
.question-slide-play-control:disabled{opacity:.35;cursor:not-allowed}
.question-slide-answer-actions{
  order:7;
  flex:0 0 auto;
  margin:auto auto 0!important;
  padding-top:.75rem;
}
.question-slide-stage.is-deconstructing .question-slide-play-control{
  opacity:0!important;
  pointer-events:none;
}

.question-slide-shell:fullscreen,
.question-slide-shell.is-fullscreen-fallback{
  background-color:var(--qa-fullscreen-bg)!important;
}
.question-slide-shell:fullscreen .question-slide-stage,
.question-slide-shell.is-fullscreen-fallback .question-slide-stage{
  min-height:100dvh!important;
}
.question-slide-shell:fullscreen .question-slide-content,
.question-slide-shell.is-fullscreen-fallback .question-slide-content{
  min-height:100dvh!important;
  padding:clamp(1rem,3vw,2.4rem)!important;
}
.question-slide-shell:fullscreen .question-slide-answer-actions,
.question-slide-shell.is-fullscreen-fallback .question-slide-answer-actions{
  padding-bottom:max(.35rem,env(safe-area-inset-bottom,0px));
}

@media(max-width:47.5rem){
  .question-slide-stage,
  .question-slide-book .question-slide-stage{min-height:21rem!important}
  .question-slide-content,
  .home-qa-glass.question-slide-content{padding:.48rem .28rem .55rem!important}
  .question-slide-bookline{margin-bottom:.34rem!important;font-size:.61rem}
  .home-qa-answer{margin-top:.38rem!important}
  .question-slide-play-control{margin-top:.42rem}
  .question-slide-answer-actions{padding-top:.55rem}
}
@media(prefers-reduced-motion:reduce){
  .header-search.is-search-loading::after{animation:none;transform:scaleX(1)}
  .question-slide-shell{transition:none}
  .question-slide-play-control{transition:none}
}

/* 1.7.84 final · Fragenfolie ohne Innenkarte */
html .question-slide-shell .home-qa-underlay{
  display:none!important;
}
html .question-slide-shell .home-qa-stage.question-slide-stage,
html .question-slide-shell .home-qa-glass.question-slide-content{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

/* 1.7.86 · schwarzer Header, globale Ladezeile, flache Foliensteuerung und Buchdialoge */
:root,
html[data-theme="paper"],
html[data-theme="glass-light"],
html[data-theme="glass-black"]{
  --header-safe-bg:#121512;
  --header-solid:#121512;
}
html{background:#121512!important}
.site-header{
  color:#f4f5ef!important;
  background:#121512!important;
  border-bottom:.0625rem solid rgba(255,255,255,.14)!important;
}
.site-header::before{background:#121512!important}
.site-header::after{
  content:"";
  position:absolute;
  z-index:20;
  left:0;
  right:0;
  bottom:-.0625rem;
  height:.125rem;
  background:#43c900;
  opacity:0;
  transform:scaleX(0);
  transform-origin:left center;
  pointer-events:none;
}
html.is-site-loading .site-header::after{
  opacity:.82;
  animation:gremmatik-header-load 1.05s ease-in-out infinite;
}
@keyframes gremmatik-header-load{
  0%{transform:scaleX(.03);transform-origin:left center}
  48%{transform:scaleX(.72);transform-origin:left center}
  52%{transform:scaleX(.72);transform-origin:right center}
  100%{transform:scaleX(.03);transform-origin:right center}
}
.header-search::after{display:none!important}
.site-header .brand,
.site-header .main-nav a{color:#f4f5ef!important}
.site-header .main-nav a:hover,
.site-header .main-nav a:focus-visible,
.site-header .main-nav a.active{background:rgba(255,255,255,.1)!important;color:#fff!important}
.site-header .header-search input{
  color:#f5f7f2!important;
  background:#20241f!important;
  border-color:rgba(255,255,255,.2)!important;
}
.site-header .header-search input::placeholder{color:#aeb5aa!important}

.question-slide-stage,
.question-slide-book .question-slide-stage{
  min-height:clamp(27rem,52vw,37rem)!important;
}
.question-slide-content,
.home-qa-glass.question-slide-content{
  min-height:inherit;
  padding:clamp(.55rem,1.8vw,1rem) clamp(.4rem,2.2vw,1.15rem) .4rem!important;
}
.question-book-filter{
  order:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:.3rem .65rem;
  width:100%;
  margin:0 0 .35rem;
  color:var(--muted);
  font-size:.62rem;
}
.question-book-filter>label{font-weight:760;white-space:nowrap}
.question-book-filter-field{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.25rem;
  min-width:0;
}
.question-book-filter input{
  width:100%;
  min-width:0;
  min-height:1.8rem;
  padding:.25rem .45rem;
  border:0;
  border-bottom:.0625rem solid color-mix(in srgb,var(--ink) 24%,transparent);
  border-radius:0;
  background:transparent;
  color:var(--ink);
  font:inherit;
  font-size:.68rem;
}
.question-book-filter input:focus{border-bottom-color:var(--ink);outline:none}
.question-book-filter button{
  min-height:1.8rem;
  padding:.2rem .35rem;
  border:0;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:.62rem;
  cursor:pointer;
}
.question-book-filter button:hover,
.question-book-filter button:focus-visible{color:var(--ink);text-decoration:underline}
.home-qa-progress{
  order:1!important;
  height:.12rem!important;
  margin:.05rem 0 .38rem!important;
  background:color-mix(in srgb,#43c900 13%,transparent)!important;
}
.question-slide-meta{
  order:2;
  margin:0 0 .06rem;
  color:var(--muted);
  font-size:.59rem;
  font-weight:650;
  letter-spacing:.025em;
}
.question-slide-bookline{
  order:3!important;
  width:100%!important;
  margin:0 0 .24rem!important;
  color:var(--ink)!important;
  font-size:.72rem!important;
  font-weight:800!important;
  line-height:1.25!important;
  text-decoration:none!important;
}
.question-slide-bookline:hover,
.question-slide-bookline:focus-visible{text-decoration:underline!important}
.home-qa-question{
  order:4!important;
  font-size:clamp(1.55rem,4.2vw,3.35rem)!important;
  line-height:1.08!important;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.home-qa-answer{
  order:5!important;
  margin:.55rem 0 0!important;
  font-size:clamp(.92rem,1.45vw,1.12rem)!important;
  line-height:1.55!important;
}
.question-slide-control-dock{
  order:6;
  display:grid;
  gap:.3rem;
  width:100%;
  margin:auto 0 0;
  padding-top:.85rem;
  opacity:1;
  transition:opacity .25s ease;
}
.question-slide-primary-controls,
.question-slide-secondary-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.28rem;
}
.question-slide-primary-controls{gap:.65rem}
.slide-icon-control{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.15rem;
  height:2rem;
  padding:0;
  border:0;
  border-bottom:.0625rem solid transparent;
  border-radius:0;
  background:transparent;
  color:var(--muted);
  text-decoration:none;
  cursor:pointer;
}
.slide-icon-control .icon{width:1rem;height:1rem}
.question-slide-primary-controls .slide-icon-control{width:2.65rem;height:2.2rem}
.question-slide-primary-controls .slide-icon-control .icon{width:1.25rem;height:1.25rem}
.slide-icon-control:hover,
.slide-icon-control:focus-visible{color:var(--ink);border-bottom-color:currentColor;outline:none}
.slide-icon-control:disabled,
.slide-icon-control[aria-disabled="true"]{opacity:.25;pointer-events:none}
.slide-icon-control.is-checked{color:#2f8f00}
.slide-control-mark{
  position:absolute;
  right:.08rem;
  bottom:.08rem;
  min-width:.7rem;
  padding:0 .08rem;
  color:currentColor;
  font-size:.43rem;
  font-weight:850;
  line-height:1;
  text-align:center;
}
.mode-icon-sequence{display:none}
.slide-mode-control[data-mode="sequence"] .mode-icon-random{display:none}
.slide-mode-control[data-mode="sequence"] .mode-icon-sequence{display:inline-flex}
.question-slide-stage.is-paused .home-qa-progress>span{opacity:.42}

.qa-word-link,
.qa-reading-word{
  display:inline;
  cursor:pointer;
  border-radius:.08rem;
  transition:color .42s ease,background-color .55s ease,box-shadow .55s ease,opacity .42s ease;
}
.qa-reading-word{color:color-mix(in srgb,var(--ink) 42%,var(--muted));opacity:.82}
.qa-reading-word.is-active{
  color:var(--ink);
  opacity:1;
  background:color-mix(in srgb,#fff200 22%,transparent);
  box-shadow:0 .08rem 0 color-mix(in srgb,#fff200 44%,transparent);
}
.qa-reading-word.is-settled{color:var(--ink);opacity:1;background:transparent;box-shadow:none}
html[data-theme="glass-black"] .qa-reading-word.is-active{
  background:color-mix(in srgb,#7cff00 13%,transparent);
  box-shadow:0 .08rem 0 color-mix(in srgb,#7cff00 32%,transparent);
}

.question-slide-shell:fullscreen,
.question-slide-shell.is-fullscreen-fallback{
  box-sizing:border-box;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  padding:max(.55rem,env(safe-area-inset-top,0rem)) max(.55rem,env(safe-area-inset-right,0rem)) max(.55rem,env(safe-area-inset-bottom,0rem)) max(.55rem,env(safe-area-inset-left,0rem))!important;
  overflow:hidden!important;
  overscroll-behavior:none;
  scrollbar-width:none;
}
.question-slide-shell:fullscreen::-webkit-scrollbar,
.question-slide-shell.is-fullscreen-fallback::-webkit-scrollbar{display:none}
.question-slide-shell:fullscreen .question-slide-stage,
.question-slide-shell.is-fullscreen-fallback .question-slide-stage{
  width:100%;
  height:100%;
  min-height:0!important;
  overflow:hidden!important;
}
.question-slide-shell:fullscreen .question-slide-content,
.question-slide-shell.is-fullscreen-fallback .question-slide-content{
  width:min(80rem,100%);
  height:100%;
  min-height:0!important;
  margin:0 auto;
  padding:clamp(.35rem,1.5vw,1rem) clamp(.35rem,3vw,2.4rem)!important;
  overflow:hidden!important;
}
.question-slide-shell:fullscreen .question-book-filter,
.question-slide-shell.is-fullscreen-fallback .question-book-filter{max-width:48rem;margin-inline:auto}
.question-slide-shell:fullscreen .home-qa-question,
.question-slide-shell.is-fullscreen-fallback .home-qa-question{font-size:clamp(1.8rem,5vw,5.2rem)!important}
.question-slide-shell:fullscreen .home-qa-answer,
.question-slide-shell.is-fullscreen-fallback .home-qa-answer{font-size:clamp(.95rem,1.8vw,1.65rem)!important;max-width:72rem}
.question-slide-shell[data-qa-length="medium"]:fullscreen .home-qa-question,
.question-slide-shell[data-qa-length="medium"].is-fullscreen-fallback .home-qa-question{font-size:clamp(1.65rem,4.4vw,4.4rem)!important}
.question-slide-shell[data-qa-length="medium"]:fullscreen .home-qa-answer,
.question-slide-shell[data-qa-length="medium"].is-fullscreen-fallback .home-qa-answer{font-size:clamp(.9rem,1.55vw,1.38rem)!important}
.question-slide-shell[data-qa-length="long"]:fullscreen .home-qa-question,
.question-slide-shell[data-qa-length="long"].is-fullscreen-fallback .home-qa-question{font-size:clamp(1.4rem,3.6vw,3.5rem)!important}
.question-slide-shell[data-qa-length="long"]:fullscreen .home-qa-answer,
.question-slide-shell[data-qa-length="long"].is-fullscreen-fallback .home-qa-answer{font-size:clamp(.82rem,1.3vw,1.15rem)!important;line-height:1.45!important}
.question-slide-shell.controls-idle .question-slide-control-dock{opacity:0;pointer-events:none}
html.qa-fullscreen-lock,
html.qa-fullscreen-lock body{height:100%;overflow:hidden!important}

.book-slide-host{
  position:fixed;
  z-index:1250;
  inset:0;
  background:var(--bg);
}
.book-slide-host[hidden]{display:none!important}
.book-slide-host>.question-slide-shell{height:100%}
.book-slide-close{
  position:fixed;
  z-index:1300;
  top:max(.4rem,env(safe-area-inset-top,0rem));
  right:max(.4rem,env(safe-area-inset-right,0rem));
  padding:.3rem .45rem;
  border:0;
  background:rgba(0,0,0,.58);
  color:#fff;
  font:inherit;
  font-size:.58rem;
  cursor:pointer;
}

.content-dialog{
  width:min(48rem,calc(100% - 1.5rem));
  max-height:min(82dvh,52rem);
  padding:clamp(1rem,3vw,1.6rem);
  border:.0625rem solid var(--line);
  border-radius:.25rem;
  background:var(--surface);
  color:var(--ink);
  overflow:auto;
}
.content-dialog::backdrop{background:rgba(0,0,0,.56)}
.content-dialog h2{margin:0 4rem .8rem 0}
.content-dialog .dialog-close{position:absolute;top:.7rem;right:.7rem}
.content-dialog .prose,
.content-dialog .text-flow{padding-inline:0!important}
.book-action-row .button-chip{display:inline-flex;align-items:center;gap:.28rem}
.book-action-row .button-chip .icon{width:.82rem;height:.82rem}

/* Gleiche Innenkante für Buch- und Lehrplanlisten. */
.units{display:grid;gap:.45rem}
.unit>summary{
  min-height:3.15rem;
  padding-block:.62rem!important;
  gap:.55rem;
}
.unit>.unit-body{padding-block:.45rem .7rem!important}
.chapter-section>summary,
.teaching-material>summary{min-height:2.65rem;padding-block:.5rem!important}
.qa-item>summary{padding:.58rem clamp(.65rem,2vw,.95rem)!important}
.qa-item>.qa-answer{padding-block:.6rem .75rem!important}

@media(max-width:47.5rem){
  .question-slide-stage,
  .question-slide-book .question-slide-stage{min-height:29rem!important}
  .question-slide-content,
  .home-qa-glass.question-slide-content{padding:.42rem .2rem .32rem!important}
  .question-book-filter{grid-template-columns:1fr;gap:.12rem;margin-bottom:.28rem}
  .question-book-filter>label{font-size:.58rem}
  .question-slide-bookline{font-size:.68rem!important;margin-bottom:.2rem!important}
  .home-qa-question{font-size:clamp(1.4rem,7vw,2.4rem)!important}
  .home-qa-answer{font-size:.9rem!important;line-height:1.48!important;margin-top:.42rem!important}
  .question-slide-control-dock{padding-top:.55rem}
  .question-slide-secondary-controls{gap:.12rem}
  .slide-icon-control{width:1.9rem;height:1.85rem}
  .question-slide-primary-controls .slide-icon-control{width:2.35rem;height:2.05rem}
  .question-slide-shell:fullscreen,
  .question-slide-shell.is-fullscreen-fallback{padding:max(.25rem,env(safe-area-inset-top,0rem)) max(.3rem,env(safe-area-inset-right,0rem)) max(.3rem,env(safe-area-inset-bottom,0rem)) max(.3rem,env(safe-area-inset-left,0rem))!important}
  .question-slide-shell:fullscreen .question-slide-content,
  .question-slide-shell.is-fullscreen-fallback .question-slide-content{padding:.2rem .35rem!important}
  .book-action-row{gap:.25rem!important}
  .book-action-row .button-chip span{display:none}
  .book-action-row .button-chip{min-width:2.45rem;justify-content:center;padding:.45rem!important}
}
@media(prefers-reduced-motion:reduce){
  html.is-site-loading .site-header::after{animation:none;transform:scaleX(1)}
  .qa-word-link,.qa-reading-word{transition:none}
  .question-slide-control-dock{transition:none}
}

/* 1.7.86 QC · alte Einzelknopf-Regeln vollständig neutralisieren */
.question-slide-primary-controls .question-slide-play-control{
  order:initial!important;
  align-self:auto!important;
  width:2.65rem!important;
  min-width:0!important;
  height:2.2rem!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.question-slide-stage.is-deconstructing .question-slide-primary-controls .question-slide-play-control{
  opacity:1!important;
  pointer-events:auto!important;
}
@media(max-width:47.5rem){
  .question-slide-primary-controls .question-slide-play-control{
    width:2.35rem!important;
    height:2.05rem!important;
  }
}

/* 1.7.87 · belastbarer Fragenslide: asynchroner Bestand, ruhige Kopie, feste Steuerung */
.question-slide-stage,
.question-slide-book .question-slide-stage{
  min-height:clamp(27rem,52vw,37rem)!important;
  overflow:hidden!important;
}
.question-slide-content,
.home-qa-glass.question-slide-content{
  display:flex!important;
  flex-direction:column!important;
  min-height:inherit!important;
  padding:clamp(.48rem,1.5vw,.85rem) clamp(.35rem,2vw,1rem) .42rem!important;
  overflow:hidden!important;
}
.question-book-filter{flex:0 0 auto;order:0!important}
.home-qa-progress{
  flex:0 0 auto;
  order:1!important;
  position:relative;
  height:.105rem!important;
  margin:.02rem 0 .32rem!important;
  overflow:hidden;
}
.home-qa-progress>span{
  display:block;
  height:100%;
  background:#43c900;
}
.home-qa-progress[data-phase="loading"]>span{
  width:32%!important;
  animation:gremmatik-slide-load 1.05s ease-in-out infinite;
  transform-origin:left center;
}
@keyframes gremmatik-slide-load{
  0%{transform:translateX(-115%) scaleX(.42)}
  48%{transform:translateX(110%) scaleX(1)}
  100%{transform:translateX(330%) scaleX(.42)}
}
.question-slide-copy{
  order:2;
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  width:100%;
  opacity:1;
  transition:opacity .38s ease;
}
.question-slide-copy.is-leaving,
.question-slide-copy.is-entering{opacity:0}
.question-slide-load-status{
  order:1;
  min-height:.8rem;
  margin:0 0 .04rem;
  color:var(--muted);
  font-size:.57rem;
  line-height:1.2;
}
.question-slide-load-status[hidden]{display:block!important;visibility:hidden}
.question-slide-meta{order:2!important;margin:0 0 .04rem!important}
.question-slide-bookline{
  order:3!important;
  margin:0 0 .3rem!important;
  font-size:.72rem!important;
  line-height:1.22!important;
}
.question-slide-copy .home-qa-question{
  order:4!important;
  min-height:0!important;
  margin:0!important;
}
.question-slide-copy .home-qa-answer{
  order:5!important;
  min-height:0!important;
  margin:.5rem 0 0!important;
}
.question-slide-copy .home-qa-question,
.question-slide-copy .home-qa-answer,
.question-slide-copy .question-slide-bookline,
.question-slide-copy .home-qa-question.is-wipe-visible,
.question-slide-copy .home-qa-answer.is-wipe-visible,
.question-slide-copy .question-slide-bookline.is-wipe-visible,
.question-slide-stage.is-deconstructing .home-qa-question,
.question-slide-stage.is-deconstructing .home-qa-answer,
.question-slide-stage.is-deconstructing .question-slide-bookline{
  opacity:1!important;
  transform:none!important;
  filter:none!important;
  animation:none!important;
  clip-path:none!important;
}
.question-slide-control-dock{
  order:3!important;
  flex:0 0 auto;
  margin:0!important;
  padding:.55rem 0 0!important;
  opacity:1!important;
  transform:none!important;
}
.question-slide-primary-controls,
.question-slide-secondary-controls{min-height:2rem}
.question-slide-primary-controls .question-slide-play-control{
  display:inline-flex!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.slide-state-icon{display:inline-flex;align-items:center;justify-content:center}
.slide-state-play,
.slide-state-fullscreen-exit{display:none}
.question-slide-stage.is-paused .slide-state-pause{display:none}
.question-slide-stage.is-paused .slide-state-play{display:inline-flex}
.question-slide-shell.is-fullscreen .slide-state-fullscreen,
.question-slide-shell.is-fullscreen-fallback .slide-state-fullscreen{display:none}
.question-slide-shell.is-fullscreen .slide-state-fullscreen-exit,
.question-slide-shell.is-fullscreen-fallback .slide-state-fullscreen-exit{display:inline-flex}
.slide-icon-control:disabled{cursor:default}
.question-slide-stage.is-loading .question-slide-control-dock{opacity:.58!important}
.question-slide-stage.is-loading .question-slide-copy{opacity:.88}
.qa-word-link,
.qa-reading-word{
  display:inline;
  cursor:pointer;
  transition:color .36s ease,background-color .5s ease,box-shadow .5s ease,opacity .36s ease;
}
.qa-reading-word{color:color-mix(in srgb,var(--ink) 46%,var(--muted));opacity:.84}
.qa-reading-word.is-active{
  color:var(--ink);
  opacity:1;
  background:color-mix(in srgb,#fff200 19%,transparent);
  box-shadow:0 .075rem 0 color-mix(in srgb,#fff200 38%,transparent);
}
.qa-reading-word.is-settled{color:var(--ink);opacity:1;background:transparent;box-shadow:none}
html[data-theme="glass-black"] .qa-reading-word.is-active{
  background:color-mix(in srgb,#7cff00 12%,transparent);
  box-shadow:0 .075rem 0 color-mix(in srgb,#7cff00 28%,transparent);
}
.question-slide-shell:fullscreen,
.question-slide-shell.is-fullscreen-fallback{
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  overflow:hidden!important;
  scrollbar-width:none!important;
}
.question-slide-shell:fullscreen::-webkit-scrollbar,
.question-slide-shell.is-fullscreen-fallback::-webkit-scrollbar,
.question-slide-shell:fullscreen *::-webkit-scrollbar,
.question-slide-shell.is-fullscreen-fallback *::-webkit-scrollbar{display:none!important}
.question-slide-shell:fullscreen .question-slide-stage,
.question-slide-shell.is-fullscreen-fallback .question-slide-stage,
.question-slide-shell:fullscreen .question-slide-content,
.question-slide-shell.is-fullscreen-fallback .question-slide-content{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
.question-slide-shell:fullscreen .question-slide-copy,
.question-slide-shell.is-fullscreen-fallback .question-slide-copy{min-height:0;overflow:hidden}
.question-slide-shell.controls-idle .question-slide-control-dock{opacity:0!important;pointer-events:none}
.book-slide-host{overflow:hidden!important}
.book-slide-host>.question-slide-shell{width:100%;height:100%;overflow:hidden}

@media(max-width:47.5rem){
  .question-slide-stage,
  .question-slide-book .question-slide-stage{min-height:28rem!important}
  .question-slide-content,
  .home-qa-glass.question-slide-content{padding:.38rem .18rem .3rem!important}
  .question-slide-load-status{font-size:.54rem}
  .question-slide-bookline{margin-bottom:.24rem!important;font-size:.67rem!important}
  .question-slide-copy .home-qa-question{font-size:clamp(1.35rem,6.8vw,2.35rem)!important}
  .question-slide-copy .home-qa-answer{margin-top:.4rem!important;font-size:.9rem!important;line-height:1.48!important}
  .question-slide-control-dock{padding-top:.42rem!important}
  .question-slide-primary-controls{gap:.5rem}
  .question-slide-secondary-controls{gap:.08rem}
}
@media(prefers-reduced-motion:reduce){
  .home-qa-progress[data-phase="loading"]>span{animation:none;transform:none;width:100%!important}
  .question-slide-copy{transition:none}
  .qa-word-link,.qa-reading-word{transition:none}
}

/* 1.7.88 · sofortiger BAP-Start, Suche als Buchfilter, ruhiger Slider */
.site-header::after{bottom:0!important;height:.1125rem!important}
.question-book-filter,
.home-qa-progress,
.question-slide-load-status{display:none!important}
.question-slide-content,
.home-qa-glass.question-slide-content{padding-top:clamp(.7rem,2.2vw,1.35rem)!important}
.question-slide-copy{
  justify-content:center!important;
  padding-block:clamp(.25rem,1.5vw,.85rem)!important;
}
.question-slide-meta{margin-bottom:.12rem!important}
.question-slide-bookline{margin-bottom:clamp(.55rem,1.35vw,.85rem)!important}
.question-slide-copy .home-qa-answer{margin-top:clamp(.85rem,2.2vw,1.35rem)!important}
.question-slide-control-dock{padding-top:.72rem!important}
.slide-icon-control{
  width:2.35rem!important;
  height:2.15rem!important;
  border:.0625rem solid color-mix(in srgb,var(--ink) 22%,transparent)!important;
  border-radius:.25rem!important;
  background:color-mix(in srgb,var(--surface) 72%,transparent)!important;
  color:color-mix(in srgb,var(--ink) 78%,var(--muted))!important;
}
.question-slide-primary-controls .slide-icon-control{
  width:2.85rem!important;
  height:2.4rem!important;
  background:color-mix(in srgb,var(--surface) 88%,transparent)!important;
}
.slide-icon-control:hover,
.slide-icon-control:focus-visible{
  border-color:color-mix(in srgb,var(--ink) 55%,transparent)!important;
  color:var(--ink)!important;
  background:var(--surface)!important;
}
.slide-icon-control.is-checked{color:#2f8f00!important;border-color:color-mix(in srgb,#2f8f00 48%,transparent)!important}
.qa-word-link,
.qa-reading-word,
.qa-reading-word.is-active,
.qa-reading-word.is-settled{
  color:inherit!important;
  opacity:1!important;
  background:transparent!important;
  box-shadow:none!important;
  transition:none!important;
}
.search-book-grid,
.search-hit-list{display:grid;gap:.18rem!important}
.suggestion-book-row,
.suggestion-hit-row,
.suggestion-nested-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  gap:.25rem;
  min-width:0;
}
.suggestion-book-main,
.suggestion-hit-main{min-width:0!important}
.suggestion-question-action{
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-width:7.8rem;
  padding:.38rem .55rem!important;
  border:.0625rem solid var(--line)!important;
  border-radius:.25rem!important;
  background:color-mix(in srgb,var(--surface) 86%,transparent)!important;
  color:var(--muted)!important;
  font-size:.64rem!important;
  font-style:normal!important;
  font-weight:720!important;
  line-height:1.2!important;
  text-align:center;
  text-decoration:none!important;
}
.suggestion-question-action:hover,
.suggestion-question-action:focus-visible,
.suggestion-question-action.active{
  color:var(--ink)!important;
  border-color:var(--line-strong)!important;
  background:var(--surface)!important;
}
@media(max-width:47.5rem){
  .question-slide-content,
  .home-qa-glass.question-slide-content{padding:.65rem .3rem .35rem!important}
  .question-slide-copy{padding-block:.15rem!important}
  .question-slide-bookline{margin-bottom:.62rem!important}
  .question-slide-copy .home-qa-answer{margin-top:.9rem!important}
  .question-slide-control-dock{padding-top:.5rem!important}
  .slide-icon-control{width:2.15rem!important;height:2.05rem!important}
  .question-slide-primary-controls .slide-icon-control{width:2.65rem!important;height:2.3rem!important}
  .suggestion-question-action{min-width:6.6rem;padding:.32rem .4rem!important;font-size:.6rem!important}
}

/* 1.7.89 · Kontrast-QC und symmetrische 4+4-Steuerung */
html:not([data-theme="dark"]) :is(.quiet-head,.library-window,.book-card,.home-intro,.question-slide-stage) { color:#15140f; }
html:not([data-theme="dark"]) :is(.quiet-head,.library-window,.book-card) :is(p,small,.muted,.head-title-hint,.window-copy small) { color:#4a4735 !important; }
html:not([data-theme="dark"]) :is(.quiet-head,.library-window,.book-card) :is(.title-icon,.window-icon,.book-card-icon) { color:#15140f; }
.question-slide-primary-controls,.question-slide-secondary-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:.35rem!important;width:min(15rem,100%)!important;}
.question-slide-primary-controls .slide-icon-control,.question-slide-secondary-controls .slide-icon-control{width:100%!important;min-width:2.35rem!important;}
@media (max-width:36rem){.question-slide-primary-controls,.question-slide-secondary-controls{width:min(13rem,100%)!important;gap:.2rem!important;}}


/* 1.7.91 · Lesbarkeit, kompakte Vollbildsteuerung und deutlichere Ladezeile */
.site-header::after{
  bottom:-.125rem!important;
  height:.25rem!important;
  background:#9dff00!important;
  box-shadow:0 0 .55rem rgba(157,255,0,.72)!important;
}
html.is-site-loading .site-header::after{opacity:1!important}

html[data-theme="paper"] .question-slide-shell{
  --qa-readable-ink:#15140f;
  --qa-readable-muted:#4f492b;
  --qa-readable-panel:rgba(255,251,226,.96);
  --qa-readable-border:rgba(35,31,10,.28);
}
html[data-theme="glass-light"] .question-slide-shell{
  --qa-readable-ink:#0b0d12;
  --qa-readable-muted:#454a55;
  --qa-readable-panel:rgba(247,248,251,.94);
  --qa-readable-border:rgba(11,13,18,.25);
}
html[data-theme="glass-black"] .question-slide-shell{
  --qa-readable-ink:#f6f6ef;
  --qa-readable-muted:#c2c5bd;
  --qa-readable-panel:rgba(8,8,9,.92);
  --qa-readable-border:rgba(255,255,255,.28);
}
.question-slide-copy,
.question-slide-copy .home-qa-question,
.question-slide-copy .home-qa-answer{
  color:var(--qa-readable-ink,var(--ink))!important;
  text-shadow:none!important;
}
.question-slide-meta,
.question-slide-bookline{
  color:var(--qa-readable-muted,var(--muted))!important;
}
html[data-theme="paper"] .question-slide-shell:fullscreen,
html[data-theme="paper"] .question-slide-shell.is-fullscreen-fallback{background:#fff4b8!important}
html[data-theme="glass-light"] .question-slide-shell:fullscreen,
html[data-theme="glass-light"] .question-slide-shell.is-fullscreen-fallback{background:#eef1f5!important}
html[data-theme="glass-black"] .question-slide-shell:fullscreen,
html[data-theme="glass-black"] .question-slide-shell.is-fullscreen-fallback{background:#050505!important}

.question-slide-control-dock{
  width:min(12rem,calc(100% - .75rem))!important;
  margin:.7rem auto 0!important;
  padding:.34rem!important;
  gap:.24rem!important;
  border:.0625rem solid var(--qa-readable-border,var(--line-strong))!important;
  border-radius:.35rem!important;
  background:var(--qa-readable-panel,var(--surface))!important;
  box-shadow:0 .45rem 1.4rem rgba(0,0,0,.18)!important;
  -webkit-backdrop-filter:blur(1rem) saturate(1.15)!important;
  backdrop-filter:blur(1rem) saturate(1.15)!important;
}
.question-slide-primary-controls,
.question-slide-secondary-controls{
  width:100%!important;
  gap:.22rem!important;
}
.slide-icon-control,
.question-slide-primary-controls .slide-icon-control{
  min-width:0!important;
  width:100%!important;
  height:2rem!important;
  border:.0625rem solid color-mix(in srgb,var(--qa-readable-ink,var(--ink)) 24%,transparent)!important;
  background:color-mix(in srgb,var(--qa-readable-panel,var(--surface)) 87%,transparent)!important;
  color:var(--qa-readable-muted,var(--muted))!important;
}
.question-slide-primary-controls .slide-icon-control .icon{width:1.08rem!important;height:1.08rem!important}
.slide-icon-control .icon{width:.95rem!important;height:.95rem!important}
.slide-icon-control:hover,
.slide-icon-control:focus-visible{
  color:var(--qa-readable-ink,var(--ink))!important;
  border-color:color-mix(in srgb,var(--qa-readable-ink,var(--ink)) 58%,transparent)!important;
  background:color-mix(in srgb,var(--qa-readable-panel,var(--surface)) 98%,transparent)!important;
}
.question-slide-shell:fullscreen .question-slide-control-dock,
.question-slide-shell.is-fullscreen-fallback .question-slide-control-dock{
  position:absolute!important;
  z-index:12;
  left:50%;
  bottom:max(.55rem,env(safe-area-inset-bottom,0rem));
  margin:0!important;
  transform:translateX(-50%)!important;
  transition:opacity .22s ease,transform .22s ease!important;
}
.question-slide-shell:fullscreen .question-slide-copy,
.question-slide-shell.is-fullscreen-fallback .question-slide-copy{
  padding-bottom:5.1rem!important;
}
.question-slide-shell.controls-idle:fullscreen .question-slide-control-dock,
.question-slide-shell.controls-idle.is-fullscreen-fallback .question-slide-control-dock{
  opacity:0!important;
  pointer-events:none!important;
  transform:translate(-50%,.65rem)!important;
}
@media(max-width:36rem){
  .question-slide-control-dock{width:min(10.9rem,calc(100% - .5rem))!important;padding:.28rem!important;gap:.18rem!important}
  .question-slide-primary-controls,.question-slide-secondary-controls{gap:.16rem!important}
  .slide-icon-control,.question-slide-primary-controls .slide-icon-control{height:1.88rem!important}
  .question-slide-shell:fullscreen .question-slide-copy,
  .question-slide-shell.is-fullscreen-fallback .question-slide-copy{padding-bottom:4.7rem!important}
}
@media(prefers-reduced-motion:reduce){
  .question-slide-shell:fullscreen .question-slide-control-dock,
  .question-slide-shell.is-fullscreen-fallback .question-slide-control-dock{transition:none!important}
}


/* 1.7.94 · echter Zeitbalken, einmaliger Fragenabruf und klare Kontrollanzeige */
.site-header::after{
  bottom:0!important;
  height:.0625rem!important;
  background:var(--line-strong)!important;
  box-shadow:none!important;
  opacity:.72!important;
}
html.is-site-loading .site-header::after{opacity:.72!important;animation:none!important}
.home-qa-progress{
  display:block!important;
  order:1!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:.32rem!important;
  margin:0 0 clamp(.6rem,1.6vw,.95rem)!important;
  border:.0625rem solid color-mix(in srgb,var(--qa-readable-ink,var(--ink)) 32%,transparent)!important;
  border-radius:.25rem!important;
  background:color-mix(in srgb,var(--qa-readable-ink,var(--ink)) 15%,transparent)!important;
  box-shadow:inset 0 0 0 .0625rem color-mix(in srgb,var(--qa-readable-panel,var(--surface)) 55%,transparent)!important;
  overflow:hidden!important;
}
.home-qa-progress>span{
  display:block!important;
  width:100%;
  height:100%!important;
  border-radius:inherit!important;
  background:var(--qa-time-fill,#15140f)!important;
  box-shadow:0 0 .45rem color-mix(in srgb,var(--qa-time-fill,#15140f) 55%,transparent)!important;
  transform:none!important;
  animation:none!important;
  transition:width .09s linear!important;
}
html[data-theme="paper"] .question-slide-shell{--qa-time-fill:#15140f}
html[data-theme="glass-light"] .question-slide-shell{--qa-time-fill:#0b0d12}
html[data-theme="glass-black"] .question-slide-shell{--qa-time-fill:#f4f0c6}
.question-slide-stage.is-paused .home-qa-progress>span{opacity:.58!important}
.question-slide-meta{
  width:100%!important;
  align-self:center!important;
  text-align:center!important;
}
.question-slide-control-dock{
  justify-items:center!important;
  align-content:center!important;
}
.question-slide-control-status{
  width:100%;
  min-height:.9rem;
  padding:.08rem .12rem 0;
  color:var(--qa-readable-muted,var(--muted));
  font-size:.58rem;
  font-weight:700;
  line-height:1.25;
  letter-spacing:.015em;
  text-align:center;
  white-space:normal;
}
.slide-speed-control{
  flex-direction:column!important;
  gap:.02rem!important;
  line-height:1!important;
}
.slide-speed-control .icon{width:.72rem!important;height:.72rem!important}
.slide-speed-control .slide-control-mark{
  position:static!important;
  display:block!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--qa-readable-ink,var(--ink))!important;
  font-size:.5rem!important;
  font-weight:900!important;
  line-height:.65rem!important;
  letter-spacing:.015em!important;
  transform:none!important;
}
.question-slide-control-dock:has([data-qa-speed][data-speed="slow"]) .question-slide-control-status,
.question-slide-control-dock:has([data-qa-speed][data-speed="fast"]) .question-slide-control-status{color:var(--qa-readable-ink,var(--ink))!important}
@media(max-width:36rem){
  .home-qa-progress{height:.28rem!important;margin-bottom:.58rem!important}
  .question-slide-control-status{font-size:.54rem;min-height:.78rem}
}
@media(prefers-reduced-motion:reduce){.home-qa-progress>span{transition:none!important}}

/* 1.7.94 QC · Suchdropdown in jeder Darstellung kontrastfest */
html[data-theme="paper"] .header-search-results{
  --search-drop-bg:#fffbe2;
  --search-drop-item:#fffbe2;
  --search-drop-ink:#15140f;
  --search-drop-muted:#665f38;
  --search-drop-active:#fff4b8;
  --search-drop-line:rgba(35,31,10,.28);
}
html[data-theme="glass-light"] .header-search-results{
  --search-drop-bg:#f7f8fb;
  --search-drop-item:#f7f8fb;
  --search-drop-ink:#0b0d12;
  --search-drop-muted:#454a55;
  --search-drop-active:#e8ecf2;
  --search-drop-line:rgba(11,13,18,.25);
}
html[data-theme="glass-black"] .header-search-results{
  --search-drop-bg:#0d0e0f;
  --search-drop-item:#151719;
  --search-drop-ink:#f6f6ef;
  --search-drop-muted:#c2c5bd;
  --search-drop-active:#222528;
  --search-drop-line:rgba(255,255,255,.28);
}
.header-search-results{
  color:var(--search-drop-ink,#15140f)!important;
  background:var(--search-drop-bg,#fffbe2)!important;
  border-color:var(--search-drop-line,rgba(35,31,10,.28))!important;
}
.header-search-results :is(.search-group,.search-group-head,.search-book-grid,.search-hit-list,.search-shelf-list,.suggestion-book-row,.suggestion-hit-row,.suggestion-nested-row,.suggestion-shelf){color:var(--search-drop-ink,#15140f)!important}
.header-search-results :is(.search-group-head h2,.suggestion-book strong,.suggestion-hit strong,.suggestion-row strong,.suggestion-shelf strong,.search-empty strong){color:var(--search-drop-ink,#15140f)!important}
.header-search-results :is(.search-group-head>span,.suggestion-book small,.suggestion-hit small,.suggestion-row small,.suggestion-shelf small,.suggestion-hit i,.suggestion-shelf i,.search-empty span){color:var(--search-drop-muted,#665f38)!important}
.header-search-results :is(.suggestion-book,.suggestion-hit,.suggestion-row,.suggestion-shelf>button,.suggestion-question-action){
  color:var(--search-drop-ink,#15140f)!important;
  background:var(--search-drop-item,#fffbe2)!important;
  border-color:var(--search-drop-line,rgba(35,31,10,.28))!important;
}
.header-search-results :is(.suggestion-book,.suggestion-hit,.suggestion-row,.suggestion-shelf>button,.suggestion-question-action):is(:hover,:focus-visible,.active){background:var(--search-drop-active,#fff4b8)!important}
.header-search-results .suggestion-shelf [data-shelf-books]{background:color-mix(in srgb,var(--search-drop-active,#fff4b8) 72%,var(--search-drop-bg,#fffbe2))!important}
.header-search-results .all-results{background:var(--search-drop-ink,#15140f)!important;color:var(--search-drop-bg,#fffbe2)!important}

/* 1.8.3 · exakte Fragensuche, markierte Folientreffer und beruhigte Notizübersicht */
.search-question-exact{
  position:sticky;
  z-index:3;
  top:0;
  padding:.45rem;
  border-bottom:.0625rem solid var(--search-drop-line,var(--line-strong));
  background:var(--search-drop-bg,var(--surface));
}
.suggestion-question-exact{
  display:flex;
  align-items:center;
  width:100%;
  min-height:3.15rem;
  padding:.55rem .65rem;
  border:.0625rem solid color-mix(in srgb,var(--search-drop-ink,var(--ink)) 42%,transparent);
  border-radius:.25rem;
  background:color-mix(in srgb,var(--search-drop-active,var(--surface-soft)) 82%,var(--search-drop-bg,var(--surface)));
  color:var(--search-drop-ink,var(--ink));
  text-decoration:none;
}
.suggestion-question-exact span{display:grid;gap:.12rem;min-width:0}
.suggestion-question-exact strong{font-size:.78rem;line-height:1.28;overflow-wrap:anywhere}
.suggestion-question-exact small{color:var(--search-drop-muted,var(--muted));font-size:.61rem;line-height:1.35}
.suggestion-question-exact:is(:hover,:focus-visible,.active){
  background:var(--search-drop-active,var(--surface-soft));
  border-color:var(--search-drop-ink,var(--ink));
}
.qa-word-link.is-search-hit{
  display:inline!important;
  padding:.025em .12em;
  margin-inline:-.02em;
  border-radius:.18rem;
  background:#fff200!important;
  color:#11120e!important;
  box-shadow:0 0 0 .075rem rgba(17,18,14,.48),0 .16rem .45rem rgba(17,18,14,.16)!important;
  text-decoration:none!important;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
html[data-theme="glass-black"] .qa-word-link.is-search-hit{
  background:#f4ef7f!important;
  color:#090a08!important;
  box-shadow:0 0 0 .075rem rgba(255,255,255,.58),0 .18rem .55rem rgba(0,0,0,.55)!important;
}

.notes-section-head-with-tools{
  align-items:center;
  margin-bottom:.8rem;
  padding-bottom:.75rem;
  border-bottom:.0625rem solid var(--line);
}
.notes-heading-copy{min-width:0}
.notes-heading-copy h2{font-size:1.3rem;line-height:1.08;letter-spacing:-.035em}
.notes-heading-copy p{max-width:42rem;margin-top:.32rem}
.notes-section-tools{display:flex;align-items:flex-end;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}
.notes-count{
  display:inline-flex;
  align-items:baseline;
  gap:.28rem;
  min-width:0;
  height:2.05rem;
  padding:.34rem .58rem;
  border:.0625rem solid var(--ink);
  background:var(--ink);
  color:var(--surface);
  line-height:1;
  white-space:nowrap;
}
.notes-count strong{font-size:.88rem;font-variant-numeric:tabular-nums}
.notes-count span{font-size:.59rem;font-weight:720;letter-spacing:.025em;text-transform:uppercase}
.notes-sort{display:grid;gap:.18rem;min-width:10.5rem;font-size:.58rem;font-weight:700;color:var(--muted)}
.notes-sort>span{padding-inline:.05rem;text-transform:uppercase;letter-spacing:.035em}
.notes-sort select{width:100%;min-height:2.05rem;padding:.28rem 1.8rem .28rem .55rem;border:.0625rem solid var(--line-strong);background:var(--surface);color:var(--ink)}
.notes-viewbar{display:none!important}
.note-card{display:flex;flex-direction:column;gap:.55rem}
.note-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem;margin:0!important;padding-bottom:.5rem;border-bottom:.0625rem solid var(--line)}
.note-card-head>div{min-width:0}
.note-card h3{margin:0;font-size:.83rem;line-height:1.32;letter-spacing:-.012em}
.note-card h3 a{text-decoration:none}
.note-card h3 a:is(:hover,:focus-visible){text-decoration:underline}
.note-card-head small{display:block;margin-top:.18rem;color:var(--muted);font-size:.57rem;overflow-wrap:anywhere}
.note-card-origin{flex:0 0 auto;padding:.24rem .36rem;border:.0625rem solid var(--line);font-size:.58rem;font-weight:720;text-decoration:none}
.note-card-origin:is(:hover,:focus-visible){border-color:var(--ink);background:var(--surface)}
.note-card textarea{min-height:8rem!important;margin:0!important}
.note-card-actions{margin-top:auto!important;padding-top:.05rem}
.notes-empty{min-height:5.25rem;border-style:solid;background:transparent}
.notes-empty strong{font-size:.86rem}
@media(max-width:47.5rem){
  .search-question-exact{padding:.38rem .45rem}
  .suggestion-question-exact{min-height:2.9rem;padding:.48rem .55rem}
  .notes-section-head-with-tools{align-items:stretch;flex-direction:column;gap:.7rem}
  .notes-section-tools{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;justify-content:stretch}
  .notes-sort{min-width:0}
  .note-card-head{align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){.qa-word-link.is-search-hit{box-shadow:0 0 0 .075rem currentColor!important}}
.question-slide-control-status{white-space:pre-line!important}


/* 1.8.6 · vorbereitete Suche, einheitliche Regale, kompakte Notizen und optionales Quiz */
.header-search-loader{
  position:absolute;z-index:2;left:.12rem;right:.12rem;bottom:.08rem;height:.18rem;
  overflow:hidden;border-radius:.2rem;pointer-events:none;background:color-mix(in srgb,var(--ink) 12%,transparent);
  opacity:0;transition:opacity .16s ease;
}
.header-search-loader>span{display:block;width:var(--search-load-progress,8%);height:100%;background:var(--ink);transition:width .22s ease}
.header-search.is-search-preparing .header-search-loader{opacity:1}
.header-search.is-search-preparing input{cursor:progress;color:var(--muted);background:var(--surface-soft)}
.header-search.is-search-ready .header-search-loader{opacity:0}
.search-book-grid{grid-template-columns:1fr!important}
.suggestion-book-row{display:grid!important;grid-template-columns:1fr!important;gap:0!important}
.suggestion-book-row .suggestion-book-main{width:100%;border-radius:.25rem .25rem 0 0!important}
.suggestion-book-row .suggestion-question-action{width:100%;min-height:1.85rem!important;justify-content:flex-start;border-top:0!important;border-radius:0 0 .25rem .25rem!important;font-size:.64rem}

.catalog-list{display:grid;grid-template-columns:1fr;gap:.52rem}
.catalog-row{
  display:grid;grid-template-columns:2.55rem minmax(0,1fr) auto;align-items:center;gap:.8rem;
  min-height:4.5rem;padding:.72rem .85rem;border:.0625rem solid var(--line);border-radius:.25rem;
  background:var(--surface);color:var(--ink);text-decoration:none;box-shadow:none;
}
.catalog-row:is(:hover,:focus-visible){border-color:var(--line-strong);background:color-mix(in srgb,var(--surface) 88%,var(--lime-b));transform:translateY(-.03rem)}
.catalog-order{font-variant-numeric:tabular-nums;font-size:.68rem;font-weight:800;color:var(--muted);letter-spacing:.045em}
.catalog-copy{display:grid;gap:.12rem;min-width:0}
.catalog-copy strong{font-size:.9rem;line-height:1.25}
.catalog-copy small{color:var(--muted);font-size:.66rem;line-height:1.35;overflow-wrap:anywhere}
.catalog-meta{display:flex;align-items:center;justify-content:flex-end;gap:.35rem;flex-wrap:wrap;max-width:18rem}
.catalog-meta span{padding:.22rem .38rem;border:.0625rem solid var(--line);font-size:.6rem;font-weight:720;white-space:nowrap}
.shelf-catalog{margin-top:.2rem}

.notes-report{display:grid;gap:.42rem}
.note-card{display:block!important;margin:0!important;padding:0!important;border:.0625rem solid var(--line)!important;background:var(--surface)!important}
.note-card-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.65rem .72rem;cursor:pointer;list-style:none}
.note-card-summary::-webkit-details-marker{display:none}
.note-card-summary::after{content:"Bearbeiten";grid-column:2;grid-row:1;color:var(--muted);font-size:.58rem;font-weight:750;text-transform:uppercase;letter-spacing:.035em}
.note-card-preview{display:grid;gap:.14rem;min-width:0}
.note-card-preview strong{font-size:.79rem;line-height:1.25}
.note-card-preview small{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:.65rem;line-height:1.38;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.note-card-date{grid-column:2;grid-row:2;color:var(--muted);font-size:.56rem;font-variant-numeric:tabular-nums;text-align:right}
.note-card[open] .note-card-summary{border-bottom:.0625rem solid var(--line);background:var(--surface-soft)}
.note-card-editor{display:grid;gap:.55rem;padding:.68rem .72rem}
.note-card-origin-row{display:flex;align-items:center;justify-content:space-between;gap:.7rem;color:var(--muted)}
.note-card-origin-row small{font-size:.56rem;overflow-wrap:anywhere}
.note-card textarea{min-height:7.5rem!important;resize:vertical}

.check-tree{display:grid;gap:.8rem}
.check-stat-shelf{display:grid;gap:.42rem}
.check-stat-shelf>header{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.42rem 0;border-bottom:.0625rem solid var(--line)}
.check-stat-shelf>header strong{font-size:.78rem}
.check-stat-shelf>header span{font-size:.62rem;color:var(--muted);font-variant-numeric:tabular-nums}
.check-stat-books{display:grid;gap:.3rem}
.check-stat-book{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;padding:.48rem .58rem .62rem;border:.0625rem solid var(--line);background:var(--surface);text-decoration:none}
.check-stat-book>span:first-child{display:grid;gap:.05rem;min-width:0}
.check-stat-book strong{font-size:.7rem;line-height:1.25}
.check-stat-book small{color:var(--muted);font-size:.56rem}
.check-stat-value{font-size:.62rem;font-weight:780;font-variant-numeric:tabular-nums}
.check-stat-track{position:absolute;left:.58rem;right:.58rem;bottom:.25rem;height:.12rem;background:var(--line)}
.check-stat-track i{display:block;height:100%;background:var(--ink)}

.quiz-dialog{width:min(46rem,calc(100% - 1.2rem));max-height:calc(100dvh - 1.2rem);padding:clamp(1rem,3vw,1.8rem);border:.0625rem solid var(--line-strong);border-radius:.25rem;background:var(--surface);color:var(--ink)}
.quiz-dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(.35rem)}
.quiz-head{padding-right:4.5rem;margin-bottom:1rem}
.quiz-head h2{margin:.18rem 0 .35rem;font-size:clamp(1.35rem,4vw,2.35rem);line-height:1.02;letter-spacing:-.04em}
.quiz-head p{margin:0;color:var(--muted);font-size:.72rem}
.quiz-loading{padding:1rem;border:.0625rem solid var(--line);font-size:.75rem}
.quiz-stage{display:grid;gap:.85rem}
.quiz-progress{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding-bottom:.45rem;border-bottom:.0625rem solid var(--line);font-size:.62rem;font-weight:760;color:var(--muted)}
.quiz-stage h3{margin:0;font-size:clamp(1.05rem,3vw,1.55rem);line-height:1.3;letter-spacing:-.025em}
.quiz-options{display:grid;gap:.42rem}
.quiz-option{width:100%;padding:.68rem .75rem;border:.0625rem solid var(--line-strong);border-radius:.25rem;background:var(--surface);color:var(--ink);text-align:left;font-size:.78rem;line-height:1.4}
.quiz-option:not(:disabled):is(:hover,:focus-visible){border-color:var(--ink);background:var(--surface-soft)}
.quiz-option.is-correct{border-color:var(--ok);box-shadow:inset .22rem 0 0 var(--ok)}
.quiz-option.is-selected-wrong{border-color:var(--danger);box-shadow:inset .22rem 0 0 var(--danger)}
.quiz-option:disabled{cursor:default;opacity:1}
.quiz-feedback{padding:.7rem .78rem;border:.0625rem solid var(--line-strong);background:var(--surface-soft);font-size:.72rem;line-height:1.5}
.quiz-feedback strong{font-size:.75rem}.quiz-feedback p{margin:.3rem 0 0}
.quiz-actions{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.quiz-result{padding:1rem 0}.quiz-result h3{font-size:1.5rem;margin:.25rem 0}.quiz-result p{color:var(--muted)}

@media(max-width:43rem){
  .catalog-row{grid-template-columns:2rem minmax(0,1fr);gap:.55rem;min-height:4rem;padding:.62rem .68rem}
  .catalog-meta{grid-column:2;justify-content:flex-start;max-width:none}
  .note-card-summary{grid-template-columns:minmax(0,1fr) auto}
  .quiz-dialog{padding:.85rem}.quiz-head{padding-right:3.7rem}
}
@media(prefers-reduced-motion:reduce){.header-search-loader>span,.catalog-row{transition:none!important}}

/* 1.9.0 · adaptiver Lernstand und globales Quiz */
.search-question-exact{display:grid;gap:.25rem}
.suggestion-quiz-exact{width:100%;border:.0625rem solid var(--line);border-radius:.25rem;background:var(--surface-soft);color:var(--ink);padding:.48rem .62rem;text-align:left}
.suggestion-quiz-exact span{display:grid;gap:.08rem}.suggestion-quiz-exact strong{font-size:.7rem}.suggestion-quiz-exact small{font-size:.58rem;color:var(--muted)}
.suggestion-quiz-exact:is(:hover,:focus-visible){border-color:var(--line-strong);background:var(--surface)}
.question-slide-control-dock{position:relative}
.question-rating-panel{position:absolute;left:50%;bottom:calc(100% + .42rem);transform:translateX(-50%);z-index:5;display:grid;grid-template-columns:repeat(3,auto);gap:.22rem;padding:.3rem;border:.0625rem solid rgba(255,255,255,.28);background:rgba(0,0,0,.92);box-shadow:0 .6rem 1.5rem rgba(0,0,0,.32);white-space:nowrap}
.question-rating-panel button{min-height:1.9rem;padding:.34rem .48rem;border:.0625rem solid rgba(255,255,255,.23);border-radius:.2rem;background:transparent;color:#fff;font-size:.58rem;font-weight:730}
.question-rating-panel button:is(:hover,:focus-visible),.question-rating-panel button.is-active{background:#fff;color:#111;border-color:#fff}
.slide-rating-control{position:relative}.slide-rating-control .slide-control-mark{position:absolute;right:.12rem;bottom:.06rem;min-width:.72rem;font-size:.43rem;line-height:.72rem;text-align:center;border-radius:.12rem;background:rgba(0,0,0,.82);color:#fff}
.slide-rating-control[data-rating="unknown"]{box-shadow:inset 0 0 0 .12rem color-mix(in srgb,var(--danger) 72%,transparent)}
.slide-rating-control[data-rating="unsure"]{box-shadow:inset 0 0 0 .12rem color-mix(in srgb,#b38113 72%,transparent)}
.slide-rating-control[data-rating="known"]{box-shadow:inset 0 0 0 .12rem color-mix(in srgb,var(--ok) 72%,transparent)}
.learning-dashboard{grid-column:1/-1}
.learning-dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}
.learning-dashboard-head .button-chip.is-disabled{pointer-events:none;opacity:.45}
.learning-statistics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin:.85rem 0}
.learning-statistics>div{display:grid;gap:.08rem;padding:.62rem;border:.0625rem solid var(--line);background:var(--surface)}
.learning-statistics strong{font-size:1.25rem;line-height:1;font-variant-numeric:tabular-nums}.learning-statistics span{font-size:.58rem;color:var(--muted)}
.learning-tree{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.32rem}
.learning-stat-book{display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.52rem .58rem;border:.0625rem solid var(--line);background:var(--surface);text-decoration:none}
.learning-stat-book>span:first-child{display:grid;gap:.06rem;min-width:0}.learning-stat-book strong{font-size:.68rem;line-height:1.25}.learning-stat-book small{font-size:.55rem;color:var(--muted)}
.learning-book-values{display:flex;gap:.22rem;flex:0 0 auto}.learning-book-values i{font-style:normal;font-size:.52rem;font-weight:760;padding:.14rem .22rem;border:.0625rem solid var(--line);font-variant-numeric:tabular-nums}
.quiz-setup{display:grid;gap:.85rem}.quiz-setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.quiz-setup-grid label{display:grid;gap:.24rem;font-size:.62rem;font-weight:720}.quiz-setup-grid select{width:100%;min-height:2.25rem;padding:.4rem .5rem;border:.0625rem solid var(--line-strong);border-radius:.25rem;background:var(--surface);color:var(--ink)}
.quiz-query-note,.quiz-available{margin:0;padding:.52rem .6rem;border:.0625rem solid var(--line);background:var(--surface-soft);font-size:.68rem;color:var(--muted)}
.quiz-result-actions{display:flex;gap:.45rem;flex-wrap:wrap}.quiz-feedback small{color:var(--muted)}
@media(max-width:43rem){.question-rating-panel{grid-template-columns:1fr;min-width:8.8rem}.learning-dashboard-head{align-items:flex-start;flex-direction:column}.learning-statistics{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-tree{grid-template-columns:1fr}.quiz-setup-grid{grid-template-columns:1fr}}

/* 1.9.36 · sichtbarer Buchkontext, diskrete Punkte, ruhiger Wechsel und klareres Quiz */
.question-slide-bookline{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  grid-template-areas:
    "kicker title points"
    "kicker chapter points"!important;
  align-items:center!important;
  gap:.08rem .5rem!important;
  width:100%!important;
  margin:0 0 clamp(.65rem,1.5vw,1rem)!important;
  padding:.38rem .5rem!important;
  border:.0625rem solid color-mix(in srgb,var(--qa-readable-ink,var(--ink)) 14%,transparent)!important;
  border-left:.18rem solid color-mix(in srgb,var(--qa-readable-ink,var(--ink)) 46%,transparent)!important;
  border-radius:.25rem!important;
  background:color-mix(in srgb,var(--qa-readable-panel,var(--surface)) 68%,transparent)!important;
  color:var(--qa-readable-ink,var(--ink))!important;
  text-decoration:none!important;
}
.question-slide-book-kicker{
  grid-area:kicker;
  align-self:stretch;
  display:flex;
  align-items:center;
  padding-right:.45rem;
  border-right:.0625rem solid color-mix(in srgb,var(--qa-readable-ink,var(--ink)) 17%,transparent);
  color:var(--qa-readable-muted,var(--muted));
  font-size:.48rem;
  font-weight:780;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.question-slide-book-title{
  grid-area:title;
  min-width:0;
  overflow:hidden;
  color:var(--qa-readable-ink,var(--ink));
  font-size:clamp(.72rem,1.45vw,.9rem);
  font-weight:830;
  line-height:1.18;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.question-slide-chapter{
  grid-area:chapter;
  min-width:0;
  overflow:hidden;
  color:var(--qa-readable-muted,var(--muted));
  font-size:.58rem;
  font-weight:620;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.question-slide-points{
  grid-area:points;
  align-self:center;
  min-width:1.8rem;
  padding:.16rem .28rem;
  border:.0625rem solid color-mix(in srgb,var(--qa-readable-ink,var(--ink)) 18%,transparent);
  border-radius:.2rem;
  color:var(--qa-readable-muted,var(--muted));
  font-size:.5rem;
  font-weight:760;
  line-height:1;
  text-align:center;
  white-space:nowrap;
  opacity:.76;
}
.question-slide-copy{
  transform:translateY(0) scale(1);
  filter:blur(0);
  transition:opacity .44s cubic-bezier(.22,.72,.18,1),transform .52s cubic-bezier(.22,.72,.18,1),filter .44s ease!important;
  will-change:opacity,transform,filter;
}
.question-slide-copy.is-leaving{
  opacity:0!important;
  transform:translateY(.42rem) scale(.995)!important;
  filter:blur(.1rem)!important;
}
.question-slide-copy.is-entering{
  opacity:0!important;
  transform:translateY(-.32rem) scale(.995)!important;
  filter:blur(.1rem)!important;
}
.qa-word-link.is-lexicon-hit,
.qa-word-link.is-point-term,
.point-key,
.quiz-key-term,
.word-link{
  text-decoration-line:underline!important;
  text-decoration-style:dotted!important;
  text-decoration-thickness:.075rem!important;
  text-underline-offset:.17em!important;
  text-decoration-color:color-mix(in srgb,currentColor 46%,transparent)!important;
}
.qa-word-link.is-point-term,
.point-key{
  text-decoration-style:solid!important;
  text-decoration-color:color-mix(in srgb,currentColor 62%,transparent)!important;
}
.word-link{
  display:inline;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  line-height:inherit;
  text-align:inherit;
}
.qa-point-value{
  flex:0 0 auto;
  align-self:center;
  margin-left:auto;
  padding:.12rem .26rem;
  border:.0625rem solid color-mix(in srgb,var(--ink) 14%,transparent);
  border-radius:.2rem;
  color:var(--muted);
  font-size:.48rem;
  font-weight:720;
  line-height:1;
  white-space:nowrap;
  opacity:.72;
}

.quiz-dialog{
  width:min(50rem,calc(100% - 1.2rem));
  padding:clamp(1rem,3vw,1.9rem);
  overflow:auto;
}
.quiz-stage{gap:.72rem}
.quiz-progress{
  padding:0 0 .18rem;
  border:0;
  font-size:.56rem;
  font-weight:650;
  letter-spacing:.01em;
}
.quiz-position{font-variant-numeric:tabular-nums}
.quiz-score{opacity:.7;font-variant-numeric:tabular-nums}
.quiz-question-card{
  display:grid;
  gap:.22rem;
  padding:.78rem .86rem .88rem;
  border:.0625rem solid var(--line);
  border-left:.2rem solid color-mix(in srgb,var(--ink) 52%,transparent);
  border-radius:.25rem;
  background:color-mix(in srgb,var(--surface-soft) 76%,var(--surface));
}
.quiz-question-context{
  margin:0;
  color:var(--muted);
  font-size:.56rem;
  font-weight:690;
  line-height:1.3;
}
.quiz-stage h3{
  margin:0;
  font-size:clamp(1.08rem,3vw,1.62rem);
  line-height:1.28;
  letter-spacing:-.025em;
}
.quiz-options{gap:.52rem}
.quiz-option{
  position:relative;
  display:grid;
  grid-template-columns:2rem minmax(0,1fr) auto;
  align-items:center;
  gap:.68rem;
  min-height:3.15rem;
  padding:.56rem .68rem .56rem .56rem;
  border:.0625rem solid color-mix(in srgb,var(--ink) 19%,var(--line));
  border-radius:.25rem;
  background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 96%,transparent),color-mix(in srgb,var(--surface-soft) 82%,var(--surface)));
  box-shadow:0 .16rem .45rem rgba(0,0,0,.045);
  color:var(--ink);
  text-align:left;
  font-size:.76rem;
  line-height:1.42;
  transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease,opacity .18s ease;
}
.quiz-option-letter{
  display:grid;
  place-items:center;
  width:2rem;
  height:2rem;
  border:.0625rem solid color-mix(in srgb,var(--ink) 24%,transparent);
  border-radius:50%;
  color:var(--muted);
  font-size:.62rem;
  font-weight:830;
  line-height:1;
}
.quiz-option-text{min-width:0}
.quiz-option-state{
  min-width:2.8rem;
  color:var(--muted);
  font-size:.5rem;
  font-weight:760;
  line-height:1.1;
  text-align:right;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.quiz-option:not(:disabled):is(:hover,:focus-visible){
  transform:translateY(-.06rem);
  border-color:color-mix(in srgb,var(--ink) 52%,transparent);
  background:var(--surface);
  box-shadow:0 .34rem .75rem rgba(0,0,0,.08);
}
.quiz-option:disabled:not(.is-correct):not(.is-selected){opacity:.58}
.quiz-option.is-correct{
  border-color:color-mix(in srgb,var(--ok) 72%,var(--line));
  background:color-mix(in srgb,var(--ok) 8%,var(--surface));
  box-shadow:inset .2rem 0 0 var(--ok);
}
.quiz-option.is-correct .quiz-option-letter{border-color:var(--ok);color:var(--ok)}
.quiz-option.is-correct .quiz-option-state::after{content:"richtig"}
.quiz-option.is-selected-wrong{
  border-color:color-mix(in srgb,var(--danger) 72%,var(--line));
  background:color-mix(in srgb,var(--danger) 7%,var(--surface));
  box-shadow:inset .2rem 0 0 var(--danger);
  opacity:1!important;
}
.quiz-option.is-selected-wrong .quiz-option-letter{border-color:var(--danger);color:var(--danger)}
.quiz-option.is-selected-wrong .quiz-option-state::after{content:"gewählt"}
.quiz-feedback{
  padding:.72rem .82rem;
  border:.0625rem solid var(--line);
  border-left:.2rem solid color-mix(in srgb,var(--ink) 45%,transparent);
  border-radius:.25rem;
  background:color-mix(in srgb,var(--surface-soft) 80%,var(--surface));
  font-size:.7rem;
  line-height:1.52;
}
.quiz-feedback strong{font-size:.74rem}

@media(max-width:43rem){
  .question-slide-bookline{grid-template-columns:auto minmax(0,1fr) auto!important;padding:.32rem .4rem!important;gap:.06rem .38rem!important}
  .question-slide-book-kicker{padding-right:.34rem;font-size:.44rem}
  .question-slide-book-title{font-size:.7rem}
  .question-slide-chapter{font-size:.53rem}
  .question-slide-points{min-width:1.55rem;padding:.13rem .2rem;font-size:.45rem}
  .quiz-question-card{padding:.68rem .7rem .75rem}
  .quiz-option{grid-template-columns:1.75rem minmax(0,1fr);gap:.52rem;min-height:3rem;padding:.52rem .58rem;font-size:.72rem}
  .quiz-option-letter{width:1.75rem;height:1.75rem}
  .quiz-option-state{grid-column:2;min-width:0;text-align:left}
}
@media(prefers-reduced-motion:reduce){
  .question-slide-copy,.quiz-option{transition:none!important;transform:none!important;filter:none!important}
}

/* 1.9.107 · ein konsolidiertes Layout- und Farbkonzept */
:root{
  --layout-width:75rem;
  --reading-width:52rem;
  --ui-radius:.5rem;
  --ui-black:#10110f;
  --ui-white:#fffdf4;
  --ui-paper:#fff9e8;
  --ui-card:#fffef8;
  --ui-muted:#596057;
  --ui-line:rgba(16,17,15,.18);
  --ui-line-strong:rgba(16,17,15,.34);
  --ui-yellow:#ffd83d;
  --ui-green:#77e49a;
  --ui-cyan:#4fd8ef;
  --ui-danger:#a52d45;
  --ui-ok:#27733d;
  --ui-shadow:0 .55rem 1.5rem rgba(34,32,20,.09);
  --learning-gradient:linear-gradient(120deg,#ffd83d 0%,#77e49a 50%,#4fd8ef 100%);
  --control-height:3.15rem;
}

html,body{background:#000!important}
html{min-height:100%;overscroll-behavior:none}
body{min-height:100dvh;color:var(--ui-black)}
html[data-theme="paper"]{color-scheme:light;--paper:var(--ui-paper);--surface:var(--ui-card);--ink:var(--ui-black);--muted:var(--ui-muted);--line:var(--ui-line);--line-strong:var(--ui-line-strong);--focus:#006c78}
html[data-theme="glass-black"]{color-scheme:dark;--paper:#000;--surface:#0b0b0b;--ink:#f8f8f2;--muted:#c2c8bf;--line:rgba(255,255,255,.18);--line-strong:rgba(255,255,255,.38);--focus:#86e5ef}
html[data-theme="paper"] body>.page-shell{background:var(--ui-paper)!important;color:var(--ui-black)!important}
html[data-theme="glass-black"] body>.page-shell{background:#000!important;color:#f8f8f2!important}

.site-header{background:#000!important;color:#fff!important;border:0!important;padding-top:env(safe-area-inset-top,0)!important;box-shadow:none!important}
.site-header::before,.site-header::after{background:#000!important}
.header-shell,.page-shell,.footer-inner{width:min(var(--layout-width),calc(100% - 2rem))!important;margin-inline:auto!important}
.header-shell{min-height:var(--header-h)!important}
.site-header :is(.brand,.main-nav a){color:#fff!important}
.site-header .main-nav a:is(:hover,:focus-visible,.active){background:#242724!important;color:#fff!important;box-shadow:inset 0 0 0 .0625rem rgba(255,255,255,.28)!important}
.site-header .header-search input{background:#1d211d!important;color:#fff!important;border-color:#4c534b!important}
.site-header .header-search input::placeholder{color:#c7cdc4!important}
.site-footer{margin:0!important;padding-bottom:env(safe-area-inset-bottom,0)!important;background:#000!important;color:#fff!important;border:0!important}
.site-footer :is(a,button,strong,span){color:inherit!important}

.page-shell{min-height:calc(100dvh - var(--header-h));padding-block:1.5rem 3.5rem!important}
.page-shell>*{max-width:100%}
.page-shell>.breadcrumb,.page-shell>.quiet-head,.page-shell>.units,.page-shell>.subject-list,.page-shell>.book-grid,.page-shell>.catalog-list,.page-shell>.lexicon-list,.page-shell>.shelf-catalog,.page-shell>.teaching-material-list{width:100%!important;margin-inline:auto!important}
.prose,.rich-learning,.material-learning-frame,.chapter-section-body>.text-flow,.unit-body>.text-flow{width:min(var(--reading-width),100%);margin-inline:auto}

/* Ein Erscheinungsbild für Listen, Bücher, Kapitel und Unterkapitel. */
:is(.subject-row,.catalog-row,.book-card,.unit,.teaching-material,.lexicon-entry,.wiki-card,.source-card,.logbook-entry,.note-card,.sitemap-book){
  border:.0625rem solid var(--line)!important;
  border-radius:var(--ui-radius)!important;
  background:var(--surface)!important;
  color:var(--ink)!important;
  box-shadow:none!important;
}
:is(.subject-row,.catalog-row,.book-card):is(:hover,:focus-within),
:is(.unit,.teaching-material)[open]{border-color:var(--line-strong)!important;box-shadow:var(--ui-shadow)!important;transform:none!important}
:is(.subject-row,.catalog-row,.book-card,.unit>summary,.teaching-material>summary){min-height:3.15rem;padding:.72rem .9rem!important}
:is(.unit>summary,.teaching-material>summary){display:grid;grid-template-columns:2.15rem minmax(0,1fr) auto;gap:.7rem;align-items:center;color:var(--ink)!important;background:transparent!important}
:is(.unit>summary,.teaching-material>summary):is(:hover,:focus-visible){background:rgba(105,220,233,.16)!important;color:var(--ink)!important}
.chapter-number,.subject-order,.catalog-order{display:grid;place-items:center;min-width:1.8rem;height:1.8rem;border-radius:.35rem;background:var(--ui-green)!important;color:var(--ui-black)!important;font-weight:850!important}
.unit-body,.teaching-material-body{border-top:.0625rem solid var(--line)!important;background:transparent!important;padding:clamp(.8rem,2vw,1.35rem)!important}
.chapter-section,.qa-section,.local-tools,.chapter-answer>div{background:var(--surface)!important;border:.0625rem solid var(--line)!important;border-radius:var(--ui-radius)!important;color:var(--ink)!important}
.quiet-head,.book-head,.subject-head{width:100%!important;border:.0625rem solid var(--line)!important;border-radius:var(--ui-radius)!important;background:linear-gradient(115deg,var(--ui-yellow),var(--ui-green) 56%,var(--ui-cyan))!important;color:var(--ui-black)!important;box-shadow:var(--ui-shadow)!important}
.quiet-head :is(h1,h2,h3,p,strong,a,button,.chip){color:var(--ui-black)!important}
html[data-theme="glass-black"] :is(.subject-row,.catalog-row,.book-card,.unit,.teaching-material,.lexicon-entry,.wiki-card,.source-card,.logbook-entry,.note-card,.sitemap-book,.chapter-section,.qa-section,.local-tools,.chapter-answer>div){background:#0b0b0b!important;color:#f8f8f2!important;border-color:#303030!important}
html[data-theme="glass-black"] :is(.unit>summary,.teaching-material>summary):is(:hover,:focus-visible){background:#171917!important;color:#fff!important}
html[data-theme="glass-black"] :is(.quiet-head,.book-head,.subject-head){background:#080808!important;color:#fff!important;border-color:#333!important;box-shadow:none!important}
html[data-theme="glass-black"] :is(.quiet-head,.book-head,.subject-head) :is(h1,h2,h3,p,strong,a,button,.chip){color:#fff!important}
html[data-theme="glass-black"] .page-shell :is(p,li,dd,dt,summary,h1,h2,h3,h4,h5,h6,strong,button,a,.icon){color:inherit}
html[data-theme="glass-black"] .page-shell :is(.muted,small,.unit-meta,.source-citation,.source-note,.privacy-hint){color:#c2c8bf!important}

/* Lesbare, feste Interaktionsfarben. */
html[data-theme="paper"] .page-shell :is(.button-chip,.small-button,.alphabet button,.text-button):is(:hover,:focus-visible){background:var(--ui-black)!important;color:#fff!important;border-color:var(--ui-black)!important;filter:none!important}
html[data-theme="glass-black"] .page-shell :is(.button-chip,.small-button,.alphabet button,.text-button):is(:hover,:focus-visible){background:var(--ui-yellow)!important;color:var(--ui-black)!important;border-color:var(--ui-yellow)!important;filter:none!important}
.text-flow a,.prose a{color:inherit!important;text-decoration-color:currentColor!important}
.text-flow a:is(:hover,:focus-visible),.prose a:is(:hover,:focus-visible){background:var(--ui-cyan)!important;color:var(--ui-black)!important;text-decoration:none!important}

/* DocCheck, Google und Wikipedia gleichberechtigt in einer Zeile. */
.word-provider-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}
.word-provider-row a{display:flex;align-items:center;justify-content:center;min-height:2.35rem;padding:.45rem .6rem;border:.0625rem solid var(--line-strong);border-radius:var(--ui-radius);background:var(--surface);color:var(--ink)!important;text-decoration:none;font-weight:780}
.word-provider-row a:is(:hover,:focus-visible){background:var(--ui-black)!important;color:#fff!important;border-color:var(--ui-black)!important}
html[data-theme="glass-black"] .word-provider-row a:is(:hover,:focus-visible){background:var(--ui-yellow)!important;color:var(--ui-black)!important;border-color:var(--ui-yellow)!important}
.word-web-search small{display:block;margin-top:.45rem;color:var(--muted)}
.word-provider-switch,.word-external-primary,.word-external-wiki{display:none!important}

/* Ein Lernfenster: Frage–Antwort und A–D verwenden denselben Aufbau. */
.template-home .page-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:var(--learning-gradient)!important}
.home-learning-flow{min-height:calc(100dvh - var(--header-h));display:grid}
.question-slide-shell{
  --experience-ink:var(--ui-black);
  --experience-muted:#4d544c;
  --experience-panel:rgba(255,253,244,.94);
  --experience-line:rgba(16,17,15,.28);
  position:relative;width:100%;min-width:0;overflow:hidden;isolation:isolate;
  background:var(--learning-gradient)!important;color:var(--experience-ink)!important;
}
.question-slide-shell::before,.quiz-dialog::before{content:"";position:absolute;inset:-12%;z-index:0;background:var(--learning-gradient);background-size:180% 180%;animation:gremmatikHue 24s ease-in-out infinite alternate;transform:translateZ(0)}
@keyframes gremmatikHue{0%{background-position:0% 45%}50%{background-position:55% 55%}100%{background-position:100% 45%}}
html[data-theme="glass-black"] .question-slide-shell,html[data-theme="glass-black"] .quiz-dialog{--experience-ink:#f8f8f2;--experience-muted:#c2c8bf;--experience-panel:rgba(10,10,10,.94);--experience-line:rgba(255,255,255,.28);background:#000!important;color:#f8f8f2!important}
html[data-theme="glass-black"] .question-slide-shell::before,html[data-theme="glass-black"] .quiz-dialog::before{display:none}
.question-slide-stage{position:relative;z-index:1;width:100%!important;min-height:calc(100dvh - var(--header-h))!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.question-slide-content,.question-slide-shell .home-qa-glass.question-slide-content{position:relative;z-index:1;width:100%!important;max-width:none!important;height:100%!important;min-height:inherit!important;margin:0!important;padding:.5rem clamp(.65rem,2vw,1.5rem) calc(var(--control-height) + .8rem)!important;display:grid!important;grid-template-rows:.22rem minmax(0,1fr)!important;gap:0!important;overflow:hidden!important;background:transparent!important;color:var(--experience-ink)!important}
.home-qa-progress,.quiz-progress-line{width:100%;height:.22rem;border:0;border-radius:999px;overflow:hidden;background:rgba(16,17,15,.18)!important}
.home-qa-progress>span,.quiz-progress-line>span{display:block;height:100%;width:100%;border-radius:inherit;background:var(--ui-black)!important;transform-origin:left center}
html[data-theme="glass-black"] :is(.home-qa-progress,.quiz-progress-line){background:rgba(255,255,255,.2)!important}
html[data-theme="glass-black"] :is(.home-qa-progress>span,.quiz-progress-line>span){background:var(--ui-yellow)!important}
.question-slide-copy,.quiz-playfield{width:min(70rem,100%)!important;min-height:0!important;height:100%!important;margin:0 auto!important;padding:clamp(.75rem,2vh,1.35rem) 0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:clamp(.75rem,2vh,1.25rem)!important;overflow:hidden!important;color:var(--experience-ink)!important}
.question-slide-bookline,.quiz-bookline{display:flex!important;align-items:baseline!important;justify-content:center!important;gap:.38rem!important;width:min(62rem,100%)!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--experience-ink)!important;text-align:center!important;line-height:1.25!important}
.question-slide-book-title{color:inherit!important;font-size:.78rem!important;font-weight:860!important;text-decoration:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:center!important}
.question-slide-chapter{color:var(--experience-muted)!important;font-size:.68rem!important;text-align:center!important}
.question-slide-separator{color:var(--experience-muted);font-size:.68rem}
.question-slide-points{padding:.08rem .28rem;border:.0625rem solid var(--experience-line);border-radius:999px;color:var(--experience-muted)!important;font-size:.54rem;font-weight:850;white-space:nowrap}
.question-slide-book-title:is(:hover,:focus-visible){background:transparent!important;color:inherit!important;text-decoration:underline!important}
.question-slide-answer-mode,.question-slide-quiz-mode{width:100%!important;min-height:0!important;display:flex!important;flex:0 1 auto!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:clamp(.8rem,2.2vh,1.35rem)!important;overflow:hidden!important}
.home-qa-question,.question-slide-quiz-question,.quiz-question{width:min(68rem,100%)!important;margin:0 auto!important;color:var(--experience-ink)!important;font-size:clamp(1.8rem,4.35vw,4.25rem)!important;font-weight:880!important;line-height:1.03!important;letter-spacing:-.045em!important;text-align:center!important;text-wrap:balance;overflow-wrap:anywhere}
.home-qa-answer{width:min(64rem,100%)!important;margin:0 auto!important;color:var(--experience-ink)!important;font-size:clamp(.95rem,1.45vw,1.25rem)!important;font-weight:650!important;line-height:1.48!important;text-align:center!important;text-wrap:pretty}
.question-slide-shell[data-qa-length="medium"] .home-qa-question{font-size:clamp(1.45rem,3.45vw,3.25rem)!important}
.question-slide-shell[data-qa-length="long"] .home-qa-question{font-size:clamp(1.1rem,2.65vw,2.45rem)!important}
.question-slide-shell[data-qa-length="long"] .home-qa-answer{font-size:clamp(.78rem,1.05vw,.98rem)!important}
.question-slide-quiz-options,.quiz-options{width:min(66rem,100%)!important;min-height:0!important;margin:0 auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(4rem,auto))!important;gap:.55rem!important;overflow:hidden!important}
.question-slide-quiz-option,.quiz-option{display:grid!important;grid-template-columns:2rem minmax(0,1fr) auto!important;gap:.55rem!important;align-items:center!important;min-height:4rem!important;padding:.55rem .65rem!important;border:.0625rem solid var(--experience-line)!important;border-top:.24rem solid var(--ui-cyan)!important;border-radius:var(--ui-radius)!important;background:var(--experience-panel)!important;color:var(--experience-ink)!important;text-align:left!important;box-shadow:none!important}
.question-slide-quiz-option:nth-child(2),.quiz-option:nth-child(2){border-top-color:var(--ui-green)!important}
.question-slide-quiz-option:nth-child(3),.quiz-option:nth-child(3){border-top-color:var(--ui-yellow)!important}
.question-slide-quiz-option:nth-child(4),.quiz-option:nth-child(4){border-top-color:var(--ui-cyan)!important}
.question-slide-quiz-option:is(:hover,:focus-visible),.quiz-option:not(:disabled):is(:hover,:focus-visible){background:var(--ui-black)!important;color:#fff!important;border-color:var(--ui-black)!important}
.question-slide-quiz-letter,.quiz-option-letter{display:grid;place-items:center;width:1.8rem;height:1.8rem;border:.0625rem solid currentColor;border-radius:999px;font-size:.7rem;font-weight:900}
.question-slide-quiz-option-text,.quiz-option-text{font-size:clamp(.72rem,1vw,.9rem)!important;line-height:1.3!important;font-weight:700!important;color:inherit!important}
.question-slide-quiz-option.is-correct,.quiz-option.is-correct{background:#d8f5de!important;color:#15351d!important;border-color:var(--ui-ok)!important}
.question-slide-quiz-option.is-selected-wrong,.quiz-option.is-selected-wrong{background:#ffe2e7!important;color:#4d1420!important;border-color:var(--ui-danger)!important}
html[data-theme="glass-black"] :is(.question-slide-quiz-option,.quiz-option){background:#101110!important;color:#f8f8f2!important}
html[data-theme="glass-black"] :is(.question-slide-quiz-option,.quiz-option):is(:hover,:focus-visible){background:var(--ui-yellow)!important;color:var(--ui-black)!important;border-color:var(--ui-yellow)!important}

/* Eine unveränderlich kompakte Steuerleiste. */
.question-slide-control-dock,.quiz-control-dock{position:absolute!important;z-index:12!important;left:50%!important;bottom:.55rem!important;transform:translateX(-50%)!important;width:min(43rem,calc(100% - 1rem))!important;height:var(--control-height)!important;min-height:var(--control-height)!important;max-height:var(--control-height)!important;padding:.3rem .38rem!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:.38rem!important;align-items:center!important;border:.0625rem solid var(--experience-line)!important;border-radius:var(--ui-radius)!important;background:var(--experience-panel)!important;color:var(--experience-ink)!important;box-shadow:var(--ui-shadow)!important;overflow:visible!important;transition:opacity .22s ease,transform .22s ease!important}
.question-slide-primary-controls,.question-slide-secondary-controls,.quiz-control-actions{display:flex!important;align-items:center!important;gap:.18rem!important}
.slide-icon-control,.quiz-control-button{width:1.9rem!important;min-width:1.9rem!important;height:1.9rem!important;min-height:1.9rem!important;padding:0!important;border:.0625rem solid currentColor!important;border-radius:999px!important;background:transparent!important;color:inherit!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;font-size:.52rem!important;font-weight:850!important;line-height:1!important}
.quiz-control-button:has(span){width:auto!important;padding:0 .55rem!important;gap:.28rem!important}
.slide-icon-control svg,.quiz-control-button svg{width:.88rem!important;height:.88rem!important}
.slide-icon-control:is(:hover,:focus-visible),.quiz-control-button:is(:hover,:focus-visible){background:var(--ui-black)!important;color:#fff!important;border-color:var(--ui-black)!important}
html[data-theme="glass-black"] :is(.slide-icon-control,.quiz-control-button):is(:hover,:focus-visible){background:var(--ui-yellow)!important;color:var(--ui-black)!important;border-color:var(--ui-yellow)!important}
.question-slide-control-center,.quiz-control-center{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.08rem;overflow:hidden;text-align:center}
.question-slide-control-status,.question-slide-quiz-feedback,.quiz-control-meta,.quiz-feedback{width:100%;min-width:0;margin:0!important;color:inherit!important;font-size:.56rem!important;font-weight:750!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important}
.quiz-control-meta{display:flex;justify-content:center;gap:.45rem}
.quiz-control-meta p{margin:0;white-space:nowrap}
.question-slide-references{display:flex;align-items:center;justify-content:center;gap:.42rem;min-width:0;font-size:.54rem;line-height:1.1;white-space:nowrap;overflow:hidden}
.question-slide-references::before{content:"Querverweise:";color:var(--experience-muted);font-weight:700}
.question-slide-references a{color:inherit!important;font-weight:800;text-decoration:underline;text-underline-offset:.12em}
.question-slide-references a:is(:hover,:focus-visible){background:transparent!important;color:inherit!important;text-decoration-thickness:.13em!important}
.question-rating-panel{position:absolute!important;left:50%!important;bottom:calc(var(--control-height) + .55rem)!important;transform:translateX(-50%)!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:min(22rem,calc(100% - 1rem))!important;padding:.3rem!important;gap:.25rem!important;border:.0625rem solid var(--experience-line)!important;border-radius:var(--ui-radius)!important;background:var(--experience-panel)!important;box-shadow:var(--ui-shadow)!important}
.question-rating-panel[hidden]{display:none!important}
.question-rating-panel button{min-height:1.9rem;border:.0625rem solid var(--experience-line);border-radius:.35rem;background:transparent;color:inherit;font-size:.58rem;font-weight:780}
.question-rating-panel button:is(:hover,:focus-visible){background:var(--ui-black)!important;color:#fff!important}
.question-slide-shell.controls-idle .question-slide-control-dock,.quiz-dialog.controls-idle[data-state="playing"] .quiz-control-dock{opacity:0!important;pointer-events:none!important;transform:translate(-50%,.35rem)!important}

/* Eigenständiges Quiz: exakt dieselbe Bühne, keine Zeitbegrenzung, kein Scrollen. */
html.quiz-open,body.quiz-open,html.qa-fullscreen-lock,html.qa-fullscreen-lock body{overflow:hidden!important;height:100%!important}
html.quiz-open .site-header,html.quiz-open .site-footer,html.qa-fullscreen-lock .site-header,html.qa-fullscreen-lock .site-footer{display:none!important}
.quiz-dialog[open]{position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:var(--learning-gradient)!important;color:var(--experience-ink)!important}
.quiz-dialog::backdrop{background:#000!important}
.quiz-screen{position:relative;z-index:1;width:100%;height:100dvh;overflow:hidden;background:transparent}
.quiz-stage{position:relative;z-index:1;width:100%;height:100dvh;min-height:100dvh!important;padding:.5rem clamp(.65rem,2vw,1.5rem) calc(var(--control-height) + .8rem)!important;display:grid!important;grid-template-rows:.22rem minmax(0,1fr)!important;gap:0!important;overflow:hidden!important;background:transparent!important}
.quiz-progress-line{grid-row:1}.quiz-playfield{grid-row:2}
.quiz-loading,.quiz-setup,.quiz-result{position:relative;z-index:1;width:100%;height:100dvh;display:grid;place-items:center;padding:1rem;overflow:hidden}
.quiz-setup-card,.quiz-result-card{width:min(42rem,100%);max-height:calc(100dvh - 5rem);overflow:auto;padding:1.15rem;border:.0625rem solid var(--experience-line);border-radius:var(--ui-radius);background:var(--experience-panel);color:var(--experience-ink);box-shadow:var(--ui-shadow)}
.quiz-control-dock-setup,.quiz-control-dock-result{display:flex!important;align-items:center!important;justify-content:center!important;gap:.35rem!important}
.quiz-feedback[hidden]{display:none!important}
.quiz-feedback strong{margin-right:.3rem}
.quiz-option:disabled{opacity:1;cursor:default}
.quiz-option:disabled:not(.is-correct):not(.is-selected-wrong){opacity:.62}

.question-slide-shell:fullscreen,.question-slide-shell.is-fullscreen-fallback{position:fixed!important;inset:0!important;z-index:1000!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
.question-slide-shell:fullscreen .question-slide-stage,.question-slide-shell.is-fullscreen-fallback .question-slide-stage{height:100dvh!important;min-height:100dvh!important}

@media(max-width:47.5rem){
  :root{--control-height:3.05rem}
  .header-shell,.page-shell,.footer-inner{width:calc(100% - 1rem)!important}
  .page-shell{padding-top:1rem!important}
  .question-slide-stage{min-height:calc(100dvh - var(--header-h))!important}
  .question-slide-content,.question-slide-shell .home-qa-glass.question-slide-content,.quiz-stage{padding:.35rem .45rem calc(var(--control-height) + .6rem)!important}
  .question-slide-copy,.quiz-playfield{width:100%!important;padding:.45rem 0!important;gap:.55rem!important}
  .question-slide-bookline,.quiz-bookline{width:100%!important;gap:.25rem!important;flex-wrap:wrap!important}
  .question-slide-book-title{font-size:.66rem!important}.question-slide-chapter{font-size:.58rem!important}.question-slide-separator{font-size:.58rem}.question-slide-points{font-size:.46rem}
  .home-qa-question,.question-slide-quiz-question,.quiz-question{font-size:clamp(1.2rem,6.2vw,2rem)!important;line-height:1.04!important}
  .home-qa-answer{font-size:clamp(.74rem,3.3vw,.95rem)!important;line-height:1.36!important}
  .question-slide-shell[data-qa-length="medium"] .home-qa-question{font-size:clamp(1.05rem,5.4vw,1.65rem)!important}
  .question-slide-shell[data-qa-length="long"] .home-qa-question{font-size:clamp(.88rem,4.5vw,1.35rem)!important}
  .question-slide-quiz-options,.quiz-options{grid-template-columns:1fr!important;grid-template-rows:repeat(4,minmax(0,auto))!important;gap:.3rem!important;width:100%!important}
  .question-slide-quiz-option,.quiz-option{grid-template-columns:1.55rem minmax(0,1fr) auto!important;gap:.38rem!important;min-height:0!important;padding:.34rem .42rem!important;border-top-width:.2rem!important}
  .question-slide-quiz-letter,.quiz-option-letter{width:1.4rem;height:1.4rem;font-size:.58rem}
  .question-slide-quiz-option-text,.quiz-option-text{font-size:clamp(.58rem,2.65vw,.72rem)!important;line-height:1.18!important}
  .question-slide-control-dock,.quiz-control-dock{width:calc(100% - .5rem)!important;padding:.25rem .3rem!important;gap:.22rem!important}
  .slide-icon-control,.quiz-control-button{width:1.65rem!important;min-width:1.65rem!important;height:1.65rem!important;min-height:1.65rem!important}
  .quiz-control-button:has(span){width:auto!important;padding:0 .38rem!important}.quiz-control-button span{display:none}
  .question-slide-primary-controls,.question-slide-secondary-controls,.quiz-control-actions{gap:.1rem!important}
  .question-slide-control-status,.question-slide-quiz-feedback,.quiz-control-meta,.quiz-feedback{font-size:.48rem!important}
  .question-slide-references{font-size:.47rem;gap:.25rem}.question-slide-references::before{display:none}
  .quiet-head{grid-template-columns:minmax(0,1fr)!important}.head-tools{min-width:0!important;justify-items:start!important}.head-tools .chip-row,.head-tools .tool-row{justify-content:flex-start!important}
}
@media(max-height:40rem){
  :root{--control-height:2.8rem}
  .question-slide-copy,.quiz-playfield{gap:.32rem!important;padding:.2rem 0!important}
  .home-qa-question,.question-slide-quiz-question,.quiz-question{font-size:clamp(1rem,5.2vh,2.25rem)!important}.home-qa-answer{font-size:clamp(.66rem,2.4vh,.88rem)!important}
  .question-slide-quiz-option-text,.quiz-option-text{font-size:clamp(.54rem,1.9vh,.68rem)!important}
  .slide-icon-control,.quiz-control-button{width:1.6rem!important;min-width:1.6rem!important;height:1.6rem!important;min-height:1.6rem!important}
}
@media(prefers-reduced-motion:reduce){.question-slide-shell::before,.quiz-dialog::before{animation:none!important;background-position:50% 50%!important}.question-slide-control-dock,.quiz-control-dock{transition:none!important}}

.qa-references{width:min(var(--reading-width),100%);margin:.55rem auto 0;padding-top:.45rem;border-top:.0625rem solid var(--line);display:flex;flex-wrap:wrap;gap:.45rem;font-size:.62rem}
.qa-references::before{content:"Querverweise:";color:var(--muted);font-weight:700}
.qa-references a{color:var(--ink)!important;font-weight:780}
.qa-references a:is(:hover,:focus-visible){background:var(--ui-cyan)!important;color:var(--ui-black)!important;text-decoration:none!important}

/* Abschlusskorrekturen: keine alten Ordnungs- oder Sichtbarkeitsregeln dürfen durchschlagen. */
[hidden]{display:none!important}
.home-learning-flow{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.question-slide-bookline,.quiz-bookline{order:0!important}
.question-slide-answer-mode,.question-slide-quiz-mode{order:1!important}
html.quiz-open,body.quiz-open{overscroll-behavior:none!important}
body.quiz-open{height:100dvh!important;min-height:100dvh!important;overflow:hidden!important}

@media(max-width:47.5rem){
  .question-slide-control-dock,.quiz-control-dock{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:1.7rem .72rem!important;
    grid-template-areas:"primary secondary" "center center"!important;
    height:3.05rem!important;min-height:3.05rem!important;max-height:3.05rem!important;
    padding:.22rem .28rem!important;gap:.08rem .22rem!important;
  }
  .question-slide-primary-controls,.quiz-control-actions-start{grid-area:primary!important;justify-content:flex-start!important}
  .question-slide-secondary-controls,.quiz-control-actions-end{grid-area:secondary!important;justify-content:flex-end!important}
  .question-slide-control-center,.quiz-control-center{grid-area:center!important;min-height:.7rem!important;justify-content:center!important}
  .question-slide-control-status,.quiz-control-meta{display:none!important}
  .question-slide-quiz-feedback:not([hidden]),.quiz-feedback:not([hidden]){display:block!important;font-size:.46rem!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .question-slide-quiz-feedback:not([hidden])~.question-slide-references,
  .quiz-feedback:not([hidden])~.question-slide-references{display:none!important}
  .question-slide-references{font-size:.45rem!important;line-height:1!important;gap:.3rem!important}
  .slide-icon-control,.quiz-control-button{width:1.52rem!important;min-width:1.52rem!important;height:1.52rem!important;min-height:1.52rem!important}
  .slide-icon-control svg,.quiz-control-button svg{width:.76rem!important;height:.76rem!important}
}

html[data-theme="paper"],html[data-theme="glass-black"]{background:#000!important}
html[data-theme="paper"] body{background:var(--ui-paper)!important}
html[data-theme="glass-black"] body{background:#000!important}

/* 1.9.107: eine ruhige Außenfläche, keine historischen Farbstreifen. */
body::before,
body::after{
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}
html[data-theme="glass-black"],
html[data-theme="glass-black"] body{
  background:#000!important;
}
html[data-theme="glass-black"] .site-header,
html[data-theme="glass-black"] .site-footer{
  background:#000!important;
}

/* 1.9.109 · echtes Quiz-Vollbild wie beim Fragenslider */
.template-home .page-shell,
.template-home .home-learning-flow,
.template-home .question-slide-shell,
.template-home .question-slide-stage{
  margin-block:0!important;
  border-block:0!important;
}
.template-home .page-shell{
  min-height:0!important;
  padding-block:0!important;
}
.template-home .home-learning-flow{
  min-height:calc(100dvh - var(--header-h))!important;
  background:var(--learning-gradient)!important;
}
.template-home .site-footer{margin-top:0!important}

.question-slide-content,
.question-slide-shell .home-qa-glass.question-slide-content,
.quiz-stage{
  grid-template-rows:.32rem minmax(0,1fr)!important;
  row-gap:clamp(.8rem,1.8vh,1.2rem)!important;
}
.home-qa-progress,.quiz-progress-line{
  margin:0!important;
  align-self:start!important;
}
.question-slide-copy,.quiz-playfield{padding-top:0!important}
.home-qa-answer{
  max-height:min(34dvh,18rem)!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
}

/* Der Dialog ist nur der Öffnungsrahmen. Das article.quiz-screen wird nativ fullscreen. */
.quiz-dialog[open]{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  max-width:100vw!important;
  height:100dvh!important;
  max-height:100dvh!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.quiz-screen,
.quiz-screen:fullscreen,
.quiz-screen:-webkit-full-screen{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  min-width:100vw!important;
  max-width:100vw!important;
  height:100vh!important;
  height:100svh!important;
  height:100dvh!important;
  min-height:100vh!important;
  min-height:100svh!important;
  min-height:100dvh!important;
  max-height:100vh!important;
  max-height:100svh!important;
  max-height:100dvh!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  scrollbar-width:none!important;
  isolation:isolate!important;
  background:var(--learning-gradient)!important;
  color:var(--experience-ink)!important;
}
.quiz-screen:fullscreen::-webkit-scrollbar,
.quiz-screen:-webkit-full-screen::-webkit-scrollbar{display:none!important}
.quiz-screen:fullscreen::before,
.quiz-screen:-webkit-full-screen::before{
  content:"";
  position:absolute;
  inset:-12%;
  z-index:0;
  background:var(--learning-gradient);
  background-size:180% 180%;
  animation:gremmatikHue 24s ease-in-out infinite alternate;
  transform:translateZ(0);
}
html[data-theme="glass-black"] .quiz-screen:fullscreen,
html[data-theme="glass-black"] .quiz-screen:-webkit-full-screen{
  background:#000!important;
  color:#f8f8f2!important;
}
html[data-theme="glass-black"] .quiz-screen:fullscreen::before,
html[data-theme="glass-black"] .quiz-screen:-webkit-full-screen::before{display:none!important}
.quiz-screen:fullscreen > *,
.quiz-screen:-webkit-full-screen > *{position:relative;z-index:1}
.quiz-dialog[open] .quiz-stage,
.quiz-screen:fullscreen .quiz-stage,
.quiz-screen:-webkit-full-screen .quiz-stage{
  width:100vw!important;
  height:100vh!important;
  height:100svh!important;
  height:100dvh!important;
  min-height:100vh!important;
  min-height:100svh!important;
  min-height:100dvh!important;
  max-height:100vh!important;
  max-height:100svh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
}

/* Steuerung bleibt im sichtbaren Bild, aber nicht am unteren Rand. */
.quiz-dialog[open] .quiz-control-dock,
.quiz-screen:fullscreen .quiz-control-dock,
.quiz-screen:-webkit-full-screen .quiz-control-dock,
.question-slide-shell:fullscreen .question-slide-control-dock,
.question-slide-shell.is-fullscreen-fallback .question-slide-control-dock{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:max(1.25rem,calc(env(safe-area-inset-bottom,0rem) + .8rem))!important;
  z-index:2147483646!important;
  transform:translateX(-50%)!important;
}
.quiz-dialog.controls-idle[data-state="playing"] .quiz-control-dock,
.question-slide-shell.controls-idle:fullscreen .question-slide-control-dock,
.question-slide-shell.controls-idle.is-fullscreen-fallback .question-slide-control-dock{
  transform:translate(-50%,.35rem)!important;
}
.quiz-stage,
.question-slide-shell:fullscreen .question-slide-content,
.question-slide-shell.is-fullscreen-fallback .question-slide-content{
  padding-bottom:calc(var(--control-height) + max(2.4rem,calc(env(safe-area-inset-bottom,0rem) + 1.8rem)))!important;
}

.question-slide-quiz-options,.quiz-options{min-height:0!important;overflow:hidden!important}
.question-slide-quiz-option-text,.quiz-option-text{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  line-clamp:3!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  overflow-wrap:anywhere!important;
}

@media(max-width:47.5rem){
  .question-slide-content,
  .question-slide-shell .home-qa-glass.question-slide-content,
  .quiz-stage{row-gap:.72rem!important}
  .home-qa-answer{max-height:min(29dvh,13rem)!important}
  .question-slide-quiz-options,.quiz-options{
    grid-template-rows:repeat(4,minmax(0,1fr))!important;
    height:min(48dvh,25rem)!important;
  }
  .question-slide-quiz-option,.quiz-option{
    min-height:0!important;
    height:100%!important;
    overflow:hidden!important;
  }
  .question-slide-quiz-option-text,.quiz-option-text{
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
  }
  .quiz-dialog[open] .quiz-control-dock,
  .quiz-screen:fullscreen .quiz-control-dock,
  .quiz-screen:-webkit-full-screen .quiz-control-dock,
  .question-slide-shell:fullscreen .question-slide-control-dock,
  .question-slide-shell.is-fullscreen-fallback .question-slide-control-dock{
    bottom:max(1.4rem,calc(env(safe-area-inset-bottom,0rem) + .9rem))!important;
    width:calc(100vw - 1rem)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .quiz-screen:fullscreen::before,
  .quiz-screen:-webkit-full-screen::before{animation:none!important;background-position:50% 50%!important}
}

/* 1.9.110 · Abschlusskorrektur Quiz: Papier-Setup und sicherer Steuerungsabstand */
:root{
  --quiz-control-bottom:clamp(3.75rem,7dvh,5rem);
  --quiz-control-width:min(40rem,calc(100vw - 2rem));
}

/* Das erste Quizfenster folgt im Papiermodus konsequent der Papierdarstellung. */
html[data-theme="paper"] .quiz-dialog[data-state="loading"],
html[data-theme="paper"] .quiz-dialog[data-state="setup"],
html[data-theme="paper"] .quiz-dialog[data-state="result"],
html[data-theme="paper"] .quiz-dialog[data-state="loading"] .quiz-screen,
html[data-theme="paper"] .quiz-dialog[data-state="setup"] .quiz-screen,
html[data-theme="paper"] .quiz-dialog[data-state="result"] .quiz-screen,
html[data-theme="paper"] .quiz-dialog[data-state="loading"] .quiz-loading,
html[data-theme="paper"] .quiz-dialog[data-state="setup"] .quiz-setup,
html[data-theme="paper"] .quiz-dialog[data-state="result"] .quiz-result{
  background:var(--ui-paper)!important;
  color:var(--ui-black)!important;
}
html[data-theme="paper"] .quiz-dialog[data-state="loading"]::before,
html[data-theme="paper"] .quiz-dialog[data-state="setup"]::before,
html[data-theme="paper"] .quiz-dialog[data-state="result"]::before,
html[data-theme="paper"] .quiz-dialog[data-state="loading"] .quiz-screen::before,
html[data-theme="paper"] .quiz-dialog[data-state="setup"] .quiz-screen::before,
html[data-theme="paper"] .quiz-dialog[data-state="result"] .quiz-screen::before{
  display:none!important;
}
html[data-theme="paper"] .quiz-dialog[data-state="loading"]::backdrop,
html[data-theme="paper"] .quiz-dialog[data-state="setup"]::backdrop,
html[data-theme="paper"] .quiz-dialog[data-state="result"]::backdrop{
  background:var(--ui-paper)!important;
}
html[data-theme="paper"] .quiz-setup-card,
html[data-theme="paper"] .quiz-result-card{
  background:var(--ui-card)!important;
  color:var(--ui-black)!important;
  border-color:var(--ui-line-strong)!important;
}
html[data-theme="paper"] .quiz-setup-card :is(h2,p,label,span,strong,select),
html[data-theme="paper"] .quiz-result-card :is(h2,p,span,strong){
  color:inherit!important;
}
html[data-theme="paper"] .quiz-setup-grid select{
  background:#fffef8!important;
  color:var(--ui-black)!important;
  border-color:var(--ui-line-strong)!important;
}

/* Im laufenden Quiz bleibt die gemeinsame farbige Lernbühne aktiv. */
html[data-theme="paper"] .quiz-dialog[data-state="playing"],
html[data-theme="paper"] .quiz-dialog[data-state="playing"] .quiz-screen{
  background:var(--learning-gradient)!important;
  color:var(--ui-black)!important;
}

/* Die Steuerung schwebt klar innerhalb des sichtbaren Bildes und bleibt kompakt. */
.quiz-dialog[open] .quiz-control-dock,
.quiz-screen:fullscreen .quiz-control-dock,
.quiz-screen:-webkit-full-screen .quiz-control-dock{
  width:var(--quiz-control-width)!important;
  max-width:var(--quiz-control-width)!important;
  bottom:max(var(--quiz-control-bottom),calc(env(safe-area-inset-bottom,0rem) + 2.75rem))!important;
}
.quiz-dialog[open] .quiz-stage,
.quiz-screen:fullscreen .quiz-stage,
.quiz-screen:-webkit-full-screen .quiz-stage{
  padding-bottom:calc(var(--control-height) + var(--quiz-control-bottom) + 1.15rem)!important;
}
.quiz-dialog.controls-idle[data-state="playing"] .quiz-control-dock{
  transform:translate(-50%,.25rem)!important;
}

@media(max-width:47.5rem){
  :root{
    --quiz-control-bottom:3.75rem;
    --quiz-control-width:min(22rem,calc(100vw - 2rem));
  }
  .quiz-dialog[open] .quiz-control-dock,
  .quiz-screen:fullscreen .quiz-control-dock,
  .quiz-screen:-webkit-full-screen .quiz-control-dock{
    bottom:max(var(--quiz-control-bottom),calc(env(safe-area-inset-bottom,0rem) + 2.75rem))!important;
  }
  .quiz-dialog[open] .quiz-stage,
  .quiz-screen:fullscreen .quiz-stage,
  .quiz-screen:-webkit-full-screen .quiz-stage{
    padding-bottom:calc(var(--control-height) + var(--quiz-control-bottom) + .85rem)!important;
  }
  .question-slide-quiz-options,.quiz-options{
    height:min(43dvh,22rem)!important;
  }
}


/* 1.9.111 · Rückmeldung als eigener, lesbarer Teil der Lernbühne */
.learning-feedback-panel{
  width:min(66rem,100%)!important;
  margin:0 auto!important;
  padding:clamp(.65rem,1.4vh,.9rem) clamp(.8rem,1.8vw,1.15rem)!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:.28rem .65rem!important;
  align-items:start!important;
  border:.0625rem solid var(--experience-line)!important;
  border-left:.35rem solid var(--ui-cyan)!important;
  border-radius:var(--ui-radius)!important;
  background:var(--experience-panel)!important;
  color:var(--experience-ink)!important;
  box-shadow:var(--ui-shadow)!important;
  font-size:clamp(.82rem,1.12vw,1rem)!important;
  font-weight:620!important;
  line-height:1.38!important;
  text-align:left!important;
  overflow:hidden!important;
}
.learning-feedback-panel[hidden]{display:none!important}
.learning-feedback-panel strong{
  color:inherit!important;
  font-size:1em!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.learning-feedback-panel>span{
  min-width:0!important;
  color:inherit!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  line-clamp:3!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  overflow-wrap:anywhere!important;
}
.learning-feedback-panel>span+span{grid-column:2!important}
.learning-feedback-panel.is-correct{border-left-color:var(--ui-ok)!important;background:#e7f8e9!important;color:#15351d!important}
.learning-feedback-panel.is-near{border-left-color:#a56b00!important;background:#fff3ca!important;color:#4d3400!important}
.learning-feedback-panel.is-wrong{border-left-color:var(--ui-danger)!important;background:#ffe8ec!important;color:#4d1420!important}
html[data-theme="glass-black"] .learning-feedback-panel{background:#101110!important;color:#f8f8f2!important;border-color:#3a3d3a!important}
html[data-theme="glass-black"] .learning-feedback-panel.is-correct{background:#102519!important;color:#ddf7e2!important;border-left-color:#70d68a!important}
html[data-theme="glass-black"] .learning-feedback-panel.is-near{background:#2b230d!important;color:#fff0b3!important;border-left-color:#e0ad34!important}
html[data-theme="glass-black"] .learning-feedback-panel.is-wrong{background:#2c1117!important;color:#ffdfe5!important;border-left-color:#f17c91!important}
.question-slide-quiz-mode:has(.learning-feedback-panel:not([hidden])){gap:clamp(.48rem,1.25vh,.8rem)!important}
.question-slide-quiz-mode:has(.learning-feedback-panel:not([hidden])) :is(.question-slide-quiz-options,.quiz-options){
  grid-template-rows:repeat(2,minmax(3.35rem,auto))!important;
}
/* Die Steuerung enthält nur Navigation, Stand und Querverweise. */
.quiz-control-center,.question-slide-control-center{overflow:visible!important}
.quiz-control-meta,.question-slide-control-status{font-size:.6rem!important;line-height:1.15!important}
@media(max-width:47.5rem){
  .learning-feedback-panel{
    grid-template-columns:1fr!important;
    gap:.18rem!important;
    padding:.5rem .58rem!important;
    font-size:clamp(.75rem,3vw,.85rem)!important;
    line-height:1.3!important;
  }
  .learning-feedback-panel strong{white-space:normal!important}
  .learning-feedback-panel>span,.learning-feedback-panel>span+span{grid-column:1!important;-webkit-line-clamp:2!important;line-clamp:2!important}
  .question-slide-quiz-mode:has(.learning-feedback-panel:not([hidden])) :is(.question-slide-quiz-options,.quiz-options){
    height:min(36dvh,18rem)!important;
    grid-template-rows:repeat(4,minmax(0,1fr))!important;
  }
}
@media(max-height:40rem){
  .learning-feedback-panel{padding:.38rem .5rem!important;font-size:.66rem!important;line-height:1.22!important}
  .learning-feedback-panel>span{-webkit-line-clamp:2!important;line-clamp:2!important}
}
