/* Compléments du cubage photo ; la base vient de ../chiffrage/style.css. */
.add { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: .8rem; margin-bottom: 1rem; }
.video-panel { margin: 0 0 1rem; padding: 1rem; background: #f3f7f4; border: 1px solid #d3ded8; border-radius: .5rem; }
.video-panel[hidden] { display: none; }
.video-panel h3 { margin-top: 0; }
.video-panel video { display: block; width: 100%; max-height: 60vh; background: #10201c; border-radius: .35rem; }
.room-title { margin: 1.4rem 0 .4rem; border-bottom: 2px solid #c9d7d1; }
.file-name { margin: 0 0 .6rem; color: #48635c; font-size: .9rem; }
.frame { position: relative; overflow: hidden; border-radius: .5rem; background: #dfe8e3; cursor: crosshair; }
.frame .photo { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.frame .placeholder { display: grid; place-items: center; min-height: 14rem; margin: 0; padding: 1rem; text-align: center; color: #48635c;
  background: repeating-linear-gradient(135deg, #dfe8e3 0 14px, #e9f0ec 14px 28px); }
.pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 .3rem;
  border-radius: 999px; background: #17635b; color: #fff; font-weight: 750; font-size: .9rem; border: 2px solid #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .35); pointer-events: none; }
.pin.pending { background: #a75a00; }
.hint { font-size: .9rem; }
.pick { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: .8rem; align-items: end; }
.marks { padding-left: 0; list-style: none; }
.marks li { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem auto; gap: .6rem; align-items: end; margin: .5rem 0; padding: .5rem 0; border-bottom: 1px solid #d3ded8; }
.marks li p { margin: 0; font-weight: 650; align-self: center; }
.marks li button { margin: 0; }
@media screen and (min-width: 901px) { .layout > div:last-child > section { position: sticky; top: 1rem; } }
#alerts li { margin: .4rem 0; }
.truck { padding: .6rem .8rem; background: #e4eddf; border-left: 4px solid #17635b; font-weight: 650; }
/* Sur toute la largeur du formulaire, sous la liste d’objets. */
.custom { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .8rem; align-items: end; }
.custom[hidden] { display: none; }
@media screen and (max-width: 700px) {
  .custom { grid-template-columns: minmax(0, 1fr); }
  .add, .pick, .marks li { grid-template-columns: minmax(0, 1fr); }
}
@media print { .demo-home, .add, .video-panel, .pick, .actions, .confirmation { display: none; } }
.client-banner { padding: .6rem 1rem; border-left: 4px solid #326455; background: #e7efe9; font-weight: 700; }

@media screen {
  .file-name, .pin, .hint { font-size: var(--t-meta); }
}
