/* v6.92.0: テスト用一括処理モーダルの日付選択カレンダー（共有・週間予定表/現場シフト表）。
   order.css の .cal-* から見た目を流用した独自クラス .btcal-*（order には一切触れない）。
   範囲外 .btcal-day-disabled（グレーアウト + クリック不可）を追加。 */
.btcal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.btcal-title {
  font-size: 14px; font-weight: 600; color: var(--color-text, #202124);
  font-variant-numeric: tabular-nums;
}
.btcal-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; border-radius: 9999px;
  border: 1px solid var(--color-border, rgba(60,64,67,.14));
  background: var(--color-surface-2, #f8f9fa); color: var(--color-text, #202124);
  font-size: 18px; font-family: inherit; cursor: pointer;
  transition: background 180ms, box-shadow 180ms;
}
.btcal-nav:hover {
  background: var(--color-surface, #fff);
  box-shadow: var(--shadow-1, 0 1px 2px rgba(60,64,67,.10));
}
.btcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.btcal-dow {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--color-text-muted, #5f6368); padding: 6px 0 4px 0;
}
.btcal-dow-sun { color: var(--color-red, #c5221f); }
.btcal-dow-sat { color: var(--color-primary, #1a73e8); }
.btcal-cell {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; font-size: 13px; font-family: inherit;
  border: 1px solid transparent; background: transparent; border-radius: 9999px;
  cursor: pointer; color: var(--color-text, #202124);
  transition: background 180ms, color 180ms, border-color 180ms;
}
.btcal-empty { cursor: default; }
.btcal-day:hover { background: var(--color-surface-2, #f1f3f4); }
.btcal-day-sun { color: var(--color-red, #c5221f); }
.btcal-day-sat { color: var(--color-primary, #1a73e8); }
.btcal-day-selected,
.btcal-day-selected.btcal-day-sun,
.btcal-day-selected.btcal-day-sat {
  background: var(--color-primary, #1a73e8); color: #fff;
  border-color: var(--color-primary, #1a73e8);
}
.btcal-day-selected:hover { filter: brightness(1.05); }
/* 範囲外: グレーアウト + クリック不可 */
.btcal-day-disabled,
.btcal-day-disabled.btcal-day-sun,
.btcal-day-disabled.btcal-day-sat {
  color: var(--color-text-faint, #bdc1c6); background: transparent;
  cursor: not-allowed; opacity: .45; pointer-events: none;
}
.btcal-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}
.btcal-count { font-size: 12px; color: var(--color-text-muted, #5f6368); }
.btcal-quick { display: inline-flex; gap: 10px; }
.btcal-link {
  background: none; border: none; padding: 0; font-size: 12px;
  color: var(--color-primary, #1a73e8); cursor: pointer; font-family: inherit;
}
.btcal-link:hover { text-decoration: underline; }

/* 2 カラムレイアウト（チェックボックス左 + カレンダー右）。狭幅は縦積み。 */
.bt-modal-grid {
  display: grid; grid-template-columns: 1fr 264px; gap: 16px; align-items: start;
}
.bt-cal-col { min-width: 0; }
@media (max-width: 680px) {
  .bt-modal-grid { grid-template-columns: 1fr; }
}
