/* SOURCE: assets/entry-route-0.11.78.css */
/* CARE never displays the general landing film, including during app startup. */
html.care-route #landing .landing-film { display: none !important; }


/* SOURCE: assets/style.css */
:root{--ink:#302a40;--muted:#71677c;--purple:#7052ac;--lavender:#ede5f5;--mint:#dfede3;--paper:#faf8f3;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--purple)}button{border:1px solid #dcd3e3;border-radius:8px;padding:.65rem .85rem;color:var(--ink);background:#fff;min-height:42px}a.button{display:inline-flex;align-items:center;text-decoration:none}.button{background:var(--purple);color:white;border:0;border-radius:9px;padding:.9rem 1.2rem;font-weight:650}.link{background:none;border:0;padding:.25rem;min-height:36px;color:var(--purple);text-decoration:underline;text-underline-offset:3px}header{max-width:1200px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:1.4rem 2rem}.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;font-weight:800;letter-spacing:-.065em;font-size:2.2rem;color:var(--ink)}nav{display:flex;align-items:center;gap:1rem}header nav a{text-decoration:none;font-size:.9rem}main{max-width:1100px;margin:auto;padding:1rem 2rem 2.5rem}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:6rem;align-items:center}.eyebrow{font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:#77618e;margin:0 0 1rem}h1{font-size:clamp(2.8rem,6vw,5rem);line-height:1.02;letter-spacing:-.055em;margin:0 0 1.6rem;font-weight:780}h1 em{font-style:normal;color:#7956a3;text-decoration:underline;text-decoration-color:#adcab7;text-decoration-thickness:5px;text-underline-offset:10px}.lead{font-size:1.1rem;line-height:1.75;color:#6a5e76;max-width:460px;margin:0 0 1.5rem}h2{font-size:1.6rem;letter-spacing:-.03em;line-height:1.2;margin-top:0}p{line-height:1.65}.access{background:#fff;border:1px solid #e4dce8;border-radius:15px;padding:2rem}.access .caption{margin-bottom:0}.tabs{display:flex;gap:3px;background:#f2edf7;padding:4px;border-radius:11px;margin:1.2rem 0}.tabs button{flex:1;background:none;border:0;color:#756583;font-size:.9rem}.tabs .active{background:#fff;color:#62448b}label{display:grid;gap:.45rem;margin:.9rem 0;font-size:.9rem;font-weight:550}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #d9d0e0;border-radius:7px;padding:.75rem;background:#fefdfb;color:var(--ink)}textarea{resize:vertical;line-height:1.5}input[type=checkbox]{accent-color:var(--purple);width:18px;height:18px;flex-shrink:0}label small{font-weight:400;color:var(--muted)}form>.button{width:100%;margin-top:.5rem}.consent{display:flex;align-items:flex-start;line-height:1.6;font-size:.8rem}.small-links{display:grid;margin-top:.65rem;justify-items:start}.small-links .link{font-size:.8rem}.caption{color:#81728a;font-size:.76rem;text-align:center}.status{font-size:.85rem;color:#774460;white-space:pre-wrap}.status:empty{display:none}.demo-card{display:block;width:285px;height:215px;position:relative;perspective:1000px;border:0;background:none;padding:0;margin:2.6rem auto 1.8rem;isolation:isolate}.demo-card::before{content:"";position:absolute;inset:8px -8px -8px 8px;border:1px solid #c6d9cc;border-radius:7px;transform:rotate(6deg);background:#dceade;z-index:-1}.demo-inner{display:block;position:relative;height:100%;transform:rotate(-4deg);transform-style:preserve-3d;transition:transform .6s ease}.demo-card[aria-pressed=true] .demo-inner{transform:rotate(-4deg) rotateY(180deg)}.face{display:flex;position:absolute;inset:0;flex-direction:column;justify-content:space-between;align-items:center;padding:1.5rem;background:#efe8f6;border:1px solid #d9cfe3;border-radius:7px;box-shadow:0 10px 16px #59426915;backface-visibility:hidden;-webkit-backface-visibility:hidden}.face small{font-size:.6rem;letter-spacing:.15em;border-bottom:1px solid #cebfdb;padding-bottom:.65rem;width:100%}.face strong{font-size:1.6rem;line-height:1.2;letter-spacing:-.03em}.face>span{font-size:.7rem;color:#786482}.face.back{background:#e3efe5;transform:rotateY(180deg)}footer{max-width:1200px;margin:auto;padding:1.5rem 2rem;border-top:1px solid #e6dfe8;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#817589;font-size:.73rem}footer a{color:inherit}footer nav{flex-wrap:wrap}footer button{font-size:.73rem}.workspace-head{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin:1rem 0 1.6rem}.workspace-head h1{font-size:2.7rem;margin:0}.toolbar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.toolbar .tabs{margin:0}.toolbar label{min-width:150px;flex:1;margin:0}.toolbar>button{font-size:.8rem}.guide{margin:1rem 0 1.5rem;background:#eee8f4;border-radius:9px;padding:.9rem 1rem}.guide>summary{font-weight:650}.guide details{padding:.6rem 0}.guide p{font-size:.9rem}.stats{font-size:.9rem;color:#72627d;padding:.8rem 0;border-bottom:1px solid #e4dce9}.selection{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:.7rem 0}.selection label,.checkline{display:flex;align-items:center;font-size:.8rem}.selection button{font-size:.78rem}#cards{display:grid;gap:.8rem}.row{display:flex;align-items:center;gap:1rem;background:white;border:1px solid #e0d8e5;border-left:4px solid #b9a3d6;border-radius:9px;padding:1.2rem}.row:nth-child(even){border-left-color:#a8c9b4}.row>div:not(.row-actions){flex:1;min-width:0}.row h3{font-size:1.05rem;line-height:1.5;margin:.4rem 0;overflow-wrap:anywhere}.row small{color:#796986;font-size:.72rem}.topic{color:#766081;font-size:.72rem;font-weight:600}.row-actions{display:flex;gap:.3rem;flex-wrap:wrap}.row-actions button{font-size:.75rem}.empty{padding:3rem 1rem;text-align:center;border:1px dashed #cbbcd6;border-radius:12px}.notice{background:#eee5f4;border:1px solid #d2bddf;padding:.9rem;border-radius:9px;font-size:.85rem}.notice button{font-size:.85rem}#learn-view{max-width:700px;margin:1.5rem auto}#study{perspective:1000px}.study-card{position:relative;background:#f0eaf6;border:1px solid #ded1e7;border-radius:11px;padding:2rem;box-shadow:7px 8px 0 #dceade;margin:1rem 0 2rem}.study-card>h2{font-size:1.9rem;line-height:1.3;white-space:pre-wrap;overflow-wrap:anywhere;margin:1.6rem 0}.study-card .row-actions{justify-content:flex-end}.study-card>.button{margin-top:1.5rem}.study-card.revealed{background:#fff;animation:reveal .45s ease}.study-card.revealed>h2{font-size:1.15rem;font-weight:500;color:#74627e}.answer{background:#e1eee5;border-radius:9px;padding:1.4rem;margin:1rem 0}.answer small{font-size:.65rem;letter-spacing:.12em;color:#587263}.answer p{font-size:1.55rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:.7rem 0 0}.ratings{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.ratings button{font-size:.8rem;border:0}.safe{background:#dfefe4;color:#396b4d}.partial{background:#ece3f7;color:#705090}.learning{background:#f5e5df;color:#965747}details>p{white-space:pre-wrap;overflow-wrap:anywhere}summary{cursor:pointer;line-height:1.5}dialog{border:1px solid #d5c7df;border-radius:14px;padding:1.7rem;color:var(--ink);background:#fdfbf8;width:min(560px,calc(100% - 2rem));max-height:90dvh;overflow:auto}dialog::backdrop{background:#27202e66}dialog p{color:#776a81;font-size:.9rem}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.dialog-head h2{margin:0}.dialog-head button{font-size:1.3rem}.dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1.3rem}.danger{background:#a54953;color:#fff;border:0}#import-preview p{max-height:110px;overflow:auto;border-top:1px solid #e8dfed;padding-top:.6rem}#editor-note,#confirm-note{color:#a13e50}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #aa91cc;outline-offset:3px}[hidden]{display:none!important}.legal{max-width:760px}.legal h1{font-size:2.5rem}.legal h2{margin-top:2rem}.legal a{overflow-wrap:anywhere}@keyframes reveal{0%{transform:rotateY(-85deg);opacity:.3}100%{transform:rotateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.demo-inner{transition:none}.study-card.revealed{animation:none}}@media(max-width:780px){header{padding:1rem 1.2rem}.brand{font-size:1.9rem}main{padding:1rem 1.2rem 2rem}.hero{grid-template-columns:1fr;gap:2rem}.hero h1{font-size:3.8rem}.hero>.access{max-width:520px;width:100%;margin:auto}.lead{font-size:1rem}.demo-card{width:265px;height:205px}.access{padding:1.5rem}.workspace-head{align-items:flex-start;flex-wrap:wrap}.workspace-head h1{font-size:2rem}.toolbar{gap:.5rem}.toolbar>.tabs{width:100%}.toolbar>button{flex:1}.row{flex-wrap:wrap;padding:1rem}.row-actions{margin-left:auto}.selection{flex-direction:column;align-items:flex-start;gap:0}.study-card{padding:1.4rem}.study-card>h2{font-size:1.6rem}.ratings button{padding:.6rem .3rem;font-size:.7rem}.answer p{font-size:1.3rem}footer{padding:1.4rem 1.2rem}.hero h1{font-size:clamp(3rem,12vw,4rem)}}

#landing .hero h1{font-size:clamp(2.5rem,5.2vw,5rem);line-height:1.06}#landing .hero .lead{font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.5}

.card-picture{display:block;max-width:100%;max-height:280px;object-fit:contain;margin:1rem auto}.favorite[aria-pressed="true"]{background:#fff0b8;color:#694b00}.selection{flex-wrap:wrap;gap:.6rem}.row .topic{display:block}.hero h1{overflow-wrap:normal}#share-url{width:100%}#offline-note:not(:empty){padding:1rem;background:#fff0b8;border-radius:12px}#landing .hero h1{font-size:clamp(2.3rem,4.3vw,4.4rem)}

.share-page{max-width:760px;margin:2rem auto;padding:1rem}.image-preview{max-width:100%;max-height:180px}

.swipe-pad{touch-action:none;user-select:none;min-height:90px;display:flex;align-items:center;justify-content:center;background:#f0e9f7;border:1px dashed #b49acf;border-radius:14px;margin-top:1rem;padding:1rem;font-size:.9rem;color:#66537d}.study-card{transition:transform .12s ease}@media(prefers-reduced-motion:reduce){.study-card{transition:none}}

.gesture-demo{position:relative;max-width:450px;margin-top:2.2rem}.gesture-demo .demo-card{margin-top:0}.gesture-up{display:flex;flex-direction:column;align-items:center;width:100%;color:#80641b;font-weight:600}.gesture-up svg{width:70px;height:58px}.gesture-sides{display:flex;justify-content:space-between;gap:20px;margin-top:12px;color:#70548f;font-size:.9rem}.gesture-sides>div{display:flex;flex-direction:column;align-items:center}.gesture-sides svg{width:130px;height:40px}.gesture-demo svg{overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:5 7;animation:gesture-flow 4s linear infinite}@keyframes gesture-flow{to{stroke-dashoffset:-48}}@media(prefers-reduced-motion:reduce){.gesture-demo svg{animation:none}}

/* Compact workspace with a dedicated learning view. */
html,body{max-width:100%;overflow-x:clip}main,header,nav,.toolbar,.toolbar>*{min-width:0}select{max-width:100%;min-width:0}.file-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.is-learning .workspace-head,.is-learning>.guide{display:none}.is-learning #stats{font-size:.78rem;padding:.4rem 0;margin:.5rem 0}.is-learning #learn-view{margin:.5rem auto}.is-learning .toolbar>.tabs{width:100%}.is-learning #offline-note:empty{display:none}.study-card{min-height:320px}.guide #add-examples{margin:.7rem 0}
@media(max-width:780px){
body.workspace-mode header{padding:.5rem .85rem;gap:.5rem}.workspace-mode .brand{font-size:1.45rem;gap:.3rem}.workspace-mode .brand img{width:26px;height:30px}.workspace-mode #topnav{gap:.4rem;font-size:.8rem;flex-wrap:wrap;justify-content:flex-end}.workspace-mode #topnav span{max-width:110px;overflow:hidden;text-overflow:ellipsis}.workspace-mode main{padding:.5rem .85rem 1.5rem}.workspace-head{margin:.5rem 0 .75rem;gap:.5rem;align-items:center}.workspace-head h1{font-size:1.45rem}.workspace-head .eyebrow{display:none}.workspace-head .button{font-size:.85rem;padding:.65rem .8rem}.guide{margin:.5rem 0 .75rem;padding:.6rem .75rem;font-size:.85rem}.toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem}.toolbar>.tabs{grid-column:1/-1;min-width:0}.toolbar label{min-width:0;font-size:.75rem}.toolbar select{font-size:1rem;padding:.5rem .35rem}.toolbar .tabs button{min-height:48px;font-weight:650;font-size:1rem}.toolbar .tabs .active{background:var(--purple);color:white}.file-actions button{flex:1;font-size:.75rem;padding:.5rem;min-width:0}.study-card{padding:1rem;margin:.6rem 0 1.1rem;min-height:340px}.study-card>h2{font-size:1.55rem;margin:1rem 0}.answer{padding:1rem}.answer p{font-size:1.25rem}.checkline{margin:.5rem 0}.selection{gap:.4rem}.selection button{max-width:100%}.row{gap:.5rem}footer{padding:1rem}.gesture-demo{max-width:100%}
}

/* Learning comes first at every screen size. */
.workspace-mode header{padding:.7rem 1.2rem}.workspace-mode .brand{font-size:1.65rem}.workspace-mode .brand img{width:30px;height:34px}.workspace-mode #topnav{font-size:.85rem}.workspace-head{margin:.5rem 0 .8rem}.workspace-head .eyebrow{display:none}.workspace-head h1{font-size:1.8rem}.workspace-head .button{padding:.65rem .9rem;font-size:.9rem}.guide{padding:.55rem .8rem;margin:.5rem 0 .8rem;font-size:.85rem}.toolbar{display:grid;grid-template-columns:minmax(220px,2fr) minmax(120px,1fr) minmax(120px,1fr);gap:.75rem;align-items:end}.toolbar>.tabs{width:100%;margin:0}.toolbar label{min-width:0;font-size:.75rem}.toolbar .tabs button{min-height:48px;font-size:1rem;font-weight:650}.toolbar .tabs .active{background:var(--purple);color:white}.is-learning .toolbar>.tabs{width:100%}.card-tools{margin:.75rem 0;color:var(--muted);font-size:.8rem}.card-tools>summary{display:list-item;width:fit-content;padding:.35rem 0}.card-tools[open]{padding:.65rem;border:1px solid #e4dce8;border-radius:8px}.card-tools .file-actions{margin:.65rem 0}.card-tools button{font-size:.78rem;padding:.45rem .65rem}.card-tools .selection{justify-content:flex-start;flex-wrap:wrap;gap:.5rem}.stats{font-size:.8rem;padding:.4rem 0;margin:.5rem 0}.is-learning #learn-view{max-width:850px}.study-card{min-height:360px}.workspace-mode #offline-note:empty{display:none}
@media(max-width:780px){.toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.toolbar>.tabs{grid-column:1/-1}.workspace-head h1{font-size:1.45rem}.workspace-mode header{padding:.5rem .85rem}.workspace-mode .brand{font-size:1.45rem}.card-tools .selection{align-items:stretch}.study-card{min-height:340px}}

/* Approved 0.3.2: question first, answer first after revealing. */
#learn-view{max-width:850px}.study-card{display:flex;flex-direction:column;align-items:stretch;min-height:420px;padding:1.8rem 2rem;background:#fff;border:1px solid #d8c6ef;border-radius:16px;box-shadow:8px 8px 0 #dfede3;margin:1rem 0}.study-card>.topic{order:0;text-align:center;font-size:.75rem;font-weight:400}.study-card>h2{order:1;text-align:center;font-size:clamp(2rem,4vw,3.3rem);font-weight:750;line-height:1.2;letter-spacing:-.035em;margin:auto 0;padding:2rem 0;white-space:pre-wrap}.study-card.long-question>h2{font-size:clamp(1.5rem,3vw,2.2rem)}.study-card.revealed>h2{font-size:1rem;font-weight:450;letter-spacing:0;color:var(--muted);padding:0;margin:1.3rem 0 .5rem}.study-card>.card-picture{order:2;align-self:center}.study-card>.answer{order:3;text-align:center;padding:1.3rem;margin:.5rem 0 1rem;background:#e1f1e8}.study-card .answer p{font-size:clamp(1.6rem,3vw,2.3rem);font-weight:650;line-height:1.4;margin:.5rem 0 0}.study-card.long-answer .answer p{font-size:clamp(1.15rem,2.2vw,1.5rem);font-weight:550}.study-card>details{order:4;font-size:.85rem;margin:.4rem 0}.study-card>.row-actions{order:5;justify-content:flex-end;margin:.25rem 0;gap:.5rem}.study-card>.row-actions button{font-size:.78rem;min-height:44px;padding:.3rem .55rem}.study-card>.row-actions .favorite{margin-right:auto;background:transparent;border:0;color:var(--purple)}.study-card>.button{order:6;align-self:center;width:auto;font-size:.95rem;padding:.65rem 1.2rem;margin:.5rem 0 0}.study-card>.ratings{order:6;display:flex;justify-content:center;gap:.5rem;margin:.7rem 0 0}.study-card>.ratings button{flex:0 1 auto;width:auto;min-height:44px;font-size:.8rem;font-weight:500;padding:.5rem 1rem;border-radius:9px}.swipe-pad{background:transparent;border:0;text-align:center;font-size:.75rem;min-height:44px;margin:.25rem 0;padding:.75rem .2rem;color:var(--muted)}.toolbar .tabs button{border-radius:8px}.toolbar .tabs{border-radius:10px}
@media(max-width:780px){.study-card{min-height:360px;padding:1.15rem;margin:.6rem 0 .8rem}.study-card>h2{font-size:2.2rem;padding:1.6rem 0}.study-card.revealed>h2{font-size:.88rem;padding:0;margin:1rem 0 .4rem}.study-card .answer p{font-size:1.5rem}.study-card.long-answer .answer p{font-size:1.15rem}.study-card>.ratings{gap:.4rem}.study-card>.ratings button{font-size:.75rem;padding:.45rem .7rem;min-height:44px}.study-card>.row-actions button{font-size:.72rem}.swipe-pad{font-size:.7rem}.study-card>.answer{padding:1rem}}

#favorites-filter{min-height:44px;font-size:.85rem;align-self:end;color:var(--purple)}#favorites-filter[aria-pressed=true]{background:var(--purple);color:white;border-color:var(--purple)}

/* 0.3.5: secondary filters, primary learning navigation. */
#trainer .toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.15rem .7rem}
#trainer .toolbar>.tabs{flex:0 0 100%;width:100%;margin-bottom:.35rem}
#trainer .toolbar>#favorites-filter{flex:0 0 auto;min-height:44px;padding:.35rem .45rem;font-size:.78rem;font-weight:400;color:var(--muted);background:transparent;border:0;border-radius:5px;align-self:center}
#trainer .toolbar>#favorites-filter[aria-pressed=true]{background:transparent;color:var(--purple);font-weight:650;text-decoration:underline;text-underline-offset:4px}
#trainer .toolbar>label{display:block;flex:0 1 210px;width:auto;min-width:0;margin:0;font-size:0;font-weight:400}
#trainer .toolbar select{font-size:.78rem;font-weight:400;min-height:44px;padding:.35rem 1.6rem .35rem .45rem;color:var(--muted);background:transparent;border:0;border-radius:5px;max-width:100%;width:100%}
#trainer .toolbar select:focus-visible,#trainer .toolbar>#favorites-filter:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
@media(max-width:780px){#trainer .toolbar{justify-content:flex-end;gap:0 .45rem}#trainer .toolbar>label{flex:0 1 165px}#trainer .toolbar>.tabs{margin-bottom:.1rem}#trainer .toolbar select,#trainer .toolbar>#favorites-filter{font-size:.75rem}}

#guide-shell{position:relative}#guide-shell .guide{padding-right:3rem}#dismiss-guide{position:absolute;right:.15rem;top:0;min-width:44px;min-height:44px;font-size:1.25rem;text-decoration:none;z-index:1}#show-guide{font-size:.75rem;min-height:44px}.is-learning #guide-shell,.is-learning #show-guide{display:none}

#list-view>.card-tools{padding:0;border:0;margin:.65rem 0;background:none}#list-view>.card-tools .file-actions{margin:.5rem 0}#list-view>.card-tools .selection{margin:.5rem 0}


/* SOURCE: assets/paper-theme.css */
/* Flipoa 0.9.8 – tactile paper, restrained illustrations */
:root{--ink:#352443;--muted:#776a80;--purple:#8765b4;--paper:#faf7f0}
body{background-color:var(--paper);background-image:linear-gradient(#faf8f34d,#faf8f34d),url('paper.png');background-size:auto,640px}
.brand{letter-spacing:0}.brand img{display:block;width:180px!important;height:auto!important;max-height:70px;object-fit:contain}.workspace-mode .brand img{width:142px!important;max-height:55px}.brand-tagline{font-family:'Segoe Print','Bradley Hand',cursive;font-size:.82rem;color:#887393;margin:.3rem 0;letter-spacing:.02em}
#trainer .toolbar{justify-content:center}#trainer .toolbar>.tabs{background:transparent;justify-content:center;border-radius:0;gap:2rem;padding:0}#trainer .toolbar>.tabs button{position:relative;flex:0 1 190px;background:transparent;color:var(--muted);border-radius:0;font-size:1rem;font-weight:500}#trainer .toolbar>.tabs button.active{background:transparent;color:var(--ink);font-weight:700}#trainer .toolbar>.tabs button.active:after{content:'';position:absolute;bottom:0;left:24%;right:24%;height:3px;background:#9976c4;border-radius:90% 30% 80% 20%;transform:rotate(-1deg)}
#trainer .toolbar>label{flex-basis:170px}.stats{text-align:center;font-size:.75rem;border-bottom:1px solid #bcaac42b;color:var(--muted)}
.study-card{isolation:isolate;border:1px solid #e5dfd5;border-radius:19px 15px 21px 14px;background:#fffdf8;box-shadow:0 9px 18px #59452b17,0 2px 3px #59452b12;min-height:430px;margin:2.8rem 0 1rem;padding:1.8rem 2.4rem}.study-card:before,.study-card:after{content:'';position:absolute;inset:-7px -4px -6px;z-index:-2;border-radius:16px;pointer-events:none;background:#dfd0eb;box-shadow:0 2px 5px #46315112;transform:rotate(-2.2deg)}.study-card:after{z-index:-1;inset:0;transform:none;background:linear-gradient(#fffdf8bb,#fffdf8bb),url('paper.png');background-size:auto,580px;border-radius:inherit}.study-card .card-friends{position:absolute;right:1rem;top:-47px;width:86px;height:70px;z-index:-1;pointer-events:none}.study-card>.topic{font-size:.72rem;color:#86768d}.study-card>h2{font-weight:750;letter-spacing:-.035em}.study-card.revealed{background:#fffdf8}.study-card.revealed>h2{font-size:1rem;margin:1.4rem 0 .7rem;color:#685574}.study-card>.answer{background:transparent;padding:1rem .5rem 1.4rem;border-radius:0;margin:0 0 1rem}.study-card .answer small{font-weight:400;color:#85738d}.study-card .answer p{background:url('marker.svg') center/100% 100% no-repeat;padding:.65rem .7rem;display:table;margin:.7rem auto 0;font-size:clamp(1.8rem,3.3vw,2.8rem);line-height:1.4}.study-card.long-answer .answer p{background:none;font-size:clamp(1.15rem,2.2vw,1.5rem);padding:.3rem 0;text-align:left;font-weight:500}.study-card>.row-actions{border-top:1px solid #bbaa9829;padding-top:.4rem}.study-card>.ratings{gap:.6rem}.study-card>.ratings button{border-radius:45% 48% 42% 43% / 18px;box-shadow:0 2px 2px #4c394012;border:1px solid #a28aab14;padding:.5rem 1.1rem;transition:transform .15s}.study-card>.ratings button:hover{transform:translateY(-2px)}.button{background:linear-gradient(165deg,#a07bc5,#7e5aac);border-radius:20px;box-shadow:0 3px 5px #5e457127}.swipe-pad{color:#827389;font-size:.72rem}.paper-motto{text-align:center;font-family:'Segoe Print','Bradley Hand',cursive;color:#887393;font-size:.95rem;margin:1.5rem 0 .5rem}.paper-motto:after{content:' ●  ●  ●';display:block;font-family:system-ui;font-size:.8rem;letter-spacing:.4rem;color:#bba6cf;margin-top:.5rem}.row{background:linear-gradient(#fffdf8cc,#fffdf8cc),url('paper.png');background-size:auto,580px;border-color:#e5ddd2;box-shadow:0 3px 6px #49342308}.access{background:linear-gradient(#fffdf8cc,#fffdf8cc),url('paper.png');background-size:auto,580px;border-color:#e5ddd2;box-shadow:0 7px 18px #49342308}.guide{background:#eae1ef88}.file-actions button{background:transparent;border-color:#c6b8cc7a;box-shadow:none}.hero .demo-card .front{background:linear-gradient(#eee3f1bb,#eee3f1bb),url('paper.png');background-size:auto,580px}.hero .demo-card .back{background:linear-gradient(#dfecdfbb,#dfecdfbb),url('paper.png');background-size:auto,580px}
@media(min-width:1150px){#learn-view{position:relative;max-width:760px}.learning-mode #trainer{max-width:1080px}#learn-view:before{content:'Jeden Tag ein bisschen schlauer.';position:absolute;left:-150px;top:170px;width:125px;color:#9985a1;font:1rem/1.65 'Segoe Print','Bradley Hand',cursive;transform:rotate(-7deg);pointer-events:none}}
@media(max-width:780px){.brand img{width:145px!important;height:auto!important;max-height:57px}.workspace-mode .brand img{width:126px!important;max-height:49px}.brand-tagline{display:none}#trainer .toolbar>.tabs{gap:1.3rem}#trainer .toolbar>.tabs button{flex:1}.study-card{padding:1.25rem 1.1rem;min-height:350px;margin-top:2.1rem}.study-card .card-friends{width:62px;height:54px;top:-34px;right:.6rem}.study-card:before{inset:-4px -1px -4px;transform:rotate(-1.8deg)}.study-card.revealed>h2{font-size:.88rem}.study-card .answer p{font-size:1.7rem;padding:.55rem .35rem}.study-card.long-answer .answer p{font-size:1.15rem}.study-card>.ratings button{font-size:.75rem;padding:.45rem .7rem}.paper-motto{font-size:.8rem;margin:1rem 0}.study-card>.answer{padding:.7rem .1rem 1rem}}
@media(prefers-reduced-motion:reduce){.study-card>.ratings button{transition:none}.study-card>.ratings button:hover{transform:none}}

.study-card:before{box-shadow:8px 10px 0 -2px #c6dfd0,0 2px 5px #46315112}

/* 0.4.1 – identical navigation geometry in both views */
html{scrollbar-gutter:stable}
#trainer{position:relative}
#trainer .workspace-head,#trainer.is-learning .workspace-head{display:flex;align-items:center;justify-content:space-between;min-height:54px;margin:.5rem 0 .8rem;gap:.6rem}
#trainer #stats,#trainer.is-learning #stats{padding:.4rem 0;margin:.5rem 0;font-size:.75rem}
#trainer .toolbar{margin:0}
#trainer .background-notes{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
#trainer .background-notes span{position:absolute;font-family:'Segoe Print','Bradley Hand','Comic Sans MS',cursive;font-size:1rem;line-height:1.6;color:#887496;opacity:.72}
.background-notes .note-curiosity{left:5px;top:285px;transform:rotate(-8deg)}
.background-notes .note-small{right:5px;top:385px;transform:rotate(7deg)}
.background-notes .note-future{right:8px;top:690px;transform:rotate(-5deg)}
#trainer .background-notes~*{position:relative}
#trainer #learn-view:before{content:none}
@media(min-width:1150px){#trainer #learn-view{max-width:740px}.background-notes span{max-width:125px}}
@media(max-width:1149px){#trainer .background-notes{display:none}}
@media(max-width:780px){#trainer .workspace-head,#trainer.is-learning .workspace-head{min-height:48px;flex-wrap:nowrap}#trainer .workspace-head h1{font-size:1.25rem}#trainer .workspace-head .button{font-size:.8rem;padding:.6rem .75rem;white-space:nowrap}.paper-motto:before{content:'Kleine Schritte. Großer Fortschritt.';display:block;font-size:.75rem;margin-bottom:.35rem}}

#trainer,.learning-mode #trainer{max-width:1080px}

/* 0.4.2: slightly stronger primary navigation and card favorite */
#trainer .toolbar>.tabs button{font-size:1.12rem;min-height:50px}
.study-card>.row-actions .favorite{font-size:.95rem;padding:.4rem .65rem;min-height:44px}
@media(max-width:780px){#trainer .toolbar>.tabs button{font-size:1.05rem}.study-card>.row-actions .favorite{font-size:.88rem}}

/* 0.4.3 – paper cards, quiet decoration, clearly separated actions */
body{background-image:linear-gradient(#faf8f3bb,#faf8f3bb),url('paper.png')}
.row,.access{background-image:linear-gradient(#fffdf873,#fffdf873),url('paper.png');background-size:auto,440px}
.study-card:after{background-image:linear-gradient(#fffdf873,#fffdf873),url('paper.png');background-size:auto,440px}
.hero .demo-card .front{background-image:linear-gradient(#eee3f180,#eee3f180),url('paper.png');background-size:auto,440px}
.hero .demo-card .back{background-image:linear-gradient(#dfecdf80,#dfecdf80),url('paper.png');background-size:auto,440px}
.row{border-radius:14px 19px 16px 12px;border-left:4px solid #c9b2de;box-shadow:0 5px 12px #4934230d;margin-bottom:1rem;padding:1.2rem;gap:1rem;align-items:center}
.row:nth-child(even){border-left-color:#b1cdbb}
.row>div{min-width:0}.row h3{overflow-wrap:anywhere;line-height:1.4}
.row .row-actions,.study-card>.row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.row .row-actions>button{font-size:.8rem;background:transparent}
.row .row-actions>.favorite,.study-card>.row-actions>.favorite{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;padding:0;font-size:1.65rem;line-height:1;border:0;border-radius:50%;background:transparent;color:#806294}
.favorite[aria-pressed="true"]{color:#977020!important;background:#f5e7b64d!important}
.favorite:focus-visible{outline:2px solid #806294;outline-offset:3px}
.workspace-note,.landing-note{font-family:'Segoe Print','Bradley Hand','Comic Sans MS',cursive;color:#887393;font-size:.9rem;line-height:1.6;margin:.45rem 0 0}
.landing-note{margin:0 0 1.3rem;font-size:1rem}
#trainer .workspace-head,#trainer.is-learning .workspace-head{padding:.8rem 0 1rem;min-height:96px;margin:0 0 .5rem}
#trainer .workspace-head h1{font-size:clamp(1.35rem,2.8vw,2rem);margin:0}
#trainer .workspace-head .eyebrow{display:none}
.hero{gap:3.5rem}.access{border-radius:22px 16px 20px 15px;box-shadow:5px 7px 0 #dfd0eb66,0 12px 28px #4934230d}
@media(max-width:780px){.row{grid-template-columns:22px minmax(0,1fr);padding:1rem;gap:.6rem}.row .row-actions{grid-column:2;justify-content:flex-start;gap:.6rem}.workspace-note{font-size:.72rem}#trainer .workspace-head h1{font-size:1.25rem}#trainer .workspace-head,#trainer.is-learning .workspace-head{min-height:96px}.hero{gap:2rem}.landing-note{font-size:.85rem}.access{padding:1.3rem}.row .row-actions>.favorite,.study-card>.row-actions>.favorite{font-size:1.6rem}}
@media print{.row,.access,.study-card:after,.hero .demo-card .front,.hero .demo-card .back{background-image:none;box-shadow:none}}

/* 0.4.4: visible paper illustration and tactile card surfaces */
#trainer .workspace-head,#trainer.is-learning .workspace-head{display:grid;grid-template-columns:minmax(0,1fr) 230px auto;gap:1rem;min-height:185px;padding:.5rem 0;margin:0}
.paper-illustration{position:relative;width:230px;height:175px;pointer-events:none}
.illustration-card{position:absolute;width:145px;height:104px;left:35px;top:48px;border:1px solid #a99abb;border-radius:5px;box-shadow:3px 7px 8px #35244322;background-image:url('paper.png');background-size:300px}
.illustration-card.rear{background-color:#b9d9c5;background-blend-mode:multiply;transform:rotate(14deg);left:63px;top:58px}
.illustration-card.front{background-color:#dcc8ed;background-blend-mode:multiply;transform:rotate(-9deg);padding:18px 20px;color:#523c67;font:1.4rem/1.2 'Segoe Print','Bradley Hand','Comic Sans MS',cursive}
.illustration-card.front>span{position:absolute;right:12px;bottom:10px;font-size:1.6rem}
.illustration-note{position:absolute;left:13px;top:0;font:1.25rem/1.5 'Segoe Print','Bradley Hand','Comic Sans MS',cursive;color:#806393;transform:rotate(-6deg)}
.illustration-arrow{position:absolute;left:0;top:50px;font-size:2.5rem;color:#ad87be;transform:rotate(60deg)}
.workspace-note,.landing-note{font-size:1.15rem;color:#806393}
.row{background-image:url('paper.png');background-size:380px;background-color:#fff9e9;background-blend-mode:multiply;box-shadow:2px 5px 0 #d7c6b04a,0 10px 20px #58412a12;border:1px solid #d2c3b0;border-left:5px solid #c0a3d8;border-radius:5px 9px 7px 5px;padding:1.3rem}
.study-card:after{background-image:url('paper.png');background-size:380px;background-color:#fff9e9;background-blend-mode:multiply}
.access{background-image:url('paper.png');background-size:380px;background-color:#fff9ed;background-blend-mode:multiply}
.hero .demo-card .front,.hero .demo-card .back{background-image:url('paper.png');background-size:380px;background-blend-mode:multiply}
.hero .demo-card .front{background-color:#e5d4f1}.hero .demo-card .back{background-color:#cde3d3}
.card-tools{margin:.5rem 0}.card-tools .file-actions{gap:.7rem}.card-tools .file-actions button{font-size:.75rem;padding:.3rem .5rem;border:0;text-decoration:underline;text-underline-offset:4px;min-height:44px}.card-tools .selection{font-size:.75rem;margin:.25rem 0}.card-tools .selection label{font-size:.75rem}
#trainer #stats{margin:.25rem 0;padding:.3rem 0}#trainer .toolbar>.tabs{margin-bottom:0}
@media(max-width:780px){#trainer .workspace-head,#trainer.is-learning .workspace-head{grid-template-columns:minmax(0,1fr) 140px;min-height:175px;gap:.2rem .4rem}.paper-illustration{width:140px;height:140px;grid-column:2;grid-row:1 / span 2;transform:scale(.7);transform-origin:left center}#new-card{justify-self:start;grid-column:1;grid-row:2}.workspace-note{font-size:.85rem}.row{display:grid;grid-template-columns:22px minmax(0,1fr)}.row .row-actions{grid-column:2;margin-left:0}.landing-note{font-size:1rem}}

#email-confirmation{max-width:480px;width:calc(100% - 2rem);max-height:calc(100dvh - 2rem);overflow:auto;text-align:center;padding:2.5rem 2rem;border:1px solid #d2c3dc;border-radius:20px;background:#fffaf1 url('paper.png') center/440px;box-shadow:0 20px 80px #30204044}#email-confirmation::backdrop{background:#30204099}#email-confirmation .confirmation-close{position:absolute;top:.5rem;right:.5rem;border:0;background:transparent;font-size:1.5rem}#email-confirmation h2{font-size:clamp(1.8rem,5vw,2.4rem);margin:.5rem 0 1rem}#email-confirmation .confirmation-icon{font-size:3rem;color:#805da9}#confirmation-email{font-weight:650;overflow-wrap:anywhere;background:#ece3f2;padding:.65rem;border-radius:8px}#email-confirmation .confirmation-help{font-size:.85rem;color:#756780}#email-confirmation>.button{width:100%;min-height:48px}#confirmation-status{font-size:.85rem}#confirmation-status:empty{display:none}

.row .question-preview{display:block;text-align:left;padding:0;border:0;border-radius:3px;background:transparent;font:inherit;color:inherit;line-height:inherit;min-height:44px;width:100%;overflow-wrap:anywhere}.question-preview:hover{color:#805da9;text-decoration:underline;text-underline-offset:4px}.question-preview:focus-visible{outline:2px solid #805da9;outline-offset:4px}
#card-preview{width:calc(100% - 2rem);max-width:660px;max-height:calc(100dvh - 2rem);overflow:auto;padding:1.5rem;border:1px solid #d2c3b0;border-radius:12px;background:#fff9e9 url('paper.png') center/380px;box-shadow:0 20px 70px #30204044}#card-preview::backdrop{background:#30204099}#card-preview .dialog-head{font-size:.8rem;color:#776a80}#card-preview-content{text-align:center}#card-preview h2{font-size:clamp(1.6rem,4vw,2.3rem);white-space:pre-wrap;overflow-wrap:anywhere;margin:1.5rem 0;line-height:1.3}#card-preview.revealed h2{font-size:1rem;font-weight:450;color:#776a80}#card-preview .preview-answer>p{font-size:clamp(1.4rem,3vw,1.9rem);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-weight:600}#card-preview .preview-answer>.preview-background{font-size:1rem;font-weight:400}#card-preview .preview-answer small{font-size:.7rem;letter-spacing:.1em;color:#776a80}#card-preview details{text-align:left;white-space:pre-wrap}#card-preview .card-picture{max-width:100%;max-height:220px;object-fit:contain}

/* 0.5: the friendly learning notebook */
body{background:#faf9f5}
.hero h1{font-size:clamp(2.5rem,4.5vw,4rem);font-weight:720;letter-spacing:-.035em;line-height:1.09}.hero h1 em{text-decoration:none}.hero h1 em:after{content:'';display:block;width:66%;height:5px;background:#b4cebc;border-radius:70% 20%;margin-top:.4rem;transform:rotate(-1deg)}
.hero{align-items:start;gap:3.5rem;padding-top:1.2rem}.hero .access{margin-top:4rem;background:#fffefd;box-shadow:5px 6px 0 #e8e0ee,0 10px 25px #46344e09;border-color:#e4deea}.hero .landing-note{font-size:1rem;margin-bottom:1.2rem}
#trainer .workspace-head,#trainer.is-learning .workspace-head{min-height:132px;grid-template-columns:minmax(0,1fr) 170px auto;padding:0;margin-bottom:.3rem}#trainer .workspace-head h1{font-weight:650;letter-spacing:-.025em;font-size:clamp(1.4rem,2.6vw,1.85rem)}.paper-illustration{width:170px;height:130px;transform:scale(.75);transform-origin:center center}.illustration-card{top:17px}.illustration-card.rear{top:27px}.illustration-arrow{top:15px}
#trainer .toolbar>.tabs{gap:1rem}#trainer .toolbar>.tabs button{font-weight:550}#trainer .toolbar>.tabs button.active{font-weight:700}
#trainer #stats{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:.2rem 1rem;margin:.2rem 0 .6rem;padding:.3rem 0 .6rem}#stats strong{font-size:.85rem;font-weight:550;color:#635170}#stats small{font-size:.72rem;color:#897e90}
.card-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.2rem 1rem;margin:.4rem 0 .8rem}.card-tools .file-actions,.card-tools .selection{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .8rem}.card-tools .selection label{margin:0;min-height:44px;display:flex;align-items:center}.card-tools .selection .link{font-size:.72rem}.card-tools .file-actions button{color:#776a80;text-decoration:none}.card-tools .file-actions button:hover{text-decoration:underline}
.row,#card-preview{background-color:#fffefb;background-image:linear-gradient(#ffffff6b,#ffffff6b),url('paper.png');background-size:auto,460px;background-blend-mode:normal;border-color:#e2ddd3;box-shadow:1px 3px 0 #e2ddd3,0 8px 15px #463b2f0c}.row{padding:1rem 1.15rem;border-left-width:3px}.row:nth-child(odd){border-left-color:#c2acd7}.row:nth-child(even){border-left-color:#accbb7}.row h3{font-size:1.08rem;font-weight:650;line-height:1.45}.row .row-actions>button:not(.favorite){font-size:.75rem;border:0;color:#82738c;background:transparent}.row .row-actions>button:not(.favorite):hover{color:#493157;text-decoration:underline}.row .row-actions{gap:.6rem}
.study-card{background:#fffefb}.study-card:after{background:linear-gradient(#ffffff6b,#ffffff6b),url('paper.png');background-size:auto,460px}.hero .demo-card .front{background:linear-gradient(#e9dcf0aa,#e9dcf0aa),url('paper.png');background-size:auto,460px}.hero .demo-card .back{background:linear-gradient(#d9e9dcaa,#d9e9dcaa),url('paper.png');background-size:auto,460px}
.round-finish{text-align:center;padding:2rem 1rem}.round-finish img{width:100px;height:90px;animation:friends-arrive .4s ease-out}.round-finish h2{font-size:1.8rem;margin:.5rem 0}.round-finish p{max-width:460px;margin:auto;color:#776a80}
.answer-arriving{animation:paper-reveal .28s ease-out;transform-origin:50% 0}.favorite.star-celebrate{position:relative;animation:star-pop .35s ease-out}.favorite.star-celebrate:after{content:'✧';position:absolute;top:-7px;right:0;color:#b49b4d;animation:spark-fade .6s ease-out forwards;pointer-events:none}
@keyframes paper-reveal{from{opacity:.25;transform:perspective(700px) rotateX(-14deg) translateY(5px)}to{opacity:1;transform:none}}@keyframes star-pop{50%{transform:scale(1.2) rotate(-9deg)}}@keyframes spark-fade{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes friends-arrive{from{opacity:0;transform:translateY(7px) rotate(-5deg)}to{opacity:1;transform:none}}
@media(max-width:780px){.hero{padding-top:.5rem;gap:2rem}.hero .access{margin-top:0}.hero h1{font-size:clamp(2.3rem,8vw,3.4rem)}#trainer .workspace-head,#trainer.is-learning .workspace-head{grid-template-columns:minmax(0,1fr) 125px;min-height:140px;gap:0 .3rem}.paper-illustration{width:125px;height:115px;transform:scale(.6);transform-origin:left center}#trainer .workspace-head h1{font-size:1.3rem}.card-tools{align-items:flex-start;gap:.2rem}.card-tools .selection{gap:.2rem .7rem}.row{padding:.9rem}.row h3{font-size:1rem}#trainer #stats{gap:.2rem .5rem}}
@media(prefers-reduced-motion:reduce){.answer-arriving,.favorite.star-celebrate,.favorite.star-celebrate:after,.round-finish img{animation:none}.favorite.star-celebrate:after{display:none}.demo-inner{transition:none}}

/* 0.6 – real editorial landing page, responsive independent artwork */
#landing{max-width:1500px;padding:1.5rem 2rem 2rem;background:transparent}body:has(#landing:not([hidden])){background:#faf8f3;background-image:linear-gradient(#faf8f3c9,#faf8f3c9),url('paper.png');background-size:auto,700px}
#landing .hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.05fr) minmax(300px,1fr);gap:1.4rem;align-items:center;padding:1rem 0 2rem}.hero-copy{min-width:0;position:relative;z-index:1}#landing .hero h1{font-size:clamp(2.5rem,3.8vw,3.6rem);font-weight:730;line-height:1.08;letter-spacing:-.045em;margin:0 0 1.3rem}#landing .hero h1 em:after{width:80%}#landing .hero .lead{font-size:1rem;line-height:1.6;margin-bottom:1.5rem}#landing .landing-note{font-size:.9rem;margin-bottom:1.5rem}.hero-copy>.link{display:block;margin-top:.75rem;font-size:.8rem}
.hero-art{position:relative;min-width:0;margin:0;align-self:center;padding-top:1.8rem}.hero-art img{width:100%;height:auto;display:block;filter:drop-shadow(0 9px 8px #4935300d)}.art-note{display:block;text-align:center;color:#806393;font:1.25rem/1.6 'Segoe Print','Bradley Hand','Comic Sans MS',cursive;transform:rotate(-7deg);margin-bottom:-.5rem}
#landing .hero .access{min-width:0;margin:0;padding:1.7rem 1.5rem;background:#fffefd;border:1px solid #e5dcec;border-radius:19px;box-shadow:5px 7px 0 #e8e0ee88,0 12px 32px #47334c0a}#landing .access h2{font-size:1.4rem}#landing .access .tabs button{font-size:.8rem}#landing .access .small-links{gap:.2rem}#landing .access input{min-width:0}#zugang{scroll-margin-top:1.5rem}
.learning-benefits{border-top:1px solid #ded5e3;border-bottom:1px solid #ded5e3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:1.4rem 0;gap:1rem;text-align:center}.learning-benefits>div>span{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:44% 56% 48% 52%;background:#e9e0f0;font-size:2rem;color:#644a7a}.learning-benefits>div:nth-child(2)>span{background:#dfebe2}.learning-benefits h2{font-size:1.05rem;margin:.6rem 0 .1rem}.learning-benefits p{font-size:.85rem;color:#776a80;margin:0}.landing-demo{text-align:center;padding:2rem 0 0}.landing-demo>h2{font-size:1.2rem;font-weight:600}.landing-demo .gesture-demo{max-width:360px;margin:auto}.landing-demo>.caption{margin:.5rem auto;max-width:420px}
@media(min-width:701px) and (max-width:1100px){#landing .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem 2rem}#landing .hero .access{grid-column:1/-1;width:100%;max-width:520px;justify-self:center}#landing .hero h1{font-size:clamp(2.6rem,5vw,3.5rem)}.hero-art{max-width:400px;justify-self:center}}
@media(max-width:700px){#landing{padding:.7rem 1rem 1.5rem}#landing .hero{grid-template-columns:minmax(0,1fr);gap:1.25rem;padding-top:.5rem}.hero-copy{text-align:center}#landing .hero h1{font-size:clamp(2.35rem,9vw,3.5rem);margin-bottom:1rem}#landing .hero h1 em:after{margin:.4rem auto 0}#landing .hero .lead{margin:0 auto 1.2rem}#landing .landing-note{margin-bottom:1rem}.hero-copy>.link{margin:.5rem auto 0}.hero-art{width:100%;max-width:370px;justify-self:center;padding-top:0}.hero-art .art-note{font-size:1rem}#landing .hero .access{padding:1.4rem 1.15rem;width:100%;max-width:470px;justify-self:center}.learning-benefits{gap:.4rem;padding:1.2rem 0}.learning-benefits h2{font-size:.85rem}.learning-benefits p{font-size:.73rem}.learning-benefits>div>span{width:38px;height:38px;font-size:1.6rem}}

/* 0.6.1 – photographic paper environment and downward ambient shadows */
body:has(#landing:not([hidden])){background-color:#f7f2e8;background-image:url('desk-landscape.webp');background-size:100% auto;background-position:center top;background-repeat:no-repeat}
body:has(#landing:not([hidden]))>header{max-width:1280px;padding-left:3rem;padding-right:3rem}
#landing .hero{padding-top:0;padding-bottom:2rem}
#landing .hero .access{box-shadow:0 6px 9px #493b4520,0 25px 34px -12px #493b453b;background:#fffefcf5}
.hero-art img{filter:drop-shadow(0 16px 12px #493b4524)}
#landing .learning-benefits{position:relative;background:linear-gradient(180deg,#fffdf52b,#e8e2d56b);box-shadow:0 24px 30px -22px #463c4657;border-color:#bcb1b533;border-radius:0 0 24px 24px;margin-bottom:1.5rem}
@media(max-width:1100px){body:has(#landing:not([hidden])){background-image:url('desk-portrait.webp');background-size:100% auto}}
@media(max-width:700px){body:has(#landing:not([hidden]))>header{padding:1rem 1.25rem;background:#fffdf48c}#landing .hero{padding-top:1.5rem}#landing .hero .access{box-shadow:0 5px 8px #493b451c,0 19px 25px -12px #493b4540}#landing .learning-benefits{box-shadow:0 18px 24px -18px #463c4657}}

/* 0.6.4 – shared photographic learning environment */
body:has(#trainer:not([hidden])){background:#f7f2e8 url('desk-landscape.webp') center top / 100% auto no-repeat}
body:has(#trainer:not([hidden]))>header{background:#fffdf478;border-radius:0 0 18px 18px}
#trainer .workspace-head,#trainer.is-learning .workspace-head{grid-template-columns:minmax(0,1fr) 150px auto;min-height:175px}
#trainer .workspace-art{width:150px;height:170px;transform:none;position:relative;display:flex;align-items:center;justify-content:center;grid-column:auto;grid-row:auto;pointer-events:none}
.workspace-art img{display:block;width:125px;height:auto;filter:drop-shadow(0 9px 8px #493b452a)}
.workspace-art>span{position:absolute;bottom:0;right:0;font:1rem 'Segoe Print','Bradley Hand',cursive;color:#806393;transform:rotate(-6deg);white-space:nowrap}
#trainer .row{background:linear-gradient(#fffefb88,#fffefb88),url('paper.png');background-size:auto,460px;box-shadow:0 4px 4px #493b4510,0 14px 20px -12px #493b4540}
#trainer .study-card{box-shadow:0 8px 10px #493b4519,0 25px 35px -14px #493b4540}
#demo-banner{font-size:.85rem;line-height:1.5;background:#f0e9f5e8}
#demo-save{display:block;width:fit-content;margin-top:.65rem;font-size:.85rem;padding:.7rem 1rem}
@media(max-width:1100px){body:has(#trainer:not([hidden])){background-image:url('desk-portrait.webp')}}
@media(max-width:780px){#trainer .workspace-head,#trainer.is-learning .workspace-head{grid-template-columns:minmax(0,1fr) 115px;min-height:175px}#trainer .workspace-art{grid-column:2;grid-row:1 / span 2;width:115px;height:165px}#trainer .workspace-art img{width:110px}.workspace-art>span{font-size:.78rem}#trainer .workspace-head h1{font-size:1.3rem}#trainer .workspace-head #new-card{grid-column:1;grid-row:2}}
@media print{#trainer .workspace-art{display:none}body:has(#trainer:not([hidden])){background:white}}

/* 0.6.5 – compact overview; prominent main navigation */
#trainer #cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:stretch}
#trainer #cards>.row{display:grid;grid-template-columns:20px minmax(0,1fr);grid-template-rows:1fr auto;align-items:start;gap:.3rem .65rem;padding:.85rem 1rem;margin:0;min-width:0;border-radius:12px}
#cards>.row>input{margin: .35rem 0 0}
#cards>.row h3{font-size:.95rem;line-height:1.35;margin:.25rem 0 .35rem}
#cards .question-preview{font-size:inherit;line-height:inherit;padding:0;min-height:0;overflow-wrap:anywhere}
#cards>.row .topic{font-size:.7rem;line-height:1.3}
#cards>.row small:not(.topic){font-size:.68rem;line-height:1.3}
#trainer #cards>.row>.row-actions{grid-column:2;display:flex;align-items:center;justify-content:flex-end;gap:.4rem;margin:0;padding-top:.1rem;flex-wrap:wrap}
#cards>.row .row-actions button{font-size:.72rem;min-height:40px;padding:.35rem .45rem}
#cards>.row .row-actions>.favorite{font-size:1.5rem;width:40px;flex-basis:40px;padding:0}
#cards>.empty{grid-column:1/-1}
#trainer .toolbar>.tabs button{font-size:1.4rem;min-height:58px;flex-basis:230px;padding:.7rem 1rem}
#trainer .toolbar>.tabs button.active{font-weight:750}
@media(max-width:700px){#trainer #cards{grid-template-columns:minmax(0,1fr);gap:.7rem}#trainer .toolbar>.tabs{gap:.3rem}#trainer .toolbar>.tabs button{font-size:1.2rem;min-height:54px;padding:.65rem .5rem}#trainer #cards>.row{padding:.75rem .85rem}}

/* 0.6.7 – expandable topics and continuous paper surface */
body:has(#landing:not([hidden])),body:has(#trainer:not([hidden])){position:relative;isolation:isolate;background:#f7f2e8 url('paper.png') repeat;background-size:480px}
body:has(#landing:not([hidden])):before,body:has(#trainer:not([hidden])):before{content:'';position:absolute;inset:0 0 auto;height:66.67vw;z-index:-1;pointer-events:none;background:url('desk-landscape.webp') center top / 100% auto no-repeat;-webkit-mask-image:linear-gradient(#000 55%,transparent 100%);mask-image:linear-gradient(#000 55%,transparent 100%)}
.card-search-label{font-size:.8rem;max-width:440px;margin:.7rem 0 1rem;color:var(--muted)}.card-search-label input{padding:.6rem .8rem;background:#fffdf7c9}
#cards>.topic-group{grid-column:1/-1;border:1px solid #adc8b6;border-radius:12px;background:#fffdf7bf;box-shadow:0 8px 14px -10px #493b4540;overflow:hidden}
.topic-group>summary{cursor:pointer;padding:1rem 1.1rem;background:#dceadbdc;color:#334c40;list-style:inside;line-height:1.5}.topic-group>summary strong{font-size:1.02rem}.topic-group>summary small{display:inline-block;margin-left:.8rem;color:#647367;font-size:.75rem}.topic-content{padding:.4rem 1rem .8rem}.topic-tools{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap}.topic-tools label{display:flex;align-items:center;font-size:.75rem}.topic-tools button{font-size:.8rem}
.topic-questions{display:grid;gap:0}.topic-questions>.row{display:grid!important;grid-template-columns:20px minmax(0,1fr) auto!important;align-items:center;gap:.65rem!important;border:0!important;border-bottom:1px solid #d8d0c8!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:.55rem 0!important;margin:0!important}
.topic-questions .row .topic{display:none}.topic-questions .row h3{margin:.1rem 0;font-size:.9rem;line-height:1.4}.topic-questions .question-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left;min-height:40px}.topic-questions .row .row-actions{grid-column:3!important;margin:0!important;gap:.15rem!important}.topic-questions .row-actions button{font-size:.7rem;padding:.3rem;min-height:40px}.topic-questions .row-actions>.favorite{font-size:1.35rem;width:40px;flex-basis:40px}
@media(max-width:1100px){body:has(#landing:not([hidden])):before,body:has(#trainer:not([hidden])):before{height:150vw;background-image:url('desk-portrait.webp')}}
@media(max-width:700px){.topic-group>summary small{display:block;margin-left:1rem}.topic-content{padding:.25rem .7rem .7rem}.topic-questions>.row{grid-template-columns:20px minmax(0,1fr)!important}.topic-questions .row .row-actions{grid-column:2!important;justify-content:flex-end!important}.topic-tools{gap:0}}

.topic-group>summary .rename-topic{margin-left:.6rem;font-size:1.1rem;min-width:40px;min-height:40px;color:#4a6757;text-decoration:none;vertical-align:middle}

#study>.skip-question{display:block;margin:.25rem auto .5rem;font-size:.85rem;min-height:44px;text-decoration:none;color:#806393;padding:.5rem .9rem}#study>.skip-question:hover{background:#ece3f3;border-radius:20px}#study>.skip-question:focus-visible{outline:2px solid #806393;outline-offset:2px}

/* 0.7 – consistent topic colors in app and print */
#cards>.topic-group{border-color:var(--topic-accent)}.topic-group>summary{background:var(--topic-light);color:var(--topic-ink)}.topic-group>summary small,.topic-group>summary .rename-topic{color:var(--topic-ink)}
#trainer #cards .row{border-left-color:var(--topic-accent)}.study-card:before{background:var(--topic-light)}

.topic-color-button{color:var(--topic-accent);background:transparent;border:0;box-shadow:none;padding:.3rem;min-width:36px;min-height:36px;font-size:1.2rem;vertical-align:middle}.row .topic-color-button{float:right}.topic-color-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem}.topic-swatch{background:var(--swatch);color:#30243e;border:2px solid transparent;box-shadow:none;border-radius:12px;padding:.8rem .3rem;min-height:48px;font-size:.8rem}.topic-swatch[aria-pressed=true]{border-color:#493253}.topic-swatch:focus-visible{outline:3px solid #493253;outline-offset:2px}#topic-color-dialog{width:min(92vw,520px)}@media(max-width:480px){.topic-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Optional support, quietly below the learning content. */
footer{flex-wrap:wrap}.support-project{flex:0 0 100%;display:flex;align-items:center;justify-content:center;gap:.55rem;padding:.35rem 0;margin-bottom:.2rem;color:#817782;font-size:.76rem}.support-button{display:inline-flex;align-items:center;justify-content:center;background:#eee7f1b8;color:#6f5d7c!important;text-decoration:none!important;border:1px solid #cfc2d6;border-radius:999px;padding:.48rem .8rem;font-size:.76rem;font-weight:650;min-height:38px;box-shadow:0 2px 5px #4f3e5515}.support-button:hover{background:#e6dcec;color:#4f3d5d!important}.support-button:focus-visible{outline:2px solid #796687;outline-offset:3px}@media(max-width:600px){.support-project{justify-content:center;gap:.35rem;font-size:.7rem}.support-button{font-size:.7rem;padding:.42rem .65rem;min-height:36px}}@media print{.support-project{display:none}}

.topic-group>summary .topic-select{display:inline-block;width:20px;height:20px;margin:0 .65rem 0 0;vertical-align:middle;accent-color:#7955a2;cursor:pointer}.topic-group>summary:has(.topic-select:checked){box-shadow:inset 0 0 0 2px var(--topic-accent)}

.workspace-head .workspace-title em{display:inline-block;font-size:.8em;font-weight:500;font-style:italic;color:#88709e;letter-spacing:-.015em}.workspace-head .workspace-title span{display:inline-block}

#trainer .toolbar>.tabs button{font-size:1.55rem;font-weight:700;min-height:62px;flex:1 1 250px;color:#776981}#trainer .toolbar>.tabs button.active{font-weight:700;color:#30243e}#trainer .toolbar>.tabs button.active:after{height:4px;left:18%;right:18%;background:#8a62b5}#trainer .toolbar>.tabs button:focus-visible{outline:2px solid #8a62b5;outline-offset:3px}@media(max-width:700px){#trainer .toolbar>.tabs button{font-size:1.3rem;min-height:58px;padding:.65rem .4rem}}

/* Keep the create button stationary for mouse, touch and keyboard. */
#new-card{transform:none!important;transition:background-color .15s ease;box-shadow:0 3px 5px #5e457127}#new-card:hover{background:#7955a2}#new-card:focus-visible{outline:3px solid #5d3e7d;outline-offset:4px}

/* Compact primary navigation, independent of the full toolbar width. */
#trainer .toolbar>.tabs{width:min(100%,540px);max-width:540px;flex:0 1 540px;margin:.4rem auto .7rem;gap:.6rem;justify-content:center}#trainer .toolbar>.tabs button{flex:1 1 0;min-width:0;font-size:1.65rem;padding:.8rem .7rem;min-height:66px;border-radius:14px;color:#776981}#trainer .toolbar>.tabs button.active{background:#e9ddf080;color:#30243e}#trainer .toolbar>.tabs button.active:after{left:22%;right:22%;bottom:3px;height:4px}#trainer .toolbar>.tabs button:hover{color:#493253}@media(max-width:700px){#trainer .toolbar>.tabs{width:min(100%,440px);gap:.35rem}#trainer .toolbar>.tabs button{font-size:clamp(1.12rem,4.8vw,1.4rem);min-height:60px;padding:.7rem .35rem}}

#new-card{font-size:1.08rem;padding:.9rem 1.45rem;min-height:54px;line-height:1.25;max-width:100%}@media(max-width:700px){#new-card{font-size:1.02rem;padding:.85rem 1.2rem;min-height:52px}}

#trainer .workspace-head,#trainer.is-learning .workspace-head{grid-template-columns:minmax(0,1fr) 205px auto;min-height:255px}#trainer .workspace-art{width:205px;height:250px;padding-bottom:22px}#trainer .workspace-art img{width:185px;max-width:100%;height:auto}.workspace-art>span{font-size:.9rem;right:4px;bottom:0}@media(max-width:780px){#trainer .workspace-head,#trainer.is-learning .workspace-head{grid-template-columns:minmax(0,1fr) 145px;min-height:205px}#trainer .workspace-art{width:145px;height:200px;grid-column:2;grid-row:1 / span 2;padding-bottom:20px}#trainer .workspace-art img{width:140px}.workspace-art>span{font-size:.72rem;right:0}#trainer .workspace-head #new-card{grid-column:1;grid-row:2;white-space:normal}}

/* 0.9.12 – German handwritten encouragements and softly blended hero artwork. */
.hand-note,.landing-note,.workspace-art>span{font-family:'Segoe Print','Bradley Hand','Comic Sans MS',cursive;color:#806393;font-weight:500;letter-spacing:.01em}
.hero-art{padding-top:2.6rem}.hero-art .art-note{position:absolute;z-index:2;top:-.15rem;left:8%;right:4%;margin:0;text-align:center;font-size:clamp(.95rem,1.55vw,1.25rem);line-height:1.35;transform:rotate(-5deg)}
.hero-art img{-webkit-mask-image:radial-gradient(ellipse 74% 78% at 50% 52%,#000 72%,transparent 100%);mask-image:radial-gradient(ellipse 74% 78% at 50% 52%,#000 72%,transparent 100%)}
#landing .access{position:relative}.access-note{position:absolute;right:-1.2rem;top:-2.15rem;font-size:.86rem;transform:rotate(4deg);white-space:nowrap}
#landing .learning-benefits{margin-top:2.4rem}.benefits-note{position:absolute;left:2rem;top:-2rem;font-size:.9rem;transform:rotate(-3deg)}
#list-view,#learn-view{position:relative}.list-note{display:block;width:max-content;margin:.1rem 1.2rem .7rem auto;font-size:.9rem;transform:rotate(2deg)}.learn-note{display:block;width:max-content;max-width:100%;margin:.3rem auto .8rem;font-size:.92rem;transform:rotate(-2deg)}
@media(max-width:1100px){.access-note{right:.5rem}.hero-art .art-note{font-size:1rem}}
@media(max-width:700px){.hero-art{padding-top:2.2rem}.hero-art .art-note{top:.1rem;left:0;right:0;font-size:.9rem}.access-note{position:static;display:block;text-align:right;margin:-.35rem 0 .6rem;font-size:.72rem;transform:rotate(2deg)}#landing .learning-benefits{margin-top:2rem}.benefits-note{left:1rem;top:-1.55rem;font-size:.72rem}.list-note{font-size:.74rem;margin-right:.4rem}.learn-note{font-size:.78rem}.landing-note{font-size:.78rem}}
@media print{.hand-note,.landing-note,.workspace-art>span{display:none!important}}

/* 0.9.13: More generous handwritten notes, outside interactive content. */
.hand-note,.landing-note,.workspace-art>span{font-size:clamp(1.1rem,1.7vw,1.55rem);line-height:1.5;color:#78568e;opacity:1}
.hero-copy .landing-note{position:static;display:block;margin:0 0 1.4rem;transform:rotate(-3deg)}
.hero-art{padding-top:4.5rem}.hero-art .art-note{font-size:clamp(1.15rem,1.8vw,1.65rem);top:0;left:0;right:0;white-space:normal}
#landing .access{margin-top:2.4rem}.access-note{top:-2.9rem;right:.7rem;font-size:1.3rem}
#landing .learning-benefits{position:relative;margin-top:3.5rem}.benefits-note{font-size:1.4rem;top:-2.8rem;left:1rem}
.list-note,.learn-note{width:auto;max-width:100%;font-size:clamp(1.1rem,1.7vw,1.45rem);text-align:right;margin:1rem .5rem 1.5rem;white-space:normal}
.learn-note{text-align:center}.workspace-art>span{font-size:1.05rem}
.margin-notes{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem 3rem;padding:1.4rem 1rem;margin:1rem 0;pointer-events:none}
.margin-notes .hand-note{display:block;max-width:100%;transform:rotate(-3deg)}
.margin-notes .hand-note:nth-child(even){transform:rotate(3deg);text-align:right;margin-left:auto;color:#587764}
.closing-notes{margin-top:1.8rem;margin-bottom:1.5rem}#start{max-width:100%;white-space:normal}
@media(max-width:700px){.hand-note,.landing-note{font-size:1.15rem}.hero-art{padding-top:3.8rem}.hero-art .art-note{font-size:1.2rem}.access-note{position:static;white-space:normal;text-align:right;font-size:1.15rem;margin:0 0 1rem}#landing .access{margin-top:1rem}.benefits-note{font-size:1.15rem;top:-2.7rem}.margin-notes{gap:1.4rem;padding:1rem .3rem}.margin-notes .hand-note{font-size:1.15rem}.list-note,.learn-note{font-size:1.1rem}.workspace-art>span{font-size:.85rem}}
@media print{.margin-notes{display:none!important}}


/* SOURCE: assets/care-0.11.66.css */
/* Care preserves the original layout, paper background and video. */
body.care-entry #landing .entry-intro h1 em { color: #587d6c; }
body.care-entry #landing .care-kicker {
 margin: 0 0 12px; color: #587d6c; font-size: .85rem;
 font-weight: 650; letter-spacing: .025em;
}
body.care-entry #landing .care-starter-info {
 margin-top: 18px; padding: 0; border: 0; border-radius: 0;
 background: transparent; box-shadow: none; max-width: 32rem;
}
body.care-entry #landing .care-starter-info summary {
 cursor: pointer; color: #587d6c; font-size: .82rem; font-weight: 500;
 padding: 4px 0; background: transparent;
}
body.care-entry #landing .care-starter-info p {
 font-size: .82rem; line-height: 1.6; color: #64586c; margin: 8px 0;
}
.care-starter-choice { gap: .65rem; align-items: flex-start; }
.care-starter-choice small { display: block; margin-top: .2rem; }
.care-starter-choice input { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.care-friend {
  display: inline-block;
  aspect-ratio: 9 / 8;
  border-radius: 22%;
  background-image: url('care-friends.png');
  background-size: 400% 300%;
  background-repeat: no-repeat;
  box-shadow: 0 3px 10px rgba(45,77,68,.12);
}

.care-friend-0 { background-position: 0 0; }
.care-friend-1 { background-position: 33.333% 0; }
.care-friend-2 { background-position: 66.666% 0; }
.care-friend-3 { background-position: 100% 0; }
.care-friend-4 { background-position: 0 50%; }
.care-friend-5 { background-position: 33.333% 50%; }
.care-friend-6 { background-position: 66.666% 50%; }
.care-friend-7 { background-position: 100% 50%; }
.care-friend-8 { background-position: 0 100%; }
.care-friend-9 { background-position: 33.333% 100%; }
.care-friend-10 { background-position: 66.666% 100%; }
.care-friend-11 { background-position: 100% 100%; }

body[data-learning-world="care"] #avatar-choices {
  grid-template-columns: repeat(6,minmax(0,1fr));
}

body[data-learning-world="care"] #avatar-choices .care-friend {
  width: 100%;
}

body[data-learning-world="care"] .flipoa-friends-heading {
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 18px;
}

.world-note { margin-top: -.4rem; }

@media (max-width: 760px) {
  body[data-learning-world="care"] #avatar-choices { grid-template-columns: repeat(4,minmax(0,1fr)); }
}


/* SOURCE: assets/account.css */
#account-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:88dvh;overflow:auto;padding:28px;border:1px solid #d8cce0;border-radius:24px;background:#faf8f3 url(paper.png);color:#35263f}#account-dialog::backdrop{background:#24173266}#account-dialog form{display:grid;gap:10px}#account-dialog details{margin:22px 0;padding-top:16px;border-top:1px solid #d8cce0}#account-dialog summary{cursor:pointer;font-weight:650;margin-bottom:14px}#account-dialog input,#account-dialog textarea{box-sizing:border-box;width:100%;min-width:0}#account-dialog h2{font-size:1.6rem}.account-close{float:right}#avatar-choices{display:flex;gap:8px;flex-wrap:wrap}#avatar-choices button{padding:2px;border:2px solid transparent;background:none;border-radius:18px}#avatar-choices button[aria-pressed=true]{border-color:#805aa6}#avatar-choices img{width:56px;height:56px}#profile-preview,.account-trigger img{border-radius:50%;object-fit:cover}.account-trigger{display:flex;align-items:center;gap:8px;background:transparent;border:0;color:#35263f;font:inherit;cursor:pointer}.account-actions{display:flex;justify-content:space-between;gap:12px}#account-delete{color:#9a4554}#cookie-info{position:fixed;z-index:30;bottom:16px;left:16px;right:16px;max-width:540px;padding:18px;box-sizing:border-box;background:#faf8f3;border:1px solid #d8cce0;border-radius:16px;box-shadow:0 5px 24px #32243d22}#cookie-info p{font-size:.9rem;margin:0 0 12px}#cookie-info button{margin-left:12px}#cookie-info[hidden]{display:none}@media(max-width:500px){#account-dialog{padding:20px}#avatar-choices img{width:45px;height:45px}.account-trigger span{max-width:130px;overflow:hidden;text-overflow:ellipsis}}@media print{#cookie-info{display:none}}
#pdf-dialog{box-sizing:border-box;width:min(460px,calc(100% - 24px));max-height:90vh;max-height:90dvh;overflow:auto;padding:24px;border:1px solid #d8cce0;border-radius:20px;background:#faf8f3;color:#35263f}#pdf-dialog::backdrop{background:#24173266}#pdf-dialog h2{font-size:1.5rem}#pdf-dialog form,#pdf-dialog label{display:grid;gap:8px}#pdf-dialog form{gap:16px}#pdf-dialog select{box-sizing:border-box;width:100%;font-size:16px;min-height:44px}.pdf-close{float:right}.pdf-ready{display:block;padding:12px 0}.pdf-ready[hidden]{display:none}.pdf-status:empty{display:none}

/* Eight Flipoa friends: always four columns and two rows. */
#avatar-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;align-items:stretch}
#avatar-choices button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px;padding:4px;aspect-ratio:1;border-radius:16px}
#avatar-choices button:focus-visible{outline:3px solid #805aa6;outline-offset:2px}
.flipoa-avatar{display:inline-block;width:64px;height:64px;flex-shrink:0;background-image:url('flipoa-friends-board.png');background-repeat:no-repeat;background-size:457.142857% 304.761905%;border-radius:12px;vertical-align:middle}
#avatar-choices .flipoa-avatar{width:100%;height:auto;aspect-ratio:1;max-width:88px}
.account-trigger .profile-header-avatar{width:40px;height:40px;min-width:40px;max-width:40px;object-fit:cover;border-radius:10px}
#profile-preview{display:block;width:88px;height:88px;border-radius:16px;object-fit:cover}
.flipoa-photo{object-fit:cover}
@media(max-width:500px){#avatar-choices{gap:6px}#avatar-choices button{padding:2px;border-radius:12px}}
.flipoa-face-0{background-position:3.750000% 27.906977%}
.flipoa-face-1{background-position:34.583333% 27.906977%}
.flipoa-face-2{background-position:65.833333% 27.906977%}
.flipoa-face-3{background-position:96.250000% 27.906977%}
.flipoa-face-4{background-position:3.750000% 81.395349%}
.flipoa-face-5{background-position:34.583333% 81.395349%}
.flipoa-face-6{background-position:65.833333% 81.395349%}
.flipoa-face-7{background-position:96.250000% 81.395349%}

#profile-form .flipoa-friends-heading{display:block;width:100%;max-width:590px;height:auto;margin:24px auto 12px;border-radius:12px;}

.flipoa-avatar.flipoa-face-4{background-image:url('flipoa-pflege.png');background-size:100% 100%;background-position:center;}


/* SOURCE: assets/privacy.css */
#cookie-info{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(720px,calc(100vw - 32px));max-height:min(80vh,680px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;z-index:10000;background:#faf8f3;color:#34243e;padding:20px;border:1px solid #ac91be;border-radius:16px;box-shadow:0 12px 40px #34243e33}#cookie-info[hidden]{display:none!important}#cookie-info p{margin:0 0 10px;line-height:1.5}.privacy-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.privacy-actions button,#privacy-options button{min-height:44px;background:#ede3f3;color:#34243e;border:1px solid #806095;padding:10px 16px;border-radius:8px;font:inherit;cursor:pointer}#privacy-options{margin-top:12px}#privacy-options label{display:flex;align-items:center;gap:8px;line-height:1.4}#analytics-choice{width:20px;height:20px;margin:0;flex:0 0 auto}
@media(max-width:600px){#cookie-info{bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px);max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));padding:16px;border-radius:14px}.privacy-actions{display:grid;grid-template-columns:1fr}.privacy-actions button,#privacy-options button{width:100%}}
#social-login{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}#social-login[hidden]{display:none}#social-login a{display:inline-block;padding:12px 18px;border:1px solid #777;border-radius:8px;background:white;color:#222;text-decoration:none}

/* Original Google artwork, compact 180 x 40 CSS pixels. */
#social-login a.google-signin{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:180px;height:40px;min-height:40px;max-width:100%;padding:0;border:0;border-radius:20px;background:transparent;box-shadow:none;line-height:0;overflow:hidden;transition:box-shadow .15s ease}
#social-login a.google-signin img{display:block;width:180px;height:40px;max-width:100%;object-fit:contain;margin:0;border:0}
#social-login a.google-signin:hover{box-shadow:0 1px 4px #3c40434d}
#social-login a.google-signin:focus-visible{outline:3px solid #1a73e8;outline-offset:3px}

/* Selected profile mascot or own photo beside the learning content. */
#study .study-card>.study-profile-avatar{display:block;position:static;width:64px;height:64px;max-width:64px;object-fit:contain;border-radius:16px;margin:0 auto 12px;opacity:1;pointer-events:none}
@media(max-width:480px){#study .study-card>.study-profile-avatar{width:52px;height:52px;max-width:52px;margin-bottom:10px}}

#study .skip-question{display:block;min-width:180px;min-height:48px;margin:18px auto 8px;padding:12px 22px;border:1px solid #b7a2c6;border-radius:24px;background:#f1eaf6;color:#62477a;font-size:17px;font-weight:600;line-height:1.4;text-decoration:none}
#study .skip-question:hover{background:#e7dcef}
#study .skip-question:focus-visible{outline:3px solid #805aa6;outline-offset:3px}


/* SOURCE: assets/workspace-layout.css */
/* Flipoa 0.9.22: compact workspace, shared alignment. */
#trainer .workspace-head,#trainer.is-learning .workspace-head{display:flex;align-items:center;justify-content:space-between;min-height:0;gap:20px;padding:12px 0 18px;margin:0;border-bottom:1px solid #d7cadc80}
#trainer .workspace-navigation{display:flex;align-items:center;gap:16px;min-width:0}
#trainer .workspace-friend{width:72px;height:72px;flex:0 0 72px}
#trainer .workspace-head .tabs{display:flex;gap:6px;margin:0;padding:4px;border-radius:16px;background:#eee5f280}
#trainer .workspace-head .tabs button{position:relative;flex:1;min-height:48px;margin:0;padding:10px 18px;font-size:clamp(1rem,2vw,1.3rem);font-weight:600;white-space:nowrap;border:0;border-radius:12px;color:#786583;background:transparent}
#trainer .workspace-head .tabs button.active{background:#fffdf9;color:#392a46;box-shadow:0 2px 6px #45304d12}
#trainer .workspace-head #new-card{grid-column:auto;grid-row:auto;flex-shrink:0;width:auto;min-height:48px;margin:0;padding:12px 20px;font-size:1rem;white-space:nowrap;border-radius:14px}
#trainer .toolbar{display:flex;justify-content:flex-start;align-items:end;gap:12px;margin:16px 0 8px;padding:0;flex-wrap:wrap}
#trainer .toolbar>label{order:0;flex:0 1 310px;min-width:180px;margin:0;font-size:.8rem;gap:6px}
#trainer .toolbar>label select{min-height:46px;padding:10px 36px 10px 12px;background-color:#fffdf8;border:1px solid #d9cfdf;border-radius:10px}
#trainer .toolbar>#favorites-filter{order:1;min-height:46px;padding:10px 16px;border:1px solid #d9cfdf;border-radius:10px;font-size:.9rem;background:#fffdf880}
#trainer .toolbar>#favorites-filter[aria-pressed=true]{background:#e9ddf0;border-color:#9976b5;color:#533868}
#trainer #stats{justify-content:flex-start;text-align:left;margin:4px 0 16px;padding:8px 0 12px;gap:6px 14px}
#trainer .list-note,#trainer .learn-note,#trainer #list-view>.margin-notes{display:none}
#trainer #offline-note:empty,#trainer #app-note:empty{display:none}
#trainer #learn-view{margin:12px auto 24px}
#trainer .card-tools{margin:8px 0 12px;gap:8px 16px}
#trainer .card-search-label{margin:8px 0 16px}
#trainer .workspace-head button:focus-visible{outline:3px solid #8a62b5;outline-offset:3px}
@media(max-width:600px){
 #trainer .workspace-head,#trainer.is-learning .workspace-head{flex-wrap:wrap;gap:12px;padding:8px 0 16px}
 #trainer .workspace-navigation{width:100%;gap:10px}
 #trainer .workspace-friend{width:54px;height:54px;flex-basis:54px}
 #trainer .workspace-head .tabs{flex:1;min-width:0}
 #trainer .workspace-head .tabs button{padding:10px 8px;font-size:1rem}
 #trainer .workspace-head #new-card{margin-left:auto;font-size:.95rem}
 #trainer .toolbar{gap:10px}
 #trainer .toolbar>label{flex:1 1 180px}
 #trainer .toolbar>#favorites-filter{font-size:.85rem}
}


/* SOURCE: assets/landing-clean.css */
/* 0.9.23 – clear learning tool with a restrained illustrated example. */
body:has(#landing:not([hidden])):before{display:none}
body:has(#landing:not([hidden])){background:#faf8f3 url('paper.png') repeat;background-size:600px}
body:has(#landing:not([hidden]))>header{max-width:1240px;padding:22px 32px}
#landing{max-width:1240px;padding:24px 32px 48px}
#landing .hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);gap:56px;align-items:start;padding:12px 0 40px}
#landing .hero-copy{text-align:left;min-width:0}
#landing .landing-audience{font-size:.85rem;font-weight:600;line-height:1.6;color:#796086;margin:0 0 18px}
#landing .hero h1{font-size:clamp(2.2rem,3.8vw,3.4rem);font-weight:720;line-height:1.12;letter-spacing:-.045em;margin:0 0 22px}
#landing .hero h1 em{font-style:normal;text-decoration:none;color:#795697}
#landing .hero h1 em:after{display:none}
#landing .hero .lead{max-width:520px;margin:0 0 24px;font-size:1.08rem;line-height:1.65;color:#64586c}
#landing .landing-actions{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
#landing .landing-actions .button{font-size:.95rem;min-height:48px;padding:13px 20px;border-radius:12px}
#landing .landing-actions .link{font-size:.9rem;min-height:44px}
#landing .trial-note{font-size:.78rem;color:#817488;margin:8px 0 0}
#landing .hero .access{grid-column:auto;align-self:start;width:100%;max-width:none;justify-self:stretch;margin:0;padding:28px;background:#fffefbf5;border:1px solid #e2d9e6;border-radius:20px;box-shadow:0 12px 34px #513b6010}
#landing .access h2{font-size:1.5rem;line-height:1.25}
#landing .access .eyebrow{margin-bottom:12px}
#landing .sketch-example{margin:34px 0 0;padding:8px 4px 0}
#landing .sketch-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}
#landing .sketch-card{position:relative;min-width:0;padding:20px 18px 16px;border:1.5px solid #a796b3;border-radius:7px 11px 8px 5px;box-shadow:3px 4px 0 #dfd4e540;background:#f1ebf4}
#landing .sketch-card:before{content:'';position:absolute;inset:4px;border:1px solid #ab98b350;border-radius:5px 7px 6px 8px;pointer-events:none}
#landing .sketch-front{transform:rotate(-2deg)}
#landing .sketch-back{transform:rotate(2deg);background:#e8eee5;border-color:#9fab9b;display:flex;flex-direction:column}
#landing .card-side{display:block;font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#7b6886;margin-bottom:16px}
#landing .sketch-card h2{font-size:clamp(1.1rem,1.8vw,1.45rem);line-height:1.4;font-weight:650;letter-spacing:-.02em;margin:0}
#landing .sky-sketch{display:block;width:100%;height:55px;margin-top:10px}
#landing .sketch-back p{font-size:1.05rem;line-height:1.55;margin:0 0 18px;color:#3f5543}
#landing .sketch-topic{font-size:.68rem;color:#657362;margin-top:auto}
#landing .sketch-example figcaption{display:flex;align-items:center;gap:10px;margin:18px 0 0;font-size:.8rem;line-height:1.5;color:#83718c}
#landing .landing-friend{width:44px;height:44px;flex:0 0 44px}
#landing .landing-functions{padding:30px 0 0;border-top:1px solid #dbd1de}
#landing .functions-heading h2{font-size:1.65rem;margin:0 0 26px}
#landing .functions-heading .eyebrow{margin:0 0 8px}
#landing .function-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
#landing .function-grid article{min-width:0}
#landing .feature-number{font-size:.75rem;color:#997dac;display:block;margin-bottom:10px;font-weight:650}
#landing .function-grid h3{font-size:1rem;line-height:1.4;margin:0 0 8px;font-weight:650}
#landing .function-grid p{font-size:.88rem;line-height:1.65;color:#76697f;margin:0}
@media(max-width:900px){#landing .hero{gap:28px;grid-template-columns:minmax(0,1.1fr) minmax(300px,1fr)}#landing .hero .access{padding:22px}#landing .sketch-pair{gap:10px}#landing .sketch-card{padding:16px 12px}#landing .sketch-back p{font-size:.95rem}#landing .function-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}}
@media(max-width:700px){body:has(#landing:not([hidden]))>header{padding:18px 20px}#landing{padding:12px 20px 36px}#landing .hero{grid-template-columns:minmax(0,1fr);gap:32px;padding:8px 0 32px}#landing .hero h1{font-size:clamp(2.1rem,8.5vw,3rem)}#landing .hero .lead{margin:0 0 22px;font-size:1rem}#landing .hero .access{max-width:520px;justify-self:center;padding:24px}#landing .sketch-example{max-width:520px;margin:26px 0 0}#landing .sketch-card h2{font-size:1.1rem}#landing .card-side{font-size:.6rem}#landing .function-grid{gap:24px 18px}#landing .function-grid h3{font-size:.95rem}}
@media(max-width:380px){#landing{padding-left:16px;padding-right:16px}#landing .sketch-pair{gap:8px}#landing .sketch-card{padding:15px 10px}#landing .sketch-card h2,#landing .sketch-back p{font-size:.92rem}#landing .function-grid{grid-template-columns:minmax(0,1fr)}}

/* 0.9.24: illustrated stationery and quick-to-scan functions. */
#landing .sketch-example{padding:12px 10px 0}
#landing .sketch-pair{gap:20px;padding:0 2px 8px;isolation:isolate}
#landing .sketch-card{border:1.5px solid #a994b8;border-radius:12px 7px 13px 8px;box-shadow:2px 3px 0 #b9a5c32b,0 10px 15px -10px #5b436655;background:linear-gradient(#eee3f3b8,#eee3f3b8),url('paper.png') center/340px;isolation:isolate}
#landing .sketch-front{transform:rotate(-3deg);margin:0 0 9px}
#landing .sketch-back{transform:rotate(3deg);margin:13px 0 0;border-color:#9eaf9d;background:linear-gradient(#e0eddfc4,#e0eddfc4),url('paper.png') center/340px}
#landing .sketch-card:before{inset:5px;border:1px solid #a38db348;border-radius:8px 5px 10px 5px}
#landing .sketch-card:after{content:'';position:absolute;z-index:-1;inset:4px -5px -5px 4px;border:1px solid #b7a5bc;border-radius:9px 6px 11px 7px;background:transparent;transform:rotate(1.5deg);box-shadow:0 3px 5px #624b6410}
#landing .sketch-back:after{border-color:#a6b4a1;transform:rotate(-1deg)}
#landing .card-side{width:fit-content;max-width:100%;padding-bottom:7px;border-bottom:2px solid #b29bbd75;line-height:1.6;margin-bottom:13px}
#landing .sketch-back .card-side{border-color:#a1b99a85}
#landing .sketch-card h2{font-size:clamp(1.1rem,1.8vw,1.45rem);font-weight:650}
#landing .sky-sketch{height:65px;margin-top:14px;transform:rotate(-2deg)}
#landing .sketch-back p{font-size:1.04rem;line-height:1.6}
#landing .sketch-topic{padding-top:8px;border-top:1px dashed #94a68e80}
#landing .feature-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:14px;border-radius:12px;background:#eee5f2;color:#795691}
#landing .feature-icon svg{width:25px;height:25px;display:block}
#landing .function-grid article:nth-child(2) .feature-icon{background:#e5ece1;color:#637b5a}
#landing .function-grid article:nth-child(3) .feature-icon{background:#e8e5f3;color:#746295}
#landing .function-grid article:nth-child(4) .feature-icon{background:#f0e7dc;color:#8b7254}
#landing .device-note{font-size:.86rem;line-height:1.6;color:#786c7f;margin:26px 0 0;padding-top:18px;border-top:1px solid #e3dbe5}
@media(max-width:900px){#landing .sketch-pair{gap:14px}#landing .sketch-back p{font-size:.95rem}}
@media(max-width:380px){#landing .sketch-example{padding-left:5px;padding-right:5px}#landing .sketch-pair{gap:12px}#landing .sketch-back p{font-size:.92rem}}

#landing .nursing-note{margin:10px 0 0;font-size:.82rem;line-height:1.6;color:#80658e;}

#landing .device-note .nursing-note{display:inline;margin:0;font-size:inherit;line-height:inherit;}

/* More expressive paper cards; motion only on deliberate pointer interaction. */
#landing .sketch-example{padding-top:20px}
#landing .sketch-pair{gap:22px;padding:4px 6px 16px;align-items:stretch}
#landing .sketch-card{box-shadow:0 3px 4px #60466616,0 18px 22px -12px #60466655;transition:transform .28s ease,box-shadow .28s ease;transform-origin:50% 85%}
#landing .sketch-front{transform:translateY(-5px) rotate(-5deg);margin:0 0 12px;border-radius:12px 8px 15px 7px}
#landing .sketch-back{transform:translateY(7px) rotate(4deg);margin:12px 0 0;border-radius:8px 14px 7px 12px}
#landing .sketch-card:after{inset:5px -5px -5px 5px;transform:rotate(2deg);border-color:#b5a1be80}
#landing .sketch-back:after{transform:rotate(-2deg);border-color:#9ead9980}
#landing .sketch-card h2{line-height:1.45}
#landing .sky-sketch{transform:rotate(-4deg);margin-top:18px}
#landing .sketch-example figcaption{margin-top:22px}
@media(hover:hover) and (pointer:fine){
 #landing .sketch-front:hover{transform:translateY(-11px) rotate(-2deg);box-shadow:0 4px 5px #60466616,0 23px 26px -12px #60466655}
 #landing .sketch-back:hover{transform:translateY(0) rotate(1deg);box-shadow:0 4px 5px #60466616,0 23px 26px -12px #60466655}
}
@media(max-width:700px){#landing .sketch-pair{gap:18px;padding-left:7px;padding-right:7px}#landing .sketch-front{transform:translateY(-3px) rotate(-3deg)}#landing .sketch-back{transform:translateY(5px) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){#landing .sketch-card{transition:none}#landing .sketch-front:hover{transform:translateY(-5px) rotate(-5deg)}#landing .sketch-back:hover{transform:translateY(7px) rotate(4deg)}}

/* Preview follows the PDF engine: topic band, centered content, branded footer. */
#landing .pdf-example-card{display:flex;flex-direction:column;aspect-ratio:1.414;min-height:170px;padding:12px;background:#fdfcf8 url('paper.png') center/400px;border-color:#c5bac8}
#landing .pdf-example-card:before{display:none}
#landing .pdf-card-header{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 8px;border-radius:4px;background:#e7ddee;color:#332540;line-height:1.3}
#landing .pdf-card-header b{font-size:.65rem;font-weight:650}
#landing .pdf-card-header>span{font-size:.5rem;white-space:nowrap}
#landing .pdf-card-content{display:flex;align-items:center;justify-content:center;flex:1;padding:16px 4px;min-height:100px;text-align:center}
#landing .pdf-card-content h2{font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.35;margin:0;color:#332540;font-weight:700}
#landing .pdf-card-content p{font-size:clamp(.92rem,1.35vw,1.1rem);line-height:1.4;margin:0;color:#332540;font-weight:400}
#landing .pdf-card-footer{display:flex;align-items:baseline;justify-content:space-between;gap:4px;color:#796589;line-height:1.3}
#landing .pdf-card-footer>span{white-space:nowrap}
#landing .pdf-card-footer b{font-size:.55rem}
#landing .pdf-card-footer small{font-size:.36rem}
@media(max-width:900px) and (min-width:701px){#landing .sketch-pair{grid-template-columns:minmax(0,1fr);max-width:300px;margin:0 auto}#landing .pdf-example-card{min-height:195px}}
@media(max-width:450px){#landing .sketch-pair{grid-template-columns:minmax(0,1fr);max-width:290px;margin:0 auto;gap:15px}#landing .pdf-example-card{min-height:190px}#landing .pdf-card-header b{font-size:.75rem}#landing .pdf-card-header>span{font-size:.6rem}#landing .pdf-card-footer b{font-size:.65rem}#landing .pdf-card-footer small{font-size:.45rem}}

/* 0.9.29: warm sand cards, sage topic bands, neutral ink. */
#landing .pdf-example-card{background:linear-gradient(#f1e5cfa6,#f1e5cfa6),url('paper.png') center/400px;border-color:#bbae98;box-shadow:0 3px 4px #62513b16,0 18px 22px -12px #62513b55}
#landing .pdf-example-card:after{border-color:#bbae9880}
#landing .pdf-card-header{background:#dce6d5;color:#3f4a3b}
#landing .pdf-card-content h2,#landing .pdf-card-content p{color:#393a36}
#landing .pdf-card-footer{color:#777363}
@media(hover:hover) and (pointer:fine){#landing .pdf-example-card:hover{box-shadow:0 4px 5px #62513b16,0 23px 26px -12px #62513b55}}

/* 0.9.31: mint is a soft accent behind Flipoa, not a button-like container. */
#landing .sketch-example figcaption{position:relative;isolation:isolate;width:fit-content;max-width:100%;gap:10px;margin-top:25px;padding:4px 2px;border:0;background:transparent;color:#6f6276;box-shadow:none}
#landing .sketch-example figcaption:before{content:'';position:absolute;z-index:0;left:-9px;top:-7px;width:78px;height:70px;border-radius:48% 52% 44% 56% / 55% 43% 57% 45%;background:#dff0e8;transform:rotate(-4deg)}
#landing .sketch-example figcaption>*{position:relative;z-index:1}
#landing .landing-friend{width:58px;height:58px;flex:0 0 58px;}
#landing .device-note .nursing-note{display:block;margin-top:11px;font-size:.82rem;line-height:1.6;color:#80658e}
@media(max-width:450px){#landing .sketch-example figcaption{padding:3px 2px}#landing .sketch-example figcaption:before{left:-7px;top:-6px;width:70px;height:64px}#landing .landing-friend{width:54px;height:54px;flex-basis:54px}}


/* SOURCE: assets/importer.css */
#importer.import-dialog{width:min(850px,94vw);max-width:94vw;max-height:90dvh;padding:24px;overflow:auto}#importer fieldset{border:0;padding:0;min-width:0}#importer label{display:block;margin:12px 0;font-weight:600}#importer input:not([type=checkbox]),#importer textarea,#importer select{display:block;width:100%;box-sizing:border-box;margin-top:6px;font:inherit}#importer textarea{min-height:70px;resize:vertical}#importer input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px}#importer .import-drop{border:2px dashed #8cae9f;border-radius:18px;background:#edf4ee;padding:20px;text-align:center}#importer .import-consent{font-weight:400;font-size:.94rem}.import-card{background:#fffdf8;border:1px solid #d9d3c9;border-radius:16px;padding:18px;margin:18px 0}.import-card p{font-size:.9rem;color:#725846}.import-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.import-dialog .dialog-actions{position:sticky;bottom:-24px;background:#faf8f3;padding:16px 0}.study-history{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.study-history button{min-height:44px}.study-history small{flex-basis:100%;color:#736779}.flipoa-feed{display:none;position:fixed;right:18px;bottom:20px;z-index:20;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;align-items:center;flex-direction:column;color:#443447!important}.flipoa-feed img{width:100px;height:100px;object-fit:contain}.flipoa-feed>.flipoa-feed-label{background:#fffdf7;border:1px solid #ded5cb;border-radius:20px;padding:5px 12px;font-size:14px}.workspace-mode:not(.learning-mode) .flipoa-feed{display:flex}.flipoa-feed:hover img{transform:rotate(-5deg)}body:has(dialog[open]) .flipoa-feed{display:none}body:has(#cookie-info:not([hidden])) .flipoa-feed{display:none}@media(max-width:600px){#importer.import-dialog{padding:16px;max-height:94dvh}.import-columns{grid-template-columns:1fr}.import-dialog .dialog-actions{bottom:-16px;flex-wrap:wrap}.import-card{padding:12px}.flipoa-feed img{width:68px;height:68px}.flipoa-feed{right:8px;bottom:10px}.workspace-mode{padding-bottom:90px}.workspace-mode .workspace-hero,.learning-mode .workspace-hero{display:none!important}.study-card{padding:20px 16px!important}.study-card h2{font-size:1.45rem!important}.study-card .answer p{font-size:1.25rem!important}.study-history{gap:8px}.study-history button{font-size:.9rem;padding:10px 12px}.ratings{gap:6px!important}.ratings button{font-size:.9rem;padding:12px 6px!important}.toolbar{gap:8px!important;flex-wrap:wrap!important}}
@media(prefers-reduced-motion:reduce){.flipoa-feed img{transition:none;transform:none!important}}

@media(max-width:600px){#trainer .workspace-friend{display:none}#trainer .toolbar>label{min-width:0}#trainer #stats{font-size:.85rem;gap:5px 10px}#trainer .workspace-head{gap:8px}#trainer .workspace-head #new-card{width:100%;margin:0}#trainer .workspace-navigation{width:100%}.learning-mode #trainer .card-tools{display:none}}

.free-label{display:inline-block;font:500 .72rem system-ui,sans-serif;color:#315746;background:#e5f0e7;padding:3px 7px;border-radius:12px;vertical-align:middle}#pdf-settings{padding:12px 16px;background:#eaf1ec;border-radius:12px}#pdf-settings[hidden]{display:none}
#importer.import-dialog{transition:outline-color .15s,background-color .15s}#importer.drag-active{outline:4px solid #769c8b;outline-offset:-7px;background:#f2f7f2}#importer.drag-active .import-drop{background:#dcecdf;border-color:#587d6c}#importer .import-instructions{margin:14px 0;padding:12px 14px;border:1px solid #d9d3c9;border-radius:12px;background:#fffdf8}#importer .import-instructions summary{cursor:pointer;font-weight:650}#importer .import-instructions summary small{font-weight:400;color:#736779}
#importer.import-dialog{position:relative}#importer.drag-active::after{content:"Datei überall hier ablegen";position:fixed;inset:5vh 3vw;display:grid;place-items:center;z-index:1000;border:4px dashed #587d6c;border-radius:24px;background:rgba(237,246,239,.94);color:#315746;font-weight:750;font-size:clamp(1.35rem,4vw,2.3rem);pointer-events:none}#importer .step-label{margin:0;color:#6f857a;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}#importer .dialog-head h2{margin-top:3px}#importer .import-drop{position:relative;display:grid;gap:5px;cursor:pointer;padding:28px 20px}#importer .import-drop strong{font-size:1.18rem}#importer .import-drop span{font-weight:400;color:#736779}#importer .import-drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}#importer .import-limits{text-align:center}.selected-files{margin:18px 0}.selected-files h3{margin-bottom:8px}.file-chip{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #d7d0dd;border-radius:12px;background:#fff}.file-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.file-chip button{flex:none;padding:7px 10px}.text-entry{margin:16px 0}.text-entry summary{cursor:pointer;font-weight:650}.ai-options{margin-top:18px}.ai-options .auto-note{padding:12px 14px;border-radius:12px;background:#edf4ee;color:#425b4f}.ai-options small{font-weight:400;color:#736779}.import-again{margin:4px 0 12px}@media(max-width:600px){#importer.drag-active::after{inset:2vh 2vw}.file-chip{align-items:flex-start}.file-chip button{font-size:.85rem}}
#importer .import-card{padding:0 14px 14px;overflow:hidden;border:1px solid #d9d0e2;box-shadow:0 4px 14px rgba(64,45,80,.06)}#importer .import-card:nth-of-type(3n+1){background:#fbf7ff}#importer .import-card:nth-of-type(3n+2){background:#f4faf6}#importer .import-card:nth-of-type(3n){background:#fff9f1}#importer .import-card>label:first-child{margin:0 -14px 12px;padding:11px 14px;background:#72539a;color:#fff;font-size:1rem;font-weight:750}#importer .import-card>label:first-child input{accent-color:#fff}#importer .import-card label{font-size:.88rem}#importer .import-card textarea{min-height:54px;padding:9px 11px}#importer .import-card input{padding:9px 11px}#importer .import-card label:nth-of-type(n+4){opacity:.88}
#importer [hidden]{display:none!important}#importer .selected-files{margin:8px 0 12px}#importer .selected-files h3{font-size:.88rem;color:#736779;margin:0 0 5px}#importer .file-chip{padding:9px 11px}#importer #pdf-settings{margin:10px 0;padding:10px 12px}#importer #pdf-settings p{margin:5px 0}#importer .ai-options{margin-top:10px}#importer .ai-options label{margin:8px 0}#importer .ai-options textarea{min-height:58px}#importer .ai-options .auto-note{margin:8px 0;padding:9px 11px;font-size:.9rem}#importer .import-consent{margin:9px 0}.import-primary-action{position:sticky;bottom:-24px;z-index:8;margin:12px -24px -24px;padding:12px 24px 16px;background:linear-gradient(to bottom,rgba(250,248,243,.9),#faf8f3 30%);border-top:1px solid #e4ddd5}.import-primary-action .button{width:100%;font-size:1.05rem}@media(max-width:600px){.import-primary-action{bottom:-16px;margin:10px -16px -16px;padding:10px 16px 12px}}
#importer #usage-admin,#importer #import-ai-status{display:none!important}#importer #import-note:not(:empty){box-sizing:border-box;margin:0 0 10px;padding:11px 13px;border:1px solid #d8c4e8;border-radius:12px;background:#f7f0fb;color:#4a3457;font-weight:650;line-height:1.35}#importer.import-dialog{box-sizing:border-box;width:min(850px,calc(100vw - 24px));max-width:calc(100vw - 24px)}#importer .import-consent{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:8px;overflow-wrap:anywhere}#importer .import-consent input{margin:2px 0 0!important}#importer #import-read.is-working,#importer fieldset:disabled #import-read.is-working{opacity:1;cursor:wait;background:linear-gradient(110deg,#6c9a82 0%,#8f66b7 28%,#b18ad0 44%,#6c9a82 62%,#4f816b 100%)!important;background-size:280% 100%!important;border-color:#70508e!important;color:#fff!important;animation:flipoa-working 1.45s linear infinite;box-shadow:0 0 0 6px rgba(151,104,195,.13),0 8px 22px rgba(84,57,98,.18)}@keyframes flipoa-working{0%{background-position:100% 0;transform:scale(1)}50%{transform:scale(.992)}100%{background-position:0 0;transform:scale(1)}}.topic-group summary .topic-favorite,.topic-group summary .delete-topic{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-width:42px;padding:0;border-radius:50%;font-size:1.25rem}.topic-group summary .delete-topic{color:#8a4d53}.topic-group summary .delete-topic:hover{background:#f7e5e5}.round-progress{display:grid;gap:6px;width:100%;margin:0 0 14px;color:#66586f;font-size:.84rem;font-weight:700;text-align:left}.round-progress-track{display:block;width:100%;height:8px;overflow:hidden;border-radius:99px;background:#ece5f1}.round-progress-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9b73c5,#7fae94);transition:width .35s ease}.rating-feedback{position:fixed;left:50%;top:18%;z-index:1200;max-width:calc(100vw - 32px);padding:14px 20px;border:1px solid #d8cce1;border-radius:999px;background:#fffdf8;color:#3e2c49;font-weight:800;box-shadow:0 12px 32px rgba(34,23,40,.22);opacity:0;transform:translate(-50%,-8px) scale(.96);transition:opacity .18s ease,transform .18s ease;pointer-events:none;text-align:center}.rating-feedback.show{opacity:1;transform:translate(-50%,0) scale(1)}.rating-feedback.safe{background:#e7f3ea;border-color:#a8cdb5}.rating-feedback.partial{background:#f1eafd;border-color:#cbb9e5}.rating-feedback.learning{background:#fae9e3;border-color:#e5beb1}
.ai-additions{margin:12px 0;padding:11px 13px;border:1px solid #d9d0e2;border-radius:12px;background:rgba(255,255,255,.58)}.ai-additions legend{padding:0 5px;font-weight:750}.ai-additions .checkline{display:flex;align-items:center;gap:8px;margin:7px 0}.ai-additions .checkline input{width:auto;margin:0}.ai-additions>small{display:block;margin-top:7px;line-height:1.4}.ai-accuracy-note{margin:10px 0;padding:9px 11px;border-left:3px solid #9b73c5;background:#faf6fc;color:#5e5067;font-size:.86rem;line-height:1.4}
.workspace-help{position:relative;display:inline-flex;align-items:center;justify-content:center;margin-left:18px;padding:9px 14px;border:1px solid rgba(120,86,153,.28);border-radius:16px;background:rgba(255,253,248,.88);color:#644b78;font-size:.9rem;font-weight:700;line-height:1.15;text-decoration:none;box-shadow:0 4px 12px rgba(65,43,77,.07);white-space:nowrap}.workspace-help:before{content:"";position:absolute;left:-7px;top:50%;width:12px;height:12px;border-left:1px solid rgba(120,86,153,.28);border-bottom:1px solid rgba(120,86,153,.28);background:rgba(255,253,248,.88);transform:translateY(-50%) rotate(45deg)}.workspace-help:hover{background:#fff;transform:translateY(-1px)}@media(max-width:900px){.workspace-help{margin-left:10px;padding:8px 10px;font-size:.8rem}}@media(max-width:600px){#trainer .workspace-navigation{display:flex;align-items:center}.workspace-help{width:34px;height:34px;margin-left:auto;padding:0;border-radius:13px;font-size:0}.workspace-help:after{content:"?";font-size:1rem}.workspace-help:before{display:none}}
.import-wait{display:grid;gap:9px;margin:0 0 12px;text-align:center;color:#5f4b6d}.import-wait p{margin:0;font-weight:800}.wait-dot{display:inline-block;margin-left:3px;animation:flipoa-dot 1.05s infinite ease-in-out;opacity:.18}.wait-dot:nth-child(2){animation-delay:.17s}.wait-dot:nth-child(3){animation-delay:.34s}.import-progress{display:block;position:relative;width:100%;height:12px;overflow:hidden;border-radius:99px;background:#e6ddec;box-shadow:inset 0 1px 2px rgba(60,40,70,.12)}.import-progress-bar{position:absolute;inset:0;width:45%;border-radius:inherit;background:linear-gradient(90deg,#7fae94,#9b73c5,#d7b7eb,#7fae94);background-size:220% 100%;animation:flipoa-progress 1.25s infinite ease-in-out}.import-wait small{color:#75677c;font-weight:500}@keyframes flipoa-dot{0%,55%,100%{opacity:.16;transform:translateY(0) scale(.75)}25%{opacity:1;transform:translateY(-5px) scale(1.35)}}@keyframes flipoa-progress{0%{transform:translateX(-110%);background-position:100% 0}55%{transform:translateX(120%)}100%{transform:translateX(230%);background-position:0 0}}@media(prefers-reduced-motion:reduce){.wait-dot,.import-progress-bar{animation-duration:2.2s}}

/* Persönlicher „Fütter mich“-Flipoa: acht Figuren mit Zubehör, eigene Fotos ohne Verkleidung. */
.flipoa-feed-visual{position:relative;display:grid!important;place-items:center;width:100px;height:100px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;transform-origin:50% 78%;transition:transform .2s ease}
.flipoa-feed-visual .flipoa-feed-standard{display:block;width:100px!important;height:100px!important;margin:0!important;padding:0!important;object-fit:contain;border:0!important;border-radius:0!important}
.flipoa-feed .flipoa-feed-label{padding:6px 14px!important;font-size:15px!important;font-weight:750;white-space:nowrap}
.flipoa-feed:hover .flipoa-feed-visual{transform:rotate(-5deg) scale(1.04)}
.flipoa-feed-visual.feed-turn{animation:feed-turn 1.15s ease-in-out}.flipoa-feed-visual.feed-hop{animation:feed-hop .9s ease-in-out}.flipoa-feed-visual.feed-puff{animation:feed-puff 1.1s ease-in-out}
@keyframes feed-turn{0%,100%{transform:rotate(0)}45%{transform:rotateY(180deg) scale(.96)}70%{transform:rotateY(360deg) scale(1.03)}}
@keyframes feed-hop{0%,100%{transform:translateY(0)}38%{transform:translateY(-10px) rotate(-4deg)}65%{transform:translateY(1px) rotate(3deg)}}
@keyframes feed-puff{0%,100%{transform:scale(1)}45%{transform:scale(1.12,.92)}70%{transform:scale(.96,1.06)}}
@media(max-width:600px){.flipoa-feed{right:10px;bottom:16px}.flipoa-feed-visual{width:94px;height:94px}.flipoa-feed-visual .flipoa-feed-standard{width:94px!important;height:94px!important}.flipoa-feed .flipoa-feed-label{padding:7px 15px!important;font-size:16px!important}.workspace-mode{padding-bottom:112px}}
@media(prefers-reduced-motion:reduce){.flipoa-feed-visual{transition:none;animation:none!important;transform:none!important}}

/* Kompakter, klarer Arbeitskopf */
#trainer .workspace-head,#trainer.is-learning .workspace-head{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:106px!important;padding:12px 0 14px!important;margin:0 0 14px!important;gap:18px!important}
#trainer .workspace-navigation{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
#trainer .workspace-friend{width:66px!important;height:66px!important;flex:0 0 66px!important}
#trainer .workspace-head .tabs{display:flex!important;gap:4px!important;margin:0!important;padding:5px!important;border:1px solid rgba(121,91,148,.12)!important;border-radius:17px!important;background:rgba(235,226,241,.88)!important;box-shadow:0 5px 16px rgba(70,47,80,.06)!important}
#trainer .workspace-head .tabs button{min-height:52px!important;padding:10px 22px!important;border:0!important;border-radius:13px!important;font-size:clamp(1.05rem,1.8vw,1.3rem)!important;font-weight:680!important;white-space:nowrap!important;background:transparent!important;color:#75617e!important}
#trainer .workspace-head .tabs button.active{background:#fffdf9!important;color:#372740!important;box-shadow:0 3px 10px rgba(66,44,75,.1)!important}
#trainer .workspace-help{margin-left:4px!important;padding:8px 12px!important;border-color:rgba(120,86,153,.2)!important;background:rgba(255,253,248,.62)!important;box-shadow:none!important;font-size:.82rem!important}
#trainer .workspace-head #new-card{position:relative!important;top:18px!important;width:auto!important;min-height:42px!important;margin:0!important;padding:9px 14px!important;border:1px solid rgba(117,82,148,.26)!important;border-radius:12px!important;background:rgba(255,253,249,.7)!important;color:#684d78!important;font-size:.88rem!important;font-weight:680!important;box-shadow:none!important}
#trainer .workspace-head #new-card:hover{background:#fffdf9!important;border-color:rgba(117,82,148,.42)!important;color:#4f365e!important}
@media(max-width:700px){#trainer .workspace-head,#trainer.is-learning .workspace-head{min-height:0!important;padding:7px 0 10px!important;margin-bottom:9px!important;gap:8px!important;flex-wrap:wrap!important}#trainer .workspace-navigation{width:100%!important;gap:7px!important}#trainer .workspace-friend{display:none!important}#trainer .workspace-head .tabs{flex:1!important}#trainer .workspace-head .tabs button{min-height:48px!important;padding:8px 10px!important;font-size:1rem!important}#trainer .workspace-help{width:38px!important;height:38px!important;margin-left:0!important;padding:0!important;border-radius:12px!important;font-size:0!important}#trainer .workspace-help:after{content:"?";font-size:1rem}#trainer .workspace-head #new-card{top:0!important;width:auto!important;margin-left:auto!important;min-height:40px!important;padding:8px 12px!important;font-size:.84rem!important}}

/* Gemeinsame linke und rechte Fluchtlinien */
body.workspace-mode>header,body.workspace-mode>#trainer{box-sizing:border-box!important;width:auto!important;max-width:none!important;margin-left:clamp(24px,3vw,64px)!important;margin-right:clamp(24px,3vw,64px)!important;padding-left:0!important;padding-right:0!important}
#trainer .workspace-head{justify-content:flex-start!important}
#trainer .workspace-help{margin-left:2px!important;padding:6px 10px!important;font-size:.76rem!important;border-radius:13px!important}
.workspace-stats-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e4dce9}
#trainer .workspace-stats-row #stats{flex:1;min-width:0;margin:0!important;border-bottom:0!important}
#trainer .workspace-stats-row #new-card{position:static!important;top:auto!important;flex:0 0 auto;width:auto!important;min-height:40px!important;margin:0!important;padding:8px 13px!important;border:1px solid rgba(117,82,148,.28)!important;border-radius:11px!important;background:rgba(255,253,249,.75)!important;color:#684d78!important;font-size:.86rem!important;font-weight:680!important;box-shadow:none!important;white-space:nowrap!important}
#trainer .workspace-stats-row #new-card:hover{background:#fffdf9!important;border-color:rgba(117,82,148,.44)!important;color:#4f365e!important}
@media(max-width:700px){body.workspace-mode>header,body.workspace-mode>#trainer{margin-left:14px!important;margin-right:14px!important}.workspace-stats-row{gap:8px;align-items:center}#trainer .workspace-stats-row #stats{font-size:.78rem!important}#trainer .workspace-stats-row #new-card{min-height:38px!important;padding:7px 10px!important;font-size:.8rem!important}#trainer .workspace-help{width:34px!important;height:34px!important;padding:0!important;font-size:0!important}}

/* Neue Karte auf der Grundlinie der Filter */
#trainer .toolbar{display:grid!important;grid-template-columns:minmax(280px,560px) auto minmax(20px,1fr) auto!important;align-items:end!important;gap:12px!important}
#trainer .toolbar>label{grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;margin:0!important}
#trainer .toolbar>#favorites-filter{grid-column:2!important;grid-row:1!important;margin:0!important;align-self:end!important}
#trainer .toolbar>#new-card{position:static!important;top:auto!important;grid-column:4!important;grid-row:1!important;align-self:end!important;width:auto!important;min-height:40px!important;margin:0!important;padding:8px 13px!important;border:1px solid rgba(117,82,148,.28)!important;border-radius:11px!important;background:rgba(255,253,249,.75)!important;color:#684d78!important;font-size:.86rem!important;font-weight:680!important;box-shadow:none!important;white-space:nowrap!important}
#trainer .toolbar>#new-card:hover{background:#fffdf9!important;border-color:rgba(117,82,148,.44)!important;color:#4f365e!important}
#trainer>#stats{margin-top:10px!important}
@media(max-width:700px){#trainer .toolbar{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}#trainer .toolbar>label{grid-column:1!important;grid-row:1!important}#trainer .toolbar>#favorites-filter{grid-column:2!important;grid-row:1!important}#trainer .toolbar>#new-card{grid-column:2!important;grid-row:2!important;min-height:38px!important;padding:7px 10px!important;font-size:.8rem!important}#trainer>#stats{margin-top:7px!important}}

.topic-group summary .topic-summary-actions>.topic-learn{width:auto!important;min-width:auto!important;height:36px!important;min-height:36px!important;padding:0 12px!important;border:1px solid rgba(86,57,98,.2)!important;border-radius:999px!important;background:rgba(255,253,249,.72)!important;color:#553d62!important;font-size:.78rem!important;font-weight:750!important;white-space:nowrap!important}.topic-group summary .topic-summary-actions>.topic-learn:hover{background:#fffdf9!important}@media(max-width:900px){.topic-group summary .topic-summary-actions>.topic-learn{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;font-size:0!important}.topic-group summary .topic-summary-actions>.topic-learn:after{content:"▶";font-size:.82rem!important}}@media(max-width:700px){.topic-summary-actions{gap:.12rem!important}.topic-group summary .topic-summary-actions>.topic-learn{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important}}


/* SOURCE: assets/footer-mobile.css */
/* Mobile footer: two deliberate, centered rows. */
@media (max-width: 600px) {
  footer nav {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    align-items: center;
    column-gap: clamp(.55rem, 2.8vw, 1rem);
    row-gap: .65rem;
    width: 100%;
    text-align: center;
  }

  footer nav > a { white-space: nowrap; }

  footer nav > button:not([hidden]) {
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0;
  }
}

@media (max-width: 380px) {
  footer nav { column-gap: .5rem; font-size: .72rem; }
  footer nav > button:not([hidden]) { font-size: inherit; }
}


/* SOURCE: assets/mobile-learning.css */
.learning-mode .toolbar,
.learning-mode > #trainer .toolbar,
.learning-mode #stats,
.learning-mode #offline-note,
.learning-mode #app-note {
  display: none !important;
}

.learning-mode .workspace-head,
.learning-mode #learn-view {
  width: min(100% - 2rem, 1170px);
  margin-left: auto;
  margin-right: auto;
}

.learning-mode .workspace-head {
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}

.study-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: .5rem;
}

.study-top-controls .study-history {
  flex: 0 1 auto;
  margin: 0;
}

.study-top-controls .checkline {
  flex: 0 1 auto;
  margin: 0;
  font-size: .84rem;
  white-space: nowrap;
}

#list-view > .compact-delete {
  display: inline-block;
  margin: .1rem 0 .4rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: .82rem;
}

#list-view > .compact-delete:disabled { opacity: .38; }

@media (max-width: 700px) {
  #trainer > .toolbar {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(7.5rem,38%);
    align-items: end;
    gap: .55rem !important;
  }

  #trainer > .toolbar label {
    min-width: 0;
    margin: 0;
  }

  #trainer > .toolbar select,
  #trainer > .toolbar #favorites-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 3.15rem;
    min-height: 3.15rem;
    margin: 0;
    padding: 0 .8rem;
    border: 1px solid #d8cfdd;
    border-radius: 12px;
    background-color: #fffdf8;
    color: #4f4058;
    font: 700 .88rem/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    box-shadow: none;
  }

  #trainer > .toolbar select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 2.25rem;
    background-image: linear-gradient(45deg,transparent 50%,#675570 50%),linear-gradient(135deg,#675570 50%,transparent 50%);
    background-position: calc(100% - 17px) 50%,calc(100% - 12px) 50%;
    background-size: 5px 5px,5px 5px;
    background-repeat: no-repeat;
  }

  #trainer > .toolbar #favorites-filter { white-space: nowrap; }

  body.learning-mode {
    overflow: hidden;
  }

  #trainer #learn-view:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 600;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100dvh;
    margin: 0;
    padding: max(3.05rem, env(safe-area-inset-top)) .6rem max(.45rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: rgba(38, 32, 42, .68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  #close-learning-overlay {
    position: fixed;
    top: max(.65rem, env(safe-area-inset-top));
    right: .75rem;
    z-index: 603;
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    background: rgba(255,253,248,.94);
    color: #3e2c49;
    font-size: 1.35rem;
    box-shadow: 0 .4rem 1.25rem rgba(24,17,28,.22);
  }

  #learn-view > .learn-note {
    display: none;
  }

  #learn-view .study-top-controls .checkline {
    width: min(100%, 38rem);
    box-sizing: border-box;
    margin: 0;
    padding: .38rem .65rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: .8rem;
    background: rgba(255,253,248,.94);
    color: #4d4055;
    font-size: .72rem;
    line-height: 1.2;
  }

  #learn-view .study-top-controls .checkline input {
    width: 1.15rem;
    height: 1.15rem;
  }

  #learn-view #study {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    width: min(100%, 38rem);
    margin: 0;
  }

  #learn-view .study-history {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 .35rem;
    padding: 0;
    background: transparent;
  }

  #learn-view .study-top-controls {
    gap: .35rem;
    margin-bottom: .25rem;
  }

  #learn-view .study-top-controls .checkline {
    width: auto;
    max-width: 55%;
  }

  #learn-view .study-history button {
    min-height: 2rem;
    padding: .3rem .55rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: .72rem;
  }

  #learn-view .study-history small {
    color: #716578;
  }

  #learn-view .study-card,
  #learn-view .round-finish {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    box-shadow: 0 1.4rem 3.5rem rgba(22,15,27,.28);
  }

  #learn-view .study-card {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    height: min(40rem, calc(100dvh - 10rem));
    min-height: 29rem;
    max-height: none;
    overflow: hidden;
    padding: .8rem .9rem 1rem !important;
  }

  #learn-view .study-top-controls { order: 0; flex: 0 0 auto; }
  #learn-view .study-profile-avatar { order: 1; flex: 0 0 auto; }
  #learn-view .round-progress { order: 2; flex: 0 0 auto; }
  #learn-view .study-card > .topic { order: 3; flex: 0 0 auto; }

  #learn-view .study-profile-avatar {
    width: 2.45rem;
    height: 2.45rem;
    margin-bottom: .15rem;
  }

  #learn-view .round-progress {
    margin-bottom: .45rem;
  }

  #learn-view .study-card > .topic {
    margin-bottom: .3rem;
    font-size: .72rem;
  }

  #learn-view .study-card > h2 {
    order: 4;
    display: flex;
    flex: 0 0 auto;
    min-height: 3rem;
    max-height: 5.4rem;
    align-items: center;
    justify-content: center;
    overflow: auto;
    margin: .35rem 0 .55rem;
    line-height: 1.22;
  }

  #learn-view .study-card .answer {
    order: 5;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
    margin: .3rem 0;
  }

  #learn-view .study-card .answer p {
    margin: .35rem 0;
  }

  #learn-view .study-card.long-answer .answer p {
    font-size: 1.08rem !important;
    line-height: 1.35;
  }

  #learn-view .study-card.very-long-answer .answer p {
    font-size: .88rem !important;
    line-height: 1.3;
  }

  #learn-view .study-card > details { order: 6; flex: 0 0 auto; }

  #learn-view .study-card .row-actions {
    order: 7;
    flex: 0 0 auto;
    margin-top: .4rem;
    padding-top: .4rem;
  }

  #learn-view .study-card .ratings {
    order: 8;
    flex: 0 0 auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .72fr);
    width: 100%;
    gap: .55rem !important;
    box-sizing: border-box;
    margin-top: .55rem;
  }

  #learn-view .study-card:not(.revealed) > h2 {
    flex: 1 1 auto;
    max-height: none;
  }

  #learn-view .study-card:not(.revealed) > .row-actions { margin-top: auto; }

  #learn-view .study-card .ratings button {
    width: 100%;
    min-width: 0;
    min-height: 2.7rem;
    padding: .55rem .3rem !important;
    white-space: nowrap;
  }

  #learn-view .skip-question {
    flex: 0 0 auto;
    display: block;
    margin: .4rem auto 0;
    padding: .45rem .85rem;
    font-size: .82rem;
    background: rgba(255,253,248,.94);
    box-shadow: 0 .35rem 1.2rem rgba(22,15,27,.18);
  }
}

@media (max-width: 700px) and (max-height: 700px) {
  #learn-view .study-card {
    height: calc(100dvh - 8.9rem);
    min-height: 26rem;
    padding-top: .6rem !important;
    padding-bottom: .7rem !important;
  }
  #learn-view .study-profile-avatar { width: 2rem; height: 2rem; }
  #learn-view .study-card > h2 { max-height: 4.5rem; font-size: 1.15rem !important; }
  #learn-view .study-card .answer p { font-size: 1.05rem !important; }
}

.topic-group > summary {
  display: grid !important;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: .6rem;
  min-height: 0;
  padding: .75rem 1rem !important;
  list-style: none;
}

.topic-group > summary::-webkit-details-marker { display: none; }

.topic-summary-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .2rem;
  margin-left: auto;
}

.topic-group summary .topic-summary-actions > button,
.topic-group summary .topic-favorite,
.topic-group summary .delete-topic {
  width: 2.15rem;
  min-width: 2.15rem;
  height: 2.15rem;
  min-height: 2.15rem;
  padding: 0;
  border-radius: 50%;
  font-size: 1rem;
}

@media (max-width: 700px) {
  .topic-group > summary {
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: .35rem .55rem;
    padding: .65rem .7rem !important;
  }
  .topic-group > summary > small { grid-column: 2; font-size: .72rem; }
  .topic-summary-actions { grid-column: 3; grid-row: 1 / 3; }
  .topic-group summary .topic-summary-actions > button,
  .topic-group summary .topic-favorite,
  .topic-group summary .delete-topic {
    width: 1.85rem;
    min-width: 1.85rem;
    height: 1.85rem;
    min-height: 1.85rem;
    font-size: .88rem;
  }
}

#importer .import-wait {
  margin: 0 0 9px;
  color: #4c6659;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 700px) {
  #list-view .card-tools {
    margin: .55rem 0 .7rem;
    padding: 0;
    border: 1px solid rgba(126, 94, 155, .2);
    border-radius: 12px;
    background: rgba(255, 253, 248, .62);
  }

  #list-view .card-tools > summary {
    width: 100%;
    box-sizing: border-box;
    padding: .8rem 1rem;
    font-weight: 700;
    color: #604d6d;
  }

  #list-view .card-tools[open] {
    padding: 0 .75rem .75rem;
  }

  #list-view .card-tools[open] > summary {
    margin: 0 -.75rem .45rem;
    width: calc(100% + 1.5rem);
  }

  #list-view .card-tools .file-actions { gap: .35rem; }
  #list-view .card-tools .file-actions button { padding: .45rem .55rem; font-size: .74rem; }
  #list-view .card-tools .management-selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: .6rem;
    font-size: .75rem;
  }
  #list-view .card-tools .management-selection input { width: 1.1rem; height: 1.1rem; }
  #list-view .card-tools .management-selection button { padding: .2rem 0; font-size: .74rem; }
  #list-view .card-tools .card-search-label { margin-top: .55rem; font-size: .76rem; }
  #list-view .card-tools .card-search-label input { min-height: 2.65rem; }
}

@media (min-width: 701px) {
  body.learning-mode { overflow: hidden; }

  #trainer #learn-view:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 600;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100dvh;
    margin: 0;
    padding: 2.2rem 3.5rem 1.5rem;
    overflow: auto;
    background: rgba(38,32,42,.62);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  #close-learning-overlay {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 603;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    background: rgba(255,253,248,.96);
    color: #3e2c49;
    font-size: 1.45rem;
    box-shadow: 0 .5rem 1.5rem rgba(24,17,28,.24);
  }

  #learn-view > .learn-note { display: none; }

  #learn-view #study {
    width: min(100%, 1170px);
    margin: 0 auto;
  }

  #learn-view .study-card {
    height: clamp(520px, calc(100dvh - 8rem), 760px);
    min-height: 0;
    max-height: 760px;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 1.6rem 4rem rgba(22,15,27,.32);
  }

  #learn-view .skip-question {
    display: block;
    margin: .65rem auto 0;
    background: rgba(255,253,248,.96);
    box-shadow: 0 .4rem 1.2rem rgba(22,15,27,.2);
  }

  #learn-view .study-card:not(.revealed) > h2 {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    align-items: center;
    justify-content: center;
    overflow: auto;
  }

  #learn-view .study-card.long-question:not(.revealed) > h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  }

  #learn-view .study-card.very-long-question:not(.revealed) > h2 {
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    line-height: 1.35;
  }

  #learn-view .study-card.revealed > .answer {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }

  #learn-view .study-card.long-answer .answer p {
    font-size: clamp(1.05rem, 1.7vw, 1.35rem) !important;
    line-height: 1.45;
  }

  #learn-view .study-card.very-long-answer .answer p {
    font-size: clamp(.9rem, 1.35vw, 1.1rem) !important;
    line-height: 1.45;
  }
}


/* SOURCE: assets/recent-cards-0.11.65.css */
/* Recent additions use the same compact accordion rhythm as the topics. */
#trainer #recent-cards {
 margin: 0 0 14px; padding: 0; overflow: hidden;
 border: 1px solid #b4c9b7; border-radius: 12px;
 background: #fffdf7ed; color: #344b3d;
 box-shadow: 0 8px 14px -10px #493b4528;
}
#trainer #recent-cards[hidden], #trainer .recent-filter[hidden] { display: none !important; }
#trainer #recent-cards > summary {
 display: flex; align-items: center; gap: 12px;
 min-height: 54px; margin: 0; padding: 12px 16px;
 background: #dcebdc; color: #344b3d; list-style: none; cursor: pointer;
}
#trainer #recent-cards > summary::-webkit-details-marker { display: none; }
#trainer #recent-cards > summary strong { font-size: 1rem; line-height: 1.4; }
#trainer #recent-cards > summary small { margin-left: auto; font-size: .8rem; white-space: nowrap; }
#trainer .recent-arrow { font-size: 1.3rem; line-height: 1; }
#trainer #recent-cards[open] > summary .recent-arrow { transform: rotate(180deg); }
#trainer .recent-stacks { list-style: none; padding: 0 16px; margin: 0; }
#trainer .recent-stack { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
#trainer .recent-stack + .recent-stack { border-top: 1px solid #d9e3d7; }
#trainer .recent-stack-copy { min-width: 0; }
#trainer .recent-stack h3 { margin: 0; font-size: .94rem; line-height: 1.4; overflow-wrap: anywhere; color: #344b3d; }
#trainer .recent-stack p { margin: 3px 0 0; font-size: .8rem; line-height: 1.5; color: #506355; }
#trainer .recent-stack-actions { display: flex; gap: 8px; flex-shrink: 0; }
#trainer .recent-stack-actions button, #trainer .recent-filter button {
 min-height: 44px; padding: 8px 13px; border: 1px solid #bbcbbd; border-radius: 11px;
 background: #fffdf8; color: #344b3d; font: 650 .85rem/1.3 system-ui,sans-serif; box-shadow: none;
}
#trainer .recent-stack-actions .recent-learn { background: #dcebdc; border-color: #a5bca8; }
#trainer .recent-stack-actions button:hover, #trainer .recent-filter button:hover { background: #cfdfce; }
#trainer #recent-cards button:focus-visible, #trainer #recent-cards summary:focus-visible, #trainer .recent-filter button:focus-visible { outline: 3px solid #70518c; outline-offset: -3px; }
#trainer .recent-more { margin: 0; padding: 0; border: 0; border-top: 1px solid #d9e3d7; background: transparent; box-shadow: none; }
#trainer .recent-more > summary { padding: 12px 16px; font: 650 .85rem/1.4 system-ui,sans-serif; color: #425d4b; cursor: pointer; }
#trainer .recent-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 10px 14px; background: #f4f8f1; border: 1px solid #c8d7ca; border-radius: 12px; }
#trainer .recent-filter h2 { margin: 0; font-size: .96rem; color: #344b3d; overflow-wrap: anywhere; }
#trainer .recent-filter p { margin: 3px 0 0; font-size: .8rem; color: #506355; }
#trainer .recent-filter button { flex-shrink: 0; }
#trainer #cards > .recent-question-list {
 grid-column: 1 / -1; min-width: 0; border: 1px solid #d8d0c8;
 border-radius: 12px; background: #fffdf7ed;
}
#trainer .recent-question-list .topic-questions { grid-template-columns: minmax(0,1fr); }
#study .recent-study-label { margin: 0 0 10px; font-size: .82rem; font-weight: 650; line-height: 1.5; color: #435e4c; }

/* A flatter, stronger utility bar clearly separates management from topics. */
#trainer #list-view details.card-tools { margin: 8px 0 12px; border-color: #67517c; background: #fffdf8; }
#trainer #list-view details.card-tools > summary {
 min-height: 44px; padding: 8px 14px; background: #67517c; color: #fff;
 font-size: .86rem; font-weight: 700; line-height: 1.4;
}
#trainer #list-view details.card-tools > summary:hover { background: #58436c; }
#trainer #list-view details.card-tools > summary:focus-visible { outline: 3px solid #d1bdde; outline-offset: -4px; }

@media (max-width: 700px) {
 #trainer #recent-cards > summary { gap: 8px; padding: 11px 12px; }
 #trainer #recent-cards > summary strong { font-size: .9rem; }
 #trainer .recent-stacks { padding: 0 12px; }
 #trainer .recent-stack { flex-direction: column; align-items: stretch; gap: 9px; }
 #trainer .recent-stack-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.65fr); }
 #trainer .recent-stack-actions button { min-width: 0; padding: 8px; }
 #trainer .recent-filter { flex-wrap: wrap; padding: 10px 12px; }
}


/* SOURCE: assets/landing-film.css */
.landing-film {
  position: relative;
  width: min(100%, 64rem);
  margin: clamp(.85rem, 2vw, 1.35rem) auto 0;
}

.landing-film video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  background: #eee8f5;
  box-shadow: 0 1.25rem 3rem rgba(57, 35, 70, .14);
}

.landing-film figcaption {
  margin-top: .65rem;
  color: var(--muted, #756a7e);
  font-size: .82rem;
  text-align: center;
}

.landing-film .film-sound {
  position: absolute;
  right: 1rem;
  bottom: 2.65rem;
  z-index: 2;
  min-height: 2.6rem;
  padding: .55rem .85rem;
  border: 1px solid rgba(91, 67, 102, .22);
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  color: #3b2945;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  box-shadow: 0 .3rem 1rem rgba(57, 35, 70, .14);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.landing-film .film-sound:hover { background: #fffdf8; }
.landing-film .film-sound:focus-visible { outline: 3px solid #9a78b5; outline-offset: 3px; }

#landing .ai-hero-note {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  max-width: 100%;
  margin: -.25rem 0 .15rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #523c61;
  font-size: .86rem;
  line-height: 1.45;
}

#landing .ai-hero-note > span { color: #8b65a7; }
#landing .landing-actions { margin-top: .25rem; }

#landing .access-preview {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  margin-top: -2.5rem;
  text-align: center;
}

#landing .hero-benefits {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  max-width: 31rem;
  padding: 3rem .25rem 0;
}

#landing .hero-benefits .eyebrow { margin-bottom: .8rem; }

#landing .hero-benefits ul {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #62566b;
  font-size: .88rem;
  line-height: 1.45;
}

#landing .hero-benefits li { position: relative; padding-left: 1.2rem; }
#landing .hero-benefits li::before { content: '✓'; position: absolute; left: 0; color: #72937b; font-weight: 750; }

#landing .landing-about {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 4vw, 4rem);
  margin: clamp(2rem, 5vw, 5rem) auto 1rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  max-width: 50rem;
  border: 1px solid rgba(111, 83, 126, .14);
  border-radius: 1.5rem;
  background: rgba(255, 253, 248, .62);
  color: #65566e;
  text-align: left;
}

#landing .landing-about > div { max-width: 39rem; }
#landing .landing-about h2 { margin: .25rem 0 .75rem; }
#landing .landing-about p { margin: .45rem 0; font-size: .95rem; line-height: 1.65; }
#landing .landing-about .about-story { color: #4c3659; font-weight: 620; }
#landing .landing-about .flipoa-avatar {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  margin-right: -2.5rem;
  transform: translateY(.35rem) rotate(-5deg);
  opacity: .92;
}

#landing .access-preview .link {
  padding: .55rem .75rem;
  font-size: .84rem;
}

@media (min-width: 901px) {
  #landing .hero {
    min-height: 0;
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }

  #landing .hero-copy {
    align-self: start;
    padding-bottom: 0;
  }

  #landing .hero .access {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    box-sizing: border-box;
    width: 100%;
  }

  #landing .landing-functions {
    margin-top: 0;
    padding-top: clamp(2.25rem, 4vw, 4rem);
  }

  #landing .hero .access {
    margin-top: 22rem;
    padding: 1.15rem 1.35rem 1.05rem;
  }

  #landing .access h2 { margin: 0 0 .55rem; font-size: 1.25rem; line-height: 1.2; }
  #landing .access .eyebrow { margin-bottom: .4rem; }
  #landing .access .tabs { margin: .55rem 0; }
  #landing .access label { margin: .42rem 0; }
  #landing .access input:not([type=checkbox]) { padding: .52rem .68rem; }
  #landing .access form > .button { min-height: 2.55rem; padding: .6rem 1rem; }
  #landing .access .small-links { grid-template-columns: repeat(2, max-content); justify-content: start; gap: .2rem .7rem; margin-top: .3rem; }
  #landing .access .caption { margin: .4rem 0 0; font-size: .67rem; line-height: 1.4; }
  #landing .access-preview { width: 100%; }
}

@media (min-width: 768px) and (max-width: 900px) {
  #landing .hero .access { margin-top: 2.25rem; }
}

@media (max-width: 700px) {
  #landing .hero-benefits { grid-column: 1; grid-row: auto; padding: .5rem 0; }
  #landing .hero .access { grid-column: 1; grid-row: auto; }
  #landing .access-preview {
    grid-column: 1;
    margin-top: -1.25rem;
  }
  #landing .landing-about { align-items: flex-end; margin-top: 1.5rem; }
  #landing .landing-about .flipoa-avatar { width: 64px; height: 64px; flex-basis: 64px; margin-right: -1.75rem; }
}

.flipoa-milestone {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(45, 31, 52, .56);
  backdrop-filter: blur(7px);
}

.flipoa-milestone-card {
  width: min(92vw, 25rem);
  padding: 1.75rem;
  border: 1px solid rgba(111, 83, 126, .18);
  border-radius: 1.6rem;
  background: #fffdf8;
  box-shadow: 0 1.5rem 4rem rgba(39, 25, 47, .25);
  color: #4c3659;
  text-align: center;
}

.flipoa-milestone-card .flipoa-avatar { width: 104px; height: 104px; margin: 0 auto .75rem; }
.flipoa-milestone-card h2 { margin: .25rem 0 .5rem; }
.flipoa-milestone-card p { color: #726679; }
.flipoa-milestone-card button { margin-top: .5rem; }

@media (max-width: 700px) {
  .landing-film { display: block; margin-top: 1rem; }
  .landing-film video { border-radius: 1.1rem; }
  .landing-film .film-sound { right: .65rem; bottom: 2.35rem; min-height: 2.25rem; padding: .42rem .68rem; font-size: .75rem; }
  .landing-film figcaption { margin-top: .45rem; font-size: .75rem; }
}

@media (min-width: 701px) and (max-width: 1024px) and (orientation: portrait) {
  .landing-film { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-film video { animation: none; }
}


/* SOURCE: assets/onboarding-0.11.81.css */
/* Shared Care-inspired entry design; account and learning-world styles stay separate. */
#landing {
  --entry-ink: #263f39;
  --entry-muted: #50675c;
  --entry-accent: #426b59;
  --entry-hover: #335443;
  --entry-border: #c6d8cd;
  --entry-surface: #f8fbf8;
  --ink: var(--entry-ink);
  --muted: var(--entry-muted);
  --purple: #286c59;
  color: var(--entry-ink);
}
#landing :is(h1, h2, h3) { color: var(--entry-ink); }
#landing .hero h1 em { color: #337c66; }

body:not(.care-theme):has(#landing:not([hidden])) {
  min-height: 100vh; min-height: 100svh;
  background-color: #edf5ef;
  background-image: linear-gradient(#edf5efe8, #edf5efe8), url('paper.png');
  background-size: auto, 600px;
}
body:not(.care-theme):has(#landing:not([hidden]))::before {
  display: block; opacity: .26;
}
body:has(#landing:not([hidden])) > header { background: transparent; }

body:has(#landing:not([hidden])) > header {
  max-width: 608px; justify-content: center; padding: 24px 24px 16px;
}
body:has(#landing:not([hidden])) > header .brand img {
  width: 165px !important; height: auto !important;
}
body:has(#landing:not([hidden])) #topnav,
body:has(#landing:not([hidden])) > .landing-help-teaser,
body:has(#landing:not([hidden])) > footer .support-project,
body:has(#landing:not([hidden])) > footer > .caption,
#landing .access > .eyebrow, #landing .access > .caption { display: none; }

#landing { max-width: 608px; padding: 12px 24px 32px; }
#landing .hero {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 18px; min-height: 0; padding: 0;
}
#landing .entry-intro h1 {
  margin: 0 0 20px; font-size: clamp(1.8rem, 6.5vw, 2.75rem);
  line-height: 1.12; letter-spacing: -.04em; text-align: center;
}
#landing .entry-intro ul {
  display: grid; gap: 12px; width: fit-content; max-width: 100%;
  margin: 0 auto; padding: 0; list-style: none;
  color: var(--entry-muted); font-size: 1rem; line-height: 1.45;
}
#landing .entry-intro li { position: relative; padding-left: 24px; }
#landing .entry-intro li::before {
  content: '✓'; position: absolute; left: 0; color: var(--entry-accent); font-weight: 750;
}
#landing .entry-intro strong { color: #365e4f; font-weight: 750; }
#landing .entry-context, #landing .entry-guide { display: none; }

#landing #entry-auth { min-width: 0; scroll-margin-top: 16px; }
#landing #entry-auth > summary {
  display: block; min-height: 0; padding: 0; border-radius: 12px;
  background: transparent; color: #fff; font-weight: 700;
  list-style: none; cursor: pointer;
}
#landing #entry-auth > summary::-webkit-details-marker { display: none; }
#landing #entry-auth > summary::after { content: none; }
#landing .entry-cta {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 13px 24px; border: 1px solid var(--entry-accent);
  border-radius: 12px; background: var(--entry-accent); color: #fff;
  box-shadow: 0 4px 12px #294b391a;
  font-size: 1rem; line-height: 1.35;
  transition: background-color .18s ease, box-shadow .18s ease;
}
#landing .entry-cta-arrow { display: inline-block; font-size: 1.3rem; line-height: 1; transition: transform .18s ease; }
#landing .entry-cta-hint {
  display: block; margin: 9px 0 0; color: var(--entry-muted);
  font-size: .76rem; font-weight: 450; line-height: 1.45; text-align: center;
}
#landing #entry-auth > summary:focus-visible { outline: 3px solid var(--entry-accent); outline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
  #landing #entry-auth > summary:hover .entry-cta { background: var(--entry-hover); box-shadow: 0 6px 16px #294b3926; }
  #landing #entry-auth > summary:hover .entry-cta-arrow { transform: translateX(4px); }
}
#landing #entry-auth[open] .entry-cta-arrow { transform: rotate(90deg); }
#landing #entry-auth > summary:active .entry-cta { background: var(--entry-hover); box-shadow: 0 2px 7px #294b391a; }
@media (prefers-reduced-motion: reduce) {
  #landing .entry-cta, #landing .entry-cta-arrow { transition: none; }
  #landing #entry-auth:not([open]) > summary:hover .entry-cta-arrow { transform: none; }
}
#landing .hero .access {
  width: 100%; min-width: 0; margin: 12px 0 0; padding: 24px;
  background: var(--entry-surface); border: 1px solid var(--entry-border);
  box-shadow: 0 8px 24px #294b3910;
  border-radius: 14px; scroll-margin-top: 12px;
}
#landing .access h2 { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.25; }
#landing .access .tabs { margin: 0 0 12px; background: #edf6f1; }
#landing .access .tabs button { color: var(--entry-muted); }
#landing .access .tabs button.active { background: #def1e7; color: #245c4b; }
#landing .access :is(input, select, textarea) { border-color: #bad6c9; accent-color: var(--entry-accent); }
#landing .access :is(.link, a) { color: #286c59; }
#landing #auth-submit { background: var(--entry-accent); color: #fff; border-radius: 12px; box-shadow: 0 3px 9px #27634d18; }
#landing #auth-submit:hover { background: var(--entry-hover); }
#landing :is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--entry-accent); outline-offset: 3px; }

#landing .access .tabs button { min-width: 0; min-height: 44px; padding: 8px 6px; }
#landing #social-login { margin: 8px 0; gap: 8px; }
#landing .access label { gap: 4px; margin: 8px 0; }
#landing .access input:not([type=checkbox]) {
  min-width: 0; min-height: 44px; padding: 9px 11px;
  font-size: 16px; /* Avoid Safari input zoom. */
}
#landing .access form > .button { min-height: 46px; margin-top: 4px; padding: 10px 16px; }
#landing .access .small-links {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0 12px; margin-top: 4px;
}
#landing .access .small-links .link {
  min-height: 44px; max-width: 100%; padding: 4px 0; font-size: .78rem; text-align: left;
}
#landing .access .consent { font-size: .8rem; line-height: 1.45; }
#landing .access .status { margin: 8px 0 0; overflow-wrap: anywhere; }
#landing .access #offline-open { width: 100%; min-height: 44px; }

#landing .hero > .landing-film { width: 100%; min-width: 0; margin: 0; }
#landing .landing-film video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: contain;
  border-radius: 14px; box-shadow: 0 8px 24px #294b3910;
}
#landing .landing-film figcaption { margin-top: 8px; color: var(--entry-muted); font-size: .78rem; }
/* Hide immediately, even before the native toggle event pauses the movie. */
#landing .hero:has(#entry-auth[open]) > .landing-film { display: none; }

body:has(#landing:not([hidden])) > footer {
  max-width: 608px; margin: 0 auto; padding: 16px 24px;
  color: #50675c; border-top-color: #c6d8cd;
}
body:has(#landing:not([hidden])) > footer :is(a, button) { color: #50675c; }
body:has(#landing:not([hidden])) > footer nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 16px; width: 100%; font-size: .75rem;
}
body:has(#landing:not([hidden])) > footer nav a {
  display: inline-flex; align-items: center; min-height: 44px;
}

/* Phones and narrow tablet views retain the simple vertical composition. */
@media (max-width: 700px) {
  body:has(#landing:not([hidden])) > header { padding-top: max(20px, env(safe-area-inset-top)); }
  body:has(#landing:not([hidden])) > header .brand img { width: 145px !important; }
  #landing { max-width: 492px; padding-bottom: 24px; }
  #landing .entry-intro h1 { font-size: clamp(1.8rem, 6.5vw, 2.75rem); }
  #landing .entry-intro ul { font-size: .95rem; }
  #landing .hero .access { padding: 20px 16px; }
}

/* Tablet and desktop add context once, as three short illustrated steps. */
@media (min-width: 701px) {
  #landing { max-width: 820px; }
  #landing .hero { max-width: 560px; margin: 0 auto; }
  #landing .entry-context {
    display: block; max-width: 440px; margin: -10px auto 24px;
    text-align: center; color: var(--entry-muted); font-size: 1rem; line-height: 1.6;
  }
  #landing .entry-guide { display: block; margin-top: 30px; }
  #landing .entry-guide > h2 { font-size: 1.3rem; margin: 0 0 14px; text-align: center; }
  #landing .entry-guide-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px; margin: 0; padding: 0; list-style: none;
  }
  #landing .entry-step {
    position: relative; min-width: 0; padding: 16px; border: 1px solid var(--entry-border);
    border-radius: 12px; background: #f8fbf8e8;
  }
  #landing .entry-step-mark { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
  #landing .entry-step-mark svg { width: 36px; height: 36px; padding: 7px; border-radius: 9px; background: #e7f0e9; color: var(--entry-accent); }
  #landing .entry-step-mark span { color: #61776f; font-size: .75rem; letter-spacing: .06em; }
  #landing .entry-step h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.3; }
  #landing .entry-step p { margin: 0; color: var(--entry-muted); font-size: .9rem; line-height: 1.5; }
  #landing .entry-connector {
    position: absolute; top: 26px; right: -19px; width: 18px; height: 18px;
    color: #6c8675; pointer-events: none;
  }
}

/* Wide tablets and desktop: a compact invitation left, the movie right. */
@media (min-width: 900px) {
  body:has(#landing:not([hidden])) > header {
    max-width: 1160px; justify-content: flex-start; padding: 24px 32px 16px;
  }
  body:has(#landing:not([hidden])) > header .brand img { width: 174px !important; }
  #landing { max-width: 1160px; padding: 14px 32px 28px; }
  #landing .hero {
    max-width: none;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: 'intro film' 'auth film'; grid-template-rows: auto 1fr;
    gap: 22px clamp(28px, 3.4vw, 44px); align-items: start;
  }
  #landing .entry-intro { grid-area: intro; padding-top: 0; }
  #landing .entry-intro h1 {
    text-align: left; font-size: clamp(2rem, 3.2vw, 3rem); margin-bottom: 20px;
  }
  #landing .entry-intro ul { margin-left: 0; font-size: 1rem; gap: 10px; }
  #landing .entry-context { margin: 0 0 20px; text-align: left; line-height: 1.5; }
  #landing #entry-auth { grid-area: auth; }
  #landing #entry-auth:not([open]) > summary { width: min(100%, 280px); }
  #landing .hero > .landing-film { grid-area: film; align-self: center; }
  /* Reuse the same form in the right column once the visitor chooses to join. */
  #landing .hero:has(#entry-auth[open]) {
    grid-template-areas: 'intro auth'; grid-template-rows: auto;
  }
  body:has(#landing:not([hidden])) > footer { max-width: 1160px; }
  #landing .entry-guide { margin-top: 32px; }
  #landing .entry-guide > h2 { text-align: left; }
}


/* SOURCE: assets/tour-0.11.63.css */
/* Restore the original desk artwork already used by the workspace. */
body:has(#landing:not([hidden]))::before { display: block; }

/* One small help menu for both repeatable onboarding and the existing FAQ. */
#trainer .workspace-head { position: relative; z-index: 40; overflow: visible; }
#trainer .workspace-navigation { overflow: visible; }
#trainer .workspace-assistance { position: relative; flex-shrink: 0; }
#trainer .workspace-assistance > summary {
  list-style: none; padding: 8px 10px; min-height: 44px; display: flex;
  align-items: center; color: #70518c; font-size: .82rem; font-weight: 650;
}
#trainer .workspace-assistance > summary::-webkit-details-marker { display: none; }
#trainer .workspace-assistance[open] > summary { background: #eee5f4; border-radius: 10px; }
#trainer .workspace-assistance .workspace-help-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30;
  width: min(220px, calc(100vw - 32px));
  padding: 6px; border: 1px solid #ded2e7; border-radius: 12px;
  background: #fffdf8; box-shadow: 0 8px 24px #3f2c4920;
}
#trainer .workspace-help-menu button, #trainer .workspace-help-menu a {
  display: flex; align-items: center; width: 100%; min-height: 44px;
  padding: 10px; border: 0; border-radius: 8px; color: #60447a;
  text-decoration: none; background: transparent; font-size: .86rem; text-align: left;
}
#trainer .workspace-help-menu button:hover, #trainer .workspace-help-menu a:hover { background: #eee5f4; }

/* A native modal provides focus containment; the visual spotlight is read-only. */
#flipoa-tour {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
  overflow: hidden; color: #35263f;
}
#flipoa-tour::backdrop { background: #2c233d66; }
#flipoa-tour.tour-has-target::backdrop { background: transparent; }
#flipoa-tour .tour-spot {
  position: fixed; border: 2px solid #9470b5; border-radius: 12px;
  box-shadow: 0 0 0 100vmax #2c233d66; pointer-events: none;
}
#flipoa-tour .tour-note {
  position: fixed; width: min(370px, calc(100% - 24px)); padding: 22px;
  overflow: auto; overscroll-behavior: contain; border: 1px solid #d8c9e3;
  border-radius: 20px; background: #fffdf8; box-shadow: 0 14px 50px #241b3933;
}
#flipoa-tour .tour-heading { display: flex; align-items: center; gap: 12px; padding-right: 14px; }
#flipoa-tour .tour-friend { width: 66px; height: 66px; }
#flipoa-tour .tour-counter { margin: 0 0 5px; color: #70518c; font-size: .74rem; font-weight: 700; }
#flipoa-tour h2 { margin: 0; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.025em; }
#flipoa-tour h2:focus { outline: none; }
#flipoa-tour #flipoa-tour-copy { margin: 16px 0 18px; color: #62566b; font-size: .94rem; line-height: 1.55; }
#flipoa-tour .tour-close {
  position: absolute; top: 4px; right: 4px; width: 44px; height: 44px;
  padding: 0; border: 0; background: transparent; color: #756381; font-size: 1.45rem;
}
#flipoa-tour .tour-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
#flipoa-tour .tour-actions button { min-height: 44px; padding: 10px 14px; font-size: .86rem; }
#flipoa-tour .tour-next { margin-left: auto; background: #70518c; }
#flipoa-tour .tour-back { background: #f2edf5; border-color: #e3d8eb; }
body.tour-running #flipoa-feed { visibility: hidden; }
body.tour-running #trainer #learn-view { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 700px) {
  body.tour-running { padding-bottom: calc(var(--tour-note-height, 250px) + 24px); }
  #flipoa-tour .tour-note { padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-radius: 18px; }
  #flipoa-tour .tour-friend { width: 50px; height: 50px; }
  #flipoa-tour h2 { font-size: 1.08rem; }
  #flipoa-tour #flipoa-tour-copy { font-size: .88rem; margin: 12px 0; }
  body.tour-running #trainer #learn-view:not([hidden]) {
    height: calc(100dvh - var(--tour-note-height, 250px) - 28px);
    bottom: auto; padding: 12px 16px; overflow-y: auto; justify-content: flex-start;
  }
  body.tour-running #learn-view #study { flex: 0 0 auto; }
}
@media print { #flipoa-tour, .workspace-assistance { display: none !important; } }

/* Printing is a normal, prominent workspace action; selection and PDF flow stay unchanged. */
#trainer .toolbar {
  position: relative; z-index: 1;
  grid-template-columns: minmax(180px, 320px) auto minmax(0, 1fr) repeat(2, 10.5rem) !important;
}
#trainer .toolbar > label {
  display: grid; gap: 6px; color: #392a46; font-size: .9rem; font-weight: 750;
}
#trainer .topic-filter-label {
  justify-self: start; padding: 2px 8px; border-radius: 6px;
  background: #fffdf8; line-height: 1.4;
}
#trainer .toolbar > label > #topic {
  display: block; box-sizing: border-box; width: 100%; height: 48px; min-height: 48px;
  margin: 0; padding: 10px 36px 10px 12px;
  border: 1px solid #baabc4; border-radius: 11px; background-color: #fffdf8;
  color: #392a46; font: 600 1rem/1.3 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #675570 50%), linear-gradient(135deg, #675570 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
#trainer .toolbar > #new-card, #trainer .toolbar > #print {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  width: 100% !important; height: 48px; min-height: 48px !important;
  padding: 10px 12px !important; margin: 0 !important; border-radius: 11px !important;
  font-size: .9rem !important; font-weight: 700 !important; line-height: 1.2;
  white-space: nowrap;
}
#trainer .toolbar > #print {
  grid-column: 5; grid-row: 1; gap: 8px;
  border: 1px solid #90ae9b; background: #e0eddf; color: #315641;
}
#trainer #print svg { width: 20px; height: 20px; flex-shrink: 0; }
#trainer #print:disabled { opacity: .72; }
#trainer #print:not(:disabled):hover { background: #cfdfd0; border-color: #6e937d; }

/* The remaining management tools sit in a topic-style accordion. */
#trainer #list-view .card-tools {
  display: block; margin: 10px 0 14px; padding: 0;
  border: 1px solid #adc8b6; border-radius: 12px;
  background: #fffdf7bf; overflow: hidden;
}
#trainer #list-view .card-tools > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 48px; margin: 0; padding: 12px 16px;
  list-style: none; background: #dceadbdc; color: #334c40;
  font-size: .9rem; font-weight: 650;
}
#trainer #list-view .card-tools > summary::-webkit-details-marker { display: none; }
#trainer .card-tools > summary svg { width: 19px; height: 19px; }
#trainer .card-tools[open] > summary svg { transform: rotate(180deg); }
#trainer .card-tools .management-body { padding: 12px 16px; }
#trainer .card-tools .management-selection { display: flex; flex-wrap: wrap; gap: 8px 16px; }
#trainer .card-tools .management-selection label { margin-right: auto; }
#trainer .card-tools .card-search-label { margin-bottom: 0; }

#flipoa-feed .flipoa-feed-visual { width: 128px; height: 128px; }
#flipoa-feed .flipoa-feed-visual .flipoa-feed-standard { width: 128px !important; height: 128px !important; }
#flipoa-feed .flipoa-feed-label {
  max-width: 196px; padding: 7px 14px !important; font-size: 16px !important;
  white-space: normal !important; text-align: center;
}

/* The real importer stays visible beneath the tour's native modal. */
body.tour-running #importer::backdrop { background: transparent; }
@media (min-width: 1001px) {
  body.tour-running #importer[open] {
    position: fixed; width: min(760px, calc(100vw - 440px));
    margin-left: max(24px, calc((100vw - 1160px) / 2)); margin-right: 0;
  }
}
@media (max-width: 1000px) {
  body.tour-running #importer[open] {
    position: fixed; inset: 12px 12px auto; margin: 0 auto;
    width: min(700px, calc(100% - 24px));
    max-height: max(120px, calc(100dvh - var(--tour-note-height, 260px) - 40px));
    overflow-y: auto; scroll-padding: 8px;
  }
  body.tour-running #importer .import-drop { padding: 16px 12px; }
}
@media (max-width: 900px) {
  #trainer .toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: 100%; max-width: 560px;
  }
  #trainer .toolbar > #new-card { grid-column: 1 !important; grid-row: 2 !important; }
  #trainer .toolbar > #print { grid-column: 2; grid-row: 2; }
}
@media (max-width: 700px) {
  #trainer .toolbar > #new-card, #trainer .toolbar > #print { padding: 10px 8px !important; font-size: .85rem !important; }
  #flipoa-feed .flipoa-feed-visual { width: 112px; height: 112px; }
  #flipoa-feed .flipoa-feed-visual .flipoa-feed-standard { width: 112px !important; height: 112px !important; }
  #flipoa-feed .flipoa-feed-label { max-width: 180px; padding: 6px 10px !important; font-size: 15px !important; }
}


/* SOURCE: assets/importer-0.11.63.css */
/* Keep the selected-file step focused on the learner's choices. */
#importer #ai-test-notice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin: 8px 0 14px; padding: 8px 12px; border: 1px solid #ded4e6;
  border-radius: 10px; background: #f3edf6; color: #604970;
  font-size: .82rem; line-height: 1.4;
}
#importer #ai-test-notice strong, #importer #ai-quota-copy { font-size: inherit; }
#importer #ai-quota-copy { font-weight: 500; }
#importer .import-question-count {
  margin: 14px 0; padding: 12px 14px; border: 1px solid #c5d8cb;
  border-radius: 12px; background: #edf4ee;
}
#importer .count-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#importer .count-heading > label { margin: 0; font-weight: 750; color: #315641; }
#importer #import-count { width: 76px; min-height: 44px; margin: 0; padding: 8px; text-align: center; background: #fffdf8; }
#importer #import-count-range {
  display: block; width: 100%; height: 36px; margin: 4px 0; padding: 0;
  border: 0; background: transparent; accent-color: #426b54; cursor: pointer;
}
#importer #import-count-help { display: block; color: #485b50; font-size: .78rem; line-height: 1.4; }
#importer #instruction-label { margin: 16px 0; }
#importer .instruction-title { display: block; color: #392a46; font-size: 1rem; font-weight: 750; }
#importer .instruction-title small { margin-left: 6px; font-size: .78rem; }
#importer #import-instructions { border: 1px solid #ac93bf; border-radius: 10px; background: #fffdf8; min-height: 72px; }
#importer .ai-extras { margin: 12px 0; border: 1px solid #ded4e6; border-radius: 12px; background: #fffdf8; }
#importer .ai-extras > summary { padding: 12px; min-height: 44px; font-size: .9rem; font-weight: 700; color: #604970; cursor: pointer; }
#importer .ai-extras .ai-additions { margin: 0; padding: 0 12px 12px; border: 0; background: transparent; }
#importer .ai-additions legend { font-size: .8rem; color: #62566b; }
#importer .import-consent {
  margin: 14px 0; padding: 12px 14px; border: 1px solid #b8cdbf;
  border-radius: 12px; background: #edf4ee; color: #354e40; cursor: pointer; column-gap: 10px;
}
#importer .import-consent strong { display: block; font-size: .9rem; }
#importer .import-consent small { display: block; margin-top: 4px; font-size: .8rem; color: #485b50; line-height: 1.45; }
#importer .import-consent:has(input:checked) { border-color: #668f75; background: #e4f0e6; }
#importer .import-consent:focus-within { outline: 3px solid #70518c; outline-offset: 3px; }
#importer .dialog-actions { position: static; padding: 16px 0 0; }


/* SOURCE: assets/care-theme-0.11.81.css */
/* Shared Care theme follows the account's world, independently of entry URL. */
body.care-entry #landing .hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:none;grid-template-rows:auto;column-gap:clamp(28px,3.4vw,44px);align-items:start;max-width:none;margin:0 auto;padding:0 0 12px;min-height:0}
body.care-entry #landing #entry-auth {width:100%;max-width:none;margin:0;align-self:start;grid-column:2;grid-row:2}
body.care-entry #landing .care-hero-heading {grid-column:1;grid-row:1;padding-bottom:20px}
body.care-entry #landing .entry-intro {grid-column:1;grid-row:2;align-self:start;padding-top:0}
body.care-entry #landing .entry-context {margin-top:0}
body.care-entry #landing .hero:has(#entry-auth[open]) {grid-template-areas:none;grid-template-rows:auto;row-gap:0}
body.care-entry #landing .care-intro-more {grid-column:1;grid-row:3}
body.care-entry #landing .entry-intro>.care-starter-offer {margin-bottom:0}
body.care-entry #landing #entry-auth>summary,
body.care-entry .landing-help-teaser {display:none}
body.care-entry #landing .entry-intro {display:block}
body.care-entry #landing .care-hero-heading h1 {font-size:clamp(2rem,3.2vw,3rem);line-height:1.12;margin:0;letter-spacing:-.04em}
body.care-entry #landing .care-hero-heading h1 em {color:#337c66}
body.care-entry #landing .care-ai-lead {display:block;color:#286c59;font-size:1.15em;line-height:1.35;margin-bottom:10px}
body.care-entry #landing .care-audience {font-size:.9rem;line-height:1.55;color:#526e61;margin:0 0 18px}
body.care-entry #landing .care-starter-offer strong {display:block;font-size:1.2rem;line-height:1.3}
body.care-entry #landing .care-starter-offer {background:#eff6f1;border:1px solid #bad0c1}
@media(max-width:899px){body.care-entry #landing .hero:has(#entry-auth[open]){grid-template-columns:1fr;gap:20px}body.care-entry #landing .care-hero-heading{padding-bottom:0}body.care-entry #landing .care-hero-heading h1{font-size:clamp(1.8rem,6.5vw,2.75rem)}body.care-entry #landing #entry-auth{max-width:560px;justify-self:center;grid-column:1;grid-row:4}body.care-entry #landing .care-intro-more{grid-row:3}body.care-entry #landing .care-intro-more .care-starter-info{margin-top:0}}
body.care-entry #landing #zugang {width:100%;margin:0;padding:24px;box-sizing:border-box}
body.care-entry #landing .care-login-intro h1 {font-size:clamp(1.5rem,5vw,2rem);line-height:1.2;letter-spacing:-.025em;margin:0 0 10px}
body.care-entry #landing .care-login-intro p {font-size:.95rem;line-height:1.55;margin:0 0 22px;color:#567368}
body.care-entry #landing #zugang>.eyebrow,
body.care-entry #landing #zugang>.caption {display:none}
body.care-entry #landing #auth-title {font-size:1.1rem}
body.care-entry #landing #zugang>.tabs {background:#edf6f1}
@media(max-width:480px){body.care-entry #landing #zugang{padding:20px 16px}}
.care-starter-offer {margin:18px 0;padding:18px 20px;background:#e3f3eb;border:1px solid #bddbcd;border-radius:14px;color:#285e4c}
.care-starter-offer p {margin:8px 0 14px;font-size:.9rem;line-height:1.5}
.care-starter-offer .link {margin-left:10px;font-size:.85rem}
.care-starter-offer[hidden] {display:none}
#offline-note:empty, #app-note:empty {display:none}
body.care-theme .card-tools>summary {background:#377b65;color:white}
body.care-theme {
 --ink:#263f39; --muted:#61776f; --purple:#286c59; --lavender:#e1f3eb;
 --mint:#d7efe4; --paper:#f5faf7;
 color:var(--ink);
}
body.care-theme:has(#landing:not([hidden])),
body.care-theme:has(#trainer:not([hidden])) {
 min-height:100vh;min-height:100svh;box-sizing:border-box;margin:0;
 background:#e5f2ec url('care-desk-0.11.71.webp') center top/100% 100vh no-repeat fixed;
}
html:has(body.care-theme){background:#e5f2ec;min-height:100%}
body.care-theme:has(#landing:not([hidden])):before,
body.care-theme:has(#trainer:not([hidden])):before {
 display:none;
}
@media(max-width:1000px){body.care-theme:has(#landing:not([hidden])),body.care-theme:has(#trainer:not([hidden])){background-image:linear-gradient(#e5f2ece8,#edf7f1ee),url('care-desk-0.11.71.webp');background-size:auto,auto 100vh}}
body.care-theme :is(h1,h2,h3,#account-title) {color:#263f39}
body.care-theme #landing .entry-intro h1 em {color:#337c66}
body.care-theme :is(.button,#new-card,#auth-submit,#profile-form button[type="submit"],#entry-auth .entry-cta) {
 background:#337b65; color:#fff; border-color:#337b65; box-shadow:0 3px 9px #27634d18;
}
body.care-theme :is(.button,#new-card,#auth-submit,#profile-form button[type="submit"],#entry-auth .entry-cta):hover {background:#28634f}
body.care-theme :is(.link,.eyebrow,.entry-step-mark,.care-kicker) {color:#286c59}
body.care-theme :is(input,select,textarea) {border-color:#bad6c9; accent-color:#337b65}
body.care-theme :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid #70b69d;outline-offset:3px;box-shadow:none}
body.care-theme :is(.tabs button.active,#trainer .tabs button.active) {background:#def1e7;color:#245c4b}
body.care-theme :is(.tabs button.active,#trainer .tabs button.active):after {background:#38876e}
body.care-theme :is(#account-dialog,#editor,#card-preview) {background:#f7fbf8;border-color:#b9d6c8}
body.care-theme #avatar-choices button[aria-pressed="true"] {border-color:#367e66;box-shadow:0 0 0 2px #9acfb9}
body.care-theme #profile-form .flipoa-friends-heading {display:none}
.care-profile-heading {margin:26px 0 20px;padding:22px 12px;text-align:center;background:#e3f3eb;border-radius:18px;border:1px solid #c6e2d5}
.care-profile-heading h3 {margin:0;font-family:Georgia,serif;font-size:clamp(1.65rem,5vw,2.35rem);color:#28644f}
.care-profile-heading p {margin:8px 0 0;color:#567368;font-size:.9rem}
.care-profile-heading[hidden] {display:none}
.care-brand-label {font:650 .78rem system-ui;letter-spacing:.03em;color:#2b6b56;background:#ddefe4;border:1px solid #bddfce;border-radius:999px;padding:6px 10px}
.care-brand-label[hidden] {display:none}
.care-profession-icons {display:flex;flex-wrap:wrap;gap:14px;margin:16px 0 0;color:#496c5e;font-size:.78rem}
.care-profession-icons span {display:inline-flex;align-items:center;gap:6px}
.care-profession-icons svg {width:25px;height:25px;stroke:#41856c;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.care-theme #study .study-card {background:#fffefb;box-shadow:0 10px 30px #315f4910}
body.care-theme .entry-step-mark {background:#e0f1e7}
@media(max-width:600px) {
 .care-brand-label {font-size:.68rem;padding:4px 7px}
 body.care-theme header .brand {gap:7px}
 .care-profession-icons {gap:10px;font-size:.73rem}
}

/* Care onboarding follows the saved account world, including on the main URL. */
body.care-theme #flipoa-tour { color: #203d34; }
body.care-theme #flipoa-tour::backdrop { background: #183b3266; }
body.care-theme #flipoa-tour.tour-has-target::backdrop { background: transparent; }
body.care-theme #flipoa-tour .tour-spot { border-color: #438b76; box-shadow: 0 0 0 100vmax #183b3266; }
body.care-theme #flipoa-tour .tour-note { background: #f8fcfa; border-color: #bddbce; box-shadow: 0 14px 50px #203e3233; }
body.care-theme #flipoa-tour .tour-counter,
body.care-theme #flipoa-tour .tour-close { color: #387561; }
body.care-theme #flipoa-tour #flipoa-tour-copy { color: #496258; }
body.care-theme #flipoa-tour .tour-next { background: #307b65; color: white; }
body.care-theme #flipoa-tour .tour-back { background: #e1f1e9; border-color: #bddbce; color: #285644; }
body.care-theme #flipoa-tour .tour-friend { background-image: url('care-friends.png'); background-size: 400% 300%; background-position: 0 0; }
body.care-theme #trainer .workspace-assistance > summary,
body.care-theme #trainer .workspace-help-menu button,
body.care-theme #trainer .workspace-help-menu a { color: #30715b; }
body.care-theme #trainer .workspace-assistance[open] > summary,
body.care-theme #trainer .workspace-help-menu button:hover,
body.care-theme #trainer .workspace-help-menu a:hover { background: #e1f1e9; }

/* A quieter sage accent on the Care entry page; learning workspace is unchanged. */
body.care-entry #landing .care-starter-offer { padding: 16px; border-radius: 12px; }
body.care-entry #landing .care-starter-offer .link { display: block; margin: 8px 0 0; padding: 6px 0; min-height: 44px; }
body.care-entry #landing .button { background: var(--entry-accent); border-color: var(--entry-accent); color: #fff; border-radius: 12px; }
body.care-entry #landing .button:hover { background: var(--entry-hover); }
body.care-entry #landing .entry-step-mark { background: transparent; }


/* SOURCE: assets/care-entry-0.11.85.css */
/* Focused CARE introduction; the existing auth form remains intact. */
body.care-entry #landing .hero,
body.care-entry #landing .hero:has(#entry-auth[open]) {
 display:flex;flex-direction:column;gap:0;max-width:680px;margin:0 auto;padding:0;
}
body.care-entry #landing .entry-intro {width:100%;min-width:0;}
body.care-entry #landing .entry-intro h1 {font-size:clamp(1.9rem,5.5vw,3rem);line-height:1.14;text-align:left;margin:0 0 12px;letter-spacing:-.035em;}
body.care-entry #landing .care-kicker {margin:0 0 18px;font-size:.95rem;line-height:1.5;letter-spacing:0;font-weight:600;color:#426657;}
body.care-entry #landing .entry-context {display:block;max-width:none;margin:0 0 18px;text-align:left;font-size:1rem;line-height:1.55;color:#50675c;}
body.care-entry #landing .care-starter-tip {margin:0 0 20px;padding:10px 14px;border-left:3px solid #79a58d;background:#f5faf780;font-size:.88rem;line-height:1.5;color:#355c4a;}
body.care-entry #landing .care-entry-actions {display:flex;flex-direction:column;align-items:flex-start;gap:4px;}
body.care-entry #landing .care-entry-actions .button {min-height:48px;max-width:100%;padding:12px 24px;white-space:normal;}
body.care-entry #landing .care-entry-actions .link {min-height:44px;padding:8px 0;font-size:.88rem;color:#286c59;}
body.care-entry #landing #entry-auth {width:100%;max-width:none;margin:8px 0 0;}
body.care-entry #landing #entry-auth:not([open]) {margin:0;}
body.care-entry #landing #entry-auth > summary {display:none;}
body.care-entry #landing #zugang {margin:0;}
body.care-entry #landing .care-starter-info {margin:4px 0 0;width:100%;font-size:.85rem;line-height:1.5;}
body.care-entry #landing .care-starter-info summary {min-height:44px;box-sizing:border-box;padding:12px 0;cursor:pointer;}
body.care-entry #landing .care-content-notice {max-width:680px;margin:16px auto 0;padding-top:14px;border-top:1px solid #bad0c1;color:#50675c;font-size:.8rem;line-height:1.55;}
body.care-entry #landing .care-content-notice p {margin:6px 0 0;}
@media(max-width:700px){
 body.care-entry:has(#landing:not([hidden])) > header {padding-top:max(16px,env(safe-area-inset-top));padding-bottom:16px;}
 body.care-entry:has(#landing:not([hidden])) > header .brand img {width:125px!important;}
 body.care-entry #landing .entry-context {font-size:.95rem;}
 body.care-entry #landing .care-entry-actions .button {width:100%;}
}

body.care-entry #landing .care-content-notice > strong {display:block;font-size:1rem;color:#355c4a;}
body.care-entry #landing .care-source-details {margin:8px 0 0;}
body.care-entry #landing .care-source-details summary {min-height:44px;box-sizing:border-box;padding:11px 0;cursor:pointer;color:#355c4a;}
@media(max-width:700px){
 body.care-entry:has(#landing:not([hidden])) > header {padding-top:max(12px,env(safe-area-inset-top));padding-bottom:8px;}
 body.care-entry #landing {padding-top:8px;padding-bottom:16px;}
 body.care-entry #landing .care-kicker {margin-bottom:12px;}
 body.care-entry #landing .entry-context {margin-bottom:14px;}
 body.care-entry #landing .care-starter-tip {margin-bottom:14px;padding:8px 12px;}
 body.care-entry:has(#landing:not([hidden])) > footer nav a[href="/"] {grid-column:1/-1;grid-row:1;}
}


/* SOURCE: assets/entry-finetuning-0.11.84.css */
/* General entry: retain the shared design and existing form. */
#landing .entry-access-group {grid-area:auth;min-width:0;}
#landing .entry-access-group #entry-auth {margin:0;}
#landing .entry-access-group #entry-auth > summary {width:min(100%,320px);margin:0 auto;}
#landing .entry-access-group .entry-cta {min-height:48px;padding:12px 20px;box-sizing:border-box;}
#landing .entry-login-link {display:block;min-height:44px;max-width:100%;margin:4px auto 0;padding:8px 4px;font-size:.85rem;line-height:1.4;text-align:center;color:#286c59;}
#landing .entry-access-group:has(#entry-auth[open]) .entry-login-link {display:none;}
@media(min-width:900px){
 #landing .entry-access-group #entry-auth > summary {margin-left:0;width:min(100%,280px);}
 #landing .entry-login-link {margin-left:0;width:min(100%,280px);}
}
@media(max-width:700px){
 body:has(#landing:not([hidden])) > footer {padding:12px 20px;}
 body:has(#landing:not([hidden])) > footer nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;align-items:center;text-align:center;}
 body:has(#landing:not([hidden])) > footer nav a {justify-content:center;white-space:normal;overflow-wrap:anywhere;line-height:1.4;}
 body:has(#landing:not([hidden])) > footer nav > button:not([hidden]) {grid-column:1/-1;justify-self:center;margin:0;padding:8px 0;min-height:44px;}
}


/* SOURCE: assets/entry-shared-0.11.86.css */
/* CARE desktop alignment; narrow layouts retain their existing flow. */
@media(min-width:900px){
 body.care-entry:has(#landing:not([hidden])) > header,
 body.care-entry #landing,
 body.care-entry:has(#landing:not([hidden])) > footer {
  box-sizing:border-box;width:100%;max-width:1064px;margin-left:auto;margin-right:auto;
  padding-left:32px;padding-right:32px;
 }
 body.care-entry:has(#landing:not([hidden])) > header {justify-content:flex-start;}
 body.care-entry #landing .hero,
 body.care-entry #landing .hero:has(#entry-auth[open]) {max-width:none;margin:0;}
 body.care-entry #landing .entry-context {max-width:650px;}
 body.care-entry #landing .care-starter-tip {width:fit-content;max-width:100%;box-sizing:border-box;}
 body.care-entry #landing .care-entry-actions {flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px 24px;}
 body.care-entry #landing .care-entry-actions .link {margin:0;}
 body.care-entry #landing #entry-auth {max-width:650px;}
 body.care-entry #landing .entry-guide {margin-top:24px;}
 body.care-entry #landing .entry-guide-grid {gap:16px;}
 body.care-entry #landing .entry-step {padding:13px 14px;}
 body.care-entry #landing .entry-step-mark {margin-bottom:7px;}
 body.care-entry #landing .entry-step-mark svg {width:30px;height:30px;padding:5px;box-sizing:border-box;}
 body.care-entry #landing .entry-step p {line-height:1.45;}
 body.care-entry #landing .entry-connector {right:-15px;width:14px;}
 body.care-entry #landing .care-content-notice {max-width:none;margin:12px 0 0;padding-top:12px;}
 body.care-entry #landing .care-content-notice p {max-width:650px;}
 body.care-entry:has(#landing:not([hidden])) > footer nav {justify-content:flex-start;}
}

/* Both entry pages share type, controls, container and step-card proportions. */
body:has(#landing:not([hidden])) #landing .entry-intro h1 {font-size:clamp(1.9rem,5.5vw,3rem);line-height:1.14;letter-spacing:-.035em;}
body:has(#landing:not([hidden])) #landing .entry-cta,
body:has(#landing:not([hidden])) #landing .care-entry-actions .button {background:#426b59;border-color:#426b59;border-radius:12px;min-height:48px;padding:12px 20px;box-sizing:border-box;font-size:1rem;line-height:1.35;box-shadow:0 4px 12px #294b391a;}
body:has(#landing:not([hidden])) #landing .entry-cta:hover,
body:has(#landing:not([hidden])) #landing .care-entry-actions .button:hover {background:#335443;}
body:has(#landing:not([hidden])) #landing .entry-login-link,
body:has(#landing:not([hidden])) #landing .care-entry-actions .link {font-size:.85rem;line-height:1.4;min-height:44px;color:#286c59;}
@media(min-width:900px){
 body:has(#landing:not([hidden])) > header,
 body:has(#landing:not([hidden])) #landing,
 body:has(#landing:not([hidden])) > footer {box-sizing:border-box;width:100%;max-width:1064px;margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px;}
 body:has(#landing:not([hidden])) #landing .entry-intro h1 {margin-bottom:12px;text-align:left;}
 body:has(#landing:not([hidden])) #landing .entry-guide {margin-top:24px;}
 body:has(#landing:not([hidden])) #landing .entry-guide-grid {gap:16px;}
 body:has(#landing:not([hidden])) #landing .entry-step {padding:13px 14px;}
 body:has(#landing:not([hidden])) #landing .entry-step-mark {margin-bottom:7px;}
 body:has(#landing:not([hidden])) #landing .entry-step-mark svg {width:30px;height:30px;padding:5px;box-sizing:border-box;}
 body:has(#landing:not([hidden])) #landing .entry-step p {line-height:1.45;}
 body:has(#landing:not([hidden])) #landing .entry-connector {right:-15px;width:14px;}
 body:has(#landing:not([hidden])) > footer nav {justify-content:flex-start;}
 #landing .entry-access-group {display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;}
 #landing .entry-access-group #entry-auth:not([open]) {width:240px;max-width:100%;flex:none;}
 #landing .entry-access-group #entry-auth > summary {width:100%;}
 #landing .entry-access-group .entry-login-link {width:auto;margin:0;padding:8px 0;text-align:left;}
 #landing .entry-access-group:has(#entry-auth[open]) {display:block;}
 body.care-entry #landing .care-entry-actions {gap:12px 20px;}
 body.care-entry #landing .care-entry-actions .button {width:240px;max-width:100%;}
}
@media(max-width:700px){
 body:has(#landing:not([hidden])) > header {padding-top:max(12px,env(safe-area-inset-top));padding-bottom:8px;}
 body:has(#landing:not([hidden])) > header .brand img {width:125px!important;}
 body:has(#landing:not([hidden])) #landing {padding-top:8px;padding-bottom:16px;}
 body:has(#landing:not([hidden])) #landing .entry-intro h1 {text-align:left;}
 body:has(#landing:not([hidden])) #landing .entry-intro ul {width:auto;margin-left:0;}
 body:has(#landing:not([hidden])) #landing .care-entry-actions .button {width:min(100%,320px);align-self:center;}
 body:has(#landing:not([hidden])) #landing .care-entry-actions .link {align-self:center;}
}


/* SOURCE: assets/care-discovery-0.11.87.css */
/* Public, crawlable link to the distinct CARE entry. */
html.care-route #landing .care-discovery,
body.care-entry #landing .care-discovery {display:none;}
#landing .care-discovery {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;margin:24px 0 0;padding:16px 18px;background:#edf6f0;border:1px solid #c6d8cd;border-radius:12px;}
#landing .care-discovery h2 {font-size:1rem;line-height:1.3;margin:0 0 4px;color:#286c59;}
#landing .care-discovery p {font-size:.9rem;line-height:1.5;margin:0;color:#50675c;}
#landing .care-discovery a {display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;font-size:.9rem;color:#286c59;text-underline-offset:3px;}
@media(max-width:700px){#landing .care-discovery {margin-top:20px;padding:12px 16px;gap:4px;}}


/* SOURCE: assets/entry-responsive-0.11.89.css */
/* Shared entry rhythm, with separate public and CARE palettes. */
body:not(.care-entry) #landing {
 --entry-ink:#35283f;--entry-muted:#665c6c;--entry-accent:#71518a;
 --entry-hover:#573969;--entry-border:#dcd2e3;--entry-surface:#fdfbfe;
 --purple:#71518a;
}
body:not(.care-entry):has(#landing:not([hidden])) {
 background-color:#f8f5fa;
 background-image:linear-gradient(#f8f5faed,#f8f5faed),url('paper.png');
 color:#35283f;
}
body:not(.care-entry) #landing .hero h1 em {color:#71518a;}
body:not(.care-entry) #landing .entry-intro strong {color:#574261;}
body:not(.care-entry) #landing :is(.entry-login-link,.access a,.access .link) {color:#71518a;}
body:not(.care-entry) #landing .access .tabs {background:#f2edf6;}
body:not(.care-entry) #landing .access .tabs button.active {background:#e9dff1;color:#573969;}
body:not(.care-entry) #landing .access :is(input,select,textarea) {border-color:#d3c6de;}
body:not(.care-entry) #landing .entry-step {background:#fdfbfee8;}
body:not(.care-entry) #landing .entry-step-mark svg {background:#eee6f4;}
body:not(.care-entry) #landing .entry-step-mark span,
body:not(.care-entry) #landing .entry-connector {color:#786783;}
body:has(#landing:not([hidden])) #landing .entry-cta,
body:has(#landing:not([hidden])) #landing .care-entry-actions .button {
 background:var(--entry-accent);border-color:var(--entry-accent);box-shadow:0 3px 10px #35283f12;
}
body:has(#landing:not([hidden])) #landing .entry-cta:hover,
body:has(#landing:not([hidden])) #landing .care-entry-actions .button:hover {background:var(--entry-hover);}
body:has(#landing:not([hidden])) #landing .entry-intro h1 {
 font-size:clamp(1.85rem,4.8vw,2.8rem);line-height:1.15;text-align:left;margin:0 0 16px;
}
body:has(#landing:not([hidden])) #landing .entry-intro ul {
 display:grid;width:100%;margin:0;gap:10px;font-size:1rem;line-height:1.45;box-sizing:border-box;
}
body.care-entry #landing .entry-context {display:none;}
body.care-entry #landing .care-kicker {font-size:.9rem;line-height:1.45;margin:0 0 20px;font-weight:500;}
body.care-entry #landing .care-starter-tip {
 background:none;border:0;padding:0;margin:18px 0 14px;font-size:.82rem;line-height:1.5;
}
body.care-entry #landing .care-starter-tip strong {font-weight:600;}
body.care-entry #landing .care-starter-info {margin:8px 0 0;}
body.care-entry #landing .care-starter-info summary {font-weight:500;}
body:has(#landing:not([hidden])) > footer {
 display:block;box-sizing:border-box;width:100%;max-width:1064px;margin:0 auto;
 padding:12px 24px 20px;border-top:1px solid #dcd2e3;
}
body:has(#landing:not([hidden])) > footer nav {
 display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
 gap:0 18px;margin:0;padding:0;width:100%;font-size:.75rem;
}
body:has(#landing:not([hidden])) > footer nav :is(a,button) {
 flex:0 1 auto;width:auto;min-height:44px;margin:0;padding:6px 0;
 display:inline-flex;align-items:center;justify-content:center;
 line-height:1.35;white-space:normal;text-align:center;box-sizing:border-box;
}
body:has(#landing:not([hidden])) > footer nav [hidden] {display:none;}
body:not(.care-entry):has(#landing:not([hidden])) > footer :is(a,button) {color:#665c6c;}
body:not(.care-entry):has(#landing:not([hidden])) > footer nav a[href="/"] {display:none;}
body.care-entry:has(#landing:not([hidden])) > footer {border-color:#c6d8cd;}
@media(max-width:899px){
 body:has(#landing:not([hidden])) > header,
 body:has(#landing:not([hidden])) #landing {
  width:100%;max-width:608px;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px;
 }
 body:has(#landing:not([hidden])) > header {justify-content:center;padding-top:18px;padding-bottom:14px;}
 body:has(#landing:not([hidden])) #landing {padding-top:10px;padding-bottom:24px;}
 body:has(#landing:not([hidden])) #landing .hero {display:flex;flex-direction:column;max-width:none;gap:18px;margin:0;}
 body.care-entry:has(#landing:not([hidden])) #landing .hero {gap:0;}
 body:has(#landing:not([hidden])) #landing .entry-context {text-align:left;margin:0 0 18px;}
 body:has(#landing:not([hidden])) #landing .entry-access-group,
 body:has(#landing:not([hidden])) #landing .care-entry-actions {display:flex;flex-direction:column;align-items:stretch;gap:0;}
 body:has(#landing:not([hidden])) #landing .entry-access-group #entry-auth,
 body:has(#landing:not([hidden])) #landing .entry-access-group #entry-auth > summary,
 body:has(#landing:not([hidden])) #landing .care-entry-actions .button {width:100%;max-width:none;margin:0;align-self:stretch;}
 body:has(#landing:not([hidden])) #landing .entry-login-link,
 body:has(#landing:not([hidden])) #landing .care-entry-actions .link {align-self:center;width:auto;margin:4px 0 0;}
 body:has(#landing:not([hidden])) #landing .entry-guide {display:none;}
}
@media(max-width:480px){
 body:has(#landing:not([hidden])) > header,
 body:has(#landing:not([hidden])) #landing {padding-left:20px;padding-right:20px;}
 body:has(#landing:not([hidden])) > header .brand img {width:130px!important;}
 body:has(#landing:not([hidden])) #landing .entry-intro h1 {font-size:clamp(1.75rem,7.1vw,2.1rem);}
 body:has(#landing:not([hidden])) #landing .entry-intro ul {font-size:.95rem;gap:9px;}
 body:has(#landing:not([hidden])) > footer {padding:8px 20px 16px;}
 body:has(#landing:not([hidden])) > footer nav {gap:0 16px;}
 #landing .care-discovery {margin-top:18px;padding:12px 14px;}
}
body:not(.care-entry):has(#landing:not([hidden])) #landing .entry-login-link {color:#71518a;}
@media(min-width:900px){
 body.care-entry #landing .entry-intro {max-width:650px;}
}

/* Explicit shared gutters, including open forms, at every entry width. */
body:has(#landing:not([hidden])) main#landing {
 box-sizing:border-box;width:100%;padding-left:clamp(20px,4vw,32px);padding-right:clamp(20px,4vw,32px);
}
body:not(.care-entry):has(#landing:not([hidden])) #landing .entry-cta {background:#71518a;border-color:#71518a;}
body:not(.care-entry):has(#landing:not([hidden])) #landing .entry-cta:hover {background:#573969;}
body.care-entry:has(#landing:not([hidden])) #landing .entry-context {display:none;}

/* A restrained footer: identical structure in each entry, compact tap targets. */
body:has(#landing:not([hidden])) > footer {padding-top:8px;padding-bottom:12px;}
body:has(#landing:not([hidden])) > footer nav {column-gap:20px;row-gap:0;}
@media(max-width:600px){
 body:has(#landing:not([hidden])) > footer nav {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:360px;margin:0 auto;gap:0 12px;
 }
 body:has(#landing:not([hidden])) > footer nav a {grid-column:auto;grid-row:auto;justify-self:stretch;}
 body:has(#landing:not([hidden])) > footer nav a:is([href="/"],[href="/care"]) {grid-column:1/-1;grid-row:1;}
 body:has(#landing:not([hidden])) > footer nav > button:not([hidden]) {grid-column:1/-1;justify-self:center;}
}



/* SOURCE: assets/entry-heading-0.11.92.css */
/* Both entry pages share one centered text group and a stable headline scale. */
body:has(#landing:not([hidden])) > header {
  box-sizing: border-box;
  width: 100%;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: 12px;
  justify-content: center;
}
body:has(#landing:not([hidden])) > header .brand {
  justify-content: center;
  line-height: 1;
}
body:has(#landing:not([hidden])) #landing .entry-intro {
  width: 100%;
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
}
body:has(#landing:not([hidden])) #landing .entry-intro h1 {
  /* 38–52 px: resizing keeps a headline, not a subheading. */
  font-size: clamp(2.375rem, calc(2.125rem + 1.3vw), 3.25rem);
  font-weight: 750;
  line-height: 1.07;
  letter-spacing: -.04em;
  text-align: center;
  margin: 0 auto 12px;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}
body:has(#landing:not([hidden])) #landing .entry-intro h1 em {
  font-style: normal;
}
body:has(#landing:not([hidden])) #landing .entry-context,
body:has(#landing:not([hidden])) #landing .care-kicker {
  max-width: 32rem;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: pretty;
}
body:has(#landing:not([hidden])) #landing .entry-intro ul {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  gap: 9px;
  text-align: left;
  font-size: 1rem;
  line-height: 1.45;
}
body:has(#landing:not([hidden])) #landing .care-starter-tip {
  width: auto;
  max-width: 32rem;
  margin: 20px auto 14px;
  text-align: center;
  font-size: .9rem;
  line-height: 1.45;
}
body:has(#landing:not([hidden])) #landing .care-entry-actions,
body:has(#landing:not([hidden])) #landing .entry-access-group {
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
body:has(#landing:not([hidden])) #landing .entry-access-group #entry-auth {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}
body:has(#landing:not([hidden])) #landing .entry-access-group #entry-auth > summary,
body:has(#landing:not([hidden])) #landing .care-entry-actions .button {
  width: min(100%, 340px);
  max-width: 340px;
  margin: 0 auto;
  align-self: center;
}
body:has(#landing:not([hidden])) #landing .entry-login-link,
body:has(#landing:not([hidden])) #landing .care-entry-actions .link {
  width: auto;
  margin: 4px auto 0;
  align-self: center;
  text-align: center;
}
body.care-entry:has(#landing:not([hidden])) #landing .hero,
body.care-entry:has(#landing:not([hidden])) #landing .hero:has(#entry-auth[open]) {
  width: 100%;
  max-width: 650px;
  margin-inline: auto;
}
body.care-entry:has(#landing:not([hidden])) #landing .care-starter-info {
  text-align: left;
  margin-top: 12px;
}
body.care-entry:has(#landing:not([hidden])) #landing .care-starter-info > summary {
  text-align: center;
}
body.care-entry:has(#landing:not([hidden])) #landing .access {
  text-align: left;
}
@media (min-width: 900px) {
  body:has(#landing:not([hidden])) > header,
  body:has(#landing:not([hidden])) main#landing {
    max-width: 1120px;
    padding-left: 32px;
    padding-right: 32px;
  }
  body:not(.care-entry):has(#landing:not([hidden])) > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(28px, 3.4vw, 44px);
  }
  body:not(.care-entry):has(#landing:not([hidden])) > header .brand {
    grid-column: 1;
    justify-self: center;
  }
  body.care-entry:has(#landing:not([hidden])) > header {
    display: flex;
    justify-content: center;
  }
  body:has(#landing:not([hidden])) #landing .entry-guide > h2 { text-align: center; }
  /* The public movie remains centered against the whole invitation. */
  body:not(.care-entry):has(#landing:not([hidden])) #landing .hero > .landing-film {
    align-self: center;
  }
}
@media (max-width: 480px) {
  body:has(#landing:not([hidden])) #landing .entry-intro ul { font-size: .95rem; }
  body:has(#landing:not([hidden])) #landing .care-kicker { font-size: .95rem; }
}


/* SOURCE: assets/brand-0.11.92.css */
/* One optical size for both artworks; CARE has additional width for its label.
   The measured artwork heights are 243 px (general) and 401 px (CARE).
   Normalize those, rather than the differently padded source image boxes. */
header { --brand-mark-height: 44px; }
body:has(#landing:not([hidden])) > header {
  --brand-mark-height: clamp(44px, calc(42px + .6vw), 52px);
}
header img.brand-logo-care { display: none; }
html.care-brand header img.brand-logo-general { display: none; }
html.care-brand header img.brand-logo-care { display: block; }

html header img.brand-logo-general,
html body:has(#landing:not([hidden])) > header .brand img.brand-logo-general {
  width: calc(var(--brand-mark-height) * 4.115226337) !important;
  height: calc(var(--brand-mark-height) * 1.12) !important;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
}
html header img.brand-logo-care,
html body:has(#landing:not([hidden])) > header .brand img.brand-logo-care {
  width: calc(var(--brand-mark-height) * 5.416458853) !important;
  height: calc(var(--brand-mark-height) * 1.12) !important;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  max-width: 100%;
}
header .brand { max-width: 100%; }
html.care-brand .help-header a:has(.brand-logo-care) { max-width: 60%; }

/* A status badge in the existing discovery heading, with no extra click step. */
#landing .care-discovery h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
#landing .care-discovery .care-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #c5353f;
  color: #fff;
  font-size: .6875rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .04em;
}

/* Instagram icon link in the site footer. */
footer .footer-instagram{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;background:transparent;text-decoration:none;line-height:1;color:inherit;transition:color .15s ease,transform .15s ease}footer .footer-instagram svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}footer .footer-instagram:hover{color:#5f4d6c;transform:translateY(-1px)}footer .footer-instagram:focus-visible{outline:2px solid #796687;outline-offset:3px;border-radius:6px}


/* 0.11.95 – fixed comfortable workspace width on wide displays. */
@media(min-width:1100px){
 body.workspace-mode>header,
 body.workspace-mode>#trainer{
  box-sizing:border-box!important;
  width:calc(100% - 48px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
 }
}

/* 0.11.96 – add-card icon in topic rows. */
.topic-group summary .topic-summary-actions>.add-topic-card svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.topic-group summary .topic-summary-actions>.add-topic-card{font-size:0!important}

/* 0.11.97 – lighter add-card icon; avoid filled SVG geometry. */
.topic-group summary .topic-summary-actions>.add-topic-card{background:transparent!important;border:0!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;color:var(--topic-ink)!important;opacity:.82}
.topic-group summary .topic-summary-actions>.add-topic-card:hover{background:#fffdf980!important;opacity:1}
.topic-group summary .topic-summary-actions>.add-topic-card svg{width:21px;height:21px;fill:none!important;stroke:currentColor!important;stroke-width:1.55!important}

/* 0.11.98 – simple plus for topic quick add. */
.topic-group summary .topic-summary-actions>.add-topic-card{font-size:1.55rem!important;font-weight:400!important;line-height:1!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;color:var(--topic-ink)!important;text-decoration:none!important}
.topic-group summary .topic-summary-actions>.add-topic-card svg{display:none!important}

/* 0.11.99 – force a clean visible plus and give it breathing room. */
.topic-group summary .topic-summary-actions>.add-topic-card{
 appearance:none!important;
 -webkit-appearance:none!important;
 position:relative!important;
 margin:0 10px 0 14px!important;
 width:24px!important;
 min-width:24px!important;
 height:32px!important;
 min-height:32px!important;
 padding:0!important;
 overflow:visible!important;
 background:none!important;
 background-color:transparent!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 color:transparent!important;
 font-size:0!important;
 opacity:1!important;
}
.topic-group summary .topic-summary-actions>.add-topic-card::before,
.topic-group summary .topic-summary-actions>.add-topic-card::after{
 content:""!important;
 position:absolute!important;
 left:50%!important;
 top:50%!important;
 width:17px!important;
 height:2px!important;
 border-radius:2px!important;
 background:var(--topic-ink)!important;
 transform:translate(-50%,-50%)!important;
}
.topic-group summary .topic-summary-actions>.add-topic-card::after{
 transform:translate(-50%,-50%) rotate(90deg)!important;
}

/* 0.12.00 – final desktop workspace width and clean quick-add plus. */
@media(min-width:1100px){
 html body.workspace-mode>header,
 html body.workspace-mode>main#trainer{
  box-sizing:border-box!important;
  width:min(1180px,calc(100% - 48px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
 }
}
.topic-group summary .topic-summary-actions>.add-topic-card,
.topic-group summary .topic-summary-actions>.add-topic-card:hover,
.topic-group summary .topic-summary-actions>.add-topic-card:focus{
 text-decoration:none!important;
 border-bottom:0!important;
}
.topic-group summary .topic-summary-actions>.add-topic-card::before,
.topic-group summary .topic-summary-actions>.add-topic-card::after{
 text-decoration:none!important;
}

/* 0.12.01 – compact management hierarchy. */
#trainer #cards>.topic-group{margin:0 0 10px!important}
#trainer .topic-group>summary{
 min-height:54px!important;
 padding:7px 14px!important;
 align-items:center!important;
}
#trainer .topic-group>summary .topic-select{margin-top:0!important}
#trainer .topic-group>summary .topic-summary-actions{align-items:center!important}
#trainer #management-tools,
#trainer .management-tools,
#trainer .card-tools>details{
 min-height:54px;
}
#trainer .card-tools>details>summary{
 min-height:54px!important;
 padding:8px 14px!important;
 display:flex!important;
 align-items:center!important;
}
#trainer #recent-cards,
#trainer .recent-cards,
#trainer .recent-cards-section{
 min-height:54px;
}
#trainer .recent-cards summary,
#trainer .recent-cards-section summary{
 min-height:54px!important;
 padding:8px 14px!important;
 align-items:center!important;
}
#trainer #cards{margin-top:22px!important}
@media(max-width:700px){
 #trainer .topic-group>summary{min-height:52px!important;padding:7px 10px!important}
 #trainer #cards{margin-top:18px!important}
}
