.xp-section{padding-bottom:40px}
.xp-section + .sim-section{background:#1d3f37;padding-top:50px}
.xp-card{background:var(--cream);color:var(--ink);border-radius:16px;padding:30px;max-width:860px}
.xp-progress{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 24px;flex-wrap:wrap}
.xp-progress li{font-size:11px;font-weight:700;padding:6px 12px;border-radius:99px;background:#e7ebdf;color:#5c7152;transition:background-color .2s,color .2s}
.xp-progress li.on{background:var(--ink);color:#fff}.xp-progress li.done{background:var(--gold-light);color:var(--ink)}
.xp-card .field{margin-bottom:16px}
.xp-choice{display:flex;gap:8px;margin:0 0 16px}
.xp-choice button{flex:1;min-height:46px;border:1px solid #cdd7c6;background:#fff;border-radius:8px;font-weight:700;font-size:13px;transition:background-color .15s,border-color .15s}
.xp-choice button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.xp-nav{display:flex;justify-content:space-between;gap:10px;margin-top:8px}.xp-nav .btn-primary{margin-left:auto}
.xp-note{margin:18px 0 0}.xp-note a{color:#8e6726;font-weight:700}
.xp-result{background:#e9eedd;border-radius:12px;padding:24px;margin-bottom:20px;animation:xpIn .35s ease-out}
.xp-section .xp-card .eyebrow{color:#4c6344}
.xp-big{font-size:clamp(36px,5vw,54px);font-weight:700;letter-spacing:-.05em;line-height:1.1;margin:6px 0}
.xp-sub{font-size:12px;color:#53664b;margin:0 0 16px}
.xp-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;border-top:1px solid #cbd6bd;padding-top:14px}
.xp-progress li button{all:unset;cursor:pointer}.xp-progress li.done:hover{background:#e6c98a}
.xp-progress li button:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:99px}
.xp-mini{margin:-4px 0 16px;color:#4c6344}
.xp-duree{display:flex;gap:8px;align-items:stretch}.xp-duree .input-unit{flex:1}
.xp-unite{margin:0;flex:0 0 150px}.xp-unite button{min-height:46px}
.xp-card select{width:100%}
.xp-kpis b{display:block;font-size:19px}.xp-kpis span{font-size:10px;color:#53664b}
.xp-detail{margin-top:14px}.xp-detail summary{font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;color:#4c6344}
.xp-detail table{width:100%;border-collapse:collapse;font-size:11px;margin-top:10px;background:#fff;border-radius:8px;overflow:hidden}
.xp-detail th,.xp-detail td{padding:6px 8px;text-align:left;border-bottom:1px solid var(--line)}.xp-detail td:not(:first-child){white-space:nowrap}
.xp-detail tr.tot td{font-weight:700}
.xp-lead{background:#fff;border:1px solid #cfdac5;border-radius:12px;padding:22px}.xp-lead h3{font-size:18px}.xp-lead .btn{width:100%;margin-top:14px}
@keyframes xpIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:700px){.xp-card{padding:20px}.xp-kpis{grid-template-columns:1fr 1fr}.xp-detail table{font-size:10px}}
.xp-grille{margin:-8px 0 16px;color:#6b7280;font-size:.8rem}
.xp-search{width:100%;margin:0 0 6px;padding:8px 12px 8px 30px;border:1px solid #d6dccf;border-radius:8px;font:inherit;font-size:.85rem;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath d='M9.5 9.5 13 13'/%3E%3C/svg%3E") no-repeat 10px center}
.xp-search:focus{outline:2px solid #c5a059;outline-offset:1px}
#xp-contenu{width:100%;resize:vertical;font:inherit;padding:10px 12px;border:1px solid #d6dccf;border-radius:8px}
