/* Fillable form pages on phones and tablets (added 2026-11-24).
   The scanned form itself is scaled to fit by a small script; this only styles the action bar.
   Desktop (wider than 880px) and printing are unchanged. */
.form-bar { display: none; }

@media (max-width: 880px) {
  body { margin: 0; }
  .form-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    position: sticky; top: 0; z-index: 1000;
    padding: 10px 12px; background: #563d20;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  }
  .form-bar a, .form-bar button {
    flex: 1 1 auto; text-align: center; white-space: nowrap;
    color: #fff; background: #7a5a36; border: 0; border-radius: 6px;
    padding: 10px 8px; font: inherit; font-size: 15px; text-decoration: none; cursor: pointer;
  }
  .form-bar .back { flex: 0 0 auto; background: transparent; padding-left: 2px; padding-right: 6px; }
  .form-bar-note { flex-basis: 100%; color: #eadfcf; font-size: 12.5px; line-height: 17px; }
}

@media print {
  .form-bar { display: none !important; }
}
