:root{--ink:#102f25;--muted:#4d655c;--green:#123e32;--cream:#f5f2e8;--paper:#fffcf5;--sage:#e8f0e9;--line:#8aa193;--accent:#f2b563}*{box-sizing:border-box}body{margin:0;background:#e2e8e2;color:var(--ink);font:14px/1.5 'Segoe UI',Arial,sans-serif;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px 40px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,.card:focus-visible,summary:focus-visible{outline:3px solid #9a4a07;outline-offset:4px}a{color:inherit}.desktop-label{position:absolute;top:24px;left:36px;display:flex;align-items:center;gap:20px}.desktop-label>img{width:155px;height:auto}.desktop-label small{font-size:10px;letter-spacing:1.3px;color:var(--muted)}.phone{width:390px;background:var(--cream);border:7px solid #162e25;outline:1px solid #789183;border-radius:47px;box-shadow:0 30px 80px #173e3224;overflow:hidden;position:relative}.statusbar{height:36px;display:flex;align-items:center;justify-content:space-between;padding:5px 25px 0;font-size:11px;font-weight:650;position:relative}.camera{position:absolute;left:calc(50% - 5px);top:10px;border-radius:50%;width:10px;height:10px;background:var(--ink)}.screen{padding:20px 23px 0}header{display:flex;justify-content:space-between;align-items:center;gap:10px}.wordmark{display:block;line-height:0;flex-shrink:0}.wordmark img{display:block;width:140px;height:auto}.header-tools{display:flex;gap:6px;align-items:center}.library-open,.shuffle-button{border:1px solid #718c7c;background:var(--paper);border-radius:22px;color:var(--green);padding:8px 10px;font-size:13px;font-weight:650;white-space:nowrap}.library-open span,.shuffle-button span{font-size:10px;margin-left:4px}.shuffle-button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--paper)}.daily{margin:26px 0 17px}.eyebrow{font-size:9px;letter-spacing:1.3px;font-weight:700;color:var(--muted)}h1{font:29px/1.15 Georgia,serif;letter-spacing:-.8px;margin:9px 0 12px}.daily-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.daily-bottom>span{font-size:11px;color:var(--muted)}.dots{display:flex;gap:5px;flex-shrink:0}.dots i{width:7px;height:7px;border-radius:50%;border:1px solid #718c7c;background:var(--cream)}.dots i.done{background:var(--green);border-color:var(--green)}.direction-tabs{display:flex;gap:7px;margin-bottom:14px}.direction-tabs button{flex:1;border:1px solid #718c7c;border-radius:9px;background:var(--paper);color:var(--green);padding:9px 12px;font-size:11px;display:flex;justify-content:space-between;align-items:center;font-weight:600}.direction-tabs button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--paper)}.direction-tabs button span{font-size:14px}.card-stage{perspective:1300px}.card{position:relative;height:405px;display:grid;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.7,.2,1);cursor:pointer;border-radius:19px;box-shadow:0 6px 20px #173e3210;-webkit-tap-highlight-color:transparent}.card.flipped{transform:rotateY(180deg)}.face{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:19px;background:var(--paper);border:1px solid #a9b9ad;border-top:4px solid var(--green);padding:21px;display:flex;flex-direction:column;overflow:hidden;min-height:0}.back{transform:rotateY(180deg);background:var(--sage);border-color:#7d9986;border-top-color:var(--green)}.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:700;letter-spacing:.8px;color:var(--muted);text-transform:uppercase;gap:8px;flex-shrink:0}.side-label{font-size:8px;letter-spacing:.5px;color:var(--muted)}.card-body{flex:1;padding:18px 0;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#718c7c transparent}.illustration{display:block;margin-bottom:12px}.illustration svg{width:60px;height:46px}.card h2{font:28px/1.15 Georgia,serif;letter-spacing:-.5px;margin:0 0 15px;color:var(--ink)}.card-body>p{font-size:15px;line-height:1.7;color:#284b3c;margin:0 0 16px}.task{font-size:13px;line-height:1.7;color:#284b3c;border-top:1px solid #b4c3b6;padding-top:13px}.flip-hint{width:100%;border:0;border-top:1px solid #b4c3b6;background:transparent;padding:13px 0 0;font-size:11px;font-weight:600;color:var(--green);text-align:center;flex-shrink:0;cursor:pointer}.flip-hint span{font-size:17px;vertical-align:middle;margin-right:6px}.back .card-body h2{font-size:25px;margin-bottom:14px}.answer-tabs{display:flex;padding:4px;gap:4px;background:#d4e1d7;border:1px solid #819b8a;border-radius:10px;margin:0 0 15px;flex-shrink:0}.answer-tabs button{flex:1;border:1px solid transparent;background:transparent;padding:8px 12px;border-radius:7px;color:var(--green);font-size:13px;font-weight:700}.answer-tabs button[aria-selected=true]{background:var(--green);color:var(--paper);box-shadow:0 2px 5px #173e3218}.level-note{display:block;color:#3e5c4d;font-size:10px;margin-bottom:13px}#answer{font:20px/1.55 Georgia;color:var(--ink);margin:0}.answer-note{display:block;font-size:11px;line-height:1.6;color:#3e5c4d;margin-top:17px}.under-card{display:flex;justify-content:space-between;align-items:center;margin:12px 0 15px;font-size:10px;letter-spacing:.6px;color:var(--muted)}.under-card>span{width:65px;text-align:right;font-size:9px}.browse-count{width:80px;text-align:left;border:0;background:transparent;color:var(--green);font-size:11px;padding:8px 0;font-weight:600}.listen{background:transparent;border:0;color:var(--green);display:flex;align-items:center;gap:7px;font-size:12px;padding:6px 10px;font-weight:600}.word-strip{margin:0 0 17px}.word-strip-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.word-strip-title>span{font-size:9px;letter-spacing:.9px;color:var(--muted);font-weight:650}.word-strip-title>button{border:0;background:transparent;color:var(--green);font-size:11px;padding:4px 0 4px 10px;font-weight:600}.word-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.word-chips button{border:1px solid #839d8b;background:var(--sage);color:#234a36;border-radius:8px;padding:8px 10px;font-size:12px;white-space:nowrap}.word-chips button span{margin-left:5px;color:var(--green)}.actions{display:flex;gap:10px}.previous{width:50px;height:50px;border:1px solid #718c7c;background:var(--paper);border-radius:12px;color:var(--green);font-size:22px}.previous:disabled{color:#829186;border-color:#c1cbc1;background:#ebece3;cursor:default}.next{flex:1;border:1px solid var(--green);background:var(--green);color:var(--paper);border-radius:12px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;font-size:14px;font-weight:650}.next:hover{background:#092d23}.next span{font-size:21px;font-weight:400}.gentle-note{text-align:center;font-size:10px;color:var(--muted);margin:15px -5px 13px}.gesture{height:4px;width:96px;background:var(--ink);border-radius:5px;margin:7px auto 10px}.desktop-foot{text-align:center;font:19px Georgia;margin:30px 0 0;color:#284b3c}.desktop-foot>span{display:block;font:11px 'Segoe UI',sans-serif;margin-top:9px;color:var(--muted)}.desktop-foot a{text-decoration:none}#notice{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--green);color:var(--paper);border:1px solid #426a55;border-radius:12px;padding:14px 20px;font-size:12px;max-width:360px;width:max-content;display:none;z-index:5}
dialog{color:var(--ink);background:var(--paper);border:1px solid #819b8a;border-radius:24px;padding:20px 23px 25px;width:370px;max-width:calc(100% - 24px);max-height:78svh;box-shadow:0 20px 70px #102f2540;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#718c7c transparent}dialog::backdrop{background:#102f2570;backdrop-filter:blur(4px)}.sheet-handle{height:4px;width:35px;background:#718c7c;border-radius:4px;margin:-8px auto 20px}.sheet-head{display:flex;justify-content:space-between;align-items:center}.sheet-head h2{font:27px Georgia;margin:8px 0 20px}.sheet-close{align-self:flex-start;border:1px solid #819b8a;background:var(--sage);border-radius:50%;width:33px;height:33px;color:var(--green);font-size:22px}#library-search,#card-search{display:block;width:100%;border:1px solid #718c7c;border-radius:10px;background:#fff;font:13px 'Segoe UI',sans-serif;padding:13px;color:var(--ink);outline-offset:3px}input::placeholder{color:#4d655c;opacity:1}.library-scopes{display:flex;background:var(--sage);border:1px solid #819b8a;border-radius:9px;padding:4px;gap:4px;margin-top:15px}.library-scopes button{flex:1;border:0;border-radius:6px;background:transparent;color:var(--green);padding:8px;font-size:12px}.library-scopes button[aria-pressed=true]{background:var(--green);color:var(--paper);font-weight:650}.library-types{display:flex;gap:5px;margin:14px 0}.library-types button{border:1px solid transparent;border-radius:20px;padding:6px 10px;font-size:12px;background:transparent;color:#375d48}.library-types button[aria-pressed=true]{background:var(--green);color:var(--paper);font-weight:650}.library-count{color:var(--muted);font-size:11px;margin-bottom:10px}details{border-top:1px solid #b4c3b6}summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:14px 0}summary::-webkit-details-marker{display:none}summary strong{display:block;font:22px Georgia;margin:4px 0}summary small{font-size:12px;color:var(--muted)}.entry-type{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);font-weight:650}.entry-plus{color:var(--green)}details[open] .entry-plus{transform:rotate(45deg)}.entry-detail{background:var(--sage);border:1px solid #b4c3b6;border-radius:10px;padding:3px 13px 12px;margin-bottom:14px}.verb-form{border-bottom:1px solid #b4c3b6;padding:10px 0;display:flex;justify-content:space-between;align-items:center}.verb-form span{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}.verb-form p{margin:4px 0;font-size:14px;color:var(--ink)}.verb-form button{border:1px solid #718c7c;border-radius:50%;width:32px;height:32px;background:var(--paper);color:var(--green)}.entry-listen{border:0;background:transparent;color:var(--green);font-size:12px;margin-top:12px;padding:5px 0;font-weight:600}.entry-meaning{font-size:13px;padding-top:10px;color:#284b3c}.library-empty{font-size:13px;color:var(--muted);padding:20px 0}.picker-description{color:var(--muted);font-size:12px;margin:0 0 16px;line-height:1.7}#topic-filter{margin:13px 0;width:100%;border:1px solid #718c7c;border-radius:9px;padding:10px;background:#fff;color:var(--green)}.picker-card{display:flex;align-items:center;gap:13px;width:100%;border:0;border-top:1px solid #b4c3b6;background:transparent;padding:14px 0;text-align:left;color:var(--green)}.picker-card>span{font-size:12px;min-width:22px;color:var(--muted)}.picker-card>span:last-child{margin-left:auto}.picker-card strong{display:block;font:19px Georgia}.picker-card small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.native body{padding:0;background:var(--cream);display:block}.native .desktop-label,.native .desktop-foot{display:none}.native .phone{border:0;outline:0;border-radius:0;box-shadow:none;width:100%;min-height:100svh}.native .statusbar,.native .gesture{display:none}.native .screen{max-width:480px;margin:auto}.native .phone a.wordmark{pointer-events:none}
@media(max-width:500px){body{background:var(--cream);padding:0;display:block}.desktop-label,.desktop-foot{display:none}.phone{width:100%;min-height:100svh;border:0;outline:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column}.statusbar{display:none}.screen{width:100%;max-width:420px;margin:auto;padding:calc(20px + env(safe-area-inset-top)) 23px 0;flex:1;display:flex;flex-direction:column;justify-content:space-between}header{flex-shrink:0}.wordmark img{width:132px}.daily{margin:20px 0 12px}.direction-tabs{margin-bottom:12px}.card-stage{margin:0;flex-shrink:0}.card{height:clamp(325px,44svh,405px)}.card-body{padding:15px 0}.illustration svg{height:35px;width:50px}.illustration{margin-bottom:8px}.card h2{font-size:26px}.card-body>p{font-size:14px}.task{font-size:12px}#answer{font-size:19px;line-height:1.55}.back .card-body h2{font-size:24px;margin-bottom:12px}.answer-tabs{margin-bottom:13px}.under-card{margin:10px 0 12px}.word-strip{margin:0 0 13px}.actions{min-height:52px;flex-shrink:0}.gentle-note{margin:11px -3px 10px;font-size:9px}.gesture{margin-bottom:calc(10px + env(safe-area-inset-bottom))}dialog{position:fixed;margin:auto auto 0;max-width:100%;width:420px;border-radius:25px 25px 0 0;max-height:82svh;padding-bottom:calc(25px + env(safe-area-inset-bottom))}}
@media(max-width:500px) and (max-height:760px){.screen{padding-top:16px;justify-content:flex-start}.daily{margin-top:14px}.card{height:320px}.illustration{display:none}.word-strip{margin-bottom:10px}.gentle-note{margin-bottom:7px}.face{padding:18px}.card-body{padding:12px 0}}
@media(max-width:360px){.wordmark img{width:116px}.library-open span,.shuffle-button span{font-size:9px}.library-open,.shuffle-button{padding:8px}.screen{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){.card{transition:none}}

/* The card takes the remaining space; navigation never sits below the viewport.
   Android supplies the system-bar safe area by sizing the WebView container. */
.native{height:100%;overflow:hidden}.native body{height:100%;min-height:0;overflow:hidden}.native .phone{height:100%;min-height:0;display:flex;flex-direction:column}.native .screen{width:100%;height:100%;min-height:0;flex:1;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto auto;justify-content:normal;margin:0 auto;padding:16px 23px 12px}.native .card-stage{height:100%;min-height:0;margin:0}.native .card{height:100%;min-height:0}.native .actions{min-height:52px;margin:0}.native .gentle-note{margin:10px 0 0}.native .daily{margin:16px 0 12px}
@media(max-width:500px){html,body{height:100%;min-height:0}.phone{height:100dvh;min-height:0}.screen{height:100%;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto auto;justify-content:normal;flex:1;margin:0 auto;padding-bottom:12px}.card-stage{height:100%;min-height:0}.card{height:100%;min-height:0}.gesture{display:none}.gentle-note{margin:10px 0 0}}
@media(max-height:650px){.native .daily h1{font-size:23px;margin:5px 0 8px}.native .daily{margin:10px 0}.native .gentle-note{display:none}.native .screen{grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto;padding-top:10px;padding-bottom:10px}.native .word-strip{margin-bottom:8px}.native .under-card{margin:5px 0}.native .card-body{padding:10px 0}.native .illustration{display:none}}

/* Compact study surface: spend available height on Dutch content. */
@media(max-width:500px){
.screen{padding:10px 16px max(10px,env(safe-area-inset-bottom));gap:0}
.daily{margin:8px 0}.daily>div:first-child,.gentle-note{display:none}
.direction-tabs{margin-bottom:8px}.direction-tabs button{min-height:40px;padding:6px 12px}
.wordmark img{width:120px}.library-open,.shuffle-button{min-height:40px}
.face{padding:12px;border-radius:14px}.illustration,.back .card-body>h2,.answer-note,.level-note{display:none}
.card-body{padding:10px 0;overscroll-behavior:contain;scrollbar-gutter:stable}
.card h2{font-size:22px;line-height:1.18;margin-bottom:10px}
.card-body>p{font-size:14px;line-height:1.45;margin-bottom:10px}.task{font-size:13px;line-height:1.45;padding-top:9px}
.answer-tabs{position:sticky;top:0;z-index:1;margin-bottom:10px;padding:3px;background:#d4e1d7}
.answer-tabs button{min-height:40px;padding:6px 10px}
#answer{font-size:18px;line-height:1.45}
.flip-hint{min-height:40px;padding-top:7px}
.under-card{margin:3px 0}.listen,.browse-count{min-height:40px}
.word-strip{margin-bottom:7px}.word-strip-title{margin-bottom:2px}.word-strip-title>button{min-height:32px}
.word-chips button{padding:6px 9px;min-height:36px}
.screen{grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto}
.actions{min-height:48px}.previous{height:48px}.next{min-height:48px}
}
.native .screen{padding:10px 16px 12px;grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto}
.native .daily{margin:8px 0}.native .daily>div:first-child,.native .gentle-note{display:none}
.native .illustration,.native .back .card-body>h2,.native .answer-note,.native .level-note{display:none}
@media(max-height:560px){
.native .word-strip,.word-strip{display:none}
.native .screen,.screen{grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto}
.daily,.native .daily{margin:3px 0}.daily-bottom>span{font-size:10px}
.face{padding:9px}.card-body{padding:6px 0}.card-meta{font-size:8px}
.card h2{font-size:19px}#answer{font-size:16px;line-height:1.4}
}

/* Apply the same compact spacing on unfolded Android devices. */
.native .screen{padding:10px 16px max(10px,env(safe-area-inset-bottom));gap:0}.native .daily{margin:8px 0}.native .daily>div:first-child,.native .gentle-note{display:none}.native .direction-tabs{margin-bottom:8px}.native .direction-tabs button{min-height:40px;padding:6px 12px}.native .wordmark img{width:120px}.native .library-open,.native .shuffle-button{min-height:40px}.native .face{padding:12px;border-radius:14px}.native .illustration,.native .back .card-body>h2,.native .answer-note,.native .level-note{display:none}.native .card-body{padding:10px 0;overscroll-behavior:contain;scrollbar-gutter:stable}.native .card h2{font-size:22px;line-height:1.18;margin-bottom:10px}.native .card-body>p{font-size:14px;line-height:1.45;margin-bottom:10px}.native .task{font-size:13px;line-height:1.45;padding-top:9px}.native .answer-tabs{position:sticky;top:0;z-index:1;margin-bottom:10px;padding:3px;background:#d4e1d7}.native .answer-tabs button{min-height:40px;padding:6px 10px}.native #answer{font-size:18px;line-height:1.45}.native .flip-hint{min-height:40px;padding-top:7px}.native .under-card{margin:3px 0}.native .listen,.native .browse-count{min-height:40px}.native .word-strip{margin-bottom:7px}.native .word-strip-title{margin-bottom:2px}.native .word-strip-title>button{min-height:32px}.native .word-chips button{padding:6px 9px;min-height:36px}.native .screen{grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto}.native .actions{min-height:48px}.native .previous{height:48px}.native .next{min-height:48px}

@media(max-height:480px){
.daily,.native .daily,.word-strip,.native .word-strip,.gentle-note,.native .gentle-note{display:none}
.screen,.native .screen{grid-template-rows:auto auto minmax(0,1fr) auto auto;padding-top:6px;padding-bottom:8px}
.card-meta{display:none}.native .face,.face{padding:8px}.native .flip-hint,.flip-hint{min-height:32px;padding-top:3px}
.native .answer-tabs,.answer-tabs{padding:2px;margin-bottom:6px}.native .answer-tabs button,.answer-tabs button{min-height:32px;padding:3px 8px}
.native .card-body,.card-body{padding:4px 0}.native .direction-tabs,.direction-tabs{margin:3px 0 5px}.native .card h2,.card h2{font-size:18px;margin-bottom:6px}
}

.entry-example{font-size:14px;line-height:1.5;color:var(--ink)}

