/* onglet Estimatif d'un projet (js/estimatif.js) */
.wh .btn:disabled{opacity:.45;cursor:not-allowed}          /* boutons pas encore développés (« Nouvel estimatif » du widget « Créer un estimatif »), non cliquables */
.wh .btn:disabled:hover{background:inherit;border-color:inherit;box-shadow:none}
button.back{background:none;border:0;padding:0;cursor:pointer;font:inherit}
.card.est{margin-bottom:14px}
.est-champs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:6px}
.est-champs label{display:flex;flex-direction:column;gap:4px}
.est-champs label>span:first-child{font-size:12px;color:var(--mute)}
.est-in{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:7px 9px;background:#FAF9F7;color:var(--ink);font:inherit;font-size:13px}
.est-in.num{text-align:right}
.est-in.u{width:64px}
.est-in.n{width:70px;flex:none}
.est-in:disabled{opacity:.45}
select.est-in{padding:7px 6px}
.est-tbl td{vertical-align:middle}
.est-tbl .qunit{justify-content:flex-end}
.est-tbl .qunit .est-in{width:110px}
.est-tbl tfoot td{border-top:1px solid var(--line)}
.est-b{display:inline-flex;gap:4px;white-space:nowrap}
.est-b .btn{min-width:30px;padding:3px 7px}
.est-det .est-k{width:128px}
.est-det td:nth-child(2){min-width:260px}
.est-det tr.est-ch td{background:rgba(29,29,27,.04)}
.est-det tr.est-ch .est-in{font-weight:600}
.est-det tr.est-sl td:nth-child(2) .est-in{margin-left:14px;width:calc(100% - 14px)}
.est-pm{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:var(--mute);margin-left:6px;cursor:pointer}
.est-lothead{display:flex;gap:8px;align-items:center;margin:10px 0}
.est-lothead .btn{white-space:nowrap}
.est-recap .est-rl{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid var(--line)}
.est-recap .est-rl.g{font-weight:600}
.est-recap .est-rl:last-child{border-bottom:0}
.est-note{resize:vertical;line-height:1.4}
.est-tbl{width:100%;table-layout:auto}
.est-tbl th:nth-child(2),.est-tbl td:nth-child(2){width:46%}
.est-det th:nth-child(2),.est-det td:nth-child(2){width:46%}
.est-tbl td:first-child .est-in:not(.num){min-width:0}
.row .qunit .est-in{width:120px}
.est-imp{border-top:1px solid var(--line)}
.est-imp:first-of-type{border-top:0}
.est-imp > .row{border-top:0}
.est-impl{margin:0 0 14px 44px}
.est-impl .tbl td,.est-impl .tbl th{padding-top:5px;padding-bottom:5px}
.est-lien{background:none;border:0;padding:0;font:inherit;font-weight:600;color:var(--ink);text-align:left;cursor:pointer}
.est-lien:hover{text-decoration:underline}
.est-impl .tbl{max-width:560px}
.est-impl .est-in{width:120px}
.est-impl th.num,.est-impl td.num{text-align:right}
