/* Comfortable reading throughout the family guide. */
:root{--muted:#58515f}
body.reader-ready{grid-template-columns:minmax(0,1fr)}
.reader-ready #main-content{min-width:0}
.standalone-mouth{width:min(100%,calc(var(--art-height)*1.5));height:auto;max-height:var(--art-height)}
.page-copy p{font-size:1.25rem;line-height:1.45}
.page-copy .lead{font-size:1.5rem}
.page-copy .small-note,.booking-copy .small-note{font-size:1.0625rem;line-height:1.4}
.page-copy .medical-note{font-size:1rem;line-height:1.4}
.eyebrow{font-size:.8125rem;letter-spacing:.08em}
.choice-instruction{font-size:1rem;line-height:1.25}
.choice{font-size:1.125rem}
.button{font-size:1.125rem}
.nav-button{font-size:1.0625rem}
.reading-position,.reading-position strong{font-size:.9375rem}
.reader-ready .utility-footer{font-size:.875rem}
.plain-button{font-size:1rem}
.offer-link{font-size:1.0625rem}.offer-link small{font-size:.875rem}
.hero-footnote{font-size:1rem}.hero-footnote b{font-size:1.3125rem}
.hero .offer-note{font-size:1.0625rem!important;line-height:1.4}
.visit-caption{font-size:1.125rem}
.tap-hint,.molar-message{font-size:1.125rem;line-height:1.4}
.dental-arch-title{font-size:1.25rem}
.dental-sides,.arch-orientation{font-size:.9375rem}
.growth-race-legend{font-size:1.125rem!important}
.growth-visual .growth-race h3{font-size:1.375rem!important;line-height:1.3}
.growth-visual .growth-race p{font-size:1.125rem;line-height:1.4}
.growth-visual .growth-race .small-note{font-size:1rem;line-height:1.35}
.calendar-intro{font-size:1.25rem;line-height:1.35}
.calendar-table{font-size:1.1875rem;line-height:1.25}
.calendar-table td{font-size:1.3125rem}
.calendar-table thead th,.calendar-table caption span,.calendar-note,
.calendar-figure figcaption,.page-copy .calendar-reference{font-size:.9375rem;line-height:1.3}
.calendar-table caption,#dents-adulte .calendar-table caption{font-size:1.4375rem}
.page-copy .calendar-reassurance{font-size:1.0625rem;line-height:1.35}
#jeu .quiz-question{font-size:1.625rem!important}
#jeu .quiz-feedback{font-size:1.1875rem!important}
#jeu .quiz-count,#jeu .page-copy .small-note{font-size:1rem!important}
#rendez-vous .book-corner{font-size:1.3125rem}
#rendez-vous .book-display>.text-link{font-size:1.25rem}
.offer-summary b{font-size:1.625rem}.offer-summary span{font-size:1.0625rem}
.clinic-picker label,.clinic-picker select{font-size:1.125rem}
.source-copy{font-size:1.125rem;line-height:1.6}
.contents-list button{font-size:1.1875rem}.contents-list button span{font-size:1rem}
.dialog-heading button{font-size:1rem}

/* The selected button and its explanation share one unmistakable color. */
[data-selection-tone=violet],[data-choice-tone=violet]{--answer-ink:#713491;--answer-fill:#f2e7fb;--answer-line:#b88bd0}
[data-selection-tone=blue],[data-choice-tone=blue]{--answer-ink:#125f7e;--answer-fill:#e6f5fb;--answer-line:#77b9d1}
[data-selection-tone=gold],[data-choice-tone=gold]{--answer-ink:#795000;--answer-fill:#fff2cc;--answer-line:#d3a43e}
.choice[data-choice-tone]{background:var(--answer-fill);border-color:var(--answer-line);color:var(--answer-ink)}
.choice[data-choice-tone][aria-selected=true]{background:var(--answer-ink);border-color:var(--answer-ink);color:#fff;box-shadow:0 3px 10px #30203616}
[data-selection-tone] .visual-caption,[data-selection-tone] .tab-answer{
 width:100%;max-width:1000px;padding:13px 22px;border:1.5px solid var(--answer-line);
 border-left:6px solid var(--answer-ink);border-radius:17px;background:var(--answer-fill);
 color:var(--answer-ink);text-align:center;
}
[data-selection-tone] .visual-caption{font-size:1.25rem;font-weight:600;line-height:1.4;margin:9px auto 0}
[data-selection-tone] .visual-caption strong{font-family:Nunito,Inter,sans-serif;font-size:1.625rem;font-weight:900;line-height:1.22;color:inherit;margin-bottom:5px}
[data-selection-tone] .tab-answer p{font-size:1.375rem;font-weight:700;line-height:1.4;color:inherit;margin:0;max-width:72ch}
[data-selection-tone] .art-panel{animation:none}
[data-selection-tone] .art-panel:not([hidden]) .visual-caption,[data-selection-tone] .tab-answer:not([hidden]){animation:answer-reveal .25s ease-out both}
@keyframes answer-reveal{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
[role=tabpanel]:focus-visible{outline:3px solid var(--answer-ink,var(--focus));outline-offset:3px;border-radius:15px}

@media(max-width:1000px){
 .calendar-table{font-size:1.0625rem}.calendar-table td{font-size:1.1875rem}
 .calendar-table caption,#dents-adulte .calendar-table caption{font-size:1.25rem}
 .calendar-table caption span{display:block;margin:3px 0 0;white-space:normal}
}
@media(max-width:760px){
 .page-copy p{font-size:1.125rem;line-height:1.4}
 .page-copy .lead{font-size:1.25rem}
 .page-copy .small-note,.booking-copy .small-note,.page-copy .medical-note{font-size:1rem;line-height:1.35}
 .eyebrow{font-size:.75rem}
 .page-title{font-size:clamp(1.625rem,6.8vw,2rem);line-height:1.12}
 .choice-instruction{font-size:.9375rem}
 .choice{font-size:1rem;min-height:46px;padding:9px 6px 9px 20px}
 .button{font-size:1rem;min-height:46px}
 .plain-button{font-size:.9375rem;padding:8px}
 .offer-link{font-size:.9375rem;padding:7px 11px}.offer-link small{font-size:.8125rem}
 .reader-ready .utility-footer{font-size:.75rem;gap:8px}
 .nav-button,.reading-position strong{font-size:1rem}
 .hero-footnote{font-size:.9375rem}.hero-footnote b{font-size:1.125rem}
 .hero .offer-note{font-size:1rem!important}
 .hello-sticker{font-size:1.125rem}
 .visit-caption{font-size:1rem}
 [data-selection-tone] .visual-caption,[data-selection-tone] .tab-answer{padding:10px 12px;border-radius:14px;border-left-width:5px}
 [data-selection-tone] .visual-caption{font-size:1.125rem;line-height:1.35;margin-top:6px}
 [data-selection-tone] .visual-caption strong{font-size:1.3125rem;line-height:1.23;margin-bottom:4px}
 [data-selection-tone] .tab-answer p{font-size:1.1875rem;line-height:1.35}
 .tap-hint,.molar-message{font-size:1rem;line-height:1.35}
 .dental-sides,.arch-orientation{font-size:.8125rem}
 .arch-switch button{font-size:1rem;min-height:42px}
 .growth-race-legend span{font-size:1rem;padding:7px!important}
 .growth-visual .growth-race h3{font-size:1.1875rem!important}
 .growth-visual .growth-race p{font-size:1rem}
 .growth-visual .growth-race .small-note{font-size:.9375rem}
 .calendar-intro,.calendar-table{font-size:1.0625rem}
 .calendar-table td{font-size:1.125rem}
 .calendar-table thead th,.calendar-table caption span,.calendar-figure figcaption,.page-copy .calendar-reference{font-size:.875rem}
 .calendar-table caption,#dents-adulte .calendar-table caption{font-size:1.1875rem}
 .calendar-note,.page-copy .calendar-reassurance{font-size:1rem}
 .calendar-number{width:23px;height:23px;font-size:1rem}
 #jeu .quiz-question{font-size:1.5rem!important}
 #jeu .quiz-feedback{font-size:1.125rem!important}
 #rendez-vous .book-corner{font-size:.9375rem}
 #rendez-vous .book-invite p{font-size:1.3125rem}
 #rendez-vous .book-display>.text-link{font-size:1rem}
 .offer-summary b{font-size:1.375rem}.offer-summary span{font-size:1rem}
 .clinic-picker label,.clinic-picker select,.clinic-picker .button{font-size:1rem}
}
@media(max-height:650px) and (max-width:760px){
 .reader-ready .story-page{padding:8px 10px}
 .reader-ready .page-layout{gap:5px}
 .page-title{font-size:1.5rem}
 .choice{font-size:.9375rem;padding-top:7px;padding-bottom:7px;min-height:44px}
 [data-selection-tone] .visual-caption,[data-selection-tone] .tab-answer{padding:7px 10px}
 [data-selection-tone] .visual-caption{font-size:1rem;line-height:1.3}
 [data-selection-tone] .visual-caption strong{font-size:1.1875rem}
 [data-selection-tone] .tab-answer p{font-size:1.125rem;line-height:1.3}
 .growth-race-scroll{min-height:125px}
 .calendar-table th,.calendar-table td{padding:3px}
 .calendar-number{width:20px;height:20px;margin-right:4px}
 .calendar-table caption span{display:inline;margin-left:6px}
 .calendar-table caption,#dents-adulte .calendar-table caption{font-size:1.0625rem}
 .calendar-note{font-size:.9375rem}
 #jeu .page-copy{gap:6px;padding:10px}
 #jeu .quiz-question{font-size:1.3125rem!important}
 #jeu .quiz-feedback{font-size:1rem!important}
 #rendez-vous .book-corner{font-size:.875rem}
 #rendez-vous .book-invite p{font-size:1.0625rem}
 #rendez-vous .book-display>.text-link{font-size:.9375rem}
}
@media(prefers-reduced-motion:reduce){[data-selection-tone] .visual-caption,[data-selection-tone] .tab-answer{animation:none!important}}
.motion-paused [data-selection-tone] .visual-caption,.motion-paused [data-selection-tone] .tab-answer{animation:none!important}

/* Footer links can wrap inside their own target on narrow screens. */
@media(max-width:760px){
 .utility-footer button,.utility-footer a{white-space:normal;text-align:center;line-height:1.1;padding:0;flex:1;min-width:0}
 .choice[data-tab-group]{padding-left:6px;padding-right:6px}
 .choice[data-tab-group]:before{position:static;display:inline-block;margin-right:5px;vertical-align:middle;transform:none}
 .choice[data-tab-group][aria-selected=true]:before{transform:translateY(-2px) rotate(-45deg)}
}
@media(max-height:650px) and (max-width:760px){
 .reader-ready .calendar-visual{grid-template-rows:auto minmax(0,1fr) auto}
 .calendar-table th,.calendar-table td{padding:1px 3px}
 .calendar-table{line-height:1.2}
 .calendar-intro{font-size:1rem}
}
.simple-reading .calendar-note,.simple-reading .calendar-reference,
.simple-reading .calendar-table caption span,.simple-reading .calendar-figure figcaption,
.simple-reading .calendar-table thead th{font-size:1rem;line-height:1.4}
.simple-reading .calendar-table{font-size:1.125rem}
.simple-reading .calendar-table caption span{white-space:normal}

/* Fill the reading canvas and make supporting text genuinely readable. */
:root{--muted:#494052}
.illustration-crop{display:block;width:100%;height:var(--art-height);min-height:0;flex:none;overflow:hidden}
.reader-ready .visual{max-width:none}
.reader-ready .hero .visual--hero{max-width:none}
.page-copy{max-width:1400px}
.visual--doctor>.illustration-crop{max-width:none}
.page-copy p{font-weight:600}
.page-copy .small-note,.booking-copy .small-note,.page-copy .medical-note,
.calendar-note,.calendar-table caption span,.calendar-figure figcaption,
.page-copy .calendar-reference,.dental-sides,.arch-orientation,
.growth-visual .growth-race p,.reading-position{font-weight:700;color:var(--muted)}
.page-copy .small-note,.booking-copy .small-note{font-size:19px;line-height:1.35}
.page-copy .medical-note{font-size:18px;line-height:1.35}
.hero .offer-note{font-size:19px!important;font-weight:600}
.reading-position,.reading-position strong{font-size:18px;color:var(--wine)}
.reader-ready .reader-nav{grid-template-columns:130px minmax(100px,950px) 130px}
.dental-arch{max-width:none}
.dental-sides{width:min(100%,650px);font-size:17px}
.arch-orientation{font-size:17px}
.growth-race{width:100%}
.growth-visual .growth-race p{max-width:none;font-size:19px}
.growth-visual .growth-race .small-note{font-size:18px}
.growth-control label{font-size:28px}
.play-button{width:52px;height:52px;font-size:22px}
.calendar-table tbody th{font-weight:700}
.calendar-figure{justify-content:center}
.calendar-figure img{flex:0 1 auto;height:auto;max-height:calc(100% - 48px);width:100%;object-fit:contain}
.calendar-figure figcaption span{display:block}
.calendar-figure figcaption,.calendar-note,.calendar-table caption span,
.calendar-table thead th,.page-copy .calendar-reference{font-size:17px;line-height:1.3}
.calendar-figure figcaption{margin-top:4px}
.calendar-figure figcaption:has(span+span) .calendar-link-hint{display:none}
#jeu .quiz-visual .big-sixtine{height:var(--art-height);max-height:none;width:60%;max-width:60%}
#jeu .quiz-visual .mouse-sprite{width:clamp(85px,calc(var(--art-height)*.65),260px)}
.reader-ready #jeu .quiz-visual,#jeu .page-copy{max-width:1200px}
#jeu .quiz-question{font-size:30px!important;max-width:50ch!important}
#jeu .quiz-count,#jeu .page-copy .small-note{font-size:18px!important}
#jeu .quiz-answers .button{min-width:170px;min-height:58px;font-size:23px}
#jeu .quiz-feedback{font-size:22px!important}
.reader-ready #rendez-vous .book-display{max-width:none;grid-template-columns:minmax(115px,.85fr) minmax(200px,1.15fr)}
#rendez-vous .book-invite .mouse-sprite{width:clamp(100px,calc(var(--art-height)*.65),280px)}
#rendez-vous .book-invite p{font-size:clamp(26px,2.3vw,42px);max-width:550px}
#rendez-vous .book-display>.text-link{font-size:23px}

/* Larger screens get larger content, instead of larger empty margins. */
@media(min-width:1440px) and (min-height:850px){
 .reader-ready .story-page{max-width:1880px;padding:18px 25px}
 .reader-ready .page-layout{gap:12px}
 .page-title{font-size:48px;max-width:1500px}
 .hero-title{font-size:54px}
 .eyebrow{font-size:16px;margin-bottom:7px}
 .page-copy p{font-size:26px;line-height:1.35}
 .page-copy .lead{font-size:30px}
 .page-copy .small-note,.booking-copy .small-note,.page-copy .medical-note{font-size:23px;line-height:1.35;max-width:none}
 .hero .offer-note{font-size:23px!important}
 .choice-instruction{font-size:20px}
 .choice{font-size:23px;min-height:58px;padding:12px 26px 12px 40px}
 .button{font-size:22px;min-height:57px;padding:13px 23px}
 .plain-button,.offer-link{font-size:20px}.offer-link small{font-size:16px}
 .hero-footnote{font-size:22px}.hero-footnote b{font-size:26px}.hero-footnote .mouse-sprite{width:54px}
 [data-selection-tone] .visual-caption,[data-selection-tone] .tab-answer{max-width:1400px;padding:15px 24px}
 [data-selection-tone] .visual-caption{font-size:24px}
 [data-selection-tone] .visual-caption strong{font-size:31px}
 [data-selection-tone] .tab-answer p{font-size:26px;max-width:90ch}
 .reading-position,.reading-position strong{font-size:22px}
 .nav-button{font-size:20px}
 .reader-ready .reader-nav{grid-template-columns:150px minmax(100px,1200px) 150px}
 .reader-ready .utility-footer{font-size:16px}
 .dental-arch-title{font-size:27px}
 .dental-sides,.arch-orientation{font-size:22px}
 .tap-hint,.molar-message{font-size:24px}
 .growth-race-legend{font-size:23px!important}
 .growth-race-legend span{padding:9px 22px!important}
 .growth-control label{font-size:34px}
 .play-button{width:58px;height:58px;font-size:26px}
 .growth-visual .growth-race h3{font-size:29px!important}
 .growth-visual .growth-race p{font-size:24px}
 .growth-visual .growth-race .small-note{font-size:21px}
 .reader-ready .calendar-visual{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px 30px;padding:18px 25px}
 .calendar-intro{font-size:26px;font-weight:600}
 .calendar-table{font-size:25px;line-height:1.25}
 .calendar-table td{font-size:29px}
 .calendar-table th,.calendar-table td,#dents-adulte .calendar-table th,#dents-adulte .calendar-table td{padding:10px 12px}
 .calendar-table caption,#dents-adulte .calendar-table caption{font-size:30px;margin-bottom:12px}
 .calendar-number{width:32px;height:32px;font-size:23px}
 .calendar-figure figcaption,.calendar-note,.calendar-table caption span,.calendar-table thead th,.page-copy .calendar-reference{font-size:21px}
 .page-copy .calendar-reassurance{font-size:23px}
 .calendar-figure img{max-height:calc(100% - 62px)}
 #jeu .quiz-question{font-size:36px!important}
 #jeu .quiz-count,#jeu .page-copy .small-note{font-size:22px!important}
 #jeu .quiz-feedback{font-size:25px!important}
 #jeu .page-copy{padding:22px 32px;gap:13px}
 #jeu .quiz-answers .button{min-width:210px;min-height:64px;font-size:27px}
 .offer-summary b{font-size:32px}.offer-summary span{font-size:23px}
 .clinic-picker label,.clinic-picker select{font-size:23px}
 #rendez-vous .book-corner{font-size:27px}
 #rendez-vous .book-display>.text-link{font-size:28px}
 .visit-caption{font-size:24px}
}
@media(max-width:1000px){
 .calendar-figure img{max-height:calc(100% - 40px)}
 .calendar-figure figcaption,.calendar-note,.calendar-table caption span,.calendar-table thead th,.page-copy .calendar-reference{font-size:15px}
}
@media(max-width:760px){
 .page-copy .small-note,.booking-copy .small-note,.page-copy .medical-note{font-size:17px;line-height:1.3}
 .hero .offer-note{font-size:17px!important}
 .reader-ready .reader-nav{grid-template-columns:90px minmax(0,1fr) 90px;gap:10px}
 .reading-position,.reading-position strong{font-size:16px}
 .dental-sides,.arch-orientation{font-size:14px}
 .growth-visual .growth-race p{font-size:17px;line-height:1.3}
 .growth-visual .growth-race .small-note{font-size:16px}
 .growth-control label{font-size:24px}.play-button{width:44px;height:44px;font-size:20px}
 #jeu .quiz-question{font-size:25px!important}
 #jeu .quiz-count,#jeu .page-copy .small-note{font-size:17px!important}
 #jeu .quiz-feedback{font-size:19px!important}
 #jeu .quiz-answers .button{min-width:118px;min-height:54px;font-size:21px}
 #jeu .quiz-visual .big-sixtine{width:60%;max-width:60%}
 #jeu .quiz-visual .mouse-sprite{width:clamp(55px,calc(var(--art-height)*.5),110px)}
 #rendez-vous .book-invite .mouse-sprite{width:clamp(50px,calc(var(--art-height)*.38),100px)}
 #rendez-vous .book-invite p{font-size:22px}
 #rendez-vous .book-display>.text-link{font-size:17px}
 .reader-ready #rendez-vous .book-display{grid-template-columns:minmax(90px,.85fr) minmax(145px,1.15fr)}
 .calendar-figure img{max-height:calc(100% - 38px)}
 .calendar-table caption span{font-weight:700}
}
@media(max-height:650px) and (max-width:760px){
 .page-copy .small-note,.booking-copy .small-note,.page-copy .medical-note{font-size:16px}
 .hero .offer-note{font-size:16px!important}
 .growth-visual .growth-race p,.growth-visual .growth-race .small-note{font-size:15px}
 .calendar-figure figcaption{display:none}.calendar-figure img{max-height:100%}
 .calendar-note{font-size:14px;line-height:1.25}
 .calendar-table caption span,.calendar-table thead th,.page-copy .calendar-reference{font-size:13px}
 #jeu .quiz-question{font-size:23px!important}#jeu .quiz-feedback{font-size:17px!important}
 #rendez-vous .book-invite p{font-size:18px}
 #rendez-vous .book-display>.text-link{font-size:15px}
 #rendez-vous .book-invite .mouse-sprite{width:40px}
}
/* In a shallow landscape window, put the explanation beside its illustration.
   This uses the available width instead of shrinking the artwork to a strip. */
@media(min-width:1001px) and (max-height:849px){
 .reader-ready #docteur .page-layout,.reader-ready #visite .page-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr);align-items:stretch;column-gap:22px}
 :is(#docteur,#visite) .page-heading,:is(#docteur,#visite) .choice-instruction,:is(#docteur,#visite) .choices{grid-column:1/-1}
 :is(#docteur,#visite) .visual{grid-column:1;grid-row:4;height:100%}
 :is(#docteur,#visite) .page-copy{grid-column:2;grid-row:4;align-self:center}
 :is(#docteur,#visite) .tab-answer{margin:12px 0}
 :is(#sourire,#sommeil,#habitudes,#appareils) .art-panel:not([hidden]){display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:24px;height:100%}
 :is(#sourire,#sommeil,#habitudes,#appareils) .visual-caption{margin:0;max-width:none;text-align:left;padding:20px}
 :is(#sourire,#sommeil,#habitudes,#appareils) .visual-caption strong{font-size:27px;margin-bottom:10px}
 .hello-sticker{left:auto;right:18px}
}
