/* BONEBO WorkLog 1.2: navigation, date ranges and report filters. */
.app-header nav a[aria-current="page"] { background: #fbecee; color: var(--bonebo-red); }
.diary-help p { line-height: 1.65; }
.diary-help > a { color: var(--bonebo-red); font-size: 14px; }
.period-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.period-shortcuts a { color: #494950; background: #f0f0f4; padding: 9px 14px; border-radius: 7px; font-size: 13px; text-decoration: none; }
.period-shortcuts a:hover { background: #fbecee; color: var(--bonebo-red); }
.filter-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 14px; align-items: end; }
.filter-form > div { min-width: 0; }
.filter-form [hidden] { display: none !important; }
.worklog .filter-form input[type="month"], .worklog .filter-form input[type="date"] { width: 100%; min-width: 0; }
.filter-submit { display: flex; gap: 8px; flex-wrap: wrap; }
.month-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #e7e7ec; padding-top: 18px; margin-top: 20px; }
.month-nav a { color: var(--bonebo-red); font-size: 14px; text-decoration: none; padding: 7px 0; }
.month-nav a:hover { text-decoration: underline; }
.month-nav strong { font-size: 14px; white-space: nowrap; }
.report-heading { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; justify-content: space-between; }
.report-heading h2 { margin-bottom: 7px; }
.report-heading p { margin: 5px 0; overflow-wrap: anywhere; }
.report-heading > div { min-width: 0; }
.report-heading .actions { margin-bottom: 10px; }
.worklog .tablewrap td { overflow-wrap: anywhere; }
@media(max-width:720px) {
  .filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-header nav { gap: 0; }
  .app-header nav a { padding: 10px; font-size: 13px; }
  .app-header nav button { font-size: 13px; padding: 10px; }
}
@media(max-width:480px) {
  .filter-form { grid-template-columns: 1fr; }
  .month-nav { gap: 8px; flex-wrap: wrap; }
  .month-nav a { font-size: 12px; }
  .month-nav strong { font-size: 12px; }
  .report-heading .actions { width: 100%; }
  .report-heading .button { flex: 1; text-align: center; }
}
