/* Shared return controls, including document previews. Screen-only: printed pages stay unchanged. */
@media screen {
  .back, .return-button, .print-controls a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 20px;
    border: 1px solid #ced7e2;
    border-radius: 7px;
    background: #fff;
    color: #26364b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }
  .back { margin-bottom: 20px; }
  .back:hover, .return-button:hover, .print-controls a:hover {
    background: #f0f5f9;
    border-color: #849eb8;
    text-decoration: none;
  }
  .back:focus-visible, .return-button:focus-visible, .print-controls a:focus-visible {
    outline: 3px solid #5994bf;
    outline-offset: 3px;
  }
}
