:root{color-scheme:light;--navy:#142e44;--ink:#173047;--muted:#506777;--teal:#086c68;--teal-light:#eaf6f3;--line:#d5e1e5;--page:#f5f8fa;--white:#fff;--error:#a22435;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.55;color:var(--ink);background:var(--page)}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}[hidden]{display:none!important}button,a,input,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #147cba}h1,h2,p{margin-top:0}h1,h2{line-height:1.15;letter-spacing:-.04em}h1{font-size:2.65rem;font-weight:650}h2{font-size:2rem;font-weight:650}a{color:var(--teal)}
.skip-link{position:fixed;top:-100px;left:1rem;background:white;padding:1rem;z-index:10}.skip-link:focus{top:1rem}.site-header{background:var(--navy);color:white;min-height:92px;display:flex;align-items:center;justify-content:space-between;padding:1rem max(1.5rem,calc((100vw - 1160px)/2));gap:1rem}.brand{display:flex;align-items:center;gap:1rem;font-weight:650;letter-spacing:.01em}.brand-mark{width:46px;height:46px;display:grid;place-items:center;border:1px solid #698694;border-radius:50%;font-family:Georgia,serif;font-size:1.2rem;font-weight:400}.brand-sub{display:block;font-weight:400;font-size:.875rem;color:#c1d6df;letter-spacing:.035em}.preview-badge{font-size:.875rem;background:#29465b;border:1px solid #57758a;border-radius:99px;padding:.4rem .8rem;white-space:nowrap}.preview-note{background:#e6eff3;text-align:center;padding:.65rem 1.25rem;font-size:.875rem;color:#385668;border-bottom:1px solid var(--line)}
main{min-height:70vh;max-width:1208px;margin:auto;padding:2.75rem 1.5rem 3rem}.survey-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:4rem}.sidebar{align-self:start;position:sticky;top:2rem}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:650;font-size:1.2rem;color:var(--teal);margin-bottom:1rem}.sidebar-intro{color:var(--muted);max-width:235px;margin-bottom:1.8rem;font-size:.95rem}.topic-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--line);padding-top:1rem}.topic-button{display:flex;align-items:center;width:100%;gap:.85rem;padding:.5rem .65rem;margin:.15rem 0;border:0;border-radius:6px;background:transparent;color:var(--muted);text-align:left;font-size:.9rem;min-height:40px}.topic-button:hover{background:#e8eff2}.topic-button.active{background:var(--teal-light);color:var(--teal);font-weight:650}.topic-number{font-size:.75rem;letter-spacing:.04em;font-variant-numeric:tabular-nums;min-width:1.3rem}.sidebar-foot{font-size:.875rem;margin-top:1.5rem;color:var(--muted)}
.content{min-width:0}.progress-meta{display:flex;justify-content:space-between;gap:.75rem;font-size:.8125rem;color:var(--muted);margin-bottom:.6rem;font-variant-numeric:tabular-nums}progress{appearance:none;width:100%;height:5px;border:0;border-radius:99px;display:block;background:var(--line);overflow:hidden}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--teal)}progress::-moz-progress-bar{background:var(--teal)}.screen-heading{padding-top:2rem;margin-bottom:2rem}.screen-heading .eyebrow{margin-bottom:.5rem}.screen-heading h2{margin-bottom:.8rem}.screen-heading>p:last-child{color:var(--muted);font-size:.9375rem}.question{border:0;min-width:0;margin:0 0 1.2rem;padding:1.5rem;background:var(--white);border-radius:10px;box-shadow:0 0 0 1px var(--line)}.question>legend{float:left;width:100%;padding:0;margin-bottom:1rem;font-size:1.0625rem;font-weight:580;line-height:1.5}.question>legend+*{clear:both}.question-code{display:block;font-size:.75rem;letter-spacing:.07em;font-weight:550;color:var(--muted);margin-bottom:.35rem}.hint{color:var(--muted);font-size:.875rem;margin-bottom:1rem}.choices{display:flex;flex-wrap:wrap;gap:.55rem}.choice{display:flex;align-items:center;gap:.65rem;min-height:48px;padding:.6rem .85rem;border:1px solid #bdcdd5;border-radius:6px;background:#fff;cursor:pointer;font-size:.9375rem;flex:1 1 132px;line-height:1.35;overflow-wrap:anywhere}.choice:hover{background:#f5faf9;border-color:var(--teal)}.choice:has(input:checked){background:var(--teal-light);border-color:var(--teal);color:#075652;box-shadow:0 0 0 1px var(--teal)}.choice input{accent-color:var(--teal);width:18px;height:18px;margin:0;flex:0 0 18px}.word-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.word-choices .choice{font-size:.875rem;padding:.65rem}.scale-choices{max-width:440px;flex-wrap:nowrap}.scale-choices .choice{justify-content:center;flex:1 1 0;min-width:0;padding:.7rem .4rem}.scale-choices input{position:absolute;opacity:0;pointer-events:none}.scale-choices .choice:has(input:focus-visible){outline:3px solid #147cba;outline-offset:3px}.selection-count{font-size:.875rem;font-weight:600;color:var(--teal);margin:1rem 0 0}.text-input{border:1px solid #afc4ce;border-radius:6px;padding:.8rem 1rem;background:#fff;max-width:100%;width:100%;color:var(--ink)}input.text-input{width:175px}textarea{resize:vertical;min-height:140px}.clear-answer{padding:.25rem 0;border:0;background:transparent;color:var(--muted);font-size:.8125rem;text-decoration:underline;text-underline-offset:3px;margin-top:.85rem;margin-left:6px;min-height:32px}.clear-answer:hover{color:var(--teal)}.field-error{font-size:.875rem;color:var(--error);margin:.6rem 0 0;font-weight:550}.field-error:empty{display:none}[aria-invalid=true]{outline:2px solid var(--error)}.matrix-row{border:0;padding:0;margin:1rem 0 1.5rem;min-width:0}.matrix-row:last-of-type{margin-bottom:0}.matrix-row legend{font-size:.95rem;padding:0 0 .65rem;font-weight:550}.matrix-row .choice{font-size:.875rem;flex-basis:100px}.navigation{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 0}.button{border-radius:6px;min-height:48px;padding:.8rem 1.1rem;font-size:.9375rem;font-weight:600;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;gap:.5rem;text-align:center}.primary{background:var(--teal);border-color:var(--teal);color:white}.primary:hover:not(:disabled){background:#065450}.secondary{background:#fff;color:var(--ink)}.secondary:hover:not(:disabled){background:#e9f0f3}.compact{min-height:40px;padding:.5rem .8rem;font-size:.875rem}.review-intro{color:var(--muted)}.review-section{border:1px solid var(--line);border-radius:8px;background:white;margin:.75rem 0;padding:1rem 1.25rem}.review-section summary{cursor:pointer;font-weight:600;min-height:28px}.review-answer{padding:1rem 0;border-bottom:1px solid var(--line)}.review-answer p{margin:0 0 .5rem;white-space:pre-line;font-size:.9375rem;overflow-wrap:anywhere}.review-label{font-weight:600}.review-section .button{margin-top:1rem}.notice{background:#e6eff3;padding:1rem;border-radius:6px;font-size:.9375rem;margin:1.5rem 0}.success-panel{max-width:650px;margin:3rem auto;text-align:center;background:white;padding:3rem;border:1px solid var(--line);border-radius:12px}.success-icon{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 1.5rem;background:var(--teal-light);border-radius:50%;color:var(--teal);font-size:2rem}.success-panel p{color:var(--muted)}.success-panel .button{margin-top:1rem}.loading{padding:4rem 1rem;text-align:center}.site-footer{max-width:1160px;margin:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:1rem;padding:1.5rem 0 2rem;color:var(--muted);font-size:.8125rem}
@media(min-width:1200px){.sidebar h1{font-size:2.8rem}}
@media(max-width:1000px){.survey-layout{grid-template-columns:220px minmax(0,1fr);gap:2rem}.word-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{margin:0 1.5rem}.sidebar h1{font-size:2.35rem}}
@media(max-width:720px){.site-header{min-height:78px;padding:.8rem 1rem}.brand{gap:.65rem;font-size:.9375rem}.brand-mark{width:36px;height:36px;font-size:1rem}.brand-sub{font-size:.75rem}.preview-badge{font-size:.75rem;padding:.3rem .6rem}.preview-note{text-align:left;font-size:.8125rem;padding:.6rem 1rem}main{padding:1.5rem 1rem 2rem}.survey-layout{display:block}.sidebar{position:static}.sidebar h1{font-size:1.6rem;margin-bottom:1.25rem}.sidebar h1 br{display:none}.sidebar h1 br:after{content:' '}.sidebar .eyebrow{margin-bottom:.4rem}.sidebar-intro,.sidebar nav,.sidebar-foot{display:none}.progress-meta{font-size:.75rem}.screen-heading{padding-top:1.5rem;margin-bottom:1.5rem}.screen-heading h2{font-size:1.75rem}.screen-heading p:last-child{font-size:.875rem}.question{padding:1.2rem 1rem}.question>legend{font-size:1rem}.choice{flex-basis:130px}.word-choices .choice{font-size:.875rem}.navigation{gap:.75rem}.button{font-size:.875rem;padding:.8rem}.site-footer{font-size:.75rem;flex-direction:column;gap:.4rem;margin:0 1rem}.success-panel{padding:2rem 1.25rem;margin:1rem auto}.success-panel h1{font-size:2rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.brand-logo{display:block;width:64px;height:64px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:50%;padding:3px}
@media(max-width:720px){.brand-logo{width:56px;height:56px}}

/* Public welcome page: participants receive individual questionnaire links. */
.home-page{min-height:100vh;display:flex;flex-direction:column}
.home-page main{width:100%;flex:1;display:grid;align-items:center}
.home-page .site-footer{width:calc(100% - 3rem);margin:0 auto}
.landing{max-width:760px;margin:24px auto;text-align:center;padding:0 12px}
.landing-logo{display:block;width:128px;height:128px;margin:0 auto 28px;object-fit:contain}
.landing-school{font-size:clamp(18px,3vw,24px);font-weight:600;color:var(--teal);margin-bottom:14px}
.landing h1{font-size:clamp(28px,4vw,34px);line-height:1.2;margin-bottom:24px}
.landing-intro{font-size:18px;line-height:1.7;color:var(--muted)}
.landing .notice{max-width:440px;margin:28px auto 16px}
.landing-dates{font-weight:600;line-height:1.6}
.landing details{text-align:left}
@media(max-width:720px){.landing{margin:12px auto;padding:0}.landing-logo{width:110px;height:110px;margin-bottom:22px}.landing-intro{font-size:16px}.home-page .site-footer{width:calc(100% - 2rem)}}

.google-review-banner{display:block;max-width:450px;margin:0 auto 3rem;border-radius:18px}.google-review-banner img{display:block;width:100%;height:auto}.google-review-banner:focus-visible{outline:3px solid var(--teal);outline-offset:5px}

.notice.notice-error{background:#fde8e8;color:#8f1d2c;border:1px solid #efb4bb;border-left:4px solid #b42335;font-weight:550}
.notice.notice-success{background:#e6f4ea;color:#1e633b;border:1px solid #acd5b9;border-left:4px solid #2b804d;font-weight:550}

.shared-instruction{font-size:1.2rem;line-height:1.55;margin:0 0 1.25rem}.question-group{margin-bottom:1.5rem}.question-group-card{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:.25rem 0}.question-group-card>.question{background:transparent;box-shadow:none;border-radius:0;margin:0;padding:1.5rem}.question-group-card>.question+.question{border-top:1px solid var(--line)}

.inline-precision-wrap{display:inline-block;max-width:100%;vertical-align:middle;margin:.5rem 0 .5rem .65rem}.inline-precision{width:360px;max-width:100%;font:inherit;font-size:.9rem;font-weight:400;padding:.65rem .8rem;border:1px solid #afc4ce;border-radius:6px;background:#fff;color:var(--ink)}.inline-precision:disabled{background:#edf1f3;color:#687b87;cursor:not-allowed}@media(max-width:600px){.inline-precision-wrap{display:block;margin:.6rem 0 0}.inline-precision{width:100%}}

/* Keep all answer controls below the floated legend, including when an error is hidden. */
.question>.choices{clear:both;width:100%}
.question>legend:has(.inline-precision-wrap){display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem}
.question>legend:has(.inline-precision-wrap)>.question-code{flex:0 0 100%;margin:0}
.question>legend:has(.inline-precision-wrap)>.inline-precision-wrap{flex:1 1 240px;min-width:0;margin:0}
.question>legend .inline-precision{display:block;width:100%;box-sizing:border-box}
@media(max-width:600px){.question>legend:has(.inline-precision-wrap)>.inline-precision-wrap{flex-basis:100%}}

.inline-other-choice{display:flex;align-items:center;gap:1rem;flex:1 1 100%;min-width:0}.inline-other-choice>.choice{flex:0 1 190px}.inline-other-choice>.inline-precision-wrap{flex:1;min-width:0;margin:0}.inline-other-choice .inline-precision{width:100%}@media(max-width:600px){.inline-other-choice{flex-wrap:wrap}.inline-other-choice>.inline-precision-wrap{flex-basis:100%}}

/* Parents A2: eight education levels, four equal columns on desktop. */
#question-A2>.choices:has(>.choice:nth-child(8)){display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
#question-A2>.choices:has(>.choice:nth-child(8))>.choice{min-width:0;overflow-wrap:normal;word-break:normal;hyphens:auto}
@media(max-width:1000px){#question-A2>.choices:has(>.choice:nth-child(8)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#question-A2>.choices:has(>.choice:nth-child(8)){grid-template-columns:1fr}}

/* École enseignants A1: one shared allocation of classroom time. */
.allocation-group .shared-instruction{margin-bottom:.65rem}
.allocation-instruction{color:var(--muted);margin-bottom:1.25rem}
.allocation-row{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:1rem;padding:1.5rem}
.allocation-row+.allocation-row{border-top:1px solid var(--line)}
.allocation-activity{grid-column:1/-1;font-size:1.0625rem;line-height:1.5;margin:0}
.allocation-row>.question{padding:0;margin:0;background:transparent;box-shadow:none;border-radius:0}
.allocation-row>.question>legend{font-size:.875rem;color:var(--muted);font-weight:500}
.allocation-row .question-single .question-code{display:none}
.allocation-row .choices{flex-direction:column}
.allocation-row .choice{flex:0 0 auto}
.percentage-input{display:flex;align-items:center;gap:.65rem;clear:both;font-weight:650}
.percentage-input input.text-input{width:110px;min-width:0}
.allocation-summary{position:sticky;bottom:0;z-index:2;border-top:1px solid var(--line);padding:1.25rem 1.5rem;padding-bottom:calc(1.25rem + env(safe-area-inset-bottom,0px));background:var(--page);border-radius:0 0 10px 10px;box-shadow:0 -4px 12px rgb(20 48 65 / 8%)}
.allocation-total{font-weight:600;margin:0 0 .75rem;font-variant-numeric:tabular-nums}
.allocation-track{height:10px;background:var(--line);border-radius:99px;overflow:hidden}
.allocation-fill{height:100%;background:var(--teal);width:0}
.allocation-group[data-state=complete] .allocation-total{color:var(--teal)}
.allocation-group[data-state=over] .allocation-total{color:var(--error)}
.allocation-group[data-state=over] .allocation-fill{background:var(--error)}
@media(max-width:720px){.allocation-row{grid-template-columns:minmax(0,1fr);padding:1.2rem 1rem}.allocation-summary{padding:.85rem 1rem;padding-bottom:calc(.85rem + env(safe-area-inset-bottom,0px))}.allocation-activity{grid-column:1}.allocation-row .question-integer>legend{margin-bottom:.5rem}}
.allocation-row input{scroll-margin-bottom:10rem}
@media print{.allocation-summary{position:static;box-shadow:none}}
