:root{font-family:"Avenir Next",Avenir,system-ui,sans-serif;color:#19352c;background:#f4f5ea;color-scheme:light;--deep:#1c4739;--line:#d9e2d4;--ink:#19352c;--muted:#52685d;--white:#fffef8;--sun:#f2ce70}
*{box-sizing:border-box}body{margin:0;font-size:1rem}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #367b9c;outline-offset:3px}
header{min-height:76px;background:var(--white);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:0 max(1.25rem,calc((100vw - 1240px)/2))}
.brand{color:var(--ink);font-weight:850;text-decoration:none;display:flex;gap:.65rem;align-items:center;font-size:1.15rem}.brand span{display:grid;place-items:center;border-radius:50%;width:37px;height:37px;background:var(--deep);color:var(--sun);font-size:1.5rem}
main{max-width:1290px;margin:auto;padding:2.2rem 1.5rem 4rem}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.05rem,4.4vw,3.7rem);line-height:1.01;letter-spacing:-.055em;margin-bottom:.7rem}h2{font-size:clamp(1.3rem,2.2vw,1.8rem);line-height:1.16;letter-spacing:-.035em;margin-bottom:.75rem}h3{font-size:1.1rem;margin-bottom:.5rem}p{line-height:1.5}.muted{color:var(--muted)}.eyebrow{font-size:.82rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.8rem;color:#416759}
.panel{background:var(--white);border:1px solid var(--line);border-radius:23px;padding:clamp(1.1rem,2.4vw,1.8rem);margin-bottom:1rem;min-width:0}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.entry{display:grid;grid-template-columns:1.35fr 1fr;align-items:stretch;gap:1.15rem;margin-top:clamp(0px,5vw,3.4rem)}.entry .panel{margin:0}.welcome{position:relative;overflow:hidden;isolation:isolate;border-radius:27px;background:#1c4739;color:#fffbe9;padding:clamp(1.5rem,5vw,4rem);min-height:415px}.welcome h1{font-size:clamp(2.5rem,6.1vw,5.5rem);max-width:9ch}.welcome .eyebrow{color:var(--sun)}.welcome p:last-of-type{margin:1.25rem 0 0;max-width:31ch;color:#e1eee2}.waves{position:absolute;right:-85px;bottom:-300px;z-index:-1;width:560px;height:560px;border-radius:50%;border:2px solid #84a69544;transform:rotate(-20deg)}.waves i{position:absolute;inset:33px;border-radius:50%;border:2px solid #84a69544}.waves i:nth-child(2){inset:65px}.waves i:nth-child(3){inset:95px}.waves b{position:absolute;left:102px;top:80px;color:#f2ce70;font-size:2rem}
.login{align-content:center}.switch{display:flex;gap:.4rem;margin-bottom:1.4rem;background:#edf2e7;border-radius:12px;padding:4px;width:fit-content}.switch button{min-width:90px}.switch .selected{background:var(--white);border:1px solid var(--line);color:var(--ink)}.primary,.secondary,.quiet,.selected,.link-button{border:1px solid transparent;border-radius:11px;padding:.65rem .95rem;min-height:44px;font-weight:750;color:var(--ink)}.primary{background:var(--deep);color:#fffef8}.primary:hover{background:#295e4e}.secondary,.link-button{background:var(--white);border-color:#b9ccbd}.secondary:hover,.link-button:hover{background:#eff5e9}.quiet{background:transparent;color:var(--muted)}.quiet:hover{background:#e9f0e6}.link-button{display:inline-flex;align-items:center;text-decoration:none}form,.stack{display:grid;gap:.85rem}form .primary{justify-self:start}label{display:grid;gap:.4rem;font-weight:720}input,textarea,select{width:100%;border:1px solid #b9cbbd;border-radius:10px;padding:.7rem .8rem;background:#fff;color:var(--ink);min-height:44px}select{appearance:none;padding-right:2.1rem;background:linear-gradient(45deg,transparent 50%,#416759 50%) calc(100% - 15px) 51%/6px 6px no-repeat,linear-gradient(135deg,#416759 50%,transparent 50%) calc(100% - 9px) 51%/6px 6px no-repeat,#fff}
.page-heading,.header-actions,.class-row,.lesson-top{display:flex;justify-content:space-between;align-items:center;gap:.8rem;flex-wrap:wrap}.page-heading{margin-bottom:1rem}.page-heading h1{margin-top:.35rem}.page-heading .quiet{padding-left:0}.header-actions{justify-content:flex-start}.code{padding:.5rem .7rem;border-radius:10px;background:#e6eee0}.code b,.mono{font-variant-numeric:tabular-nums;letter-spacing:.08em}.tabs{display:flex;gap:.6rem;border-bottom:1px solid #cad7ca;margin:0 0 1.25rem;overflow-x:auto}.tabs button{background:none;border:0;border-bottom:3px solid transparent;font-weight:750;padding:.8rem .75rem;color:#52685d;white-space:nowrap}.tabs .active{border-color:var(--deep);color:var(--deep)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;margin-bottom:1rem}.stat{display:grid;gap:.25rem;align-content:start;padding:1rem 1.1rem;border-radius:16px;border:1px solid var(--line);background:#fffef8}.stat strong{font-size:1.9rem;line-height:1;font-variant-numeric:tabular-nums}.stat span{color:var(--muted);font-size:.88rem}.focus{background:#e5efe4}.needs,.missions{list-style:none;padding:0;margin:0}.needs li,.missions li{display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.6rem 0;border-bottom:1px solid var(--line)}.needs li:last-child,.missions li:last-child{border:0}
.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:.9rem}th,td{padding:.7rem;border-bottom:1px solid var(--line)}thead th{color:var(--muted);font-size:.87rem;vertical-align:bottom}tbody tr:last-child :is(td,th){border-bottom:0}.text-button{border:0;background:none;text-align:left;color:var(--deep);padding:.25rem 0;text-decoration:underline;text-underline-offset:3px;font-weight:800}.status{display:inline-block;font-weight:720;border-radius:7px;padding:.3rem .5rem;background:#edf0eb;color:#435a50;font-size:.82rem;white-space:nowrap}.status.practice{background:#faedca;color:#684c0c}.status.good{background:#ddefde;color:#24533e}.detail{background:#ebf2e6;border-radius:13px;padding:1rem;margin-top:1rem}.detail ul{padding-left:1.2rem;margin-bottom:0}
.islands{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem;margin-bottom:1rem}.island{display:grid;justify-items:start;align-content:start;gap:.35rem;padding:.9rem;border-radius:15px;border:1px solid #c8d7ca;background:var(--white);color:var(--ink);text-align:left}.island span{display:grid;place-items:center;border-radius:50%;width:36px;height:36px;background:#deeadc;font-size:1.4rem}.island:nth-child(2) span{background:#f5e1a3}.island:nth-child(3) span{background:#d7e8ef}.island:nth-child(4) span{background:#f2e1e4}.island:nth-child(5) span{background:#e8def0}.island small{font-size:.85rem;color:var(--muted)}.island.current{outline:2px solid #3d715e;outline-offset:-2px;background:#e5efe4}.island:hover:is(button){border-color:#3d715e}.projection{background:var(--deep);border-radius:22px;color:#fffef8;padding:clamp(1.4rem,6vw,5rem);max-width:1000px;margin:auto}.projection .eyebrow{color:var(--sun)}.projection p:not(.eyebrow){font-size:clamp(1.5rem,3vw,2.9rem);line-height:1.3}
.student-home,.lesson{max-width:790px;margin:0 auto 1rem;padding:clamp(1.3rem,4vw,3rem)}.student-home .eyebrow:not(:first-child){margin-top:1.3rem}.pupil-islands{max-width:790px;margin:auto}.lesson-top{font-weight:800;color:var(--muted)}progress{width:100%;height:.85rem;accent-color:#38765e;margin:.65rem 0 1.5rem}.lesson h1{font-size:clamp(1.7rem,4.4vw,3rem);margin-bottom:1.35rem}.answers{display:grid;gap:.6rem;margin:1.1rem 0}.answer{color:var(--ink);text-align:left;padding:.85rem 1.2rem;font-size:clamp(1.1rem,2.3vw,1.5rem);font-weight:750;border:2px solid #c5d7c9;border-radius:12px;background:#fff;min-height:52px}.answer:hover:enabled,.answer.chosen{background:#fbefd1;border-color:#a38039}.answer.correct{background:#ddefde;border-color:#397153}.lesson-feedback,.finished{padding:.8rem 1rem;background:#e5efe4;border-radius:10px;margin-bottom:1rem}.lesson-feedback:empty{display:none}
#notice{position:fixed;bottom:1rem;right:1rem;margin:0;max-width:min(420px,calc(100vw - 2rem));background:#1c4739;color:white;border-radius:10px;padding:.75rem 1rem;box-shadow:0 4px 18px #19352c30;z-index:2}#notice.error{background:#8b342c}
@media(max-width:760px){main{padding:1.4rem 1rem 3rem}.entry,.two{grid-template-columns:1fr}.welcome{min-height:290px}.stats{grid-template-columns:repeat(2,1fr)}.islands{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:440px){.islands{grid-template-columns:repeat(2,minmax(0,1fr))}header{min-height:64px}.brand{font-size:1rem}.brand span{width:31px;height:31px}}
.workshop-grid{align-items:start}.workshop-card li+li{margin-top:.55rem}.workshop-card li{line-height:1.45}.detail h4{margin:.6rem 0}.detail li+li{margin-top:.35rem}.pupil-revisit{max-width:790px;margin:1.4rem auto}.letter-slots,.letter-tray{display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0}.letter-slot,.letter-tile{display:inline-grid;place-items:center;width:clamp(2.35rem,7vw,3.4rem);height:clamp(2.65rem,8vw,3.55rem);border-radius:9px;font-size:1.8rem;font-weight:750}.letter-slot{background:#edf2e7;border:1px dashed #759385}.letter-tile{border:1px solid #526f61;background:#fffdf3;color:#19352c;box-shadow:0 2px 0 #bccabb}.letter-tile:disabled{opacity:.42;box-shadow:none}.letter-tile:hover:enabled{background:#e3efe1}.lesson .primary:disabled,.lesson .secondary:disabled{opacity:.5}.assignment{align-self:start}
@media print{body,main{background:#fff;padding:0;margin:0;color:#000}main:has(.workshop-card)>:not(.workshop-grid),body>header,body>#notice,.workshop-grid .assignment,.workshop-card .header-actions{display:none!important}.workshop-grid{display:block}.workshop-card{padding:0;border:0;background:#fff}.workshop-card h3{break-after:avoid}}
.annual-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.annual-bar p:last-child{margin:0;color:var(--muted)}.annual-bar .header-actions{align-items:end}.annual-bar select{min-width:105px}.annual-layout{display:grid;grid-template-columns:minmax(235px,1fr) minmax(0,2.45fr);gap:1rem;align-items:start}.annual-week-list,.annual-print-options{display:grid;gap:.45rem}.annual-week{display:grid;gap:.18rem;text-align:left;padding:.65rem .75rem;min-height:50px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}.annual-week span{font-size:.85rem;color:var(--muted)}.annual-week:hover,.annual-week.chosen-week{background:#e4eee0;border-color:#74927e}.annual-print-options{margin-top:.8rem}.annual-print-options button{text-align:left}.annual-kit{margin-top:1rem;background:#e8f0e5;padding:.75rem 1rem;border-radius:10px}.annual-agenda h4{margin:.7rem 0 .3rem}.annual-agenda ul,.annual-agenda p{margin:0 0 .7rem;line-height:1.5}.annual-agenda li+li{margin-top:.35rem}.annual-state{border-top:1px solid var(--line);padding-top:1rem;margin:1rem 0}.annual-session summary{font-weight:750;cursor:pointer}.annual-session details[open] summary{margin-bottom:1rem}.projection-support{font-size:clamp(1.2rem,3vw,2rem);background:#275344;padding:1rem;border-radius:12px;line-height:1.45;margin:1rem 0}.shared-lesson{background:#eef3e6;border-radius:14px;padding:1rem;margin:1rem 0}.shared-lesson p:last-child{margin-bottom:0}
.cut-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.22rem;margin:.5rem 0 1rem}.cut-cards>div{border:1px dashed #667c6f;border-radius:6px;display:grid;place-items:center;padding:.65rem;text-align:center;min-height:3rem;break-inside:avoid;overflow-wrap:anywhere}.cut-cards .picture{font-size:1.7rem}.print-source{border:1px solid #a5b5ab;padding:.9rem;border-radius:.45rem;line-height:1.5;margin-bottom:1rem;white-space:pre-line}.print-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(2.3rem,1fr));gap:.2rem;margin:.5rem 0 1rem}.print-tiles>span{display:grid;place-items:center;min-height:2.25rem;font-size:1.2rem;font-weight:720;border:1px dashed #667c6f;border-radius:4px}.print-control{border-top:1px solid var(--line);margin-top:1rem;padding-top:.7rem}.print-control table th{width:45%;font-weight:650}.print-check{list-style:none;padding:0}.print-check li{padding:.2rem 0}.writing-lines{height:7rem;background:repeating-linear-gradient(transparent 0,transparent calc(1.6rem - 1px),#879b8f calc(1.6rem - 1px),#879b8f 1.6rem);border-bottom:1px solid #879b8f;margin-bottom:1.2rem}.grammar-cards{grid-template-columns:repeat(4,1fr)}.grammar-tag{display:block;border:2px solid var(--tag-color);border-radius:8px;color:var(--tag-color);padding:.18rem .4rem;margin:.25rem auto;font-size:1.1rem}.projection-cards .cut-cards{grid-template-columns:repeat(3,1fr);color:#19352c}.projection-cards .cut-cards>div{background:#fffef8;min-height:4rem;font-size:clamp(1rem,2vw,1.8rem)}
#annual-print{display:none}
@media(max-width:760px){.annual-layout{grid-template-columns:1fr}.annual-week-list{grid-template-columns:repeat(2,minmax(0,1fr))}.annual-print-options{display:flex;flex-wrap:wrap}}
@media print{
 @page{size:A4 portrait;margin:14mm}
 body.printing-annual> :not(#annual-print){display:none!important}
 #annual-print{display:block;color:#000;font-size:11pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #annual-print h2{font-size:21pt;margin:0 0 .6rem}#annual-print h3{font-size:13pt;break-after:avoid}#annual-print h4{font-size:11pt;break-after:avoid}#annual-print .eyebrow{color:#143d2d;font-size:9pt}#annual-print .print-sheet{break-after:page}#annual-print .print-sheet:last-child{break-after:auto}#annual-print .print-control{border-top:none;margin:0;padding:0}#annual-print .print-calendar li{line-height:1.25;margin:.16rem 0}#annual-print .print-calendar h3{margin:0 0 .3rem}#annual-print .print-calendar ol{margin:.2rem 0 .7rem}#annual-print .annual-agenda{break-inside:avoid}
}
.bilan-heading{margin:1rem 0}.bilan-heading p{color:var(--muted)}.bilan-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap}.bilan-controls select{min-width:150px}.bilan-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;align-items:start}.bilan-grid:has(.bilan-observe){grid-template-columns:minmax(0,1.75fr) minmax(250px,1fr)}.bilan-radar{display:block;width:min(100%,640px);height:auto;margin:0 auto 1rem}.bilan-launch summary{font-weight:800;cursor:pointer}.bilan-launch form{margin-top:1rem}.three{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(90px,.65fr) minmax(120px,1fr);gap:.7rem}.bilan-observe p,.lesson-feedback p{margin-bottom:.45rem}.lesson-feedback h2{margin-bottom:.45rem}.lesson-feedback{border:1px solid #a7c3aa;padding:1rem}.lesson h1{white-space:pre-line}.bilan-observe textarea{resize:vertical}
@media(max-width:800px){.bilan-grid:has(.bilan-observe){grid-template-columns:minmax(0,1fr)}}@media(max-width:460px){.three{grid-template-columns:1fr}}
