@charset "UTF-8";
:root{--ink:#253b34;--muted:#6b766e;--paper:#f7f8f4;--white:#fff;--line:#e3e8df;--green:#345d4e;--green-soft:#edf3ed;--clay:#a64c36;--clay-soft:#fbefe9;--gold:#a47a35;--gold-soft:#f8f1e2;--radius:18px;--shadow:0 8px 25px #273e3210}
*{box-sizing:border-box}body{margin:0;font-family:"Segoe UI",Arial,sans-serif;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b78136;outline-offset:4px}button:disabled{cursor:default;opacity:.6}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-family:Georgia,serif;font-weight:500;font-size:36px;line-height:1.2;letter-spacing:-.7px}h2{font-size:20px;font-weight:650;letter-spacing:-.2px}h3{font-size:18px;font-weight:650}small{font-size:12px}.app{display:flex;min-height:100vh}.sidebar{width:258px;background:var(--white);border-right:1px solid var(--line);padding:30px 20px 22px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:12px;align-items:center;font-size:25px;font-weight:700;letter-spacing:-.6px;padding:0 8px}.brand small{display:block;font-size:9px;letter-spacing:1.3px;font-weight:650;color:var(--muted);margin-top:2px}.brand-mark{background:var(--clay);color:white;border-radius:13px;width:44px;height:45px;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:25px;letter-spacing:-6px;padding-right:7px}.brand-mark span{transform:translateY(4px);font-size:23px}.school-context{margin:31px 3px 29px;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:13px;display:flex;gap:10px;align-items:center;font-size:13px;font-weight:650}.school-context small{display:block;font-weight:400;color:var(--muted);margin-top:2px}.context-dot{width:8px;height:8px;background:var(--green);border-radius:50%;flex-shrink:0}.nav-label{font-size:10px;letter-spacing:1.6px;color:#889187;font-weight:700;margin:19px 13px 10px}.nav-item{width:100%;border:0;background:transparent;display:flex;gap:12px;align-items:center;padding:12px 13px;border-radius:10px;text-align:left;font-size:14px;font-weight:550;margin:3px 0;min-height:46px}.nav-item svg{width:20px;height:20px;color:#7d887e}.nav-item:hover{background:var(--paper)}.nav-item.active{background:var(--green-soft);color:var(--green);font-weight:700}.nav-item.active svg{color:var(--green)}.nav-item.active:after{content:"";margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--green)}.sidebar-bottom{margin-top:auto;padding-top:25px}.local-note{display:flex;gap:11px;align-items:center;border-top:1px solid var(--line);margin:20px 10px 0;padding-top:19px;font-size:11px;color:var(--muted);line-height:1.5}.local-note svg{color:var(--green);width:19px}.local-note strong{font-weight:600}.workspace{margin-left:258px;min-width:0;flex:1}.topbar{height:78px;border-bottom:1px solid var(--line);background:#ffffffb8;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:12px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb strong{font-weight:500;color:var(--ink)}.top-actions{display:flex;gap:22px;align-items:center}.storage-status{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--green)}.storage-status i{width:6px;height:6px;background:#548a59;border-radius:50%}.help-button{border:0;background:none;display:flex;align-items:center;gap:7px;font-size:12px;min-height:44px}.help-button svg{width:17px}.avatar{background:var(--gold-soft);border:1px solid #eee1c7;border-radius:50%;width:36px;height:36px;font-size:11px;color:var(--gold);font-weight:700}.icon-button{background:white;border:1px solid var(--line);border-radius:9px;padding:9px}.mobile-menu{display:none}main{max-width:1260px;margin:0 auto;padding:37px 38px 42px;min-height:calc(100vh - 138px)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.6px;color:var(--green);text-transform:uppercase;margin-bottom:10px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);font-size:14px;margin-top:10px}.date-chip{background:white;border:1px solid var(--line);border-radius:25px;padding:8px 14px;font-size:11px;white-space:nowrap;margin-top:6px;display:flex;gap:7px;align-items:center}.date-chip svg{width:15px;height:15px}.welcome{position:relative;background:var(--green-soft);border:1px solid #dbe7d9;border-radius:var(--radius);padding:29px 31px;display:flex;justify-content:space-between;align-items:center;gap:24px;overflow:hidden;margin-bottom:30px}.welcome:after{content:"";position:absolute;right:-70px;top:-130px;width:390px;height:390px;border:1px solid #c9d8c8;border-radius:50%;pointer-events:none}.welcome-copy{max-width:490px;position:relative;z-index:1}.welcome h2{font-family:Georgia,serif;font-size:27px;font-weight:500;line-height:1.3}.welcome p{color:#647866;font-size:13px;margin-top:10px;max-width:430px}.welcome .button{margin-top:19px}.welcome-art{width:166px;height:124px;position:relative;flex-shrink:0;margin-right:21px}.paper-art{position:absolute;background:#fffdf7;box-shadow:0 8px 19px #345d4e1b;border:1px solid #d4dfcf;width:91px;height:108px;left:28px;top:2px;transform:rotate(-10deg);border-radius:6px;padding:17px 12px}.paper-art:before{content:"";display:block;width:27px;height:6px;background:#d7e4d2;margin-bottom:11px}.paper-art i{display:block;height:3px;background:#e4e7db;margin:8px 0}.paper-art.front{left:70px;top:15px;transform:rotate(9deg)}.art-check{position:absolute;right:0;bottom:0;background:var(--green);border:5px solid var(--green-soft);border-radius:50%;padding:8px;color:white}.art-check svg{width:19px;height:19px}.button{border:1px solid var(--line);background:white;border-radius:10px;min-height:44px;padding:10px 16px;font-size:13px;font-weight:650;display:inline-flex;gap:9px;align-items:center;justify-content:center}.button svg{width:17px;height:17px}.button:hover{box-shadow:0 3px 9px #253b3410;transform:translateY(-1px)}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.clay{background:var(--clay);color:white;border-color:var(--clay)}.button.subtle{border:0;background:transparent;color:var(--green);padding:8px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading p{font-size:12px;color:var(--muted);margin-top:3px}.section-heading .small-link{border:0;background:transparent;color:var(--green);font-size:12px;text-decoration:underline;text-underline-offset:4px;min-height:44px}.tasks{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:31px}.task-card{border:1px solid var(--line);background:white;border-radius:15px;padding:21px 19px;text-align:left;display:flex;flex-direction:column;min-height:209px;transition:transform .15s,box-shadow .15s}.task-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#bccbbb}.icon-tile{display:flex;justify-content:center;align-items:center;width:43px;height:43px;border-radius:12px;background:var(--green-soft);color:var(--green);margin-bottom:17px}.icon-tile.clay{background:var(--clay-soft);color:var(--clay)}.icon-tile.gold{background:var(--gold-soft);color:var(--gold)}.icon-tile.blue{background:#edf1f7;color:#5a7597}.task-card strong{font-size:16px;line-height:1.35;font-weight:650}.task-card p{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.5}.task-card .card-arrow{font-size:12px;font-weight:600;margin-top:auto;padding-top:18px;display:flex;gap:7px;align-items:center;color:var(--green)}.card-arrow svg{width:15px;height:15px}.home-bottom{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}.panel{border:1px solid var(--line);background:white;border-radius:var(--radius);padding:23px}.panel .section-heading{margin-bottom:18px}.panel h2{font-size:17px}.empty-compact{display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px 12px 20px}.empty-compact .empty-icon{background:var(--paper);padding:13px;border-radius:50%;color:#97a294;margin-bottom:13px}.empty-compact h3{font-size:14px}.empty-compact p{font-size:12px;color:var(--muted);max-width:310px;margin-top:6px}.guide-row{display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #edf0e9;font-size:13px}.guide-row:last-child{border:0}.step-number{border:1px solid var(--line);background:var(--paper);width:25px;height:25px;display:flex;justify-content:center;align-items:center;border-radius:50%;font-size:11px;flex-shrink:0;color:var(--green)}.guide-row p{color:var(--muted);font-size:11px;margin-top:2px}.offline-banner{display:flex;gap:12px;align-items:center;margin-top:24px;padding:14px 19px;border:1px solid #e4e9df;border-radius:12px;color:var(--muted);font-size:12px;background:#f0f3eb}.offline-banner svg{color:var(--green);width:20px}.offline-banner strong{color:var(--green)}footer{padding:17px 38px;border-top:1px solid var(--line);display:flex;gap:15px;justify-content:space-between;font-size:10px;color:#85907f}.tabs{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}.tab{border:1px solid var(--line);background:white;padding:9px 15px;border-radius:9px;min-height:44px;font-size:13px}.tab[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:23px;flex-wrap:wrap}.search-field{display:flex;align-items:center;gap:9px;background:white;border:1px solid var(--line);border-radius:10px;padding:0 12px;flex:1;max-width:430px;min-width:180px}.search-field svg{width:18px;color:var(--muted)}.search-field input{background:transparent;border:0;padding:11px 0;width:100%;font-size:13px;color:var(--ink)}.search-field input:focus-visible{outline-offset:0}.empty-state{border:1px dashed #cfd8c9;border-radius:var(--radius);background:#ffffff9c;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 24px}.empty-state .icon-tile{width:58px;height:58px;margin-bottom:18px;border-radius:16px}.empty-state .icon-tile svg{width:26px;height:26px}.empty-state p{font-size:14px;color:var(--muted);max-width:450px;margin:10px 0 20px}.notice{border-left:3px solid var(--gold);background:var(--gold-soft);border-radius:0 9px 9px 0;padding:13px 17px;font-size:13px;color:#766037;margin:23px 0}.two-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.field{display:block;margin-bottom:19px;font-size:13px;font-weight:600}.field span{display:block;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;min-height:46px;border:1px solid #d6ded1;background:#fff;border-radius:9px;padding:11px 12px;color:var(--ink);font-size:14px}.field textarea{min-height:100px;resize:vertical}.field small{display:block;font-weight:400;color:var(--muted);margin-top:5px}.fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.hint-panel{background:var(--green-soft);border:1px solid #dbe7d9;border-radius:var(--radius);padding:24px;height:fit-content}.hint-panel h3{font-size:17px}.hint-panel p{color:#627765;font-size:13px;margin-top:10px}.hint-panel svg{color:var(--green);margin-bottom:16px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.category-card{border:1px solid var(--line);background:white;border-radius:14px;text-align:left;padding:21px;min-height:160px;position:relative}.category-card.selected{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.category-card h3{font-size:15px}.category-card p{font-size:12px;color:var(--muted);margin-top:5px}.badge{display:inline-flex;border:1px solid var(--line);background:var(--paper);border-radius:20px;padding:3px 9px;font-size:10px;font-weight:600;color:var(--muted)}.list-row{display:flex;gap:15px;align-items:center;background:white;border:1px solid var(--line);border-radius:12px;padding:17px;margin-bottom:11px}.list-row .icon-tile{margin:0;width:39px;height:39px;flex-shrink:0}.list-row .row-main{flex:1;min-width:0}.list-row h3{font-size:15px;overflow-wrap:anywhere}.list-row p{font-size:12px;color:var(--muted);margin-top:3px}.row-actions{display:flex;gap:8px}.progress{display:flex;gap:0;max-width:650px;margin:0 auto 30px}.progress-step{flex:1;display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.progress-step:not(:last-child):after{content:"";height:1px;background:var(--line);flex:1;margin:0 12px}.progress-step b{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:white;font-weight:500}.progress-step.current{color:var(--green);font-weight:600}.progress-step.current b{background:var(--green);color:white;border-color:var(--green)}.wizard{max-width:690px;margin:auto}.wizard h2{font-family:Georgia,serif;font-weight:500;font-size:26px;margin-bottom:9px}.wizard>p{color:var(--muted);font-size:14px;margin-bottom:24px}.choice{width:100%;display:flex;gap:15px;align-items:center;padding:18px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;text-align:left}.choice .icon-tile{margin:0;flex-shrink:0}.choice strong{font-size:15px}.choice p{font-size:12px;color:var(--muted);margin-top:3px}.choice>svg{margin-left:auto;width:18px}.summary-box{background:var(--paper);border:1px solid var(--line);padding:20px;border-radius:12px;margin:20px 0}.summary-box dl{display:grid;grid-template-columns:130px 1fr;gap:12px;font-size:13px;margin:0}.summary-box dt{color:var(--muted)}.summary-box dd{margin:0;overflow-wrap:anywhere}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.help-grid .panel p{font-size:13px;color:var(--muted);margin-top:10px}.help-grid .panel .button{margin-top:17px}details{border:1px solid var(--line);border-radius:12px;background:white;margin:12px 0;padding:16px 20px}summary{font-size:14px;font-weight:650;cursor:pointer;min-height:28px}details p{font-size:13px;color:var(--muted);padding-top:12px;max-width:760px}.toast{position:fixed;left:calc(50% + 129px);bottom:28px;transform:translate(-50%,20px);background:var(--ink);color:white;border-radius:12px;padding:14px 22px;max-width:90vw;font-size:13px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.2s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:20px;padding:0;width:min(520px,calc(100% - 30px));color:var(--ink);box-shadow:0 20px 70px #0002}dialog::backdrop{background:#1d302d66}#dialog-content{padding:28px}dialog h2{font-family:Georgia,serif;font-size:26px;font-weight:500;margin-bottom:12px}dialog p{font-size:14px;color:var(--muted);margin-bottom:18px}dialog .form-actions{justify-content:flex-end}.skip{position:fixed;top:-100px;left:20px;z-index:200;background:white;padding:12px;border:2px solid var(--green);border-radius:10px}.skip:focus{top:10px}.menu-scrim{position:fixed;inset:0;background:#1d302d66;border:0;z-index:25}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){main{padding-top:48px}.tasks{gap:20px}.task-card{padding:25px;min-height:230px}}
@media(max-width:1150px){.sidebar{width:226px;padding-left:14px;padding-right:14px}.workspace{margin-left:226px}main{padding:30px 25px}.topbar{padding:0 25px}.tasks{grid-template-columns:repeat(2,1fr)}.task-card{min-height:175px}.toast{left:calc(50% + 113px)}.home-bottom{grid-template-columns:1fr 1fr}.category-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:258px}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-menu{display:block}.topbar{height:65px;padding:0 20px}.top-actions{gap:12px}.breadcrumb{margin-right:auto}.storage-status{font-size:10px}.toast{left:50%}main{padding:26px 22px}.two-columns{grid-template-columns:1fr}.home-bottom{grid-template-columns:1fr 1fr}footer{padding:17px 22px}.welcome-art{margin-right:0;width:140px}.page-heading h1{font-size:32px}}
@media(max-width:560px){body{font-size:16px}.topbar{padding:0 14px}.help-button{display:none}.storage-status{max-width:125px}.breadcrumb{font-size:11px}.avatar{width:32px;height:32px}main{padding:26px 17px}.page-heading{margin-bottom:22px;display:block}.page-heading h1{font-size:31px}.page-heading p{font-size:13px}.date-chip{display:none}.welcome{padding:24px 22px}.welcome h2{font-size:24px}.welcome-art{display:none}.welcome-copy{max-width:none}.tasks{gap:11px}.task-card{padding:17px 14px;min-height:201px}.task-card strong{font-size:15px}.task-card p{font-size:12px}.task-card .card-arrow{font-size:11px}.home-bottom,.help-grid,.fields-grid{grid-template-columns:1fr}.panel{padding:20px}.offline-banner{align-items:flex-start;font-size:11px;padding:14px}.category-grid{gap:10px}.category-card{padding:17px 14px}.category-card h3{font-size:14px}.category-card p{font-size:11px}.toolbar{align-items:stretch}.search-field{max-width:none}.list-row{flex-wrap:wrap}.row-actions{width:100%;padding-left:54px}.progress-step{font-size:10px;gap:5px}.progress-step:not(:last-child):after{margin:0 7px}.progress-step b{width:23px;height:23px;flex-shrink:0}.summary-box dl{grid-template-columns:95px 1fr}.section-heading h2{font-size:19px}footer{display:block;font-size:10px;padding:17px}footer span{display:block;margin:3px 0}.empty-state{padding:30px 18px}.empty-state p{font-size:13px}.button{min-height:46px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}.button:hover,.task-card:hover{transform:none}}
@media print{.sidebar,.topbar,footer,.button,.toast{display:none!important}.workspace{margin:0}main{padding:0}.panel{break-inside:avoid}body{background:white}}
.level-symbol{display:inline-flex;background:var(--green-soft);color:var(--green);font-size:22px;font-weight:750;padding:9px 14px;border-radius:12px;margin-bottom:16px}.class-tracks{display:flex;gap:7px;margin-top:15px}.class-tracks span{font-size:11px;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:3px 9px}.category-card .card-arrow{display:flex;align-items:center;gap:7px;color:var(--green);font-size:12px;margin-top:17px}.category-card .card-arrow svg{width:15px;height:15px}.category-card:hover{border-color:#b5c7b4;box-shadow:var(--shadow)}.level-switch{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:23px}.level-switch a{display:grid;place-items:center;min-width:60px;min-height:44px;border-radius:9px;border:1px solid var(--line);background:white;font-size:13px;font-weight:650}.level-switch a[aria-current]{background:var(--green-soft);border-color:var(--green);color:var(--green)}.tab.selected{background:var(--green);color:white;border-color:var(--green)}.source-note{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:26px;padding-top:18px;font-size:12px;color:var(--muted)}.source-note span,.source-note a{display:flex;align-items:center;gap:8px}.source-note svg{width:17px;height:17px}.source-note a{color:var(--green);text-decoration:underline;text-underline-offset:4px;min-height:44px}.subject-header{display:flex;align-items:center;gap:18px;margin:20px 0}.subject-header .icon-tile{margin:0;flex-shrink:0}.subject-header p{font-size:13px;color:var(--muted);margin-top:5px}.subject-header .eyebrow{margin-bottom:5px}.progression-panel{margin-bottom:23px}.progression-panel .section-heading{margin-bottom:14px}.progression-placeholder{height:9px;border-radius:9px;background:repeating-linear-gradient(135deg,#edf0e9,#edf0e9 7px,#f6f8f3 7px,#f6f8f3 14px)}.progression-panel progress{width:100%;height:10px;accent-color:var(--green)}.progression-explanation{color:var(--muted);font-size:12px;margin-top:13px}.sidebar nav{overflow-y:auto;min-height:0}.sidebar-bottom{flex-shrink:0;padding-top:10px}.sidebar .nav-item{font-size:13px}
@media(max-width:560px){.subject-grid{grid-template-columns:1fr}.subject-header{align-items:flex-start}.level-switch{gap:6px}.level-switch a{min-width:48px}.source-note{font-size:11px}}
/* Fiches API : édition par parties et aperçu du document. */
.api-status{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:15px;font-size:13px;color:var(--muted)}
.api-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.api-toolbar .button{flex-shrink:0}
.api-tabs{margin-top:25px}.api-completeness{font-size:13px;color:var(--muted);margin:0 0 22px;line-height:1.7}
.api-form .fields-grid{align-items:start}.api-form .full-width{grid-column:1/-1}.api-subheading{margin:32px 0 18px}
.section-intro{color:var(--muted);font-size:14px;line-height:1.7;margin:12px 0 24px}
.field textarea{width:100%;padding:13px;border:1px solid var(--line,#d8ded9);border-radius:9px;font:inherit;font-size:14px;line-height:1.65;background:#fff;color:var(--ink,#223d33);resize:vertical;min-height:120px;box-sizing:border-box}
.field textarea:focus{outline:2px solid var(--green);outline-offset:2px}.api-profile,.api-demo-card{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:24px 0}.api-profile p,.api-demo-card p{font-size:14px;line-height:1.7;color:var(--muted);max-width:720px;margin-top:10px}
.api-phase{margin:26px 0}.api-phase>h2{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:20px}.api-step{background:white;border:1px solid var(--line,#d8ded9);border-radius:12px;margin:12px 0;overflow:hidden}.api-step summary{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:20px;cursor:pointer;font-size:15px;font-weight:600}.api-step summary::before{content:'+';color:var(--green)}.api-step[open] summary::before{content:'−'}.api-step summary span{flex:1}.api-step summary small{font-size:12px;font-weight:400;color:var(--muted)}.api-step-fields{padding:0 22px 22px}.api-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.api-role-grid .full-width{grid-column:auto}.api-checkbox{display:flex;align-items:center;gap:10px;font-size:14px;margin:8px 0 22px}.api-checkbox input{width:18px;height:18px;accent-color:var(--green)}
.api-source{margin:12px 0}.api-paper-wrap{background:#ebe9e3;padding:24px;border-radius:14px;overflow:auto}.api-paper{background:white;color:#18231f;max-width:1100px;margin:auto;padding:36px;font:13px/1.55 Arial,sans-serif;box-shadow:0 4px 20px #0000000d}.api-paper h1{text-align:center;font-size:23px;margin:10px 0}.api-paper h2{text-align:center;font-size:18px}.paper-kicker{text-align:center;font-size:10px;letter-spacing:1px}.paper-metadata{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;margin:25px 0}.paper-wide{grid-column:1/-1}.paper-metadata div{overflow-wrap:anywhere}.paper-support{margin:20px 0}.paper-demo{padding:10px;border:1px solid #b77e64;color:#844a34}.api-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:12px 0 24px}.api-table th,.api-table td{border:1px solid #bac4bd;padding:10px;text-align:left;vertical-align:top;font-size:11px;overflow-wrap:anywhere}.api-table th:nth-child(1){width:18%}.api-table th:nth-child(2){width:31%}.api-table th:nth-child(3){width:29%}.api-table th:nth-child(4){width:22%}.api-table th small{display:block;margin-top:8px}.api-table p{margin:10px 0}.paper-phase th{background:#eaf0ec;letter-spacing:.5px}.paper-source{color:#66736b;font-size:10px;margin-top:24px}#api-print-root{display:none}
@media(max-width:700px){.api-role-grid{grid-template-columns:1fr}.api-profile,.api-demo-card{display:block}.api-profile .badge,.api-demo-card .button{margin-top:18px}.api-toolbar .button{flex:1;justify-content:center;font-size:12px}.api-tabs{gap:6px;flex-wrap:wrap}.api-tabs .tab{font-size:12px;padding:11px}.api-step summary{padding:16px;align-items:start}.api-step summary small{max-width:78px}.api-step-fields{padding:0 15px 18px}.api-paper-wrap{padding:10px}.api-paper{padding:16px}.api-paper h1{font-size:19px}.paper-metadata{grid-template-columns:1fr}.api-table th,.api-table td{font-size:10px;padding:5px}.api-form .fields-grid{grid-template-columns:1fr}}
@media print{body.printing-api>.app,body.printing-api>.skip,body.printing-api>dialog,body.printing-api>.toast,body.printing-api>.menu-scrim{display:none!important}body.printing-api #api-print-root{display:block!important}body.printing-api{background:white!important}.api-paper{box-shadow:none}}
.api-form .full-width{grid-column:1/-1}.api-extra{width:100%;margin:6px 0 20px}.api-extra .fields-grid{padding:18px}.api-extra summary{font-size:13px;line-height:1.6}
/* Parcours des curricula : liste courte, contenu détaillé à la demande. */
.curriculum-field{margin:30px 0}.curriculum-field>h2{font-size:20px;margin-bottom:16px}.curriculum-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin:20px 0}.curriculum-count{font-size:14px;color:var(--muted);margin:16px 0}.curriculum-sequence{border:1px solid var(--line,#dce4dd);border-radius:12px;margin:12px 0;background:var(--paper,#fff);overflow:hidden}.curriculum-sequence summary{display:flex;align-items:flex-start;gap:14px;padding:18px;cursor:pointer;list-style:none}.curriculum-sequence summary::-webkit-details-marker{display:none}.curriculum-sequence summary:after{content:'＋';margin-left:auto;color:var(--green,#21614c);flex-shrink:0}.curriculum-sequence[open] summary:after{content:'−'}.curriculum-sequence summary strong{display:block;white-space:pre-line;font-size:16px;font-weight:650;line-height:1.45}.curriculum-sequence summary small{display:block;margin-top:8px;line-height:1.5;color:var(--muted)}.sequence-number{display:grid;place-items:center;min-width:34px;height:34px;border-radius:10px;background:#edf2e9;color:#245d45;font-weight:700;flex-shrink:0}.sequence-done{border-color:#8db79d}.sequence-done .sequence-number{background:#245d45;color:white}.sequence-content{padding:0 20px 22px 68px}.sequence-content dl{margin:0}.sequence-content dt{font-weight:650;color:#245d45;margin:16px 0 5px}.sequence-content dd{margin:0;line-height:1.65;overflow-wrap:anywhere}.sequence-actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin:24px 0 16px}.curriculum-completion{display:flex;gap:10px;align-items:flex-start;max-width:340px;font-size:14px;line-height:1.5;cursor:pointer}.curriculum-completion input{width:20px;height:20px;flex-shrink:0;accent-color:#245d45;margin:1px 0}.sequence-source,.sequence-hint{font-size:13px;color:var(--muted);line-height:1.6;margin:18px 0 0}.curriculum-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.curriculum-pagination button:disabled{opacity:.45;cursor:default}.curriculum-references{margin:28px 0}.curriculum-references>summary{font-weight:650;font-size:18px;cursor:pointer}.curriculum-references p{margin:16px 0;color:var(--muted)}.curriculum-source-link{display:flex;gap:10px;align-items:flex-start;overflow-wrap:anywhere;padding:12px 0;color:#245d45;font-size:14px}.curriculum-source-link svg{width:20px;min-width:20px;height:20px}.reference-row{border-bottom:1px solid #e4e9e3;padding-bottom:8px}.reference-row small{color:var(--muted);display:block}.curriculum-references details{padding:14px 0}.curriculum-list{margin-top:24px}.curriculum-results{scroll-margin-top:25px}@media(max-width:700px){.curriculum-filters{grid-template-columns:1fr}.sequence-content{padding:0 16px 20px}.curriculum-sequence summary{padding:14px;gap:10px}.curriculum-sequence summary strong{font-size:15px}.sequence-actions{align-items:stretch;flex-direction:column}.sequence-actions .button{justify-content:center}.curriculum-completion{max-width:none}.curriculum-field>h2{font-size:18px}.curriculum-pagination .button{font-size:13px;padding:10px}.curriculum-pagination span{font-size:13px}.curriculum-list .section-heading{flex-wrap:wrap}}

/* Informations de la fiche selon le modèle fourni. */
.api-information-form h2{margin-bottom:16px}.api-number-row{max-width:220px;margin-bottom:8px}.api-information-form .field{display:flex;align-items:baseline;gap:8px;margin:0;min-width:0}.api-information-form .field>span{white-space:nowrap;font-size:13px;font-weight:700}.api-information-form input,.api-information-form textarea{margin:0;padding:6px 8px;min-height:32px;font-size:13px;min-width:0;width:100%}.api-class-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;margin-bottom:12px}.api-class-row>.field{width:100px}.api-count-group{display:flex;align-items:baseline;gap:6px;font-size:13px}.api-count-group input{width:48px}.api-count-group:first-of-type input{width:60px}.api-information-lines{display:grid;gap:8px}.api-information-lines .field>span{min-width:175px}.api-information-lines textarea{min-height:64px;resize:vertical}.api-information-lines input{max-width:650px}.api-information-lines input[type=date]{max-width:180px}.api-information-lines input[type=number]{max-width:100px}
.api-paper h1.paper-title{background:#ff9966;border-radius:12px;padding:18px 14px;margin:0 0 12px;font:700 18px/1.35 Arial,sans-serif;letter-spacing:0}.api-paper .paper-metadata{display:block;margin:0 0 18px;font-size:13px;line-height:1.4}.paper-class-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin-bottom:8px}.paper-class-line>span{white-space:nowrap}.paper-information-line{margin:6px 0;break-inside:avoid}.paper-information-line>span{white-space:normal}.api-paper .paper-support{margin:8px 0 12px}
@media(max-width:700px){.api-information-lines .field{flex-wrap:wrap;gap:3px}.api-information-lines .field>span{min-width:0;width:100%}.api-paper h1.paper-title{font-size:16px;padding:14px 10px}.paper-class-line{gap:5px 12px}}

/* Tableau à trois colonnes du squelette Word fourni. */
.api-table thead th:nth-child(1){width:28.75%}.api-table thead th:nth-child(2){width:40.45%}.api-table thead th:nth-child(3){width:30.8%}.api-table tbody th{width:auto}.api-count-group input[data-api="fields.esh"]{width:48px}

.api-paper h1.paper-title{background:none;border-radius:0;padding:0;margin:0 0 16px;font-size:18px}.paper-phase th{background:white;color:#111}.api-count-group input[data-api="fields.total"]{width:60px}
.mo-tools details{margin:12px 0;padding:12px;border:1px solid var(--line,#ddd);border-radius:10px}.mo-tools summary{cursor:pointer;font-weight:600}.mo-word{padding:8px 0;border-bottom:1px solid #eee;overflow-wrap:anywhere}.mo-word .button{white-space:normal;text-align:left;max-width:100%}.mo-word small{display:block;margin-top:4px}.mo-keys{display:flex;flex-wrap:wrap;gap:6px}.mo-lex-row{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:8px;margin:14px 0}.mo-lex-row small{grid-column:1/-1}.mo-source-data{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}.mo-tools .field{margin-top:12px}@media(max-width:650px){.mo-lex-row{grid-template-columns:1fr}.mo-lex-row small{grid-column:1}.mo-tools{padding:16px}}
