/* Estimateur Durée pour Ranker — Styles | Namespace: .tw-re- */
.tw-re-app{max-width:1200px;margin:0 auto;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#1a1a2e}
.tw-re-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-bottom:1.25rem}
.tw-re-panel{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px}
.tw-re-panel-title{display:flex;align-items:center;gap:8px;font-size:.9375rem;font-weight:700;color:#010643;margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid #56aea4}
.tw-re-form-group{margin-bottom:16px}
.tw-re-label{display:block;font-size:.8125rem;font-weight:600;color:#1a1a2e;margin-bottom:6px}
.tw-re-select{display:block;width:100%;padding:8px 12px;font-size:.875rem;color:#1a1a2e;background:#fff;border:1px solid #e5e7eb;border-radius:8px;outline:none;transition:border-color .2s;cursor:pointer}
.tw-re-select:focus{border-color:#56aea4;box-shadow:0 0 0 3px rgba(86,174,164,.15)}
.tw-re-slider{-webkit-appearance:none;appearance:none;width:100%;height:5px;background:#e5e7eb;border-radius:4px;outline:none;cursor:pointer;transition:background .2s}
.tw-re-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#56aea4;cursor:pointer;box-shadow:0 1px 4px rgba(86,174,164,.4)}
.tw-re-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#56aea4;cursor:pointer;border:none;box-shadow:0 1px 4px rgba(86,174,164,.4)}
.tw-re-slider-labels{display:flex;justify-content:space-between;font-size:.6875rem;color:#9ca3af;margin-top:4px}
.tw-re-pills{display:flex;flex-wrap:wrap;gap:6px}
.tw-re-pill{display:inline-flex;align-items:center;cursor:pointer}
.tw-re-pill input[type="radio"]{position:absolute;opacity:0;width:0;height:0}
.tw-re-pill span{display:inline-block;padding:5px 12px;font-size:.8125rem;font-weight:600;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:20px;transition:all .2s;user-select:none;white-space:nowrap}
.tw-re-pill:hover span{border-color:#56aea4;color:#56aea4}
.tw-re-pill input[type="radio"]:checked+span{background:#56aea4;color:#fff;border-color:#56aea4}
.tw-re-result{background:linear-gradient(135deg,#f0fdf9 0%,#fff 70%);border:2px solid #56aea4;border-radius:10px;padding:20px 24px;margin-bottom:16px}
.tw-re-result-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.tw-re-card{text-align:center;padding:20px 16px;border-radius:10px;background:#fff;border:1px solid #e5e7eb;display:flex;flex-direction:column;align-items:center;gap:8px}
.tw-re-card-top10{border-color:#56aea4;box-shadow:0 4px 16px rgba(86,174,164,.18)}
.tw-re-card-top3{border-color:#f59e0b;box-shadow:0 4px 16px rgba(245,158,11,.18)}
.tw-re-card-icon{display:flex;align-items:center;justify-content:center;color:#56aea4}
.tw-re-card-top3 .tw-re-card-icon{color:#f59e0b}
.tw-re-card-label{font-size:.6875rem;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}
.tw-re-card-range{display:flex;align-items:baseline;gap:6px}
.tw-re-card-value{font-size:2.25rem;font-weight:800;color:#56aea4;line-height:1}
.tw-re-card-value-gold{color:#f59e0b}
.tw-re-card-sep{font-size:.875rem;color:#9ca3af;font-weight:600}
.tw-re-card-unit{font-size:.875rem;color:#6b7280;font-weight:600}
.tw-re-milestones{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;margin-bottom:16px}
.tw-re-milestones-title{font-size:.8125rem;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:14px}
.tw-re-milestones-bar{display:flex;align-items:center;gap:0}
.tw-re-milestone{display:flex;flex-direction:column;align-items:center;gap:4px;flex-shrink:0}
.tw-re-milestone-line{flex:1;height:2px;background:#e5e7eb;margin:0 2px;align-self:center;margin-bottom:16px}
.tw-re-milestone-dot{width:12px;height:12px;border-radius:50%;background:#e5e7eb;border:2px solid #d1d5db}
.tw-re-dot-idx{background:#56aea4;border-color:#56aea4}
.tw-re-dot-p10{background:#010643;border-color:#010643}
.tw-re-dot-p3{background:#f59e0b;border-color:#f59e0b}
.tw-re-milestone-label{font-size:.6875rem;font-weight:600;color:#6b7280;white-space:nowrap}
.tw-re-milestone-val{font-size:.75rem;font-weight:700;color:#1a1a2e;white-space:nowrap}
.tw-re-chart-wrap{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px;margin-bottom:16px;overflow:hidden}
.tw-re-chart{display:block;width:100%;height:260px}
.tw-re-recs{margin-bottom:16px}
.tw-re-recs-title{font-size:.8125rem;font-weight:700;color:#010643;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.tw-re-rec{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px 14px;margin-bottom:8px}
.tw-re-rec-icon{width:20px;height:20px;border-radius:50%;background:#f0fdf9;border:1px solid #a7f3d0;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}
.tw-re-rec-text{font-size:.8125rem;color:#374151;line-height:1.5}
.tw-re-disclaimer{font-size:.6875rem;color:#9ca3af;text-align:center;margin:0;font-style:italic;line-height:1.6}
.tw-re-toggle-wrap{margin-top:0}
.tw-re-toggle-btn{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#fff!important;border:1px solid #56aea4;border-radius:10px;cursor:pointer;transition:background .2s;color:#56aea4!important}
.tw-re-toggle-btn:hover,.tw-re-toggle-btn:focus,.tw-re-toggle-btn:active{background:#f0fdf8!important;color:#56aea4!important;outline:none}
.tw-re-h1{font-size:14px;font-weight:600;color:#56aea4;margin:0;text-align:left}
.tw-re-chevron{color:#56aea4;transition:transform .3s;flex-shrink:0}
.tw-re-chevron.open{transform:rotate(180deg)}
.tw-re-article-body{padding:24px;background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px}
.tw-re-article-body h2{font-size:1.125rem;font-weight:700;color:#010643;margin:24px 0 10px}
.tw-re-article-body h2:first-child{margin-top:0}
.tw-re-article-body h3{font-size:.9375rem;font-weight:700;color:#1a1a2e;margin:16px 0 8px}
.tw-re-article-body p{font-size:.875rem;color:#374151;line-height:1.75;margin:0 0 12px}
.tw-re-article-body ul,.tw-re-article-body ol{font-size:.875rem;color:#374151;line-height:1.75;margin:0 0 12px;padding-left:20px}
.tw-re-article-body li{margin-bottom:4px}
@media(max-width:900px){.tw-re-result-cards{grid-template-columns:1fr 1fr}}
@media(max-width:768px){.tw-re-grid{grid-template-columns:1fr}.tw-re-milestones-bar{flex-wrap:wrap;gap:8px}.tw-re-milestone-line{display:none}}
@media(max-width:480px){.tw-re-result-cards{grid-template-columns:1fr}.tw-re-card-value{font-size:1.75rem}.tw-re-chart{height:200px}}
