/* Outil « Construire mon prix » : compléments aux styles communs des pages Vision. */
#price-tool{display:grid;gap:14px}
.price-card{padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.price-card>header{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;margin-bottom:12px}
.price-card>header>b{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:var(--green);color:#e8c56f;font-size:12px}
.price-card>header span{color:var(--coral-end);font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.price-card>header h2{margin:2px 0 0;font-size:15px}
.card-help{margin:0 0 12px;color:var(--ink-soft);font-size:10px;line-height:1.5}
.cost-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.cost-column{display:grid;align-content:start;gap:6px;padding:12px;border-radius:14px;background:var(--cream,#f8f3e8)}
.cost-column h3{margin:0;font-size:11px}
.cost-column>small{color:var(--muted);font-size:9px}
.field-card.compact input{min-height:38px}
.line-list{display:grid;gap:6px}
.line-row{display:grid;grid-template-columns:1fr minmax(80px,.45fr) 26px;gap:6px;align-items:center}
.line-list[data-list="market"] .line-row,.line-list[data-list="formulas"] .line-row{grid-template-columns:1fr 1fr minmax(80px,.45fr) 26px}
.line-row input{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;outline:0;background:#fff;color:var(--ink);font-size:11px}
.line-row input:focus{border-color:var(--mint)}
.remove-line{width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:15px;cursor:pointer}
.remove-line:hover{background:var(--green-soft);color:var(--green)}
.add-line{justify-self:start;margin:4px 0 8px;padding:0;border:0;background:none;color:var(--green);font-size:10px;font-weight:750;cursor:pointer}
.floor-layout{display:grid;grid-template-columns:170px 1fr;gap:20px;align-items:center}
.pie{display:grid;place-content:center;width:170px;height:170px;border-radius:50%;background:var(--green-soft);text-align:center;position:relative}
.pie::before{content:"";position:absolute;inset:28px;border-radius:50%;background:var(--panel)}
.pie span,.pie small{position:relative}
.pie span{color:var(--green);font-size:20px;font-weight:850}
.pie small{color:var(--muted);font-size:9px}
.pie-legend{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.pie-legend li{display:grid;grid-template-columns:12px 1fr auto 42px;gap:8px;align-items:center;font-size:10.5px}
.pie-legend i{width:12px;height:12px;border-radius:3px}
.pie-legend b{font-variant-numeric:tabular-nums}
.pie-legend small{color:var(--muted);text-align:right}
.market-average{margin:4px 0 10px;color:var(--green);font-size:10px;font-weight:750}
.price-scale{position:relative;margin:18px 6px 70px}
.scale-track{position:relative;height:10px;border-radius:5px;background:var(--green-soft)}
.market-range{position:absolute;top:0;height:10px;border-radius:5px;background:rgba(212,160,71,.55)}
.scale-marker{position:absolute;top:-6px;display:grid;justify-items:center;transform:translateX(-50%);text-align:center;white-space:nowrap}
.scale-marker i{width:4px;height:22px;border-radius:2px;background:var(--green)}
.scale-marker b{margin-top:4px;font-size:10px}
.scale-marker small{color:var(--muted);font-size:8px}
.scale-marker.floor i{background:var(--coral-end)}
.scale-marker.current i{background:var(--muted)}
.scale-marker.value i{background:var(--mint)}
.price-scale::after{content:"Fourchette du marché";position:absolute;right:0;top:-18px;color:#93691f;font-size:8px;font-weight:750}
.price-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.price-figures article{padding:12px 14px;border-radius:13px;background:var(--green-soft)}
.price-figures article.warning{background:rgba(182,62,82,.09)}
.price-figures span{display:block;color:var(--muted);font-size:8.5px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}
.price-figures strong{display:block;margin-top:3px;color:var(--green);font-size:15px}
.price-figures article.warning strong{color:var(--danger,#b63e52)}
.price-steps{display:grid;gap:6px;margin:4px 0 0;padding:0;list-style:none}
.price-steps li{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:10.5px}
.price-steps li b{color:var(--green);font-variant-numeric:tabular-nums}
.price-steps li.reached{border-color:rgba(63,168,142,.4);background:var(--green-soft)}
.price-steps li small{color:var(--green);font-size:8.5px;font-weight:750}
.price-steps li.empty{display:block;color:var(--muted)}
.tool-hint{margin:4px 0 30px;color:var(--muted);font-size:9.5px;text-align:center}
@media(max-width:760px){.cost-columns{grid-template-columns:1fr}.floor-layout{grid-template-columns:1fr;justify-items:center}}
@media(max-width:560px){.line-list[data-list="market"] .line-row,.line-list[data-list="formulas"] .line-row{grid-template-columns:1fr 26px}.line-list[data-list="market"] .line-row input:not(:first-child),.line-list[data-list="formulas"] .line-row input:not(:first-child){grid-column:1}}
/* Prix retenu → offre du profil VISION, après confirmation. */
.use-price{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:14px 16px;border:1px solid var(--mint);border-radius:14px;background:var(--green-soft)}.use-price p{margin:0;font-size:11px;line-height:1.5}@media(max-width:560px){.use-price{flex-direction:column;align-items:stretch}}
