/* 補助金の公募日程（共通部品 /var/www/shared/hojokin/schedule.php の見た目） */
.hs-box { margin: 20px 0; padding: 14px 16px; border: 1px solid #d9e2ec; border-left: 4px solid #2f6fb3; border-radius: 8px; background: #f7fafd; color: #1f2933; }
.hs-title { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.hs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hs-item { display: grid; gap: 2px; font-size: 14px; line-height: 1.7; }
.hs-name { font-weight: 700; }
.hs-src { font-size: 12px; color: #52606d; }
.hs-src a { color: #2f6fb3; }
.hs-urgent .hs-text { color: #b42318; font-weight: 700; }
.hs-closed .hs-text, .hs-tbd .hs-text { color: #52606d; }
.hs-table-wrap { overflow-x: auto; margin: 16px 0 8px; }
.hs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hs-table caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.hs-table th, .hs-table td { border: 1px solid #d9e2ec; padding: 8px 10px; text-align: left; vertical-align: top; }
.hs-table th { background: #f0f4f8; font-weight: 600; }
.hs-badge { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 999px; background: #e4e7eb; color: #3e4c59; margin-left: 4px; }
.hs-open .hs-badge { background: #dff3e4; color: #1d6b3a; }
.hs-urgent .hs-badge { background: #fde3e1; color: #b42318; }
.hs-closed td { color: #7b8794; }
.hs-sub { display: block; font-size: 12px; color: #7b8794; }
.hs-note { font-size: 13px; color: #52606d; margin: 6px 0; }
@media (prefers-color-scheme: dark) {
  .hs-box { background: #1b2430; border-color: #334155; color: #e5e7eb; }
  .hs-src, .hs-closed .hs-text, .hs-tbd .hs-text, .hs-note, .hs-sub, .hs-closed td { color: #9aa5b1; }
  .hs-src a { color: #8ab4f8; }
  .hs-table th { background: #243040; }
  .hs-table th, .hs-table td { border-color: #334155; }
}
