/* Themen-Seite (Gustav, gustav/themen-seiten.md): fester Text für Google, Erklärung, Beispiele, 5 Aufgaben mit Lösung, App und Arbeitsblatt */
main { padding-block: 20px 48px; }
.ts { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.6; }
.ts .crumb { font-size: 14px; color: var(--muted); margin: 0 0 10px; } .ts .crumb a { color: inherit; }
.ts h1 { margin: 0 0 12px; }
.ts h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; margin: 34px 0 10px; }
.ts p { margin: 0 0 12px; }
.ts .lead { color: var(--muted); font-size: 18px; }
.ts .calc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 21px; margin: 6px 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.ts .calc .lb { font-size: 16px; color: var(--muted); }
.ts .ex { font-weight: 700; }
.fr { font-size: inherit; }
/* Kürzen sichtbar streichen, wie frK in den Apps (shared/tafel-app.css) */
.frk > span { display: flex; flex-direction: column; align-items: center; }
.frk .kn { font-size: .66em; line-height: 1.05; font-weight: 600; }
.frk .ko { position: relative; line-height: 1.12; }
.frk .ko::after { content: ''; position: absolute; left: -.14em; right: -.14em; top: 54%; border-top: 1.6px solid currentColor; opacity: .6; transform: rotate(-24deg); }
.pz { display: block; width: 100%; max-width: 360px; margin: 4px 0 14px; }
.pz .on { fill: var(--chalk); stroke: var(--bg); stroke-width: 2; } .pz .off { fill: none; stroke: var(--muted); stroke-width: 2; }
.pz text { fill: var(--muted); font-size: 14px; text-anchor: middle; } .pz .eq { fill: var(--ink); font-size: 30px; }
.ts ol.auf { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; counter-reset: a; }
.ts ol.auf > li { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; counter-increment: a; }
.ts ol.auf > li > .q::before { content: counter(a) '. '; font-weight: 700; }
.ts .q { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ts details summary { cursor: pointer; font-weight: 600; color: var(--muted); margin-top: 8px; min-height: 32px; display: flex; align-items: center; }
.ts details .calc { margin-bottom: 0; }
.ts .go { display: flex; flex-direction: column; gap: 10px; margin: 30px 0 0; }
.ts .go .btn { justify-content: center; text-align: center; }
.ts .go p { font-size: 15px; color: var(--muted); margin: 0; }
.ts ul.fe { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ts ul.fe li { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ts ul.fe .calc { border: 0; padding: 4px 0; margin: 0; font-size: 19px; }
.ts .no { color: var(--warn); font-weight: 700; font-size: 16px; } .ts .ok { color: var(--ok); font-weight: 700; font-size: 16px; }
.ts ul.more { padding-left: 20px; } .ts ul.more a { font-weight: 600; }
/* Themen-Seiten Paket 1–5 (werkzeuge/themenseiten.py): Rechenblöcke mit mehreren Zeilen, Umformung rechts, Tabellen, Wurzeln, Bilder */
.ts .calc.cc { flex-direction: column; align-items: flex-start; gap: 4px; }
.ts .calc .cr { display: block; line-height: 1.6; }
.ts .calc .cr .fr, .ts .calc .cr .rt { vertical-align: middle; margin: 2px 3px; }
.ts .calc .op { color: var(--muted); margin-left: 10px; white-space: nowrap; }
.ts .calc .lb { font-size: 16px; }
.ts .calc.fr-row { flex-direction: row; flex-wrap: wrap; align-items: center; font-size: 19px; border: 0; padding: 4px 0; margin: 0; }
.ts .calc.fr-row .tx { font-size: 16px; }
.ts .ic { white-space: nowrap; } .ts .ic .fr { vertical-align: middle; }
.ts .sol { margin-top: 8px; } .ts .sol p { margin: 8px 0 4px; } .ts .sol .calc { margin: 4px 0 8px; }
.ts p.ex { margin-top: 18px; }
.ts ul.pl { padding-left: 20px; margin: 0 0 12px; } .ts ul.pl li { margin: 4px 0; }
.ts .tw { overflow-x: auto; margin: 6px 0 14px; }
.ts table.ds { border-collapse: collapse; font-size: 18px; min-width: 260px; }
.ts table.ds th, .ts table.ds td { border: 1px solid var(--line); padding: 6px 14px; text-align: center; white-space: nowrap; }
.ts table.ds th { font-size: 15px; color: var(--muted); font-weight: 600; }
.ts table.ds tr.arr td { border-top: 0; border-bottom: 0; color: var(--chalk); font-size: 15px; padding: 2px 14px; }
.ts .more-btn { margin: 4px 0 12px; }
.ts .fig { display: block; width: 100%; max-width: 420px; margin: 6px 0 16px; }
.ts .fig text { fill: var(--muted); font-size: 14px; font-family: inherit; }
.ts .fig .ink { fill: var(--ink); } .ts .fig .chalk { fill: var(--chalk); } .ts .fig .ln { stroke: var(--ink); fill: none; stroke-width: 2; } .ts .fig .ax { stroke: var(--muted); stroke-width: 1.4; fill: none; }
.ts .fig .hl { stroke: var(--chalk); fill: none; stroke-width: 3; } .ts .fig .hl2 { stroke: #8ec5ff; fill: none; stroke-width: 3; } .ts .fig .soft { fill: var(--chalk); opacity: .18; } .ts .fig .dash { stroke: var(--muted); stroke-dasharray: 4 4; fill: none; stroke-width: 1.4; }
.gk { font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.ov { text-decoration: overline; text-decoration-thickness: 1.5px; }
.rt { display: inline-flex; align-items: stretch; white-space: nowrap; margin: 0 1px; }
.rt > .rs { flex: none; width: .55em; font-style: normal; -webkit-text-fill-color: transparent; overflow: hidden; background: currentColor; padding-top: 2px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24' preserveAspectRatio='none'%3E%3Cpath d='M0.6 14.2 L3 13 L6 22.6 L11 0.8 L12 0.8' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24' preserveAspectRatio='none'%3E%3Cpath d='M0.6 14.2 L3 13 L6 22.6 L11 0.8 L12 0.8' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.rt > span { border-top: 1.6px solid currentColor; padding: 2px 2px 0 1px; }
.ts ol.auf > li > .q { display: block; }
.ts p.ex { font-weight: 400; }
footer { padding-block: 8px 48px; color: var(--faint); font-size: 13.5px; } footer a { color: inherit; }
footer .max { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ts h3 { font-size: 18px; margin: 22px 0 6px; }
.ts p.rule { margin: 0 0 6px; }
.ts .figs { display: flex; flex-wrap: wrap; gap: 8px 16px; } .ts .figs .fig { flex: 1 1 220px; max-width: 300px; margin: 0; }
.ts .fig-s { max-width: 300px; }
.ts .fig .blue { fill: #6aa9e8; opacity: .8; } .ts .fig .chalk { opacity: .95; } .ts .fig rect.ln { fill: none; }
.ts .gaga { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; } .ts .gaga > div { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 18px; font-size: 22px; font-weight: 700; } .ts .gaga small { font-size: 14px; color: var(--muted); font-weight: 600; }
