/* Browser version of E-Rechnung Prüfen: what differs from the Windows app (app.css). */

/* Results are downloads: no output folder to choose and no list of recently opened files. */
#btnPickOutput, #recentBox { display: none !important; }

body { -webkit-tap-highlight-color: transparent; }

/* Buttons that show only their icon on narrow screens keep their label for screen readers (hidden from view only). */
.appbar-actions .btn, .doc-actions .btn { position: relative; }
@media (max-width: 1150px) {
  .doc-actions .btn span:not(.pro-tag) { display: inline; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
}

/* Tablets and phones: summary and checks above the invoice, the whole document view scrolls. */
@media (max-width: 820px) {
  #viewDoc { overflow: auto; }
  .doc-body { display: block; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .preview { height: 88vh; min-height: 420px; }
}

@media (max-width: 720px) {
  .appbar { height: 50px; padding: 0 10px; }
  .brand { font-size: 15px; min-width: 0; }
  .brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand img { width: 24px; height: 24px; }
  .appbar-actions { gap: 4px; }
  .appbar-actions .btn span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .appbar-actions .btn span.pro-tag { display: none; }
  .appbar-actions .btn { padding: 0 10px; }
  .home { padding: 16px 12px 28px; gap: 14px; }
  .drop { padding: 26px 16px 22px; }
  .drop-art img { width: 64px; height: 64px; }
  .drop h1 { font-size: 21px; }
  .lead { font-size: 14px; }
  .formats span { font-size: 12px; }
  .feature-row li { font-size: 12px; padding: 6px 10px; }
  .doc-head { flex-wrap: wrap; gap: 6px; padding: 6px 8px; }
  .doc-title { flex: 1 1 calc(100% - 50px); }
  .doc-actions { margin-left: auto; }
  .doc-actions .btn { padding: 0 10px; }
  .side { padding: 10px; }
  .pay-card .amount { font-size: 24px; }
  .qr-box { flex-wrap: wrap; }
  .tabs { overflow-x: auto; }
  .tab { padding: 8px 10px; white-space: nowrap; }
  .batch { padding: 12px; }
  .batch-head h1 { font-size: 19px; }
  .step { gap: 10px; }
  .table-wrap { overflow-x: auto; }
  .card-head { flex-wrap: wrap; }
  .toasts { left: 10px; right: 10px; bottom: 10px; align-items: stretch; }
  .modal { padding: 10px; }
  .modal-card { padding: 20px 18px; max-height: calc(100vh - 20px); overflow: auto; }
  .attachments .att { flex-wrap: wrap; }
  .empty .box { padding: 22px 18px; }
}
