/* V6 inherits V5 surfaces and action colours. Highlight colours are text-only. */
.book-title h2{max-width:35ch}.book-resume{display:flex;flex-direction:column;gap:6px;text-decoration:none;margin:16px 0}.book-tools{margin:16px 0 24px}.book-tools>.button-row{align-items:flex-start}.book-toc,.book-settings{min-width:0;max-width:100%}.book-toc[open]{width:100%}.book-toc>div{padding:12px 0}.book-toc .chapter-motif{display:none}.book-tools summary{list-style:none;cursor:pointer}.book-jump{display:flex;gap:12px;align-items:end;margin:12px 0}.book-jump .field{flex:1;min-width:0}.book-settings label{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:12px 0}.book-tools input,.book-tools select{min-height:44px;width:100%}.book-tools button{min-height:44px}.norm-text[data-font]{max-width:65ch;margin-inline:auto;font-size:18px;line-height:1.9}.norm-text[data-font="16"]{font-size:16px}.norm-text[data-font="20"]{font-size:20px}.norm-text[data-font="23"]{font-size:23px}.norm-text[data-leading="1.6"]{line-height:1.6}.norm-text[data-leading="2.2"]{line-height:2.2}.norm-text[data-family="serif"] [data-book-text]{font-family:"Source Serif 4",Georgia,serif}.norm-text[data-family="sans"] [data-book-text]{font-family:system-ui,sans-serif}.norm-text [data-book-block]{font-size:inherit;line-height:inherit;scroll-margin-top:100px;overflow-wrap:normal;word-break:normal;hyphens:none}.book-mark{color:#17202b;cursor:pointer;border-radius:3px;box-decoration-break:clone}.book-mark a{color:inherit}.book-yellow{background:#ffec99;color:#17202b}.book-green{background:#b6e9c4;color:#17202b}.book-blue{background:#b8dcff;color:#17202b}.book-pink{background:#f7c4de;color:#17202b}.book-note-icon{min-width:44px;min-height:44px;color:var(--accent);background:var(--white);border:1px solid var(--line);border-radius:8px}.book-end{margin-top:28px;padding:16px 0;border-top:1px solid var(--line)}.book-end label{display:flex;align-items:center;gap:12px;min-height:44px}.book-selection{position:fixed;z-index:1000;bottom:calc(env(safe-area-inset-bottom) + 78px);left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 24px));max-height:60dvh;overflow:auto;overscroll-behavior:contain;background:var(--white);color:var(--ink);padding:12px;border:1px solid var(--line-strong);border-radius:16px;box-shadow:0 8px 32px #0003}.book-color-row{display:flex;gap:10px;justify-content:space-between;margin-bottom:10px}.book-color{width:44px;height:44px;border:1px solid #526070;border-radius:50%;font-size:20px}.book-selection .button-row{gap:8px;flex-wrap:wrap}.book-selection .button{font-size:14px;min-height:44px}.book-selection textarea{width:100%}.book-entry{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:10px}.book-entry a{display:block;color:inherit;text-decoration:none}.book-entry p{white-space:pre-wrap;word-break:normal;overflow-wrap:normal}.book-footnotes{border-top:1px solid var(--line);margin-top:28px;font-size:14px}.book-footnotes h2{font-size:18px}.view[data-view="wissen"] .pager{align-items:stretch}.view[data-view="wissen"] .pager a{flex:1;white-space:normal;text-align:left;word-break:normal;max-width:100%}.view[data-view="wissen"] .article-row[aria-current="page"]{outline:2px solid var(--accent);outline-offset:-2px}.offline-dialog{width:min(560px,calc(100% - 24px));max-height:85dvh;overflow:auto;overscroll-behavior:contain;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:24px}.offline-dialog::backdrop{background:#0006}.offline-dialog progress{width:100%;height:16px}.offline-dialog .button-row{flex-wrap:wrap}.offline-dialog label{display:flex;gap:12px;align-items:center;min-height:44px}.offline-banner{position:fixed;z-index:101;top:env(safe-area-inset-top);left:50%;transform:translateX(-50%);max-width:100%;padding:6px 12px;background:var(--ink);color:var(--white);font-size:12px;border-radius:0 0 8px 8px}
@media(max-width:600px){.book-jump{flex-wrap:wrap}.book-jump .field{flex-basis:100%}.book-jump button{width:100%}.view[data-view="wissen"] .pager{flex-direction:column}.norm-text[data-font]{padding-inline:0}.norm-text .b-point,.norm-text .b-sub,.norm-text .b-num{padding-left:8px;margin-left:0}.book-toc .chapter summary{display:flex;flex-direction:column;align-items:start;gap:6px}.book-toc .chapter-title{font-size:16px}.book-toc .article-row{display:flex;flex-direction:column;align-items:start}.book-tools .button-row{flex-wrap:wrap}.book-tools .button{white-space:normal}.book-entry{padding:12px}.book-selection{bottom:calc(env(safe-area-inset-bottom) + 72px)}}
.view[data-view="wissen"] .search-hits{padding:0;min-width:0}.view[data-view="wissen"] .search-hits li,.view[data-view="wissen"] .hit{min-width:0;max-width:100%}.view[data-view="wissen"] .hit{grid-template-columns:minmax(0,1fr)}.view[data-view="wissen"] .hit>*{grid-column:1;min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal}.norm-text [data-book-block]{font-size:var(--book-fit-size,inherit)}
@media(max-width:360px){.view[data-view="wissen"] .hit{padding:12px}.norm-text [data-book-block]{font-size:var(--book-fit-size,16px)}}
.book-tools{position:sticky;top:0;z-index:20;background:var(--paper);padding:8px 0;border-bottom:1px solid var(--line)}.book-tools>.button-row{gap:8px}.book-tools summary.button{font-size:14px;padding:10px 12px;min-height:44px}.book-lookup{min-width:0;max-width:100%}.book-lookup[open]{flex:1 0 100%}.book-toc[open]>div{max-height:55dvh;overflow:auto;overscroll-behavior:contain}.book-settings[open]>.panel{max-height:45dvh;overflow:auto}.norm-text[data-font] .article-art{display:none}.norm-text[data-font]>header{padding-top:16px}.book-front summary{cursor:pointer;min-height:44px;padding-block:12px}.book-front p{font-size:15px}.view[data-view="wissen"] .tabs{flex-wrap:wrap}
.norm-text .book-mark{padding:0;margin:0;border:0;box-decoration-break:clone;-webkit-box-decoration-break:clone}.norm-text [data-book-block]{position:relative;text-align:left}.norm-text .book-note-icon{position:absolute;right:0;top:-27px;width:44px;height:44px;padding:0;font-size:14px;background:transparent;border:0;border-radius:50%;min-width:44px;min-height:44px}.norm-text .book-note-icon:hover{background:var(--accent-wash)}.view[data-view="wissen"]>.tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.book-tools{margin-bottom:0}.norm-text[data-font]{border-top:0}.book-tools>.button-row{flex-wrap:nowrap;gap:8px}.book-tools>.button-row>details[open]{flex:1}.book-tools>.button-row:has(details[open]){flex-wrap:wrap}.book-tools summary.button{white-space:nowrap}.book-hint{display:flex;gap:8px;align-items:center;margin:6px 0;font-size:13px;line-height:1.45;color:var(--ink-soft)}.book-hint .icon-button{flex-shrink:0}.book-front h2{font-size:20px;line-height:1.4;max-width:none}.book-front-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px;table-layout:fixed}.book-front-table caption{text-align:left;font-weight:600;margin-bottom:8px}.book-front-table th{width:34px;text-align:left;vertical-align:top}.book-front-table td{padding:0 0 12px 8px}.book-front-table p{margin:6px 0}.book-toc .section-title{padding-left:8px;white-space:normal;word-break:normal;overflow-wrap:normal}.book-footnotes p{overflow-wrap:anywhere}
@media(max-width:600px){.view[data-view="wissen"]>.tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.book-tools summary.button{padding:10px 12px}.book-front-table{font-size:13px}}
.book-footnotes p{overflow-wrap:normal;word-break:normal}.book-footnotes [id]{scroll-margin-top:180px}
/* Reading controls follow scroll direction independently of the removed brand header. */
.view[data-view="wissen"] .book-tools{top:calc(env(safe-area-inset-top) - var(--view-top, 1.25rem));transition:transform 280ms cubic-bezier(.2,.8,.2,1),opacity 280ms cubic-bezier(.2,.8,.2,1)}

.app[data-scroll-dir="down"] .view[data-view="wissen"] .book-tools:not(:has(> .button-row > details[open])){transform:translateY(calc(-100% - env(safe-area-inset-top) - 2rem));opacity:0;pointer-events:none}
@media (prefers-reduced-motion:reduce){.view[data-view="wissen"] .book-tools{transition-duration:.01ms}}
