:root{--paper:#f9f9f5;--surface:#fffefa;--ink:#252e29;--green:#174b37;--hero:#113f31;--muted:#656d65;--edge:#dddfd5;--rail:222px;--serif:Georgia,'Times New Roman',serif;--sans:Inter,'Segoe UI',Arial,sans-serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.45 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c88439;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.13;letter-spacing:-.035em}h1{font-size:clamp(2.15rem,3.25vw,3.1rem)}h2{font-size:clamp(1.65rem,2.1vw,2.05rem)}h3{font-size:1.43rem}p{overflow-wrap:anywhere}.ico{flex:none;vertical-align:middle}button,.inline,.action,.nav-link,.subject,.kicker,.brand,.meta,.crumb,.profile,.btn,.search-open{display:inline-flex;align-items:center}.skip{position:fixed;left:12px;top:-70px;background:var(--green);color:white;z-index:100;padding:11px}.skip:focus{top:8px}#side{position:fixed;z-index:8;inset:0 auto 0 0;width:var(--rail);border-right:1px solid var(--edge);background:#f2f3eb;display:flex;flex-direction:column;padding:25px 18px 16px;overflow:auto}.brand{color:#194631;line-height:1;gap:9px;padding:0 7px;font:600 34px/.98 var(--serif);letter-spacing:-1.9px}.brand img{width:39px;height:39px}.create{justify-content:center;gap:9px;color:white;background:var(--green);border:1px solid var(--green);width:100%;margin:30px 0 27px;border-radius:7px;min-height:43px;font-weight:600;font-size:.94rem}.create:hover,.btn.primary:hover{background:#246047}.rail-label,.kicker,.eyebrow{font-family:var(--sans);font-size:.70rem;font-weight:700;text-transform:uppercase;letter-spacing:.13em}.rail-label{display:block;color:#6a7568;margin:0 10px 10px}.nav-link,.subject{width:100%;min-height:41px;border-radius:6px;gap:12px;text-align:left;padding:9px 11px;color:#565e55;font-size:.91rem;font-weight:500}.nav-link:hover,.subject:hover,.profile:hover,.square:hover,.plain:hover{background:#e7eae0}.nav-link.active,.subject.active{background:#dce7d8;color:#214d35;font-weight:650}.side-rule{border:0;border-top:1px solid #d8dccf;margin:22px 7px 20px}.subject{min-height:34px;padding:6px 12px;font-size:.86rem}.dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:var(--dot,#87a97b);flex:none}.rail-bottom{margin-top:auto;padding-top:28px}.settings{font-size:.88rem}.profile{width:100%;border-top:1px solid var(--edge);gap:10px;text-align:left;padding:15px 4px 1px;margin-top:9px}.avatar{background:#e1e6cf;color:#294936;font:600 17px/1 var(--serif);height:36px;width:36px;display:grid;place-items:center;border:1px solid #cdd7c1;border-radius:50%}.profile strong,.profile small{display:block}.profile strong{font-size:.92rem}.profile small{color:var(--muted);font-size:.76rem}.profile .ico{margin-left:auto}
#shell{margin-left:var(--rail)}#top{height:65px;border-bottom:1px solid var(--edge);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(25px,3.6vw,62px);gap:14px;background:var(--paper)}.crumb{gap:12px;font-size:.84rem;color:#677167}.crumb b{color:#343d34;font-weight:600}.crumb .sep{color:#a4aba1}.top-tools{display:flex;gap:15px;align-items:center}.search-open{gap:9px;border:1px solid var(--edge);color:#59645a;background:#fdfdf9;border-radius:7px;font-size:.83rem;padding:6px 9px;min-height:34px}.search-open kbd{font:inherit;font-size:.69rem;background:#f1f2eb;border:1px solid #e0e2d8;border-radius:4px;padding:1px 5px;margin-left:19px}.square{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:7px;color:var(--green)}#mobile-menu{display:none}#main{max-width:1530px;margin:auto;padding:30px clamp(25px,3.6vw,62px) 52px;outline:none}.heading-row,.section-head,.row-between{display:flex;align-items:center;justify-content:space-between;gap:16px}.heading-row{margin:0 0 21px}.date-line{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.85rem}.hero{isolation:isolate;position:relative;display:flex;align-items:center;min-height:230px;overflow:hidden;border-radius:13px;background:var(--hero);color:#fffbed;padding:26px clamp(25px,3vw,48px)}.hero-copy{position:relative;z-index:2;width:56%}.hero .kicker{gap:8px;letter-spacing:.16em;color:#d5dfa7;font-size:.70rem}.hero h2{font-size:clamp(2.35rem,3.25vw,3.35rem);margin:8px 0 6px;letter-spacing:-.043em}.hero p{font-size:.95rem;color:#d7e4d6;line-height:1.5;max-width:400px}.hero-art{position:absolute;z-index:0;right:2.8%;height:99%;top:.5%;width:43%;object-fit:contain;mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 95%,transparent 100%)}.hero .btn{margin-top:19px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;min-height:39px;border-radius:6px;border:1px solid #d1d7ca;background:var(--surface);color:#234b35;font-weight:600;font-size:.88rem;line-height:1.25}.btn:hover{background:#eef2e8;border-color:#b4c2ae}.btn.light{color:#214431;background:#ecf0cc;border-color:#ecf0cc;padding:11px 17px}.btn.light:hover{background:#fcffe7}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.danger{color:#923d29}.section{margin-top:27px}.section-head{margin:0 0 14px}.section-head .inline{gap:8px}.count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:22px;padding:0 6px;font:600 .77rem/1 var(--sans);color:#5e6a5d;background:#e9ece2;border-radius:6px;letter-spacing:0}.plain{font-size:.85rem;font-weight:600;color:#345941;gap:6px;border-radius:5px;padding:5px 6px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.set-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--edge);border-radius:10px;background:var(--surface);transition:transform .16s,border-color .16s,box-shadow .16s;position:relative;text-align:left;padding:0;align-items:stretch}.set-card:hover{transform:translateY(-3px);border-color:#a7b8a2;box-shadow:0 5px 15px #29391c0d}.cover{height:116px;position:relative;overflow:hidden;background-color:var(--tbg);background-image:linear-gradient(90deg,#28351a08 1px,transparent 1px),linear-gradient(#28351a08 1px,transparent 1px);background-size:19px 19px}.cover img{position:absolute;right:6%;width:70%;height:95%;top:7%;object-fit:contain;mix-blend-mode:multiply;filter:contrast(1.06);transform:rotate(-4deg)}.cover.brain img{right:5%;top:12%;height:94%;transform:rotate(-7deg)}.cover.globe img{height:105%;top:0;right:0;transform:rotate(6deg)}.tag{position:relative;z-index:1;display:inline-flex;align-items:center;gap:6px;background:#fffdf3c9;border-radius:5px;border:1px solid #85927a36;padding:3px 8px;font:600 .73rem/1.4 var(--sans);color:#475543}.cover .tag{margin:12px}.tag .dot{width:6px;height:6px}.card-body{padding:15px 16px 14px}.card-body h3{font-size:clamp(1.22rem,1.65vw,1.55rem);line-height:1.16;overflow-wrap:anywhere}.meta{gap:6px;color:var(--muted);font-size:.81rem;margin-top:7px}.card-progress{display:flex;align-items:center;gap:10px;margin-top:15px}.track{height:5px;flex:1;background:var(--tbg,#e8ebdf);border-radius:9px;overflow:hidden}.track span{display:block;background:var(--tcolor,var(--green));height:100%;border-radius:9px}.card-progress small{font-size:.74rem;color:#62695e;font-variant-numeric:tabular-nums}.dash-bottom{display:grid;grid-template-columns:1.12fr .88fr;gap:18px;margin-top:25px}.panel{background:var(--surface);border:1px solid var(--edge);border-radius:10px;padding:19px 20px}.panel h2{font-size:1.49rem}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.panel-title .inline{gap:9px}.panel-title .inline>.ico{color:var(--green)}.task-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-top:1px solid #e6e8df}.task-row:first-of-type{border-top:none}.tick{width:20px;height:20px;border:1.4px solid #acb8a6;border-radius:6px;display:grid;place-items:center;padding:0;background:var(--surface);flex:none}.tick.checked{background:var(--green);color:white;border-color:var(--green)}.task-name{display:block;text-align:left;overflow-wrap:anywhere;font-size:.91rem;font-weight:550;padding:0}.completed .task-name{text-decoration:line-through;color:#737972}.task-info{display:flex;align-items:center;gap:5px;font-size:.77rem;color:var(--muted);margin-top:2px}.due{margin-left:auto;font-size:.79rem;color:#5a6558;white-space:nowrap}.task-row .dot{width:6px;height:6px}.goal-top{display:flex;align-items:end;justify-content:space-between}.goal-top strong,.stat-num{font-family:var(--serif);font-size:2.3rem;letter-spacing:-.045em;font-weight:500;color:var(--green)}.goal-top span{font-size:.83rem;color:var(--muted)}.week-bars{display:flex;align-items:end;gap:9px;height:68px;margin-top:6px}.bar-col{flex:1;text-align:center;color:#677266;font-size:.69rem}.bar-space{height:43px;display:flex;align-items:end}.bar-fill{width:100%;border-radius:3px;background:#9ab68c;min-height:3px}.bar-col.today .bar-fill{background:var(--green)}.bar-col.today{color:var(--green);font-weight:bold}
.page-intro{color:var(--muted);margin:5px 0 21px}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:6px 0 20px}.tabs{display:flex;flex-wrap:wrap;gap:4px;background:#e9ede3;border-radius:8px;padding:4px}.tab{padding:6px 12px;font-size:.87rem;border-radius:5px}.tab.selected{background:var(--surface);box-shadow:0 1px 4px #3b40261a;color:var(--green);font-weight:600}.field,select,textarea,input:not([type=color]){background:#fffefa;border:1px solid #cbd2c5;border-radius:6px;padding:9px 11px;max-width:100%;line-height:1.4}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M3 4l5 5 5-5' fill='none' stroke='%2346634a' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:34px}.search-field{display:flex;align-items:center;gap:8px;background:#fffefa;border:1px solid #cbd2c5;border-radius:6px;padding-left:11px}.search-field input{background:transparent;border:0}.filters{display:flex;gap:8px;flex-wrap:wrap}.empty{border:1px dashed #c7cebf;background:#f2f4ec;border-radius:8px;padding:24px;color:#52614e;text-align:center}.empty h3{margin-bottom:5px}.empty p,.hint{font-size:.88rem;color:var(--muted)}.empty .btn{margin-top:13px}.deck-header{display:flex;gap:20px;align-items:center;justify-content:space-between;background:var(--tbg);padding:22px 25px;border-radius:12px;margin-bottom:22px;position:relative;overflow:hidden}.deck-header h1{margin:7px 0}.deck-header .deck-illus{width:24%;height:135px;object-fit:contain;mix-blend-mode:multiply}.buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}.card-line{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--edge)}.card-line:last-child{border:0}.card-text{flex:1;min-width:0;overflow-wrap:anywhere}.card-text b{font-size:.98rem}.card-text p{font-size:.9rem;color:#5d675c;margin-top:4px;white-space:pre-wrap}.small-icon{width:30px;height:30px}.empty + .btn{margin-top:10px}.note-card{border:1px solid var(--edge);border-radius:8px;background:var(--surface);padding:17px;text-align:left;display:block;width:100%;min-height:135px}.note-card:hover{background:#f1f4ea}.note-card p{color:var(--muted);font-size:.9rem;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:7px 0}.note-card time{font-size:.76rem;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.stat-grid p{color:var(--muted);font-size:.9rem}.stats-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mastery{padding:11px 0;border-bottom:1px solid var(--edge)}.mastery:last-child{border:0}.mastery .card-progress{margin-top:6px}
dialog{border:1px solid #d1d8ca;border-radius:14px;color:var(--ink);background:var(--surface);padding:0;width:min(520px,calc(100vw - 28px));max-height:90dvh;box-shadow:0 20px 95px #15271f39}dialog::backdrop{background:#192c245c;backdrop-filter:blur(3px)}.modal-head{padding:20px 23px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-head h2{font-size:1.85rem}.modal-content{padding:2px 23px 23px}form .form-row{display:flex;flex-direction:column;gap:4px;margin:12px 0;font-size:.89rem;font-weight:600}form .form-row input,form .form-row select,form .form-row textarea{width:100%;font-weight:400;font-size:.98rem}textarea{resize:vertical;min-height:78px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-actions{margin-top:18px;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.form-actions .left{margin-right:auto}.error{color:#963f27;font-size:.87rem;white-space:pre-wrap}.error:empty{display:none}.create-choice,.result{width:100%;display:flex;gap:13px;align-items:center;text-align:left;padding:12px 8px;border-radius:7px}.create-choice:hover,.result:hover{background:#edf1e6}.choice-icon{width:39px;height:39px;display:grid;place-items:center;background:#e4ecd9;border-radius:8px;color:var(--green)}.create-choice b,.create-choice small,.result b,.result small{display:block}.create-choice small,.result small{font-size:.79rem;color:var(--muted)}.result span{min-width:0;overflow-wrap:anywhere}.result{border-bottom:1px solid var(--edge);border-radius:0}.modal-content>.search-field input{width:100%}.results{max-height:48vh;overflow:auto;margin-top:9px}.results p{padding:15px 0;color:var(--muted)}
.study{max-width:740px;margin:10px auto}.study-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.study-top p{font-size:.84rem;color:var(--muted)}.study .track{margin:12px 0 20px;height:6px;background:#dfe6d9}.flip{border:1px solid #cbd6c4;background:#f1f5e9;border-radius:14px;min-height:305px;padding:25px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.flip.answer{background:#fcf4e7;border-color:#e3d8c6}.flip .kicker{color:#5b6d52}.flip h2{font-size:clamp(1.7rem,3vw,2.7rem);margin:18px 0;line-height:1.22;overflow-wrap:anywhere}.flip p{white-space:pre-wrap;overflow-wrap:anywhere}.study-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:20px 0}.quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.quiz-options button{text-align:left;justify-content:flex-start;padding:13px}.feedback{text-align:center;margin-top:13px}.end{text-align:center;padding:38px 20px}.end .choice-icon{margin:0 auto 14px}.end h1{margin:6px 0}.end p{margin:10px auto;color:var(--muted)}.end .buttons{justify-content:center}.footer-note{font-size:.77rem;color:#737b6d;margin-top:10px}.pre{white-space:pre-wrap}.set-choices{max-height:45vh;overflow:auto}.file-row{font-size:.85rem;margin-top:10px}#toast{position:fixed;z-index:20;bottom:22px;left:calc(50% + var(--rail)/2);transform:translate(-50%,20px);background:#203f2e;color:white;padding:9px 16px;border-radius:7px;font-size:.89rem;opacity:0;pointer-events:none;transition:.15s}#toast.show{opacity:1;transform:translate(-50%,0)}#shade{display:none}
@media(min-width:1600px){:root{--rail:250px}#main{padding-top:37px}.hero{min-height:260px}.cover{height:140px}}
@media(max-width:1100px){:root{--rail:193px}#side{padding-left:12px;padding-right:12px}#main{padding:25px 27px 40px}#top{padding:0 27px}.grid{gap:12px}.hero{min-height:215px}.card-body{padding:13px}.cover{height:105px}.dash-bottom{gap:12px}.panel{padding:17px 15px}}
@media(max-width:840px){:root{--rail:0px}#side{width:223px;transform:translateX(-102%);transition:transform .18s}body.menu-open #side{transform:none}body.menu-open #shade{display:block;position:fixed;inset:0;background:#192c2470;z-index:7}#mobile-menu{display:inline-flex}.crumb{gap:8px}#top{height:57px}#main{padding:22px 22px 35px}.card-body h3{font-size:1.25rem}.search-open{min-height:34px}}
@media(max-width:600px){#top{padding:0 13px}.search-open kbd,.crumb>.ico,.crumb>.workspace,.crumb>.sep{display:none}.heading-row{align-items:flex-start;gap:6px;flex-wrap:wrap}.heading-row:has(.date-line){flex-direction:column}.date-line{font-size:.79rem}.hero{padding:21px 18px;min-height:222px}.hero-copy{width:62%}.hero h2{font-size:2.03rem;line-height:1.02}.hero p{font-size:.86rem;line-height:1.4}.hero-art{width:42%;height:85%;top:8%;right:-2%}.hero .btn{margin-top:14px}.hero .kicker{font-size:.65rem}#main{padding:22px 16px 35px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cover{height:100px}.cover .tag{margin:7px}.card-body h3{font-size:1.18rem}.card-progress{margin-top:10px}.dash-bottom,.stats-row{grid-template-columns:1fr}.section{margin-top:23px}.section-head{gap:7px}.plain{font-size:.8rem}.section-head h2{font-size:1.55rem}.deck-header{padding:16px}.deck-header .deck-illus{width:20%}.stat-grid{gap:7px}.stat-grid .panel{padding:12px 9px}.stat-grid p{font-size:.76rem}.stat-num{font-size:1.8rem}.task-row{gap:8px}.quiz-options{grid-template-columns:1fr}.form-actions{gap:5px}.two-fields{grid-template-columns:1fr;gap:0}.modal-head{padding:16px 15px 9px}.modal-content{padding:2px 15px 17px}.set-card .meta{font-size:.76rem}.due{font-size:.74rem}}
@media(max-width:380px){.cover{height:82px}.card-body{padding:10px}.search-open{font-size:.78rem}.hero-art{opacity:.82}.hero-copy{width:65%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}.create{margin-bottom:5px}.side-upload{margin-bottom:19px;justify-content:center;border:1px solid #c7d0c0}.course-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eaf0df;border:1px solid #d5dfca;border-radius:9px;padding:13px 17px;margin-top:19px}.course-strip strong,.course-strip small{display:block}.course-strip small{font-size:.8rem;color:var(--muted)}.course-card{display:flex;flex-direction:column;align-items:flex-start}.course-card h3{margin:11px 0 6px}.course-card .buttons{margin-top:auto;padding-top:13px}.course-card .btn{font-size:.8rem}.photo-button{padding:0;display:inline-flex;margin:9px 4px;vertical-align:middle;max-width:100%;border-radius:7px;overflow:hidden;border:1px solid var(--edge);cursor:zoom-in}.photo-button img{max-width:240px;max-height:170px;object-fit:contain}.flip .photo-button img{max-width:min(470px,72vw);max-height:38vh}.zoomed{display:block;width:100%;max-height:75dvh;object-fit:contain}dialog:has(.zoomed){width:min(960px,96vw)}.photo-existing{display:flex;align-items:center;gap:9px;font-size:.8rem}.photo-existing img{max-width:90px;max-height:70px}fieldset{border:1px solid var(--edge);border-radius:8px;margin:10px 0;min-width:0}fieldset legend{overflow-wrap:anywhere;font-size:.86rem}.invite-code{margin:12px 0;background:#e9f0da;padding:12px;font:600 1.2rem monospace;text-align:center}.modal-content>.form-row{display:flex;flex-direction:column;gap:4px;margin-top:12px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.9rem;text-align:left}th,td{padding:9px 6px;border-bottom:1px solid var(--edge)}td small{display:block;color:var(--muted)}.auth #side,.auth #top{display:none}.auth #shell{margin:0}.auth #main{max-width:980px;padding:7vh 24px}.auth-box{display:grid;grid-template-columns:1fr 1.1fr;border:1px solid var(--edge);border-radius:16px;overflow:hidden;background:var(--surface)}.auth-art{background:var(--hero);padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}.auth-art .brand{color:#fff8df}.auth-art .brand img{filter:brightness(0) invert(.9)}.auth-art>img{width:100%;max-width:390px;mix-blend-mode:lighten}.auth-form{padding:30px}.auth-form h1{font-size:2.3rem}.auth-form>p{margin:10px 0 20px;color:var(--muted)}#save-issue{position:sticky;top:0;z-index:9;background:#fff2d5;padding:10px;text-align:center}.side-rule{margin:16px 5px}.rail-bottom{padding-top:12px}.hero-art{mix-blend-mode:lighten}
@media(max-width:600px){.auth #main{padding:14px}.auth-box{display:block}.auth-art{height:116px;flex-direction:row;justify-content:space-between;padding:12px 18px}.auth-art>img{height:92px;width:46%;object-fit:contain}.auth-form{padding:21px}.course-strip{align-items:flex-start}.course-strip .btn{white-space:nowrap}.course-card .buttons{gap:4px}.course-card{padding:12px}.course-card h3{font-size:1.15rem}.photo-button img{max-width:55vw}.btn,.square,.tick,.plain{min-height:42px}.tick{height:22px;min-height:22px}.tick::before{content:'';position:absolute;width:32px;height:34px}.side-upload{min-height:40px}.grid:has(.course-card){grid-template-columns:1fr}.course-card .buttons{margin-top:0}.hero .btn{min-height:44px}.nav-link{min-height:44px}dialog{max-height:93dvh}#sync-status{display:none}.search-open{min-height:40px}input,select,textarea{font-size:16px}.study .flip{min-height:235px}.auth-art .brand{font-size:27px}}
.auth-wordmark{text-align:center}.auth-wordmark>span{display:block;color:#f4edcf;font-size:1.03rem;margin-top:10px}.promise{border-top:1px solid var(--edge);margin-top:22px;padding-top:14px;color:var(--green);font-size:.9rem}.promise b,.promise span{display:block}.promise span{font-size:.8rem}.cover-letter{position:absolute;right:8%;bottom:0;font:italic 4.3rem/1.17 var(--serif);color:var(--tcolor);letter-spacing:-.06em}.nav-link.active{background:var(--year-tint,#dce7d8)}
body[data-stage=entdecken]{--serif:ui-rounded,'Trebuchet MS',system-ui,sans-serif;--green:#215365;--hero:#245563;--paper:#fffcf2;--edge:#e3ddc9}
body[data-stage=entdecken] .hero,body[data-stage=entdecken] .set-card,body[data-stage=entdecken] .panel{border-radius:20px}
body[data-stage=entdecken] h1,body[data-stage=entdecken] h2,body[data-stage=entdecken] h3{font-weight:700}
body[data-stage=entdecken] .hero .btn{background:#ffe7a6;border-color:#ffe7a6;color:#344426}
body[data-stage=entdecken] .cover{background-image:radial-gradient(#fff9 1.8px,transparent 2px);background-size:14px 14px}
body[data-stage=entdecken] .study .btn{font-size:1.06rem;min-height:49px}
body[data-stage=entdecken] .flip{background:#fff4cc;border:2px solid #e6cf83}
body[data-stage=entdecken] .flip.answer{background:#e3f2d7;border-color:#b7d3a5}
body[data-stage=erkunden]{--green:#205762;--hero:#184f57;--paper:#f6faf7}
body[data-stage=erkunden] .cover{background-size:15px 15px}body[data-stage=erkunden] .hero .btn{background:#d6ece0}
body[data-stage=vertiefen]{--hero:#253549;--green:#33435a;--paper:#f6f7fa;--edge:#d8dce1}
body[data-stage=vertiefen] #side{background:#eceff3}body[data-stage=vertiefen] .hero .btn{background:#ece5d2}body[data-stage=vertiefen] .cover{background-size:24px 24px}body[data-stage=vertiefen] .set-card,body[data-stage=vertiefen] .panel{border-radius:6px}
body[data-stage=vertiefen] .course-strip{background:#e4e9f0}
@media(max-width:600px){.auth-wordmark>span{font-size:.82rem}.cover-letter{font-size:2.8rem;bottom:10px}.promise{margin-top:16px}.cover .tag{font-size:.71rem}}
.help-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:20px;margin-top:18px}.help-links p,.read-context,.context-box p{line-height:1.65}.read-context{margin:14px 0}.context-box{margin-bottom:16px}.context-box p{margin-top:8px}.club{padding:13px 0;border-top:1px solid var(--edge)}.club p{font-size:.85rem;color:var(--muted)}.club .buttons{margin-top:5px}#clubs-results:not(:empty){margin-top:16px}.rail-label{margin-bottom:5px}.nav-link{min-height:36px;padding:7px 10px}.side-rule{margin:10px 5px}.create{margin-top:20px}.side-upload{margin-bottom:13px}@media(max-width:840px){.nav-link{min-height:44px}}
#language-bar{position:absolute;right:clamp(18px,3.3vw,54px);top:15px;z-index:4;display:flex;align-items:center;gap:8px}#language-status{background:#fff3d9;border-radius:5px;max-width:220px;font-size:.74rem;padding:4px 7px}#top .top-tools{margin-right:140px}.language-select{display:flex;align-items:center;gap:4px;font-size:.82rem}.language-select select{font-size:.82rem;padding:5px 23px 5px 6px;background-position:right 4px center;background-size:12px}.auth #language-bar{position:relative;justify-content:flex-end;right:auto;top:auto;padding:10px 22px}.auth #main{padding-top:4vh}.media-item{padding:10px 0;border-bottom:1px solid var(--edge)}.media-item small{display:block;color:var(--muted);font-size:.8rem}.media-list{margin:12px 0}.media-list summary{cursor:pointer;color:var(--green)}
@media(max-width:840px){#language-bar{top:9px;right:12px}#top .top-tools{margin-right:115px}#language-status{position:absolute;top:36px;right:0;width:200px}}@media(max-width:435px){.search-open{font-size:0;min-width:34px;justify-content:center}.crumb b{max-width:28vw;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.auth #main{padding-top:0}}

#leseleiste{padding:7px clamp(16px,3.6vw,62px);border-bottom:1px solid var(--edge);background:var(--paper)}
.reader-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:.85rem}
.reader-tools .btn,.reader-tools select{min-height:36px;font-size:inherit;line-height:1.25}.reader-tools label{display:flex;align-items:center;gap:4px}
.reader-tools [role=status]:empty{display:none}.reader-tools audio{display:block;width:min(100%,260px)}
.modal-reader{padding:10px 18px;border-top:1px solid var(--edge)}.image-caption{color:var(--ink);line-height:1.5;padding:4px 0}
.hoher-kontrast,.hoher-kontrast[data-stage]{--ink:#080808;--muted:#242424;--paper:#fff;--edge:#484848;--green:#073322;--hero:#122c20}
.hoher-kontrast :is(p,small,.hint,.tag,.crumb,.kicker,.meta,.rail-label,.plain,.subject,.nav-link,.square,.language-select){color:#15271b}
.hoher-kontrast :is(.hero,.auth-art) :is(p,small,.kicker){color:white}.hoher-kontrast :is(.btn,.panel,input,textarea,select,button:focus-visible){border:1px solid currentColor}
:focus-visible{outline:3px solid #1556a0!important;outline-offset:3px}
@media(max-width:840px){.reader-tools .btn,.reader-tools select{min-height:44px}#leseleiste{padding:6px 14px}.reader-tools{gap:4px 7px}body:not(.menu-open) #side{visibility:hidden}body.menu-open #side{visibility:visible}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.track,.bar-fill,.panel,.btn{border:1px solid CanvasText}}


.account-list{display:grid;gap:1rem}.account-row header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.account-row h2{margin:0}.account-row dl{display:grid;grid-template-columns:minmax(6em,11em) 1fr;gap:.35rem 1rem}.account-row dd{margin:0;overflow-wrap:anywhere}.account-row fieldset{border:1px solid #9eb4a5;border-radius:.7rem;padding:.75rem;margin:1rem 0}.account-row fieldset label{display:block;margin:.45rem 0}.account-row input[type=checkbox]{width:auto}.account-row button,.account-row select{min-height:42px}.cockpit-status:not(:empty){padding:.5rem;font-weight:600}@media(max-width:520px){.account-row dl{grid-template-columns:1fr}.account-row dt{font-weight:bold}.account-row dd{margin-bottom:.35rem}}

.welcome-copy {margin: .8rem 0 1.4rem; line-height: 1.55; overflow-wrap: break-word;}
.welcome-copy p {margin: .65rem 0;}
.welcome-copy .welcome-lead {font-family: var(--serif); font-size: 1.18rem; line-height: 1.3;}
.welcome-keywords {display: flex; flex-wrap: wrap; gap: .35rem .5rem; list-style: none; padding: 0; margin: .85rem 0 0;}
.welcome-keywords li {font-size: .81rem; padding: .15rem .6rem; border: 1px solid currentColor; border-radius: 1rem;}

.welcome-copy > .btn {margin-top: .85rem;}

.avatar-field{border:0;padding:0;margin:1rem 0}.avatar-field legend{font-weight:650;margin-block-end:.4rem}
.avatar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:.38rem}
.avatar-grid label{position:relative;display:grid;justify-items:center;align-content:center;gap:.18rem;border:1px solid var(--line,#a7b5ac);border-radius:.7rem;min-height:4rem;cursor:pointer}
.avatar-grid input{position:absolute;opacity:0;width:1px;height:1px}.avatar-grid label:has(:checked){outline:2px solid currentColor;background:var(--surface,#fff)}.avatar-grid label:focus-within{outline:3px dashed currentColor}.avatar-grid span{font-size:1.55rem}.avatar-grid small{font-size:.72rem}
.family-cards{display:grid;gap:1rem;margin-top:1rem}.family-subject{border-block-start:1px solid var(--line,#b5c1b4);padding-block:.5rem}.family-subject p{margin-block:.3rem}.photo-check{padding-block:1rem}.photo-check img{max-width:100%;max-height:25rem;object-fit:contain}.signup-role-hidden{display:none!important}
