.ob{--ink:#183747;--pet:#08776f;--pear:#935c0e;--violet:#715192;--edge:#cadbd6;--paper:#fffdf7;color:var(--ink);font:inherit;max-width:100%}.ob *,.ob *::before,.ob *::after{box-sizing:border-box}.ob button{font:inherit;cursor:pointer;touch-action:manipulation}.ob button:focus-visible{outline:3px solid #845eb2;outline-offset:3px}.ob button:disabled{cursor:default}.ob-heading{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}.ob-heading h3{margin:0;color:var(--ink);font-size:clamp(1.2rem,2.1vw,1.48rem);font-weight:750;line-height:1.2;letter-spacing:-.025em}.ob .ob-reset{padding:.37rem .7rem;border-radius:1rem;background:transparent;border:1px solid #9db5b1;color:#2f5b5b;font-size:.82rem;font-weight:650;min-height:2rem}.ob-instruction{margin:.45rem 0 .8rem;line-height:1.42;color:#3a5361}.ob-panels{display:grid;grid-template-columns:minmax(0,1.17fr) minmax(0,1fr);gap:.75rem}.ob-board,.ob-ledger{border:1px solid var(--edge);border-radius:.75rem;padding:clamp(.65rem,1.6vw,1.1rem);background:var(--paper);min-width:0}.ob-board{background:linear-gradient(150deg,#fffdf6,#f5faf6)}.ob-centered{display:grid;align-content:center;gap:.65rem}.ob-ledger{display:grid;align-content:center;gap:.5rem}.ob-ledger>div{display:grid;grid-template-columns:.85em auto;align-items:center;gap:.02rem .35rem;animation:ob-reveal .22s ease-out}.ob-eq{font-family:Georgia,serif;font-size:1.25rem;text-align:center;color:#6e858a}.ob-math,.ob-tokenline,.ob-options,.ob-arcdiagram,.ob-chips{font-family:Georgia,"STIX Two Math","Cambria Math",serif;font-variant-numeric:lining-nums}.ob-math{line-height:1.28;font-size:clamp(1.22rem,2.2vw,1.58rem);white-space:nowrap;display:block}.ob-ledger small{grid-column:2;color:#556975;font-size:.82rem;line-height:1.3}.ob-x{color:var(--pet);font-style:italic}.ob-y{color:var(--pear);font-style:italic}.ob-num{color:var(--violet)}.ob-feedback{margin:.58rem 0 0;padding:.54rem .75rem;border-left:3px solid #78ad99;background:#eef7ee;color:#234d40;line-height:1.45;font-size:.94rem;border-radius:.2rem}.ob-feedback.ob-warning{background:#fff1d8;color:#764708;border-color:#cd8a25}.ob-collect,.ob-tray,.ob-baskets,.ob-tokenline,.ob-chips,.ob-options,.ob-bars{display:flex;gap:.5rem;align-items:center;justify-content:center}.ob .ob-group{display:grid;gap:.25rem;justify-items:center;flex:1 1 0;border:1px solid #a6cbc1;border-radius:.68rem;padding:.45rem .25rem;background:#fffdf8;color:#195c51;font-size:.87rem;font-weight:700}.ob-cluster{display:flex;min-width:0;align-items:center;justify-content:center}.ob-fruit{display:inline-block;width:clamp(2.1rem,4.6vw,3.3rem);height:auto;max-width:100%;overflow:visible}.ob .ob-group:disabled,.ob-term.ob-done,.ob-arcbtn.ob-done{background:#dcefe6;box-shadow:inset 0 0 0 1px #67a79a}.ob-midplus{font:1.6rem Georgia,serif;color:#79938f}.ob-tally{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.75rem;padding-top:.45rem;border-top:1px dashed #bdd4c8;color:#2a5954;font-size:.88rem}.ob-tray{gap:.35rem;flex-wrap:nowrap}.ob-slot{display:grid;place-items:center;width:clamp(2.65rem,5vw,3.5rem);min-height:3.1rem;border-bottom:2px solid #cad8cd}.ob-slot-tick{color:#7b9b85;font-size:.95rem}.ob .ob-pick{border:1px solid transparent;background:transparent;border-radius:.5rem;display:grid;place-items:center;min-width:2.65rem;min-height:2.8rem;padding:0}.ob-pick[draggable=true]{cursor:grab}.ob-pick.is-selected{background:#e0efde;border-color:#83a995;box-shadow:0 0 0 2px #cadec9}.ob .ob-baskets{align-items:stretch;margin-top:.6rem}.ob .ob-basket{width:50%;display:grid;grid-template-rows:1fr auto;text-align:center;border:1px dashed #9ebcb0;border-radius:.6rem .6rem .75rem .75rem;background:linear-gradient(#fffdf8,#f0f3db);padding:.25rem;color:var(--ink);min-height:4.15rem}.ob-basket.pear{border-color:#cab487;background:linear-gradient(#fffdf8,#faf0d8)}.ob-basket-base{display:block;padding:.28rem .14rem;background:#dfc39a;border-radius:.18rem .18rem .42rem .42rem;color:#503c28;font-size:.83rem;font-weight:600}.ob-basket-base b{background:#fff9e8;padding:0 .35rem;border-radius:1em}.ob-pile{display:flex;align-items:flex-end;justify-content:center}.ob-pile .ob-fruit{width:clamp(1.52rem,3.5vw,2.05rem)}.ob-tokenline,.ob-options{flex-wrap:wrap}.ob .ob-term,.ob .ob-choice,.ob .ob-arcbtn{font-family:Georgia,serif;font-size:clamp(1.18rem,2.4vw,1.65rem);background:white;border:1px solid #a4c6be;color:var(--ink);min-height:2.85rem;padding:.3rem .55rem;border-radius:.55rem;line-height:1.15}.ob .ob-term.ob-pear{border-color:#d9c294}.ob-progress{font-size:.86rem;color:#40655f;text-align:center}.ob-arcdiagram{position:relative;aspect-ratio:460/148;width:100%;max-width:34rem;margin:auto;container-type:inline-size}.ob-arcdiagram svg{position:absolute;inset:0;height:100%;width:100%;overflow:visible}.ob-arch{fill:none;stroke-linecap:round;stroke-width:3.8}.ob-newarc{stroke-dasharray:1;animation:ob-arc .5s ease-out both}.ob-glyph,.ob-anchor{position:absolute;top:74%;transform:translate(-50%,-50%);line-height:1}.ob-glyph,.ob .ob-arcbtn{font-family:Georgia,serif;font-size:clamp(1.13rem,7cqw,2.1rem)}.ob .ob-arcbtn{min-height:clamp(2.2rem,11cqw,3.3rem);min-width:clamp(2.45rem,12cqw,3.7rem);padding:.05em .24em;background:#f7fbf5;border-color:#a6bcb3}.ob .ob-arcbtn.ob-done{background:#e8f1e8}.ob-chips{font-size:1.12rem;min-height:1.8rem;flex-wrap:wrap;gap:.3rem .6rem}.ob-placeholder{color:#566e72;font:italic .88rem system-ui,sans-serif}.ob-note{margin:0 0 .45rem;color:#506570;line-height:1.35;font-size:.85rem}.ob-chipgap{width:.6rem}.ob-fraction{display:inline-grid;grid-template-rows:auto auto;grid-template-columns:1fr;gap:.02em;align-items:center;justify-content:center;vertical-align:middle;line-height:.98;margin:0 .07em;min-width:.65em;text-align:center;font-size:.87em}.ob-fraction>span:first-child{display:block;border-bottom:.075em solid currentColor;padding:.02em .08em .08em}.ob-bars{gap:.3rem;margin:.28rem 0}.ob-bars>span{display:flex;gap:1px;width:20%;max-width:4.2rem;height:1.12rem;border:1px solid #138478;padding:1px}.ob-bars i{flex:1;background:#59a99d}.ob-bars .ob-removed{background:repeating-linear-gradient(-45deg,#f8eee2 0 3px,#bc927e 4px 5px)}
@keyframes ob-arc{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes ob-reveal{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:730px){.ob-panels{grid-template-columns:1fr}.ob-ledger{gap:.35rem}.ob-ledger>div{grid-template-columns:.8em minmax(max-content,auto) minmax(2rem,1fr)}.ob-ledger small{grid-column:3;text-align:right}.ob-fruit{width:clamp(2.3rem,8vw,3.4rem)}}@media(max-width:410px){.ob-ledger>div{grid-template-columns:.8em auto}.ob-ledger small{grid-column:2;text-align:left}.ob .ob-reset{min-height:2.5rem}.ob .ob-arcbtn{min-height:2.55rem}}@media(prefers-reduced-motion:reduce){.ob-arch,.ob-newarc,.ob-ledger>div{animation:none!important}}
.ob-pairline{padding-top:2.1rem;position:relative}.ob-join{position:absolute;top:0;left:0;width:100%;height:2.05rem}.ob-pairline .ob-tokenline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-items:center;gap:.2rem}

/* Transferkapitel */
.tf-scene{
  --tf-ink:#193246;--tf-teal:#096b62;--tf-amber:#8c5713;--tf-purple:#684c91;--tf-red:#a9463c;
  color:var(--tf-ink);font-family:inherit;container-type:inline-size;
}
.tf-scene *, .tf-scene *::before,.tf-scene *::after{box-sizing:border-box}
.tf-scene .tf-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.tf-scene h3,.tf-scene h4,.tf-scene p{margin:0}
.tf-scene h3{font-size:clamp(1.17rem,3.2vw,1.52rem);line-height:1.25;letter-spacing:-.013em}
.tf-scene h4{font-size:1rem;margin:0 0 .6rem}
.tf-scene button{font:inherit;cursor:pointer;touch-action:manipulation}
.tf-scene button:focus-visible{outline:3px solid #245fbb;outline-offset:3px}
.tf-scene .tf-heading button{flex:none;font-size:.88rem;font-weight:650;padding:.5rem .75rem;background:#fff;color:#244754;border:1px solid #b9cfd0;border-radius:.6rem}
.tf-scene .tf-panels{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.15rem;align-items:start}
.tf-scene .tf-work{min-width:0}
.tf-scene .tf-progress{font-size:.88rem;font-weight:680;color:#557071;margin:.15rem 0 .3rem}
.tf-scene .tf-prompt{font-size:1.05rem;font-weight:610;line-height:1.43;min-height:2.7em}
.tf-scene .tf-board{position:relative;isolation:isolate;margin:.7rem 0;min-width:0;border:1px solid #cfdddd;border-radius:.95rem;background:linear-gradient(145deg,#f4faf9,#fff 75%);padding:.3rem clamp(.2rem,1.2vw,.65rem);overflow:hidden}
.tf-scene .tf-expression{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:clamp(1px,.45vw,5px);padding:2.35rem 0 1.95rem;min-height:7.15rem;color:var(--tf-ink);font:500 clamp(1.05rem,2vw,1.46rem)/1.18 Georgia,'Times New Roman',serif;white-space:nowrap}
.tf-scene .tf-symbol{flex:none}
.tf-scene .tf-token{display:inline-flex;gap:.09em;justify-content:center;align-items:center;flex:none;min-width:0;padding:.26em .25em;border:1.2px solid transparent;border-radius:.35rem;font:inherit;white-space:nowrap;background:transparent;min-height:1.72em}
.tf-scene button.tf-token{border-color:#c4d7d6;background:white}
.tf-scene button.tf-token:is(:hover,:focus-visible),.tf-scene .tf-token.tf-selected{background:#e3f3ed;border-color:var(--tf-teal)}
.tf-scene button.tf-token:disabled{opacity:1;cursor:default}
.tf-scene .tf-x,.tf-scene .tf-line-x{color:var(--tf-teal)}
.tf-scene .tf-y,.tf-scene .tf-line-y{color:var(--tf-amber)}
.tf-scene .tf-number,.tf-scene .tf-line-number{color:var(--tf-purple)}
.tf-scene .tf-factor,.tf-scene .tf-negative,.tf-scene .tf-line-negative{color:var(--tf-red)}
.tf-scene .tf-token.tf-origin{border-color:#e1b0a4;background:#fff2ee}
.tf-scene .tf-wires{display:block;position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none;overflow:visible}
.tf-scene .tf-wire{stroke:currentColor;fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.tf-scene .tf-wire:not(.tf-tip){stroke-dasharray:340;stroke-dashoffset:0;animation:tf-draw .36s ease-out}
@keyframes tf-draw{from{stroke-dashoffset:340}to{stroke-dashoffset:0}}
.tf-scene .tf-frac{display:inline-flex;flex-direction:column;align-items:stretch;justify-content:center;text-align:center;vertical-align:middle;line-height:1.04;font-size:.91em;white-space:nowrap;margin:0 .085em}
.tf-scene .tf-frac>span{padding:.065em .15em;display:block}
.tf-scene .tf-frac>span:first-child{border-bottom:1.35px solid currentColor}
.tf-scene .tf-math,.tf-scene .tf-large-math{font-family:Georgia,'Times New Roman',serif;font-variant-numeric:lining-nums}
.tf-scene .tf-options{margin-top:.5rem}
.tf-scene .tf-option-prompt{display:block;font-weight:650;font-size:.95rem;margin-bottom:.45rem}
.tf-scene .tf-choice-list{display:flex;gap:.5rem;flex-wrap:wrap}
.tf-scene .tf-choice-list button,.tf-scene .tf-next button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;min-width:52px;padding:.45rem .7rem;border-radius:.55rem;border:1px solid #a6c8c1;background:white;color:#164a45;font-size:1.04rem;font-weight:640}
.tf-scene .tf-choice-list button:hover{background:#e8f5ef;border-color:var(--tf-teal)}
.tf-scene .tf-next button{margin:.6rem 0 0;background:#0c6a60;color:white;border-color:#0c6a60}
.tf-scene .tf-next button:hover{background:#08564e}
.tf-scene .tf-status{color:#275752;line-height:1.42;font-size:.94rem;margin:.72rem 0 0}
.tf-scene .tf-status:empty{display:none}
.tf-scene .tf-status.tf-error{color:#923c22;border-left:3px solid #c96f50;padding-left:.6rem}
.tf-scene .tf-ledger{min-width:0;border:1px solid #d5e0df;border-radius:.95rem;background:white;padding:clamp(.65rem,1.5vw,1rem)}
.tf-scene .tf-row{display:grid;grid-template-columns:.88rem minmax(0,1fr);column-gap:.35rem;align-items:start;border-top:1px solid #e4e9e8;padding:.55rem 0}
.tf-scene .tf-row:last-child{padding-bottom:0}
.tf-scene .tf-row>div{min-width:0}
.tf-scene .tf-equal{font:1.08rem/1.6 Georgia,'Times New Roman',serif;color:#5b7278}
.tf-scene .tf-math{font-size:clamp(1.04rem,1.9vw,1.27rem);line-height:1.4;white-space:normal;overflow-wrap:normal}
.tf-scene .tf-latest .tf-math{color:#132e3d}
.tf-scene .tf-row small{display:block;font-size:.84rem;color:#55676d;margin:.22rem 0 0;line-height:1.3}
.tf-scene .tf-bars,.tf-scene .tf-expand,.tf-scene .tf-products{display:flex;gap:clamp(.35rem,1vw,.6rem);align-items:stretch}
.tf-scene .tf-bars{justify-content:center;padding:0 .3rem .9rem}
.tf-scene .tf-strip-group{flex:1 1 0;min-width:0}
.tf-scene .tf-strip-group>span{display:block;text-align:center;margin-top:.3rem;color:#526974;font-size:.78rem}
.tf-scene .tf-strip{display:grid;grid-template-columns:repeat(var(--cells),1fr);height:1rem;width:100%;max-width:12rem;margin:0 auto;border:1px solid #38776f;border-radius:3px;overflow:hidden;background:#fff}
.tf-scene .tf-strip b{min-width:0;border-right:1px solid #739991}
.tf-scene .tf-strip b:last-child{border-right:0}
.tf-scene .tf-strip b.tf-cell-fill{background:#5daf9e}
.tf-scene .tf-strip.tf-pairs b:nth-child(even):not(:last-child){border-right:2.5px solid #1d4e4c}
.tf-scene .tf-expand,.tf-scene .tf-products{padding:.45rem 0}
.tf-scene .tf-expand-card,.tf-scene .tf-product{display:grid;flex:1 1 0;min-width:0;gap:.65rem;align-content:center;text-align:center;border:1px solid #d3e0dd;border-radius:.65rem;background:#fff;padding:.8rem .35rem}
.tf-scene .tf-active-card{border:2px solid #378979;background:#e9f5f0}
.tf-scene .tf-card-label{font-size:.86rem;font-weight:650;color:#3f5d67}
.tf-scene .tf-large-math{font-size:clamp(1.01rem,2.1vw,1.4rem);line-height:1.32;display:block}
@container (max-width:650px){.tf-scene .tf-panels{grid-template-columns:minmax(0,1fr)}.tf-scene .tf-prompt{min-height:0}}
@media(max-width:720px){.tf-scene .tf-panels{grid-template-columns:minmax(0,1fr)}}
@container(max-width:350px){.tf-scene .tf-token{padding:.23em .17em}.tf-scene .tf-expression{font-size:1rem}.tf-scene .tf-expand-card{padding:.6rem .17rem}.tf-scene .tf-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.tf-scene .tf-wire:not(.tf-tip){animation:none}}

/* Dieselbe Markierung wie im Lösungsblatt: Der Bogen läuft von a zu a, b ist gestrichelt. */
.formula.film-sortenbogen { padding-block: .65em .32em; }
.film-sortenbogen .katex-html { position: relative; display: inline-block; }
.film-sortenbogen .katex-html::before {
  content: "";
  position: absolute;
  left: .7em; right: .23em; bottom: calc(100% - .04em);
  height: .4em;
  border: max(1.5px,.07em) solid #08776f;
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.film-sortenbogen .film-gestrichelt {
  text-decoration: underline dashed #97610c;
  text-underline-offset: .17em;
}
