/* Export PDF (print sheet) and Export video (progress bar). */
#print-root { display: none; }
.pro-tag { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--gray-200, #ddd); color: var(--navy, #0a0e18); font-size: 11px; font-weight: 700; }
.rec-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--white, #fff); color: var(--navy, #0a0e18); border-radius: 12px; box-shadow: 0 10px 30px rgba(10,14,24,.3); }
.rec-bar[hidden] { display: none; }
.rec-bar progress { width: 160px; }

@page { size: A4 landscape; margin: 10mm; }
@media print {
  body > *:not(#print-root) { display: none !important; }
  html, body { background: #fff !important; }
  #print-root { display: block; color: #0a0e18; font-family: "Barlow", Arial, sans-serif; }
  .print-page { position: relative; height: 189mm; overflow: hidden; break-after: page; display: flex; flex-direction: column; }
  .print-page:last-child { break-after: auto; }
  .print-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8mm; margin: 0 0 3mm; }
  .print-head h1 { margin: 0; font-size: 18pt; line-height: 1.1; }
  .print-head span { font-size: 9pt; color: #555; white-space: nowrap; }
  .print-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm 6mm; align-content: start; flex: 1; }
  .print-grid figure { margin: 0; break-inside: avoid; }
  .print-grid img { display: block; width: 100%; height: auto; border-radius: 2mm; }
  .print-grid figcaption { margin-top: 1mm; font-size: 10pt; font-weight: 700; }
  .print-foot { margin-top: 2mm; font-size: 8pt; color: #888; text-align: right; }
}
