/* The refuelling review (design-v2 dialogs/m-receipt.html, css/18-slice-a.css «m-receipt (J4)»):
   the photograph's frame beside the three checks, and the foot's one way to the vehicle.
   Slice 6. Loaded after app.css; nothing here restyles a rule app.css owns. */
.rcg { grid-template-columns: 170px 1fr; gap: 12px; margin-bottom: 14px }
.dlgf .dlgt + .rcg, .dlgf .dlgs + .rcg { margin-top: 16px }
/* A second photograph of the same refuelling gets a frame of its own and no column beside it. */
.rcg:has(> div:last-child:empty) { grid-template-columns: 170px }
.rcg > div:last-child:empty { display: none }
.rcph {
  min-height: 132px; border: 1.5px dashed var(--line); border-radius: var(--r);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--tx3); font-size: 11.5px; overflow: hidden; padding: 6px; box-sizing: border-box;
}
/* The picture is the product's real photograph: it fills the frame, never stretches and never
   leaves it, and the capture time stays under it as the drawing's caption does. */
.rcph img { display: block; max-width: 100%; max-height: 150px; object-fit: contain; border-radius: 6px }
.dlga:has(> .lnk) { align-items: center }
/* The drawing keeps this window's fact lines as rows (label left, value right) on a phone as well;
   the product's own narrow rule stacks every `.kvr`, and a window with a frame is the one that
   asked for rows. */
.dlgf:has(.rcg) .kvr { flex-direction: row; align-items: baseline; gap: 12px; padding: 9px 0 }
.dlgf:has(.rcg) .kvr .v { text-align: right; max-width: none }
.dlga .lnk { margin-right: auto }
@media (max-width: 620px) {
  .rcg, .rcg:has(> div:last-child:empty) { grid-template-columns: 1fr !important }
  .rcph { min-height: 96px }
  /* the three chips of the verdict stay on one row in a 360-px window, as drawn */
  .dlgf:has(.rcg) .segw .seg { padding-left: 8px; padding-right: 8px }
  .dlga .lnk { margin: 0 auto 4px; order: -1 }
}
