/* =========================================================================
   Feuille d'impression du recu.
   Elle n'impose aucune direction : le recu herite du dir pose sur <html>,
   donc il s'imprime en RTL quand l'interface est en arabe et en LTR sinon.
   ========================================================================= */

@page { margin: 14mm; }

.topbar,
.sidenav,
.foot,
.drawer,
.drawer-scrim,
.toast,
.skip,
.no-print { display: none !important; }

html, body {
  background: #fff !important;
  color: #000;
  font-size: 12pt;
}

.shell { display: block; padding: 0; max-inline-size: none; }
.content { min-inline-size: 0; }

.page-head,
.card__head,
.receipt__actions { display: none !important; }

.card {
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* Le mode fiche est une reponse a une colonne etroite. Une feuille A4 n'en
   est pas une : on rend au tableau sa disposition tabulaire, quelle que soit
   la largeur de la fenetre au moment de l'impression. */
.rt thead {
  display: table-header-group;
  position: static;
  inline-size: auto;
  block-size: auto;
  overflow: visible;
  clip-path: none;
}
.rt tbody { display: table-row-group; }
.rt tr { display: table-row; border: 0; border-radius: 0; padding: 0; background: none; }
.rt td,
.rt td.c-main,
.rt td.c-full,
.rt td.c-act { display: table-cell; padding: 6px 8px; font-size: inherit; font-weight: inherit; color: inherit; }
.rt td::before { content: none !important; }
.rt td.c-none { display: none; }

.tablewrap { overflow: visible; background: none; border: 0; }

.receipt {
  border: 0;
  border-radius: 0;
  padding: 0;
  max-inline-size: none;
}
.receipt__top { border-block-end: 2px solid #000; }
.receipt__title { color: #000; }
.receipt__total { border-block-start: 2px solid #000; color: #000; }
.receipt table { inline-size: 100%; }
.receipt thead th { background: #eee; color: #000; }
.receipt td, .receipt th { border-block-end: 1px solid #999; }
.receipt__sign { margin-block-start: 34mm; }

.print-only { display: block !important; }
