.book-access-bar,.book-access-gate,.book-access-dialog{font:inherit;direction:rtl;text-align:right;box-sizing:border-box;color:#24334d}
.book-access-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:15px 22px;background:#ecf8f0;border-bottom:1px solid #c9e4d4}
.book-access-bar p{margin:3px 0;line-height:1.8;font-weight:700}.book-access-bar small{display:block;line-height:1.8;color:#4f665c}.book-access-badge{font-size:.77em;display:inline-block;color:#17683d;background:#d5efdf;padding:2px 9px;border-radius:6px;font-weight:700}.book-access-bar-actions,.book-access-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.book-access-bar button,.book-access-gate button,.book-access-dialog button{font:inherit;min-height:44px;line-height:1.5;border:1px solid #c4d1e9;border-radius:10px;cursor:pointer;padding:10px 16px;background:var(--m6-surface-ffffff, #ffffff);color:#2d4e9c;}.book-access-primary{background:#3557d9!important;color:#fff!important;border-color:#3557d9!important;font-weight:700!important}
.book-access-bar button:focus-visible,.book-access-gate button:focus-visible,.book-access-dialog :is(button,input,select):focus-visible{outline:3px solid #9db5fa;outline-offset:3px}.book-access-dialog button:disabled{opacity:.6;cursor:default}
.book-access-bar [hidden],.book-access-gate[hidden],.book-access-dialog [hidden]{display:none!important}
.shell>.book-access-bar{margin-bottom:25px;border:1px solid #c9e4d4;border-radius:14px;font-size:14px}
html.book-access-locked .book-access-content{display:none!important}html.book-access-locked :is(#wordGloss26,#a11-transcript-tooltip,#a12-transcript-tooltip,#a21-transcript-tooltip,#a22-transcript-tooltip){display:none!important}
.book-access-gate{width:min(800px,calc(100% - 32px));padding:28px;margin:28px auto 45px;border:1px solid var(--m6-border-d7e1f1, #d7e1f1);background:var(--m6-surface-ffffff, #ffffff);border-radius:17px;box-shadow:0 6px 25px #18345b12;line-height:1.9;}.book-access-cover{display:flex;align-items:center;gap:18px;margin-bottom:20px}.book-access-cover img{width:75px;height:102px;object-fit:contain;border-radius:6px}.book-access-cover h2{font-size:1.3em;line-height:1.8;margin:0}.book-access-cover p{color:#69778e;margin:0}.book-access-price-note{background:var(--m6-surface-f3f6fe, #f3f6fe);padding:14px;border-radius:10px;}.book-access-gate .book-access-actions{margin-top:20px}
.book-access-dialog{background:var(--m6-surface-ffffff, #ffffff);border:1px solid #cbd7ed;border-radius:18px;padding:26px;width:min(700px,calc(100vw - 26px));max-height:calc(100dvh - 26px);overflow:auto;box-shadow:0 18px 80px #18315155;}
.book-access-dialog::backdrop{background:#182b4d77}.book-access-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.book-access-dialog-head h2{font-size:1.25em;line-height:1.7;margin:0}.book-access-dialog-head button{min-width:44px;font-size:1.45em;padding:3px 8px}.book-access-festival{margin:19px 0;background:#eaf8ef;border:1px solid #c7e9d2;border-radius:12px;padding:15px;line-height:1.9;color:#205d39}.book-access-festival strong{display:block}.book-access-festival p{margin:6px 0 0;font-size:.9em}
.book-access-book-select{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:17px 0;font-weight:700}.book-access-book-select select{font:inherit;direction:ltr;min-height:44px;border:1px solid #c8d3e6;border-radius:9px;padding:6px 10px;max-width:62%;color:#283b5b;background:var(--m6-surface-ffffff, #ffffff);}.book-access-prices-caption{font-size:.9em;color:#65738c;margin:20px 0 10px}.book-access-plans{border:0;margin:0;padding:0;display:grid;gap:10px;min-width:0}
.book-access-plan{display:flex;align-items:center;gap:12px;margin:0;border:1px solid var(--m6-border-d5dff0, #d5dff0);border-radius:12px;padding:15px;cursor:pointer;background:var(--m6-surface-ffffff, #ffffff);min-width:0;}.book-access-plan:has(input:checked){border-color:#5274dc;background:var(--m6-surface-f2f5ff, #f2f5ff);box-shadow:0 0 0 1px #5274dc;}.book-access-dialog .book-access-plan input[type=radio]{display:block;box-sizing:border-box;width:19px;min-width:19px;max-width:19px;height:19px;min-height:19px;max-height:19px;padding:0;border:0;border-radius:50%;accent-color:#3557d9;flex:0 0 19px;margin:0}.book-access-plan-body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.book-access-plan-body strong{font-size:.96em}.book-access-plan-body small{color:#64728a;font-size:.79em;direction:ltr;text-align:right;overflow-wrap:anywhere}.book-access-plan-body small[data-plan-description=single]{direction:rtl}.book-access-plan-price{white-space:nowrap;font-size:.94em;font-weight:700;direction:rtl}.book-access-total{display:flex;justify-content:space-between;gap:20px;margin-top:22px;padding:17px 0;border-block:1px solid var(--m6-border-dce4f2, #dce4f2);align-items:center;}.book-access-total strong{font-size:1.15em;color:#245c3b}.book-access-pay-note{font-size:.85em;color:#64728a;line-height:1.9;margin:13px 0 20px}.book-access-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:600px){.book-access-bar{padding:12px 14px;gap:11px;font-size:.9em}.book-access-bar-actions{width:100%}.book-access-bar-actions>button{flex:1}.book-access-gate{padding:20px;margin-top:20px}.book-access-dialog{padding:19px}.book-access-dialog-head h2{font-size:1.1em}.book-access-plan{padding:12px;gap:9px;flex-wrap:wrap}.book-access-plan-price{width:100%;padding-inline-start:28px}.book-access-dialog .book-access-actions>button{flex:1 1 190px}.book-access-cover{gap:12px}.book-access-cover img{width:60px;height:82px}.book-access-total{gap:10px;font-size:.9em}.book-access-book-select{font-size:.9em}}

/* Wait for the server's purchase result before showing a purchase gate. */
html.book-access-checking .book-access-content{display:none!important}
html.book-access-checking .book-access-gate{display:none!important}
.book-access-bar[data-access-state="checking"]{min-height:94px}
.book-access-bar[data-access-state="error"] [data-access-retry]{display:inline-flex;align-items:center}

.book-access-bar[hidden]{display:none!important}
.book-notice-close{min-width:36px;min-height:36px;align-self:flex-start;font-size:24px;line-height:1;padding:4px 8px}

/* Presentation shared by the catalogue, study workspace and grammar handouts. */
:root{--menschen-accent:#852c52;--menschen-accent-ink:#722346;--menschen-wash:#fbf1f5;--menschen-rule:#e1d4da;--menschen-paper:#fffdfb;--menschen-ink:#302632}
html:is([data-theme=dark],[data-theme=black]){--menschen-accent:#e7a6c4;--menschen-accent-ink:#f6cde0;--menschen-wash:#372631;--menschen-rule:#594452;--menschen-paper:#211e28;--menschen-ink:#f8eff5}
html[data-theme=black]{--menschen-wash:#241b22;--menschen-rule:#443941;--menschen-paper:#151315}
html body dialog.book-access-dialog[open]{border:1px solid var(--menschen-rule)!important;border-radius:20px!important;box-shadow:0 24px 78px #1c0e233e!important;padding:clamp(17px,2.5vw,30px)!important;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;color:var(--menschen-ink);background:var(--menschen-paper)}
html body dialog.book-access-dialog::backdrop{background:#2115268c}html body .book-access-dialog .book-access-dialog-head{border-bottom:1px solid var(--menschen-rule);padding-bottom:12px}html body .book-access-dialog .book-access-dialog-head h2{font-size:clamp(1.14rem,2vw,1.48rem)!important;line-height:1.55!important}html body .book-access-dialog a{color:var(--menschen-accent-ink);text-underline-offset:.23em}html body .book-access-dialog label.book-access-plan:has(input:checked){border-color:var(--menschen-accent)!important;box-shadow:inset 0 0 0 1px var(--menschen-accent)!important;background:var(--menschen-wash)!important;color:var(--menschen-ink)!important}html body .book-access-dialog input[type=radio]{accent-color:var(--menschen-accent)}html body .book-access-dialog button.book-access-primary:not(:disabled){background:#812b51!important;border-color:#812b51!important;color:white!important}html body .book-access-dialog .book-access-total{border-radius:12px;padding:.65rem .9rem;background:var(--menschen-wash);color:var(--menschen-ink)}
html body.mr-study #menschen-workspace .mw-groups button[aria-current=true]{color:#fff!important;background:#742949!important;border-radius:9px!important}html body.mr-study #menschen-workspace .mw-sub button[aria-current=true]{color:var(--menschen-accent-ink)!important;border-bottom-color:var(--menschen-accent)!important;font-weight:750!important}html body.mr-study #hero .info>h2[lang=de]{font-size:clamp(1.45rem,2.45vw,2.25rem)!important;line-height:1.23!important;text-wrap:balance}html body.mr-study #hero .info>.m-overview-intro{line-height:1.95!important;font-weight:500}
html body.handout-page .lesson-title{border-inline-start:4px solid var(--menschen-accent)!important;padding-inline-start:clamp(12px,2vw,24px)!important}html body.handout-page .lesson-title h2{font-size:clamp(1.35rem,2.25vw,2rem)!important;line-height:1.65}html body.handout-page .lesson-nav button[aria-current=page]{color:var(--menschen-accent-ink)!important;background:var(--menschen-wash)!important;box-shadow:inset -3px 0 var(--menschen-accent)}html body.handout-page .lesson-nav button[aria-current=page] .nav-number{background:#742949!important;color:#fff!important}
@media(max-width:650px){html body .book-access-dialog{width:calc(100% - 24px)!important;max-width:100%}html body .book-access-dialog .book-access-plan-price{font-variant-numeric:tabular-nums}html body.mr-study #menschen-workspace .mw-sub{overflow-x:auto}html body.mr-study #menschen-workspace .mw-sub button{min-height:42px}}
