#fcApp{box-sizing:border-box;--fc-paper:#f5f1e7;--fc-card:#fffdf8;--fc-ink:#203e3b;--fc-muted:#61706b;--fc-line:#d5ddd2;--fc-action:#245d4d;--fc-action-hover:#163f35;--fc-accent-text:#286251;--fc-ochre:#955626;--fc-violet:#6552ab;--fc-soft:#e7eee6;width:100%;max-width:none;min-height:100vh;margin:0;padding:clamp(18px,3vw,40px) 24px 64px;color:var(--fc-ink);background:var(--fc-paper);font-family:Nunito,'Segoe UI',system-ui,sans-serif}#fcApp *,#fcApp ::after,#fcApp ::before{box-sizing:border-box}#fcApp button,#fcApp input{font:inherit}#fcApp button{cursor:pointer}#fcApp :is(button,input,[tabindex]):focus-visible{outline:3px solid #bb7137;outline-offset:3px}#fcApp .app-header{display:flex;align-items:end;justify-content:space-between;gap:18px;max-width:960px;margin:0 auto 22px}#fcApp .fc-back{display:inline-flex;align-items:center;min-height:44px;color:var(--fc-muted);font-size:.8rem;text-decoration:none}#fcApp .fc-back:hover{text-decoration:underline}#fcApp .app-header h1{margin:0;color:var(--fc-ink);font-size:clamp(2rem, 4.5vw, 3.6rem);line-height:1;letter-spacing:-.055em}#fcApp .app-header .subtitle{margin:8px 0 0;color:var(--fc-muted);line-height:1.5}#fcApp .fc-projection{min-width:44px;min-height:44px;padding:9px 13px;border:1px solid var(--fc-line);border-radius:9px;color:var(--fc-ink);background:var(--fc-card);font-size:.8rem;font-weight:800}#fcApp .fc-projection:hover{background:var(--fc-soft)}#fcApp .screen{display:none;max-width:960px;margin:auto}#fcApp .screen.active{display:flex;flex-direction:column;padding:clamp(18px,3vw,30px);border:1px solid var(--fc-line);border-radius:18px;background:var(--fc-card);box-shadow:0 9px 25px #183f3712}#fcApp .config-section{padding:15px 0;border-bottom:1px solid var(--fc-line)}#fcApp .config-section:first-child{padding-top:0}#fcApp .config-section h2{margin:0 0 10px;color:var(--fc-ink);font-size:.94rem}#fcApp :is(.level-grid,.tense-grid,.diff-grid,.count-grid){display:grid;gap:8px}#fcApp .level-grid{grid-template-columns:repeat(5,minmax(44px,1fr))}#fcApp .tense-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}#fcApp .diff-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#fcApp .count-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#fcApp :is(.level-btn,.tense-btn,.diff-btn,.count-btn){min-height:44px;padding:8px;border:1px solid var(--fc-line);border-radius:9px;color:var(--fc-ink);background:#faf9f4;font-size:.82rem;font-weight:800}#fcApp .level-btn{color:#fff}#fcApp .level-btn[data-niveau=CP]{background:#a94a42}#fcApp .level-btn[data-niveau=CE1]{background:#955626}#fcApp .level-btn[data-niveau=CE2]{background:#8c7027}#fcApp .level-btn[data-niveau=CM1]{background:#347451}#fcApp .level-btn[data-niveau=CM2]{background:#4d6290}#fcApp .level-btn.selected{outline:3px solid var(--fc-ink);outline-offset:2px}#fcApp :is(.tense-btn,.diff-btn,.count-btn):hover{border-color:var(--fc-action);background:var(--fc-soft)}#fcApp .tense-btn.selected{border-color:var(--fc-ochre);color:#fff;background:var(--fc-ochre)}#fcApp .diff-btn.selected{border-color:var(--fc-action);color:#fff;background:var(--fc-action)}#fcApp .count-btn.selected{border-color:var(--fc-violet);color:#fff;background:var(--fc-violet)}#fcApp .tense-btn:disabled{opacity:.45;cursor:not-allowed}#fcApp .start-btn{width:min(100%,370px);min-height:50px;margin:22px auto 0;border:1px solid var(--fc-action);border-radius:10px;color:#fff;background:var(--fc-action);font-size:1rem;font-weight:850}#fcApp .start-btn:hover:not(:disabled){background:var(--fc-action-hover)}#fcApp .start-btn:disabled{opacity:.48;cursor:not-allowed}#fcApp .config-status{min-height:1.4em;margin-top:10px;color:#a5483d;font-size:.82rem;font-weight:700;text-align:center}#fcApp .card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}#fcApp .card-counter{color:var(--fc-muted);font-size:.8rem;font-weight:750}#fcApp .card-tense{padding:5px 9px;border-radius:999px;color:var(--fc-violet);background:#eeebf8;font-size:.76rem;font-weight:800}#fcApp .progress-bar{height:7px;overflow:hidden;margin-bottom:19px;border-radius:9px;background:#dfe5dc}#fcApp .progress-fill{width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--fc-action),#75a16c);transition:width .35s}#fcApp .flashcard{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:430px;gap:17px;padding:clamp(25px,5vw,50px) 20px;border:1px solid #cfdad0;border-radius:18px;background:linear-gradient(145deg,#fffdf8,#f2f3eb);text-align:center}#fcApp .fc-card-config{position:absolute;top:13px;right:13px;min-height:44px;padding:6px 9px;border:1px solid var(--fc-line);border-radius:7px;color:var(--fc-muted);background:var(--fc-card);font-size:.72rem;font-weight:800}#fcApp .card-prompt{color:var(--fc-muted);font-size:.92rem}#fcApp .card-prompt strong{color:var(--fc-ink);font-size:1.2em}#fcApp .card-verb{color:var(--fc-ink);font-size:clamp(2rem, 5vw, 3.8rem);font-weight:900;line-height:1.1}#fcApp .card-verb .verb-name{color:var(--fc-ochre)}#fcApp .card-verb .verb-tense{display:block;margin-top:7px;color:var(--fc-violet);font-size:clamp(.9rem, 2vw, 1.2rem);font-weight:800}#fcApp .card-context{padding:6px 10px;border-radius:7px;color:var(--fc-muted);background:var(--fc-card);font-size:.8rem;font-style:italic}#fcApp .answer-input{width:min(100%,430px);min-height:54px;padding:11px 15px;border:2px solid var(--fc-line);border-radius:10px;color:var(--fc-ink);background:#fffefa;font-size:1.2rem;font-weight:700;text-align:center}#fcApp .answer-input:focus{border-color:var(--fc-violet)}#fcApp .answer-input[aria-invalid=true]{border-color:#a5483d}#fcApp .answer-error,#fcApp .answer-instruction{margin:-8px 0 0;font-size:.8rem}#fcApp .answer-instruction{color:var(--fc-muted)}#fcApp .answer-error{min-height:1.3em;color:#a5483d;font-weight:700}#fcApp .bilan-actions,#fcApp .fc-answer-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}#fcApp :is(.validate-btn,.reveal-btn,.next-btn){min-height:46px;padding:9px 15px;border-radius:9px;font-size:.86rem;font-weight:850}#fcApp .validate-btn{border:1px solid var(--fc-action);color:#fff;background:var(--fc-action)}#fcApp .reveal-btn{border:1px solid var(--fc-violet);color:var(--fc-violet);background:#f3f0fb}#fcApp .next-btn{display:none;border:1px solid var(--fc-line);color:var(--fc-ink);background:var(--fc-card)}#fcApp .feedback{display:none;width:min(100%,430px);padding:12px;border-radius:9px;font-size:.88rem;font-weight:750}#fcApp .feedback.correct{display:block;border:1px solid #4e956d;color:#175b3e;background:#dff0e4}#fcApp .feedback.incorrect{display:block;border:1px solid #bd6753;color:#8b3d31;background:#f6e2dc}#fcApp .feedback .expected{display:block;margin-top:5px;font-size:1.05em}#fcApp .bilan-score{margin:4px 0 22px;text-align:center}#fcApp .score-big{color:var(--fc-accent-text);font-size:clamp(3rem, 8vw, 5rem);font-weight:900;line-height:1}#fcApp .score-label{margin-top:6px;color:var(--fc-muted);font-size:.95rem}#fcApp .score-percent{margin-top:5px;color:var(--fc-violet);font-size:1.25rem;font-weight:850}#fcApp .bilan-list{max-height:340px;overflow:auto;margin-bottom:14px}#fcApp .bilan-item{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;margin-bottom:7px;border:1px solid var(--fc-line);border-radius:8px;background:#faf9f4;font-size:.82rem}#fcApp .bilan-item .icon{font-size:1.1rem}#fcApp .bilan-item .question{flex:1;min-width:0;overflow-wrap:anywhere}#fcApp .bilan-item :is(.answer,.expected-answer){min-width:0;overflow-wrap:anywhere}#fcApp .bilan-item .expected-answer,#fcApp .bilan-item.correct .answer{color:var(--fc-accent-text);font-weight:800}#fcApp .bilan-item.incorrect .answer{color:#a5483d;text-decoration:line-through}#fcApp .bilan-item.revealed .answer{color:var(--fc-muted);text-decoration:none}#fcApp .saved-msg{margin:0 0 12px;color:var(--fc-muted);font-size:.78rem;text-align:center}#fcApp .bilan-actions button{min-height:44px;padding:9px 13px;border:1px solid var(--fc-line);border-radius:9px;font-weight:800}#fcApp .btn-restart{border-color:var(--fc-action)!important;color:#fff;background:var(--fc-action)}#fcApp .btn-review{border-color:var(--fc-violet)!important;color:#fff;background:var(--fc-violet)}#fcApp :is(.btn-config,.btn-back){color:var(--fc-ink);background:#faf9f4}#fcApp.is-projected{position:fixed;inset:0;z-index:100000;width:100vw;height:100dvh;overflow:auto;padding:12px;background:var(--fc-paper)}#fcApp.is-projected .app-header{margin-bottom:10px}#fcApp.is-projected .app-header h1{font-size:1.4rem}#fcApp.is-projected :is(.app-header .subtitle,.fc-back){display:none}#fcApp.is-projected .fc-projection{position:sticky;top:0;z-index:2}#fcApp.is-projected .screen{max-width:1180px}#fcApp.is-projected .screen.active{min-height:calc(100dvh - 87px)}#fcApp.is-projected .flashcard{min-height:calc(100dvh - 180px)}#fcApp.is-projected .card-verb{font-size:clamp(2.5rem, 7vw, 5.6rem)}#fcApp.is-projected .bilan-list{max-height:none}[data-theme=dark] #fcApp{--fc-paper:#11211e;--fc-card:#18312c;--fc-ink:#eef3ed;--fc-muted:#bdd0c5;--fc-line:#426057;--fc-action:#276d57;--fc-action-hover:#1c513f;--fc-accent-text:#9cddad;--fc-soft:#26473d;background:#11211e}[data-theme=dark] #fcApp :is(.screen.active,.flashcard){background:var(--fc-card)!important}[data-theme=dark] #fcApp :is(
.tense-btn,.diff-btn,.count-btn,.fc-card-config,.answer-input,.next-btn,.btn-config,.btn-back,.bilan-item
){color:var(--fc-ink)!important;background:#1d3933!important}[data-theme=dark] #fcApp .tense-btn.selected{color:#fff!important;background:var(--fc-ochre)!important}[data-theme=dark] #fcApp .count-btn.selected,[data-theme=dark] #fcApp .diff-btn.selected{color:#fff!important}[data-theme=dark] #fcApp .diff-btn.selected{background:var(--fc-action)!important}[data-theme=dark] #fcApp .count-btn.selected{background:var(--fc-violet)!important}[data-theme=dark] #fcApp .card-tense{color:#d8cdfc;background:#332b55}[data-theme=dark] #fcApp .reveal-btn{color:#e4dcff;background:#332b55}[data-theme=dark] #fcApp .feedback.correct{color:#c9f1d6;background:#164c37}[data-theme=dark] #fcApp .feedback.incorrect{color:#ffd2c8;background:#59291f}@media (max-width:620px){#fcApp{padding:17px 10px 36px}#fcApp .app-header{align-items:flex-start;flex-direction:column}#fcApp .fc-projection{width:100%}#fcApp .level-grid{grid-template-columns:repeat(3,minmax(44px,1fr))}#fcApp .diff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#fcApp .screen.active{padding:14px;border-radius:13px}#fcApp .flashcard{min-height:390px;padding:55px 12px 22px}#fcApp .card-verb{font-size:2.2rem}#fcApp .fc-answer-actions{width:100%}#fcApp .fc-answer-actions :is(.validate-btn,.reveal-btn){flex:1}#fcApp .bilan-actions button{flex:1 1 100%}#fcApp.is-projected{padding:7px}#fcApp.is-projected .screen.active{min-height:calc(100dvh - 75px);padding:12px}#fcApp.is-projected .flashcard{min-height:calc(100dvh - 160px)}#fcApp.is-projected .card-verb{font-size:clamp(2.2rem, 12vw, 3.8rem)}}@media (prefers-reduced-motion:reduce){#fcApp *{animation-duration:0s!important;animation-iteration-count:1!important;transition-duration:0s!important}}#fcApp .fc-privacy{margin:14px 0 0;font-size:.8rem;color:var(--fc-muted);text-align:center;line-height:1.5}body.fc-document{margin:0;background:#f5f1e7}[data-theme=dark] body.fc-document{background:#11211e}#fcApp .config-status{color:var(--fc-muted);line-height:1.45}#fcApp .answer-input::placeholder{color:var(--fc-muted);opacity:1}#fcApp .answer-error:empty{display:none}#fcApp .card-verb{overflow-wrap:anywhere;max-width:100%}#fcApp .bilan-list{scroll-margin:90px}#fcApp.is-projected .app-header{position:sticky;top:-12px;z-index:5;background:var(--fc-paper);padding:8px 0}#fcApp.is-projected .screen.active{min-height:0}#fcApp.is-projected .flashcard{min-height:min(600px,calc(100dvh - 230px))}[data-theme=dark] #fcApp .verb-name{color:#e7ad75}[data-theme=dark] #fcApp .score-percent,[data-theme=dark] #fcApp .verb-tense{color:#c7b5f3}[data-theme=dark] #fcApp .answer-error,[data-theme=dark] #fcApp .bilan-item.incorrect:not(.revealed) .answer{color:#ffa89b}[data-theme=dark] #fcApp .flashcard{border-color:var(--fc-line)}@media (max-width:620px){#fcApp .bilan-item{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px}#fcApp .bilan-item .answer,#fcApp .bilan-item .expected-answer{grid-column:2}#fcApp .flashcard{gap:13px}#fcApp.is-projected .app-header{top:-7px}}#fcApp [hidden]{display:none!important}