/* Styles propres au module Documents (complètent src/styles/global.css sans le modifier). */
.dl-table td { padding: 6px 4px; vertical-align: top; }
.dl-table .input, .dl-table .select { min-height: 40px; padding: 8px 10px; font-size: 14px; }
.dl-table .select { min-width: 140px; max-width: 220px; }
.dl-table .dl-des { min-width: 220px; }
.dl-table tfoot td { border-bottom: 0; padding: 4px 6px; }
.dl-table .dl-mt { padding-top: 16px; font-weight: 600; }
.dl-info { display: grid; grid-template-columns: 96px 1fr; gap: 6px 10px; font-size: 14px; }
.dl-info dt { color: var(--color-muted, #7A7A7D); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.dl-info dd { margin: 0; }
.dl-fiche { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; font-size: 14px; }
.dl-fiche dt { color: var(--color-muted, #7A7A7D); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.dl-fiche dd { margin: 0; }
.dl-fiche-large { grid-column: 1 / -1; }

/* Page publique du devis */
.pd-montant { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.pd-montant .big { font-family: "Barlow Condensed", sans-serif; font-size: 34px; font-weight: 700; line-height: 1.1; color: #3A3A3C; }
.pd-lignes { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-lignes th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #7A7A7D; padding: 8px 6px; border-bottom: 1px solid #E7E7E9; }
.pd-lignes td { padding: 10px 6px; border-bottom: 1px solid #F3F3F4; vertical-align: top; }
.pd-lignes .num { text-align: right; white-space: nowrap; }
.pd-tot { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; justify-content: end; font-size: 15px; }
.pd-tot .big { font-family: "Barlow Condensed", sans-serif; font-size: 28px; font-weight: 700; color: #3A3A3C; }
.sig-wrap { position: relative; border: 2px dashed #c9c9cc; border-radius: 10px; background: #fff; touch-action: none; }
.sig-wrap canvas { display: block; width: 100%; height: 200px; border-radius: 10px; cursor: crosshair; }
.sig-wrap .sig-hint { position: absolute; left: 0; right: 0; bottom: 46%; text-align: center; color: #b0b0b4; font-size: 14px; pointer-events: none; }
.sig-wrap.signed .sig-hint { display: none; }
@media (max-width: 640px) {
  .sig-wrap canvas { height: 150px; }
  .pd-lignes thead { display: none; }
  .pd-lignes tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid #E7E7E9; }
  .pd-lignes td { border: 0; padding: 0; }
  .pd-lignes td.des { grid-column: 1 / -1; font-weight: 600; }
  .pd-lignes td.qpu { color: #7A7A7D; font-size: 13px; }
  .pd-lignes td.ref { display: none; }
}
