/* Chumaway app — palette du tissage bahnar, une colonne façon carnet. */
:root{
  --indigo:#1F2340; --rouge:#D2383A; --rouge-t:#B92F31; --terre:#C9662E; --terre-t:#9E4A1C;
  --riz:#5E9E57; --riz-t:#2F6B2B; --jaune:#F2C14E; --jaune-doux:#FBEFD0; --coton:#FBF8F2; --blanc:#FFFFFF;
  --muted:#4B4C63; --ligne:#E7DECC; --done:#E3F1E8; --land:#E8E2D2;
  --display:"Baloo 2","Trebuchet MS",system-ui,sans-serif;
  --body:"Be Vietnam Pro","Segoe UI",system-ui,sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--coton);color:var(--indigo);font-family:var(--body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
img{max-width:100%}
#app{max-width:720px;margin:0 auto;padding:calc(12px + env(safe-area-inset-top,0px)) 16px calc(96px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:18px}
h1,h2,h3{font-family:var(--display);line-height:1.1;margin:0;text-wrap:balance}
h1{font-size:clamp(1.9rem,7vw,2.5rem);font-weight:800}
h2{font-size:1.4rem;font-weight:700}
h3{font-size:1.1rem;font-weight:700}
p{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--jaune);outline-offset:2px;border-radius:8px}
.eyebrow{font-family:var(--display);font-weight:600;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--terre-t)}
.muted{color:var(--muted)}
.small{font-size:.88rem}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.between{justify-content:space-between}
.card{background:var(--blanc);border:1px solid var(--ligne);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}
.btn{border:0;border-radius:14px;padding:12px 18px;font-weight:600;background:var(--rouge);color:var(--blanc);display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.btn.ghost{background:transparent;color:var(--indigo);border:1.5px solid var(--ligne)}
.btn.dark{background:var(--indigo)}
.btn.sm{padding:7px 12px;font-size:.88rem;border-radius:10px}
.btn:disabled{opacity:.5;cursor:default}
.btn.block{width:100%}
input[type=text],input[type=email],input[type=number],input[type=date],input[type=time],input[type=url],select,textarea{width:100%;border:1.5px solid var(--ligne);border-radius:12px;padding:11px 12px;background:var(--coton);min-width:0}
textarea{min-height:90px;resize:vertical}
label.field{display:flex;flex-direction:column;gap:5px;font-size:.85rem;color:var(--muted);min-width:0}

/* logo */
.logo{position:relative;display:inline-block;font-family:var(--display);font-weight:700;line-height:1;color:var(--indigo);white-space:nowrap}
.logo .l{position:relative;display:inline-block}
.face{position:absolute;left:50%;border-radius:50%}
.face i{position:absolute;border-radius:50%;background:var(--indigo)}
.face.big{top:-.27em;width:.4em;height:.4em;background:var(--rouge);transform:translateX(-50%) rotate(-7deg)}
.face.big i:nth-child(1){top:.13em;left:.08em;width:.06em;height:.06em}
.face.big i:nth-child(2){top:.13em;left:.24em;width:.06em;height:.06em}
.face.big i:nth-child(3){top:.24em;left:.13em;width:.14em;height:.05em;border-radius:0 0 .1em .1em}
.face.small{top:-.22em;width:.3em;height:.3em;background:var(--jaune);transform:translateX(-50%) rotate(7deg)}
.face.small i:nth-child(1){top:.09em;left:.06em;width:.05em;height:.05em}
.face.small i:nth-child(2){top:.09em;left:.18em;width:.05em;height:.05em}
.face.small i:nth-child(3){top:.17em;left:.1em;width:.1em;height:.04em;border-radius:0 0 .08em .08em}
.boot{min-height:70vh;display:grid;place-items:center}
.boot .logo{font-size:48px}

/* top bar + bottom tabs */
.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px}
.topbar .logo{font-size:26px;padding-top:6px}
.net{font-size:.78rem;font-weight:600;border-radius:999px;padding:4px 10px;background:var(--jaune-doux)}
.net.off{background:#F8DEDE;color:var(--rouge-t)}
.tabs{position:fixed;left:0;right:0;bottom:0;z-index:20;background:var(--blanc);border-top:1px solid var(--ligne);display:flex;justify-content:center;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px))}
.tabs .in{display:flex;gap:2px;max-width:720px;width:100%}
.tabs button{flex:1;border:0;background:transparent;padding:8px 2px 6px;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:.72rem;font-weight:600;color:var(--muted)}
.tabs button .ic{font-size:1.25rem;line-height:1}
.tabs button[aria-selected="true"]{color:var(--rouge-t);background:#FBEDED}
.frise{height:10px;border-radius:999px;background:repeating-linear-gradient(90deg,var(--rouge) 0 14px,var(--coton) 14px 28px);box-shadow:0 5px 0 var(--jaune)}

/* day nav */
.daynav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center}
.daynav button{height:44px;border-radius:12px;border:1px solid var(--ligne);background:var(--blanc);font-size:1.3rem}
.daynav .lbl{text-align:center;min-width:0}
.daynav .lbl b{font-family:var(--display);font-size:1.3rem;display:block}

/* checks */
.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.checks label{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:12px;border:1px solid var(--ligne);cursor:pointer}
.checks input{width:22px;height:22px;accent-color:var(--riz);flex:none;margin:1px 0 0}
.checks label.on{background:var(--done);border-color:transparent}
.checks label.on span{text-decoration:line-through;color:var(--muted)}
.pills{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pill{border:2px solid var(--ligne);border-radius:16px;padding:12px;background:var(--blanc);font-weight:600;display:flex;gap:10px;align-items:center;text-align:left}
.pill.on{border-color:var(--riz);background:var(--done)}
.pill .box{width:24px;height:24px;border-radius:8px;border:2px solid var(--riz);display:grid;place-items:center;flex:none;color:var(--blanc);font-size:.9rem}
.pill.on .box{background:var(--riz)}

/* budget */
.meter{height:12px;border-radius:999px;background:var(--ligne);overflow:hidden}
.meter i{display:block;height:100%;border-radius:999px;background:var(--riz)}
.meter.over i{background:var(--rouge)}
.big{font-family:var(--display);font-size:2rem;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.kpis div{background:var(--coton);border-radius:14px;padding:10px;min-width:0}
.kpis b{display:block;font-family:var(--display);font-size:1.25rem;font-variant-numeric:tabular-nums}
.chip{display:inline-block;border-radius:999px;padding:3px 10px;font-size:.8rem;font-weight:600}
.chip.ok{background:var(--done);color:var(--riz-t)}
.chip.warn{background:#F8DEDE;color:var(--rouge-t)}
.chip.wait{background:var(--jaune-doux);color:#6B5310}
.expform{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.expform .full{grid-column:1/-1}
.seg{display:flex;border:1.5px solid var(--ligne);border-radius:12px;overflow:hidden}
.seg button{border:0;background:transparent;padding:0 14px;font-weight:700}
.seg button.on{background:var(--indigo);color:var(--blanc)}
.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.list li{display:grid;grid-template-columns:minmax(0,1fr) auto 34px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px dashed var(--ligne)}
.list li:last-child{border-bottom:0}
.amt{font-variant-numeric:tabular-nums;font-weight:600;text-align:right}
.x{width:32px;height:32px;border-radius:10px;border:1px solid var(--ligne);background:transparent;color:var(--muted)}
.bars{display:flex;align-items:flex-end;gap:3px;height:110px;position:relative}
.bars span{flex:1;background:var(--riz);border-radius:4px 4px 0 0;min-height:2px}
.bars span.over{background:var(--rouge)}
.bars span.future{background:var(--ligne)}
.bars .target{position:absolute;left:0;right:0;border-top:2px dashed var(--terre)}
.barlbl{display:flex;justify-content:space-between;font-size:.76rem;color:var(--muted);gap:8px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cats{display:flex;flex-direction:column;gap:6px}
.cats div{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:10px;align-items:center;font-size:.9rem}

/* postcard builder */
.filebtn{position:relative;display:inline-flex;align-items:center;gap:8px;border:1.5px dashed var(--terre);color:var(--terre-t);border-radius:12px;padding:10px 14px;font-weight:600;cursor:pointer}
.filebtn input{position:absolute;opacity:0;width:1px;height:1px}
.thumbs{display:flex;gap:8px;flex-wrap:wrap}
.thumbs img{width:68px;height:68px;object-fit:cover;border-radius:10px}
.postcard{width:100%;border-radius:16px;border:1px solid var(--ligne);display:block}

/* carnet */
.hero{display:flex;flex-direction:column;gap:8px}
.status{display:inline-flex;align-items:center;gap:8px;background:var(--jaune-doux);border-radius:999px;padding:6px 14px;font-weight:600;width:fit-content;max-width:100%}
.status::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--jaune);flex:none}
.clocks{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.clock{background:var(--blanc);border:1px solid var(--ligne);border-radius:16px;padding:10px 14px}
.clock b{display:block;font-family:var(--display);font-size:1.8rem;font-variant-numeric:tabular-nums;line-height:1.1}
.mapwrap{display:grid;grid-template-columns:minmax(0,170px) minmax(0,1fr);gap:14px;align-items:start}
.mapwrap svg{width:100%;height:auto;display:block}
.mapwrap.nomap{grid-template-columns:minmax(0,1fr)}
.stops{list-style:none;margin:0;padding:0}
.stops li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:10px;padding:7px 0;border-bottom:1px dashed var(--ligne)}
.stops li:last-child{border-bottom:0}
.stops .pin{width:12px;height:12px;border-radius:50%;border:2px solid var(--terre);margin-top:6px}
.stops li.past .pin{background:var(--terre)}
.stops li.now .pin{background:var(--rouge);border-color:var(--rouge);box-shadow:0 0 0 4px #F8DEDE}
.stops .when{font-size:.8rem;color:var(--muted)}
.stops .where{font-weight:600;font-size:.95rem}
@keyframes pulse{0%{r:6;opacity:1}100%{r:16;opacity:0}}
.pulse{animation:pulse 1.8s ease-out infinite}
.passport{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:10px}
.stamp{aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px dashed var(--ligne);color:var(--muted);font-size:.62rem;text-align:center;padding:4px}
.stamp .e{font-size:1.5rem;line-height:1;filter:grayscale(1);opacity:.35}
.stamp.got{border:3px solid var(--rouge);color:var(--indigo);transform:rotate(-6deg);background:#FDF1F1}
.stamp.got:nth-child(even){transform:rotate(5deg);border-color:var(--terre);background:#FBF0E8}
.stamp.got .e{filter:none;opacity:1}
.chumcard{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid var(--ligne)}
.chumcard:first-of-type{border-top:0;padding-top:0}
.chumcard img.pc{width:100%;border-radius:16px;display:block;background:var(--land)}
.daytag{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.daytag b{font-family:var(--display);font-size:1.15rem}
.mission{display:flex;gap:10px;align-items:center;background:var(--done);border-radius:12px;padding:8px 12px;font-size:.92rem}
.mission.todo{background:transparent;border:1px dashed var(--ligne)}
.reacts{display:flex;gap:8px;flex-wrap:wrap}
.reacts button{border:1.5px solid var(--ligne);background:var(--blanc);border-radius:999px;padding:6px 12px;font-weight:600;font-size:.9rem;display:inline-flex;gap:6px;align-items:center}
.reacts button.on{border-color:var(--rouge);background:#FDF1F1}
.comments{display:flex;flex-direction:column;gap:8px}
.cm{background:var(--coton);border-radius:14px;padding:9px 12px;font-size:.93rem}
.cm b{font-family:var(--display)}
.cm .meta{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:.78rem;color:var(--muted)}
.cm .meta button{border:0;background:none;color:var(--muted);text-decoration:underline;font-size:.78rem;padding:0}
.reply{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.seenby{font-size:.82rem;color:var(--muted)}
.empty{border:1.5px dashed var(--ligne);border-radius:16px;padding:16px;color:var(--muted)}

/* enfant */
.bigmission{background:var(--jaune-doux);border:0;text-align:center;align-items:center;padding:24px 16px}
.bigmission .emo{font-size:4.8rem;line-height:1}
.bigmission h2{font-size:clamp(1.6rem,6vw,2.1rem)}
.feel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
.feel button{border:2px solid var(--ligne);background:var(--blanc);border-radius:18px;padding:12px 6px;font-weight:600;font-size:.88rem;display:flex;flex-direction:column;align-items:center;gap:4px}
.feel button span{font-size:2.3rem;line-height:1}
.feel button.on{border-color:var(--rouge)}
.dodos{display:flex;align-items:center;gap:16px}
.dodos b{font-family:var(--display);font-size:3.2rem;color:var(--terre-t);line-height:1}
.memory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.memory button{aspect-ratio:1;border-radius:14px;border:0;font-size:2rem;background:var(--indigo);color:var(--blanc)}
.memory button.open{background:var(--blanc);border:2px solid var(--ligne)}
.memory button.found{background:var(--done);border:2px solid var(--riz)}

/* famille */
.members{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.members li{border:1px solid var(--ligne);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px}
.linkbox{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.linkbox input{font-size:.8rem}

/* onboarding + login */
.slides{display:flex;flex-direction:column;gap:16px;min-height:60vh;justify-content:center}
.slide{background:var(--blanc);border:1px solid var(--ligne);border-radius:24px;padding:26px;display:flex;flex-direction:column;gap:12px;text-align:center;align-items:center}
.slide .emo{font-size:3.6rem}
.dots{display:flex;gap:6px;justify-content:center}
.dots i{width:8px;height:8px;border-radius:50%;background:var(--ligne)}
.dots i.on{background:var(--rouge)}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;color:var(--muted);text-align:left}
.consent input{width:20px;height:20px;accent-color:var(--rouge);flex:none;margin-top:2px}

.toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--indigo);color:var(--coton);padding:10px 18px;border-radius:999px;font-weight:600;font-size:.9rem;z-index:40;max-width:calc(100% - 32px);text-align:center}
.confetti{position:fixed;inset:0;pointer-events:none;z-index:50;overflow:hidden}
.confetti i{position:absolute;top:-20px;width:10px;height:14px;border-radius:3px;animation:fall 1.6s ease-in forwards}
@keyframes fall{to{transform:translateY(110vh) rotate(540deg)}}
@media (max-width:520px){.mapwrap{grid-template-columns:minmax(0,1fr)}.mapwrap svg{max-width:200px;margin:0 auto}.kpis b{font-size:1.05rem}}
@media (prefers-reduced-motion:reduce){.pulse,.confetti i{animation:none}}

/* cockpit + visios */
.cockpit{font-family:var(--display);font-weight:700;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;background:var(--indigo);color:var(--coton);border-radius:999px;padding:3px 10px 2px}
.visio .vnext{display:flex;flex-direction:column;gap:4px;background:var(--jaune-doux);border-radius:16px;padding:14px 16px}
.visio .vnext.now{background:var(--rouge);color:var(--blanc)}
.visio .vnext.now .muted{color:rgba(255,255,255,.85)}
.visio .vcount{font-family:var(--display);font-size:1.7rem;line-height:1.1}
.visio .vrow{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--ligne);padding-top:10px}
.visio .vform{display:flex;flex-direction:column;gap:12px;background:var(--coton);border-radius:16px;padding:14px}
.visio .vform input,.visio .vform select{background:var(--blanc)}
.visio a.btn{text-decoration:none}

/* vue famille depuis le cockpit */
.peek{margin:0;background:var(--indigo);color:var(--coton);border-radius:14px;padding:10px 14px;font-size:.9rem;font-weight:600}

/* carte interactive + chemin du séjour */
.kmap{position:relative;width:100%;max-width:420px;margin:0 auto 18px;aspect-ratio:220/310}
.kmap svg{position:absolute;inset:0;width:100%;height:100%}
.kpin{position:absolute;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;border:2.5px solid var(--terre);background:var(--blanc);display:grid;place-items:center;font-size:1.15rem;padding:0;cursor:pointer;box-shadow:0 2px 6px rgba(31,35,64,.15);transition:transform .15s}
.kpin:active{transform:translate(-50%,-50%) scale(.92)}
.kpin.past{background:#F3E3D6}
.kpin.here{border-color:var(--rouge);box-shadow:0 0 0 5px #F8DEDE}
.kpin.sel{outline:3px solid var(--indigo);outline-offset:2px}
.kpin em{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:3px;font-style:normal;font-size:.7rem;font-weight:700;white-space:nowrap;color:var(--indigo);background:rgba(251,248,242,.9);border-radius:6px;padding:0 4px;pointer-events:none}
.me{position:absolute;top:-24px;left:50%;transform:translateX(-50%);font-style:normal;font-size:1.3rem;animation:hop 1.2s ease-in-out infinite;pointer-events:none}
@keyframes hop{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-6px)}}
@media (prefers-reduced-motion:reduce){.me{animation:none}}
.knote{margin:0;background:var(--jaune-doux);border-radius:12px;padding:8px 12px;font-size:.9rem;font-weight:600;text-align:center}
.kstrip{list-style:none;margin:0;padding:26px 2px 6px;display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.kstrip li{flex:none;scroll-snap-align:center}
.kstrip button{position:relative;width:52px;height:62px;border-radius:14px;border:1.5px solid var(--ligne);background:var(--blanc);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;cursor:pointer}
.kstrip button .e{font-size:1.3rem;line-height:1}
.kstrip button small{font-size:.7rem;color:var(--muted);font-weight:600}
.kstrip button.past{background:#F3E3D6}
.kstrip button.today{border-color:var(--rouge);border-width:2.5px}
.kstrip button.sel{background:var(--indigo);border-color:var(--indigo)}
.kstrip button.sel small{color:var(--coton)}
.kstrip .ok{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;background:var(--riz);color:#fff;font-size:.7rem;display:grid;place-items:center}
.kstrip .me{top:-26px}
.kpanel{background:var(--coton);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.kpanel h3{font-size:1.25rem}
.kfact{background:var(--jaune-doux);border-radius:12px;padding:8px 10px}
.journey details summary{cursor:pointer;font-weight:600;padding:4px 0}
.tb-l,.tb-r{display:flex;align-items:center;gap:8px;min-width:0}
.tb-r{flex-wrap:nowrap}
@media (max-width:420px){.topbar .net.ok{display:none}.topbar .net{font-size:0;padding:0;width:12px;height:12px;border-radius:50%;background:var(--jaune);flex:none}.topbar .net.off{background:var(--rouge)}.cockpit{font-size:.62rem;padding:3px 7px 2px}.topbar .btn{white-space:nowrap}.topbar .logo{font-size:23px !important}}
.alerts{display:flex;gap:10px;align-items:center;justify-content:center;font-size:.9rem;font-weight:600;background:var(--blanc);border:1px solid var(--ligne);border-radius:14px;padding:12px 14px}
.alerts input{width:22px;height:22px;accent-color:var(--rouge);flex:none}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.stats div{background:var(--coton);border-radius:14px;padding:10px 8px;text-align:center;display:flex;flex-direction:column;gap:2px;min-width:0}
.stats b{font-family:var(--display);font-size:1.45rem;line-height:1.1}
.stats span{font-size:.72rem;color:var(--muted);font-weight:600;line-height:1.2}
.geoline{margin:0;background:#F8DEDE;border-radius:12px;padding:8px 12px}
.trace{width:100%;height:auto;background:var(--coton);border-radius:16px;display:block}
.linkbtn{background:none;border:0;padding:0;color:var(--muted);text-decoration:underline;font:inherit;font-size:.85rem;cursor:pointer}
/* livre du voyage */
.book-bar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;gap:8px;background:var(--coton);padding:10px 0}
.book-tip{margin:0}
.book{display:flex;flex-direction:column;gap:18px}
.bpage{background:var(--blanc);border:1px solid var(--ligne);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:12px}
.bpage.cover{align-items:center;text-align:center;gap:14px}
.bpage.cover h1{font-size:2.2rem}
.bpage.cover .bmap{width:100%;max-width:300px}
.bpage.cover .stats{width:100%}
.bhead{display:flex;gap:12px;align-items:center}
.bhead .bemo{font-size:2rem}
.bhead div{display:flex;flex-direction:column}
.bhead span{color:var(--muted);font-size:.9rem}
.bpage img{width:100%;border-radius:12px;display:block}
.bmission{font-weight:600}
.bnote{white-space:pre-wrap;font-size:1.05rem}
.breact{font-size:1.1rem;margin:0}
.bcomments{border-left:3px solid var(--jaune);padding-left:12px;display:flex;flex-direction:column;gap:4px}
.bcomments p{margin:0;font-size:.95rem}
.bpage.end{text-align:center;font-family:var(--display);font-size:1.2rem;background:var(--jaune-doux);border:0}
@media print{
  @page{margin:14mm}
  body{background:#fff}
  .book-bar,.book-tip,.toast,.tabs,.topbar,.frise{display:none !important}
  #app{padding:0 !important;max-width:none !important}
  .bpage{border:0;border-radius:0;padding:0;break-after:page;page-break-after:always}
  .bpage:last-child{break-after:auto;page-break-after:auto}
  .bpage img{max-height:150mm;object-fit:contain}
  .kpin{box-shadow:none}.me{animation:none}
}
.kidsf{border:1.5px solid var(--ligne);border-radius:14px;padding:10px 12px 12px;margin:0;display:flex;flex-direction:column;gap:8px;min-width:0}
.kidsf legend{font-size:.85rem;color:var(--muted);padding:0 4px}
#kids{display:flex;flex-direction:column;gap:8px}
.kidrow{display:grid;grid-template-columns:minmax(0,1fr) 110px 34px;gap:6px;align-items:center}
.kidswitch{display:flex;gap:8px;flex-wrap:wrap}
.kidswitch button{border:1.5px solid var(--ligne);background:var(--blanc);border-radius:999px;padding:8px 14px;font-weight:600;cursor:pointer}
.kidswitch button[aria-selected=true]{background:var(--indigo);border-color:var(--indigo);color:var(--coton)}
