/* ==========================================================
   運営：掲載データの確認（一覧表）
   - 列の幅を決めて、文字が1文字ずつ折り返されないようにする
   - 狭い画面では、表全体を横にスクロールさせる
   ========================================================== */
.verify-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0.8rem 0;
  border-bottom: 1px solid #d8dee4;
}

.verify-tab {
  padding: 0.45rem 0.9rem;
  border: 1px solid #d8dee4;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: #f6f8fa;
  color: #1f3352;
  text-decoration: none;
  font-weight: 700;
}

.verify-tab.active {
  background: #fff;
  color: #0a86c9;
  border-color: #cfe3f3;
  box-shadow: inset 0 3px 0 #0a86c9;
}

/* ---------- 一覧表：列の幅 ---------- */
.admin-body .verify-table {
  table-layout: fixed;
  width: 100%;
  min-width: 1280px;
}

.admin-body .verify-table th,
.admin-body .verify-table td {
  box-sizing: border-box;   /* 指定した幅に余白も含める（列がはみ出さない） */
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.5;
}

.admin-body .verify-table col.c-service,  .admin-body .verify-table th:nth-child(1) { width: 210px; }
.admin-body .verify-table th:nth-child(2) { width: 96px; }   /* 分類 */
.admin-body .verify-table th:nth-child(3) { width: 92px; }   /* 確認日 */
.admin-body .verify-table th:nth-child(4) { width: 58px; }   /* 経過 */
.admin-body .verify-table th:nth-child(5) { width: 112px; }  /* 次の確認 */
.admin-body .verify-table th:nth-child(6) { width: 168px; }  /* 理由 */
.admin-body .verify-table th:nth-child(7) { width: 124px; }  /* 価格の生存確認 */
.admin-body .verify-table th:nth-child(8) { width: 140px; }  /* AIの再確認 */
.admin-body .verify-table th:nth-child(9) { width: 130px; }  /* 出典 */
.admin-body .verify-table th:nth-child(10) { width: 160px; } /* 操作 */

.verify-table td.reason {
  font-size: 0.82rem;
  color: #46566e;
  white-space: normal;
}

.verify-table td.src a {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 会社名は小さく、サービス名（リンク）を主役にする */
.verify-table td:first-child > strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.8rem;
  color: #46566e;
}

.verify-table .service-name { font-weight: 400; }

/* 急ぎの行 */
.verify-table tr.urgent td { background: #fff6f6; }
.verify-table tr.urgent td:first-child { box-shadow: inset 3px 0 0 #c0392b; }

/* ---------- 操作の列：ボタンを縦にそろえる ---------- */
.admin-body .verify-table td.actions { padding: 6px 8px; }

.admin-body .verify-table td.actions form,
.admin-body .verify-table td.actions form.inline,
.admin-body .verify-table td.actions form.button_to {
  display: block;
  margin: 0;
}

.admin-body .verify-table td.actions .btn,
.admin-body .verify-table td.actions a.btn,
.admin-body .verify-table td.actions button.btn,
.admin-body .verify-table td.actions input.btn {
  display: block;
  width: 100%;
  margin: 0 0 4px;
  padding: 5px 6px;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

.admin-body .verify-table td.actions .btn:last-child { margin-bottom: 0; }

/* 操作の中での色分け：主な操作だけ青、あとは白 */
.admin-body .verify-table td.actions .btn-quiet {
  background: #fff;
  color: #46566e;
  border-color: #d3dbe4;
  font-weight: 400;
}

.admin-body .verify-table td.actions .btn-quiet:hover {
  background: #f4f7fb;
  color: #1f3352;
  border-color: #b9c6d4;
}

.verify-table td.actions .actions-wait {
  display: block;
  margin-bottom: 6px;
  color: #6b7a8d;
  font-size: 0.8rem;
}

.badge-warn {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 0.75rem;
}

/* ---------- 一覧の上の操作（まとめて確認済み・書き出し） ---------- */
.verify-bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid var(--site-line, #dde5ee);
  border-radius: 10px;
  background: #fff;
}

.admin-body .verify-bulk-bar form { display: block; margin: 0; }
.verify-bulk-bar .verify-count { font-weight: 700; color: #1f3352; }
.verify-bulk-bar .verify-hint { color: #6b7a8d; font-size: 0.82rem; }
.admin-body .verify-bulk-bar .btn-bulk { background: #0a86c9; border-color: #0a86c9; }

/* 毎月1日の自動確認：今月の当番の大分類（2026-10-09） */
.verify-run-month {
  background: #f2f8fd;
  border-left: 3px solid #0a86c9;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: #3d4f60;
}
.verify-run-month strong { color: #10223f; }

/* チェック欄（2026-10-09）。チェックしたものだけ、まとめて確認済みにできる */
.verify-table th.check,
.verify-table td.check { width: 34px; text-align: center; padding-left: 6px; padding-right: 6px; }
.verify-table td.check input { width: 16px; height: 16px; }

/* チェック欄（2026-10-09）。列は増やさず、会社名の前に置く */
.verify-table .verify-pick { width: 15px; height: 15px; margin-right: 6px; vertical-align: 1px; }
.verify-pick-all { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; margin-right: 4px; }
.verify-pick-all input { width: 15px; height: 15px; }

/* 「要確認」は日付の下に置く（横に並べると列からはみ出して「理由」に重なる。2026-10-09） */
.admin-body .verify-table td .badge-warn { display: inline-block; margin-top: 4px; }

/* 実行の記録：はじめは3件だけ出す */
.verify-run-more-btn { margin-top: 8px; }

/* やることの性質で分けるタブ */
.verify-kind-tabs { margin-top: 0; }
