:root{--ink:#17222d;--muted:#65717d;--paper:#fffdf9;--wash:#f1f4f1;--line:#d9e0d9;--forest:#225d4d;--leaf:#dcece4;--gold:#bd7a2c;--shadow:0 12px 32px #18302012}*{box-sizing:border-box}body{margin:0;background:var(--wash);color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select{font:inherit}button{cursor:pointer}.shell{max-width:1000px;margin:auto;padding:32px 22px 60px}@media(max-width:1399px){.shell{width:100%;max-width:1320px;padding-inline:22px}}@media(max-width:760px){.shell{padding-left:max(15px,env(safe-area-inset-left));padding-right:max(15px,env(safe-area-inset-right))}}.top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:38px}.brand{font-family:Georgia,serif;font-size:25px;color:var(--forest);font-weight:bold}.back{color:var(--forest);background:none;border:0;padding:0}.add,.primary{border:0;background:var(--forest);color:#fff;border-radius:9px;padding:11px 17px;font-weight:650}.intro{max-width:650px;margin:50px auto 28px;text-align:center}.intro h1{font:normal 42px/1.14 Georgia,serif;margin:0 0 12px}.intro p{color:var(--muted);margin:0}.search{position:relative;max-width:680px;margin:28px auto 42px}.search input{width:100%;padding:17px 20px;border:1px solid var(--line);border-radius:13px;background:white;box-shadow:var(--shadow);outline-color:var(--forest)}.areas{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.area,.card,.list-item,.panel{background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.area{padding:25px;text-align:left;min-height:145px}.area strong{font:normal 23px Georgia,serif;display:block;margin-bottom:8px}.area small,.muted{color:var(--muted)}.page-title{font:normal 35px Georgia,serif;margin:0 0 10px}.page-intro{color:var(--muted);margin:0 0 26px}.grade{margin:25px 0}.grade h2{font:normal 24px Georgia,serif}.topics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.card{padding:17px;text-align:left}.card b{display:block;color:var(--forest);font-size:14px;margin-bottom:5px}.card span{font:normal 19px Georgia,serif}.topic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.topic-grid button{min-height:74px}.results{display:grid;gap:12px}.list-item{padding:18px}.list-item h3{font:normal 22px Georgia,serif;margin:0 0 5px}.pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.pill{background:var(--leaf);color:var(--forest);padding:3px 8px;border-radius:99px;font-size:13px}.empty{padding:36px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:13px}.modal-bg{position:fixed;inset:0;background:#10231c88;display:grid;place-items:center;padding:20px;z-index:10}.modal{width:min(850px,100%);max-height:92vh;overflow:auto;background:var(--paper);border-radius:16px;padding:28px;box-shadow:0 20px 80px #0004}.modal h2{font:normal 30px Georgia,serif;margin:0 0 9px}.modal-header{display:flex;justify-content:space-between;gap:20px}.close{border:0;background:none;font-size:27px;color:var(--muted)}.upload-box{border:2px dashed #9db7a9;border-radius:12px;padding:30px;text-align:center;margin:22px 0}.upload-box input{max-width:100%}.notice{background:#fff3df;padding:12px;border-radius:8px;color:#70430d}.tag-section{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.tag-section h3{font-size:14px;letter-spacing:.06em;color:var(--muted);margin:0 0 10px}.checks{display:flex;flex-wrap:wrap;gap:8px}.check{background:#f4f7f3;border:1px solid var(--line);padding:7px 9px;border-radius:8px}.check input{accent-color:var(--forest);margin-right:6px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field label{display:block;font-weight:600;font-size:14px;margin-bottom:5px}.field input,.field select{width:100%;border:1px solid var(--line);border-radius:8px;padding:9px;background:white}.actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:25px}.secondary{background:white;border:1px solid var(--line);border-radius:9px;padding:10px 14px}.preview{margin-top:20px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.preview iframe,.preview img{width:100%;height:460px;border:0;object-fit:contain;background:#eee}.text-preview{padding:18px;max-height:420px;overflow:auto;white-space:pre-wrap;background:#fff}.small{font-size:13px}.result-top{display:flex;justify-content:space-between;gap:12px}@media(max-width:700px){.shell{padding:22px 15px}.top{margin-bottom:22px}.intro{margin-top:25px}.intro h1{font-size:34px}.areas,.topics{grid-template-columns:1fr}.field-row{grid-template-columns:1fr}.top .add{font-size:14px;padding:9px 11px}}
.material-workspace{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:18px;align-items:start}.material-list{min-width:0;max-height:calc(100vh - 230px);overflow:auto;padding:1px 8px 1px 1px}.workspace-label{font:normal 22px Georgia,serif;margin:0 0 10px}.material-card{cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.material-card:hover,.material-card:focus-visible{border-color:#8bad9d;outline:0}.material-card.selected{border-color:var(--forest);background:#f7fbf8;box-shadow:0 0 0 2px #225d4d22,var(--shadow)}.file-name{margin:3px 0 0;overflow-wrap:anywhere}.file-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.file-button{display:inline-flex;align-items:center;border:1px solid #b8ccc0;border-radius:7px;background:#fff;color:var(--forest);padding:4px 7px;font-size:12px;font-weight:650;text-decoration:none}.file-button:hover,.file-button:focus-visible{background:var(--leaf);outline:0}.material-preview{min-width:0;padding:18px;position:sticky;top:16px}.preview-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:12px}.preview-heading h2{font:normal 24px Georgia,serif;margin:0}.preview-heading p{margin:2px 0 0}.file-picker select{max-width:290px;border:1px solid var(--line);border-radius:8px;padding:7px;background:#fff}.preview{margin:0;min-height:440px;background:#f5f5f3}.preview iframe,.preview img,.preview video{width:100%;height:min(62vh,620px);min-height:440px;border:0;object-fit:contain;background:#eee}.preview audio{display:block;width:calc(100% - 36px);margin:28px 18px}.preview-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:11px;font-size:13px;color:var(--muted);overflow-wrap:anywhere}.preview-meta .file-actions{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){.material-workspace{display:flex;flex-direction:column;gap:14px}.material-list{width:100%;max-height:none;overflow:visible;padding:0}.material-preview{width:100%;position:static}.preview{min-height:260px}.preview iframe,.preview img,.preview video{height:55vh;min-height:260px}.file-picker{width:100%}.file-picker select{width:100%;max-width:none}.preview-heading{flex-direction:column}.material-card{padding:15px}}
.field textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:9px;background:white;resize:vertical}.description-field{margin:18px 0 4px}.material-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:5px 0 0;color:#42505a;font-size:14px}.full-description{margin:0 0 12px;color:#42505a;white-space:pre-wrap}.edit-description{margin:0 0 14px;padding:6px 9px}.material-card .material-description{max-width:100%}
.field-label{display:block;font-weight:600;font-size:14px;margin-bottom:5px}.material-types-field{grid-column:1/-1;margin-top:4px}.material-type-checks{margin-top:9px}.suggestion{color:var(--gold);font-size:12px;font-weight:650}
.material-workspace{grid-template-columns:minmax(360px,44%) minmax(0,1fr);gap:16px}.material-workspace>*{min-width:0}.material-list{overflow-y:auto;overflow-x:hidden}.material-card{min-width:0;height:auto}.result-top{align-items:flex-start}.result-top h3,.result-top .muted,.file-name,.material-description{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}.result-top h3{flex:1 1 auto}.result-top .muted{flex:0 1 auto;text-align:right}.file-name{white-space:normal}.material-description{-webkit-line-clamp:3;line-clamp:3;white-space:normal}.pills,.file-actions{min-width:0}.file-button{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}.material-preview{min-width:0}.preview-meta>*{min-width:0}.file-picker select{max-width:100%}@media(max-width:900px) and (min-width:761px){.material-workspace{grid-template-columns:minmax(340px,43%) minmax(0,1fr)}}@media(max-width:760px){.material-workspace{grid-template-columns:1fr}.result-top .muted{text-align:left}.file-button{white-space:normal}}
.file-button{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 10px;border:1px solid #d7dfdc;border-radius:999px;background:#fff;color:#34424a;font-size:12px;font-weight:700;letter-spacing:.01em;line-height:1;text-decoration:none;white-space:nowrap;box-shadow:0 1px 1px #1830200a;transition:background-color .15s,border-color .15s,box-shadow .15s,transform .1s}.file-button:hover{background:#f6f9f7;border-color:#b9ccc1;box-shadow:0 2px 6px #18302014}.file-button:focus-visible{outline:2px solid #225d4d;outline-offset:2px}.file-button:active{background:#edf3ef;box-shadow:none;transform:translateY(1px)}.download-mark{color:#68757d;font-size:14px;font-weight:700;line-height:1}.format-icon{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.format-pdf{color:#b64b4b}.format-document{color:#3d6fa7}.format-presentation{color:#bd753b}.format-spreadsheet{color:#3d7e5a}.format-image{color:#586f80}.format-video{color:#43505a}.format-audio{color:#43505a}.format-archive{color:#6b7379}.format-file{color:#6b7379}
.pdf-preview{max-height:min(62vh,620px);min-height:260px;overflow:auto;padding:12px;background:#ecefed;scrollbar-gutter:stable}.pdf-page{display:block;max-width:100%;height:auto!important;margin:0 auto 12px;background:#fff;box-shadow:0 1px 4px #17222d35}.pdf-page:last-child{margin-bottom:0}@media(max-width:760px){.pdf-preview{max-height:55vh;min-height:260px;padding:8px}.pdf-page{margin-bottom:8px}}
.preview-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;min-height:34px}.preview-controls .file-picker{min-width:0;flex:1}.preview-controls .file-picker select{width:100%}.preview-controls .edit-description{margin:0;white-space:nowrap}@media(max-width:760px){.preview-controls{flex-wrap:wrap}.preview-controls .file-picker{flex-basis:100%}}
.area-group{border-top:1px solid var(--line)}.area-group-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:10px 2px;background:transparent;border:0;color:var(--ink);font-weight:650;text-align:left}.area-group-toggle small{color:var(--muted);font-weight:500}.area-results{padding-bottom:10px}.area-field p{margin:8px 0 0}
.files-editor ul{display:grid;gap:8px;padding:0;margin:0;list-style:none}.files-editor li{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid var(--line);border-radius:8px}.files-editor li>span{flex:1 1 180px;overflow-wrap:anywhere}.files-editor input[type=file]{display:none}
.topic-cover-panel{padding:0;overflow:hidden}.topic-cover{position:relative;min-height:440px;height:min(62vh,620px);background:#f5f5f3}.topic-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.topic-cover-fallback{width:100%;height:100%;background:linear-gradient(135deg,#f7f8f5,#edf1ed)}.area-results{gap:7px;padding-bottom:7px}.material-card{padding:10px 12px}.material-card h3{font-size:18px;line-height:1.25;margin:0 0 2px}.material-card .result-top{gap:8px}.material-card .result-top .muted{font-size:12px;line-height:1.3}.material-card .material-description{font-size:13px;line-height:1.35;margin:2px 0 0;-webkit-line-clamp:2;line-clamp:2}.material-card .pills{gap:4px;margin-top:5px}.material-card .pill{font-size:12px;padding:2px 6px}.material-card .file-actions{gap:4px;margin-top:7px}.material-card .file-button{min-height:30px;padding:5px 8px}@media(max-width:760px){.topic-cover{min-height:260px;height:55vh}.material-card{padding:10px 11px}}
.topic-material-workspace{margin-top:5px}.topic-material-workspace .material-list{max-height:calc(100vh - 140px)}.topic-material-workspace .material-list>.page-title{margin:0 0 4px}.topic-material-workspace .material-list>.page-intro{margin:0 0 14px}.topic-material-workspace .material-preview{top:8px}.topic-material-workspace .topic-cover{height:min(calc(100vh - 145px),720px);min-height:440px}.topic-material-workspace .preview iframe,.topic-material-workspace .preview img,.topic-material-workspace .preview video{height:min(calc(100vh - 205px),660px)}.topic-material-workspace .pdf-preview{max-height:min(calc(100vh - 205px),660px)}@media(max-width:760px){.topic-material-workspace .material-list{max-height:none}.topic-material-workspace .topic-cover{height:55vh;min-height:260px}.topic-material-workspace .preview iframe,.topic-material-workspace .preview img,.topic-material-workspace .preview video{height:55vh}.topic-material-workspace .pdf-preview{max-height:55vh}}
@media(min-width:761px){.topic-material-workspace{--topic-pane-height:min(calc(100vh - 145px),720px);height:var(--topic-pane-height);align-items:stretch}.topic-material-workspace .material-list{height:100%;max-height:none;display:flex;flex-direction:column;overflow:hidden;padding:1px}.topic-material-workspace .material-list-header{flex:0 0 auto;padding:0 7px 0 0}.topic-material-workspace .material-list-header>.page-title{margin:0 0 4px}.topic-material-workspace .material-list-header>.page-intro{margin:0 0 14px}.topic-material-workspace .material-list-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;padding:1px 8px 1px 1px;scrollbar-gutter:stable}.topic-material-workspace .material-preview{height:100%;max-height:100%;overflow:hidden;display:flex;flex-direction:column}.topic-material-workspace .preview-controls{flex:0 0 auto}.topic-material-workspace .preview{min-height:0;flex:1 1 auto;display:flex}.topic-material-workspace .preview>.pdf-preview{width:100%;height:100%;min-height:0;max-height:none;scrollbar-gutter:auto}.topic-material-workspace .preview>iframe,.topic-material-workspace .preview>img,.topic-material-workspace .preview>video{height:100%;min-height:0}.topic-material-workspace .topic-cover{height:100%;min-height:0}}
.book-group{padding-left:10px;border-left:2px solid #e3ebe5}.book-group-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:8px 2px;background:transparent;border:0;color:var(--ink);font-weight:600;text-align:left}.book-group-toggle small{color:var(--muted);font-weight:500}.book-results{padding-bottom:7px}.book-field{margin:12px 0}
.material-type-badges{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:4px;max-width:58%}.material-type-badge{display:inline-flex;align-items:center;gap:4px;min-height:23px;padding:3px 7px;border:1px solid #d7dfdc;border-radius:999px;background:#f7f9f7;color:#42505a;font-size:11px;font-weight:700;line-height:1.15;text-align:left}.material-type-icon{width:13px;height:13px;flex:0 0 13px;fill:none;stroke:#65717d;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.material-card .result-top h3{padding-top:2px}@media(max-width:760px){.material-type-badges{max-width:none;justify-content:flex-start;flex-basis:100%}.material-card .result-top{flex-wrap:wrap}}
.app-header{margin:0 0 18px}.app-brand{display:block;width:100%;padding:0;border:0;background:transparent;line-height:0;text-decoration:none;cursor:pointer}.app-brand img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.global-actions{display:flex;gap:10px;align-items:center;margin-top:42px;padding:22px 0 0;border-top:1px solid var(--line)}.global-actions .add{padding:10px 15px}.global-actions .secondary{padding:10px 14px}@media(max-width:760px){.app-header{margin-bottom:14px}.global-actions{align-items:stretch;flex-direction:column;margin-top:30px}.global-actions>*{width:100%}}
.search{margin:18px auto 28px}.area{padding:20px;min-height:94px}.area strong{margin-bottom:0}.topic-title{display:block;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.topic-title:hover{color:var(--forest)}.topic-title:focus-visible{outline:2px solid var(--forest);outline-offset:4px}
.areas{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.area{display:flex;min-height:136px;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:18px 14px;text-align:center;transition:border-color .15s,background-color .15s,box-shadow .15s,transform .15s}.area strong{font:600 20px/1.2 Georgia,serif}.area-icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.area-accent{width:31px;height:3px;border-radius:999px;background:currentColor;opacity:.8}.area-textsorten{color:var(--forest)}.area-textproduktion{color:#a77227}.area-grammatik{color:#607d68}.area-rechtschreibung{color:#3e7180}.area:hover{border-color:currentColor;background:#fffefa;box-shadow:0 6px 16px #18302012;transform:translateY(-1px)}.area:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-color:currentColor}@media(max-width:900px){.areas{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.areas{grid-template-columns:1fr}.area{min-height:122px}}
.material-card{display:grid;grid-template-columns:minmax(82px,106px) minmax(0,1fr);align-items:start;gap:10px}.material-form-column{min-width:0;align-self:center}.material-card .material-type-badges{display:grid;max-width:none;gap:5px;justify-content:stretch}.material-card .material-type-badge{display:grid;min-height:64px;place-items:center;gap:4px;padding:7px 6px;border-color:#cfdbd4;border-radius:9px;background:#f5f8f5;color:#42505a;font-size:11px;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere}.material-card .material-type-icon{width:17px;height:17px;flex:none;stroke:#527064}.material-card-content{min-width:0}.material-card-content .result-top{display:block}.material-card-content .file-actions{margin-top:7px}@media(max-width:520px){.material-card{grid-template-columns:1fr;gap:8px}.material-form-column{align-self:auto}.material-card .material-type-badges{grid-template-columns:repeat(auto-fit,minmax(88px,1fr))}.material-card .material-type-badge{min-height:56px}.material-card-content .file-actions{margin-top:6px}}
.material-card .material-type-badge{border-color:currentColor;box-shadow:inset 0 3px 0 currentColor;font-weight:700}.material-card .material-type-icon{display:block;object-fit:contain;stroke:currentColor}.material-card .material-type-worksheet{background:#e7f3ed;color:#26634f}.material-card .material-type-sample{background:#e8f0f8;color:#35678f}.material-card .material-type-open{background:#f3f1dc;color:#6c682c}.material-card .material-type-note{background:#e2f2f1;color:#286d6d}.material-card .material-type-notebook{background:#e8eef9;color:#3d6397}.material-card .material-type-exam{background:#f7e8e8;color:#914747}.material-card .material-type-assessment{background:#f6e9df;color:#955837}.material-card .material-type-review{background:#f8eedf;color:#9a692d}.material-card .material-type-solution{background:#e6f2e8;color:#39714a}.material-card .material-type-exercise{background:#e4f1f2;color:#2b6f77}.material-card .material-type-test{background:#f9ecdc;color:#a2602e}.material-card .material-type-presentation{background:#eeeafa;color:#65539a}.material-card .material-type-image{background:#f5e9f1;color:#8b5876}.material-card .material-type-book{background:#f1eddc;color:#75632d}.material-card .material-type-video{background:#eee7f4;color:#644881}.material-card .material-type-audio{background:#f9ecdf;color:#a46031}.material-card .material-type-other{background:#edf0f1;color:#59666d}
/* The PNG contains the complete tile and its label; do not crop or frame it again. */
.material-card .material-type-badge{width:100%;max-width:106px;min-height:0;padding:0;border:0;background:transparent;box-shadow:none;gap:4px}.material-card .material-type-icon{width:100%;height:auto;max-width:100%;object-fit:contain}
.delete-material-section{border-top:1px solid #ecd6d6;margin-top:22px;padding-top:18px}.danger{border:1px solid #c97d7d;border-radius:9px;background:#fff7f7;color:#9b3030;padding:9px 13px;font-weight:650}.danger:hover,.danger:focus-visible{background:#fceaea;border-color:#af5656;outline:0}.delete-material-dialog{max-width:560px}
body{font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}textarea{font:inherit}.brand,.intro h1,.area strong,.page-title,.grade h2,.card span,.list-item h3,.modal h2,.workspace-label,.preview-heading h2{font-family:inherit}.intro h1,.page-title,.grade h2,.modal h2,.workspace-label,.preview-heading h2{font-weight:600}.area strong,.card span,.list-item h3{font-weight:600}
/* Keep the material list scrollable without reserving or showing a scrollbar. */
.material-list,.topic-material-workspace .material-list-scroll{scrollbar-width:none;scrollbar-gutter:auto}.material-list::-webkit-scrollbar,.topic-material-workspace .material-list-scroll::-webkit-scrollbar{display:none;width:0;height:0}.topic-material-workspace .material-list-scroll{padding:1px}
.topic-material-workspace{margin-top:18px}.topic-material-workspace .material-list-header{padding-right:1px}.topic-material-workspace .topic-title-block{margin:0 0 20px;text-align:center}.topic-material-workspace .topic-title{width:100%;max-width:100%;margin:0;color:var(--forest);font-size:clamp(26px,2.6vw,36px);font-weight:650;line-height:1.12;text-align:center;white-space:normal;overflow-wrap:anywhere}.topic-material-workspace .topic-title-accent{display:block;width:54px;height:3px;margin:12px auto 0;border-radius:999px;background:#7ca994}.topic-material-workspace .workspace-label{margin:0 0 10px}@media(max-width:760px){.topic-material-workspace{margin-top:12px}.topic-material-workspace .topic-title-block{margin-bottom:18px}.topic-material-workspace .topic-title{font-size:clamp(25px,7.2vw,30px)}}
.upload-box[data-upload-dropzone]{cursor:pointer;transition:border-color .15s,background-color .15s}.upload-box[data-upload-dropzone].is-dragover{border-color:var(--forest);background:#edf5ef}.upload-box[data-upload-dropzone]:focus-visible{outline:2px solid var(--forest);outline-offset:3px}
.home-area-card{min-height:0;padding:0;border:0;background:transparent;box-shadow:none}.home-area-icon{display:block;width:100%;height:auto;object-fit:contain}.home-area-card:hover{border-color:transparent;background:transparent;box-shadow:none}.home-area-card:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.pdf-preview[data-preview-expandable]{position:relative}.pdf-preview[data-preview-expandable],.pdf-preview[data-preview-expandable] .pdf-page{cursor:zoom-in;touch-action:manipulation}.preview-expand{position:absolute;z-index:2;top:8px;right:8px;display:grid;width:42px;height:42px;place-items:center;padding:0;border:1px solid #c9d7d0;border-radius:9px;background:#fffffff0;color:var(--forest);font-size:25px;line-height:1;box-shadow:0 2px 8px #17222d24;touch-action:manipulation}.preview-expand:hover,.preview-expand:focus-visible{background:var(--leaf);border-color:#8bad9d;outline:2px solid var(--forest);outline-offset:2px}.preview-lightbox{position:fixed;inset:0;z-index:100;display:grid;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#10231cce}.preview-lightbox-panel{position:relative;display:flex;min-width:0;min-height:0;width:100%;height:100%;padding:52px 12px 12px;background:var(--paper);border-radius:16px;box-shadow:0 24px 90px #0008}.preview-lightbox-close{position:absolute;z-index:1;top:10px;right:12px;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;background:#fff;color:var(--ink);font-size:28px;line-height:1;box-shadow:0 2px 10px #17222d26}.preview-lightbox-close:hover,.preview-lightbox-close:focus-visible{background:var(--leaf);outline:2px solid var(--forest);outline-offset:2px}.preview-lightbox-pdf{width:100%;height:100%;min-height:0;max-height:none;padding:10px;overflow:auto;touch-action:auto}.preview-lightbox .pdf-page{max-width:100%;margin-bottom:14px}@media(max-width:760px){.preview-expand{top:6px;right:6px}.preview-lightbox{padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.preview-lightbox-panel{padding:48px 6px 6px;border-radius:12px}.preview-lightbox-pdf{padding:6px}.preview-lightbox .pdf-page{margin-bottom:8px}}.topics .card,.topic-grid .card{color:var(--ink);text-decoration:none}.topics .card:visited,.topic-grid .card:visited,.topics .card:hover,.topic-grid .card:hover,.topics .card:focus,.topic-grid .card:focus,.topics .card:focus-visible,.topic-grid .card:focus-visible{color:var(--ink)}
@media(max-width:900px){.topics{grid-template-columns:repeat(4,minmax(0,1fr))}.topics .card{min-width:0;overflow-wrap:anywhere}}
@supports(padding:max(0px)){.shell{padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right));padding-bottom:max(60px,env(safe-area-inset-bottom))}@media(max-width:700px){.shell{padding-left:max(15px,env(safe-area-inset-left));padding-right:max(15px,env(safe-area-inset-right));padding-bottom:max(22px,env(safe-area-inset-bottom)}}}
