/* Show/hide rules for the classic PDF document (#printdoc).
   On screen it's hidden; when printing, only the document prints — the phone
   frame is removed. The document's own look lives in the <style> block that
   app.js injects into #printdoc (see printTemplate). */

@media screen {
  #printdoc { display: none; }
}

@media print {
  .frame-wrap { display: none !important; }
  #printdoc { display: block !important; }
  html, body { background: #fff !important; margin: 0; }
  /* margin:0 removes the page margin box where the browser draws its own
     header/footer (page title, URL, date). The document supplies its own
     padding instead (see .pd-page in printTemplate). */
  @page { margin: 0; }
}
