/* Écran 07 — Déposer des pièces (client) et Dépôts à valider (avocat). */
.dp { max-width: 1140px; margin: 0 auto; }
.dp-sup { font-size: 13px; color: var(--muted); }
.dp-h1 { font-weight: 500; font-size: 34px; margin-top: 6px; line-height: 1.15; }
.dp-lead { font-size: 19px; line-height: 1.55; color: var(--text-2); margin-top: 8px; max-width: 64ch; }
.dp-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; margin-top: 26px; align-items: start; }
.dp-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dp-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dp-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1.5px dashed var(--faint-2); background: #fff; border-radius: 14px; padding: 30px 20px; color: var(--ink); cursor: pointer; text-align: center; }
.dp-drop:hover, .dp-drop.over { border-color: var(--blue); background: var(--select); }
.dp-drop.off { cursor: not-allowed; opacity: .6; }
.dp-drop-t { font-size: 16px; font-weight: 600; } .dp-drop-d { font-size: 13px; color: var(--muted); }
#dp-file:focus-visible + .dp-drop { box-shadow: 0 0 0 3px var(--blue-tint), 0 0 0 1px var(--blue); }
.dp-table { overflow: hidden; }
.dp-th, .dp-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px 92px; gap: 14px; align-items: center; }
.dp-th { padding: 10px 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--label); font-weight: 700; border-bottom: 1px solid var(--line-soft); }
.dp-row { padding: 14px 18px; border-bottom: 1px solid var(--line-soft-2); cursor: pointer; background: #fff; }
.dp-row:last-child { border-bottom: 0; }
.dp-row.sel { background: var(--select); box-shadow: inset 3px 0 0 var(--blue); }
.dp-row.retired .t { text-decoration: line-through; color: var(--muted); }
.dp-row.err { background: var(--lack-box); }
.dp-f { min-width: 0; }
.dp-f .t { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-f .s { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.dp-f .s.wait { color: var(--wait-fg); } .dp-f .s.ok { color: var(--ok-fg); }
.dp-row.err .s { color: var(--lack-fg); }
.dp-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.dp-bar { height: 5px; border-radius: 3px; background: var(--line-soft); overflow: hidden; display: block; }
.dp-bar i { display: block; height: 100%; transition: width .15s; }
.dp-c { text-align: right; } .dp-c .cote { font-size: 12px; padding: 3px 7px; border-radius: 5px; }
.dp-foot { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dp-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dp-about { padding: 20px 22px; }
.dp-name { font-size: 14.5px; font-weight: 600; margin-top: 6px; overflow-wrap: anywhere; }
.dp-l { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 6px; }
.dp-daterow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dp-daterow .input { width: 160px; padding: 8px 11px; font-size: 14px; }
.dp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.dp-chip { font-size: 12.5px; font-weight: 500; border-radius: 6px; padding: 4px 9px; border: 1px solid var(--border); color: var(--text-2b); background: #fff; cursor: pointer; text-align: left; }
.dp-chip.none { border-style: dashed; border-color: var(--faint-2); color: var(--muted); }
.dp-chip.on { background: var(--blue-tint); border-color: var(--blue-tint); color: var(--blue); font-weight: 600; }
.dp-chip[disabled] { cursor: default; }
.dp-factsel { margin-top: 8px; font-size: 13.5px; }
.dp-about .actions { margin-top: 14px; }
.dp-ask { padding: 18px 20px; } .dp-ask .label { margin-bottom: 8px; }
.dp-safe { background: var(--soft); border-radius: 14px; padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 12px; font-size: 13px; line-height: 1.5; }
.dp-safe > span:nth-child(odd) { color: var(--muted); } .dp-safe > span:nth-child(even) { color: #22262B; }
.dp-safe .mono { font-size: 11.5px; }

/* avocat : dépôts à valider */
.dp-vgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: start; }
.dp-count { margin-left: 8px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 8px; background: var(--wait-bg); color: var(--wait-fg); }
.dp-sub { padding: 10px 22px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--label); background: var(--surface-2); border-top: 1px solid var(--line-soft); }
.dp-vrow { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--line-soft-2); cursor: pointer; align-items: start; }
.dp-vrow:hover { background: var(--surface-2); }
.dp-vrow.sel { background: var(--select); box-shadow: inset 3px 0 0 var(--blue); }
.dp-vrow .cote { justify-content: center; margin-top: 1px; }
.dp-vrow-t .t { font-size: 14px; font-weight: 500; line-height: 1.4; } .dp-vrow-t .d { font-size: 12px; color: var(--meta); margin-top: 2px; }
.dp-detail { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.dp-detail-h { display: flex; gap: 10px; align-items: center; }
.dp-dt { font-size: 16px; font-weight: 600; line-height: 1.35; }
.dp-pv { background: var(--bg-alt); border-radius: 10px; overflow: hidden; }
.dp-pv .ld-pv { border: 0; margin: 0; max-width: none; }
.dp-pv .ld-pv-bar { display: none; }
.dp-pv .ld-pdf { height: 440px; padding: 16px; }
.dp-pv .ld-pv-pre { max-height: 440px; margin: 16px; }
.dp-pv .ld-pv-frame { height: 440px; width: calc(100% - 32px); margin: 16px; }
.dp-pv .ld-pv-msg { margin: 16px; }
.dp-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; font-size: 13px; line-height: 1.45; background: var(--soft-2); border-radius: 10px; padding: 13px 14px; }
.dp-facts > span:nth-child(odd) { color: var(--meta); } .dp-facts > span:nth-child(even) { color: var(--steel); }
.dp-facts .mono { font-size: 11.5px; }
.dp-val-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.dp-ser { width: 120px; } .dp-cote { width: 110px; font-weight: 700; }
.dp-ask2 .label { margin-bottom: 8px; }

@media (max-width: 1100px) { .dp-grid, .dp-vgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .dp-h1 { font-size: 28px; } .dp-lead { font-size: 17px; }
  .dp-th { display: none; }
  .dp-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .dp-row .dp-bars { grid-column: 1 / -1; grid-row: 2; }
  .dp-drop { padding: 26px 16px; min-height: 120px; justify-content: center; }
}
