/* Ngày tốt theo việc */
.nv-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 0 0 18px; }
.nv-nav { padding: 9px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--sm-line, #E7DCC8); color: var(--sm-lacquer, #7A1B14); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nv-nav:hover { border-color: var(--sm-lacquer, #7A1B14); }
.nv-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nv-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--sm-line, #E7DCC8); background: #fff; color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.nv-chip:hover { border-color: var(--sm-lacquer, #7A1B14); color: var(--sm-lacquer, #7A1B14); }
.nv-chip.is-on { background: var(--sm-lacquer, #7A1B14); border-color: var(--sm-lacquer, #7A1B14); color: #fff; }
.nv-nav:focus-visible, .nv-chip:focus-visible { outline: 2px solid var(--vermilion, #B42318); outline-offset: 2px; }
.nv-table th span, .nv-table td span { display: block; font-size: 13px; color: var(--ink-mute); font-weight: 400; }
.ndla-page .nv-table td.nv-why { font-size: 14px; color: var(--ink-soft); font-weight: 400; white-space: normal; min-width: 220px; }
.ndla-page-ngaytotviec .section { margin-bottom: 36px; }
.ndla-page-ngaytotviec .nv-bar { margin-bottom: 26px; }
.nv-table .nv-gio { font-size: 14px; min-width: 150px; }
.nv-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.nv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.55; }
.nv-list li { padding: 8px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--sm-line, #E7DCC8); }
.nv-list span { color: var(--ink-mute); }
.nv-avoid { line-height: 2; }
.nv-avoid a { color: var(--ink-soft); }
.nv-months { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.nv-months a { display: inline-block; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--sm-line, #E7DCC8); background: #fff; text-decoration: none; }
.nv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nv-card { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--sm-line, #E7DCC8); }
.nv-card .tool-h3 { margin: 0 0 8px; }
.nv-card .tool-h3 a { color: var(--sm-lacquer, #7A1B14); text-decoration: none; }
.nv-card ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.nv-card li span { color: var(--ink-mute); font-size: 13px; }
.nv-more { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; font-size: 14px; }
.nv-matrix td, .nv-matrix th { text-align: center; white-space: nowrap; }
@media (max-width: 900px) { .nv-grid { grid-template-columns: 1fr 1fr; } .nv-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .nv-grid { grid-template-columns: 1fr; }
  .nv-bar { grid-template-columns: 1fr 1fr; }
  .nv-acts { grid-column: 1 / -1; grid-row: 2; }
  .nv-nav { text-align: center; font-size: 14px; }
  /* Bảng ngày tốt thành thẻ trên điện thoại */
  .nv-table, .nv-table tbody, .nv-table tr, .nv-table th, .nv-table td { display: block; width: auto; }
  .nv-table thead { display: none; }
  .nv-table tr { padding: 12px 14px; border-bottom: 1px solid var(--sm-line, #E7DCC8); }
  .ndla-page .nv-table th, .ndla-page .nv-table td { padding: 3px 0; border: 0; min-width: 0; }
  .nv-table th { font-size: 16px; margin-bottom: 4px; }
  .nv-table td[data-l]::before { content: attr(data-l) ": "; color: var(--ink-mute); font-size: 13px; }
  .nv-table td span { display: inline; }
  .nv-table td span::before { content: " · "; }
}
