.trip-tool{max-width:1120px;margin:auto;padding:2rem 1.5rem 5rem;color:#293f38}.trip-intro{padding:3rem 0 2rem;max-width:720px}.trip-intro h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.3rem,5vw,4.2rem);line-height:1.1;margin:.4rem 0 1rem}.trip-eyebrow{font-size:.9rem;font-weight:700;color:#526d5e}.trip-intro p{font-size:1.15rem}.trip-form,.trip-result{background:#fffef9;border:1px solid #d5dfd5;border-radius:18px;padding:clamp(1.2rem,3vw,2.5rem);margin-bottom:2rem}.trip-form h2,.trip-result h2{font-family:Georgia,serif;font-weight:400;font-size:2rem;margin:0 0 1.2rem}.trip-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.trip-fields label,.trip-add label{display:grid;gap:.4rem;font-weight:600}.trip-fields select,.trip-fields input,.trip-add input{width:100%;min-width:0;padding:.8rem;border:1px solid #8c9f90;border-radius:8px;background:white;color:#293f38;font:inherit}.trip-form fieldset{border:0;padding:0;margin:1.8rem 0}.trip-form legend{font-weight:700;margin-bottom:.7rem}.trip-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1.5rem}.trip-options label,.trip-group label{display:flex;align-items:flex-start;gap:.7rem}.trip-tool input[type=checkbox]{accent-color:#3f6657;width:1.2rem;height:1.2rem;flex:none;margin-top:.25rem}.trip-tool button{font:inherit;cursor:pointer;border-radius:8px;padding:.7rem 1rem;border:1px solid #3f6657;background:white;color:#293f38}.trip-tool .trip-button{background:#3f6657;color:white;padding:.85rem 1.25rem}.trip-tool :focus-visible{outline:3px solid #ba704e;outline-offset:3px}.trip-result-head{display:flex;justify-content:space-between;gap:1rem;align-items:start}.trip-result-head h2{margin-bottom:.3rem}.trip-progress{background:#dce8de;border-radius:99px;padding:.5rem .9rem;white-space:nowrap}.trip-group{border-top:1px solid #e1e8de;padding:1.2rem 0}.trip-group h3,.trip-advice h3{font-family:Georgia,serif;font-weight:400;font-size:1.4rem;margin:0 0 .7rem}.trip-group ul{list-style:none;padding:0;margin:0;display:grid;gap:.65rem}.trip-group li{display:flex;justify-content:space-between;gap:1rem}.trip-group li button{font-size:.85rem;padding:.2rem .5rem}.trip-add{border-top:1px solid #e1e8de;padding-top:1rem}.trip-add div{display:flex;gap:.6rem}.trip-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.2rem 0}.trip-privacy{font-size:.9rem;color:#58685e}.trip-advice{background:#f3ddd1;border-radius:12px;padding:1.2rem;margin-top:1.5rem}.trip-advice p{margin:.4rem 0}.trip-advice a{text-decoration:underline;color:#293f38}@media(max-width:600px){.trip-tool{padding:1rem 1rem 3rem}.trip-intro{padding:2rem 0 1rem}.trip-fields,.trip-options{grid-template-columns:1fr}.trip-result-head{display:block}.trip-progress{display:inline-block}.trip-add div{flex-wrap:wrap}.trip-add button{width:100%}}@media print{header,footer,.breadcrumbs,.trip-intro,.trip-form,.trip-actions,.trip-add,.trip-reference,.skip-link{display:none!important}.trip-tool{max-width:none;padding:0}.trip-result{border:0;padding:0}.trip-group{break-inside:avoid}.trip-tool a{color:inherit}}

/* Les ajouts personnels peuvent contenir un mot ou une URL très longue. */
.trip-group li label{min-width:0;flex:1}.trip-group li label span{min-width:0;overflow-wrap:anywhere}.trip-group li button{flex:none;align-self:flex-start}

/* Avertissement lisible immédiatement en cas d’échec de sauvegarde. */
.trip-storage-alert{position:fixed;z-index:100;right:1rem;bottom:1rem;width:min(32rem,calc(100vw - 2rem));padding:1rem 1.2rem;background:#fffef9;color:#293f38;border:2px solid #ba704e;border-radius:12px;box-shadow:0 8px 28px #293f3833}.trip-storage-alert[hidden]{display:none}.trip-storage-alert p{margin:0 0 .75rem;line-height:1.5}.trip-storage-alert button{padding:.4rem .8rem}@media print{.trip-storage-alert{display:none!important}}

/* Ne pas afficher la question sur l’aîné pour un seul enfant. */
.trip-options label[hidden]{display:none}

.trip-other-ages{margin:1.5rem 0}.trip-other-ages[hidden]{display:none}.trip-other-ages summary{cursor:pointer;font-weight:600}.trip-other-ages .trip-fields{margin-top:1rem}

/* Les commandes de suppression n’ont pas d’usage sur papier. */
@media print{.trip-group li button{display:none!important}}
@media print{@page{margin:15mm}.trip-privacy{display:none!important}}
