/* アプリ全体の追加のスタイル（Tailwind の CSS は tailwind.css として別に読み込む） */

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

  body {
    background: #fff !important;
  }

  main.container {
    display: block !important;
    margin-top: 0 !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .print-page-break {
    break-before: page;
    page-break-before: always;
  }

  .print-card {
    box-shadow: none !important;
  }

  #results table th,
  #results table td {
    font-size: 14px !important;
    line-height: 1.3 !important;
    padding: 3px 6px !important;
  }

  #results h2 {
    font-size: 18px !important;
    margin-bottom: 4px !important;
  }

  #results .w-8 {
    width: 30px !important;
  }
}

/* Choices.js（検索つきプルダウン）: 候補の右にある「Press to select」と、そのための右の余白（約100px）をなくして候補の幅を広くする。
   choices.min.css のほうが後に読み込まれるので、.choices を付けて少し強い指定にする */
.choices .choices__list--dropdown .choices__item--selectable,
.choices .choices__list[aria-expanded] .choices__item--selectable {
  padding-right: 10px;
}
.choices .choices__list--dropdown .choices__item--selectable::after,
.choices .choices__list[aria-expanded] .choices__item--selectable::after {
  display: none;
}
