.monthlyAdsView .reportModes,
.monthlyAdsView #filterPanel,
.monthlyAdsView #status,
.monthlyAdsView #employeePanel,
.monthlyAdsView #kpis,
.monthlyAdsView .chartGrid,
.monthlyAdsView #projectPanel,
.monthlyAdsView #adsPanel,
.monthlyAdsView #qualityPanel,
.monthlyAdsView #settingsPanel,
.monthlyAdsView #accessPanel,
.monthlyAdsView #importPanel,
.monthlyAdsView footer,
.monthlyAdsView #refreshNow,
.monthlyAdsView #export { display: none !important; }

.monthActions { display: flex; gap: 10px; flex-wrap: wrap; }
#monthRefresh[aria-disabled="true"] { opacity: .6; cursor: wait; }
.monthAdAlert { background: #fff6e9; border: 1px solid #f2d4a5; color: #805012; padding: 14px; border-radius: 8px; margin: 16px 0; }
.monthAdAlert p { color: inherit; margin-bottom: 0; }
.monthAdAlert .textButton { font-size: 13px; color: inherit; margin-left: 12px; }
.monthAccountGroup { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 20px; }
.monthAccountGroup h3 { margin: 0; font-size: 16px; }
.monthAccountGroup .panelHeading p,
.monthlyAdsPanel > p.muted { font-size: 12px; }
.monthAccountGroup .tableScroll { max-height: 560px; }
.monthAccountGroup table { white-space: normal; font-size: 13px; }
.monthAccountGroup th { font-size: 12px; }
.monthAccountGroup td { vertical-align: top; }
.monthAccountGroup td:nth-child(1) { min-width: 230px; max-width: 330px; }
.monthAccountGroup td:nth-child(2) { min-width: 140px; }
.monthAccountGroup td:nth-child(3) { min-width: 180px; }
.monthAccountGroup td:nth-child(n+4) { text-align: right; white-space: nowrap; }
.monthAccountGroup th:nth-child(n+4) { text-align: right; }
.monthAccountGroup a { color: var(--text); text-decoration: none; font-weight: 600; text-underline-offset: 3px; }
.monthAccountGroup a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
.monthAccountGroup .employeeMeta { font-size: 12px; }
.missingProjectBadge,
.assignedProjectBadge { padding: 6px 10px; border-radius: 20px; font-size: 12px; white-space: nowrap; }
.missingProjectBadge { background: #fff0ea; color: #a9401c; }
.assignedProjectBadge { background: #e5f8ec; color: #147443; }
.missingProjectText { font-weight: 600; color: #b94322; }
.monthAccountGroup .assignProjectButton { display: block; min-height: 44px; margin-top: 4px; color: var(--text); background: var(--card); border-color: var(--border); font-size: 13px; white-space: normal; }
.monthAccountGroup .needsProject .assignProjectButton { color: #fff; background: var(--primary); border-color: var(--primary); }
.monthAccountGroup .paging { gap: 12px; font-size: 12px; }
.monthAccountGroup .paging > div { display: flex; flex: none; gap: 8px; }
.monthAccountGroup .paging button { min-width: 40px; min-height: 40px; margin: 0; }
.monthAccountGroup .paging [tabindex="-1"]:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 2px; }
.monthlyAdsPanel .directoryFilters > label.checkLabel { min-width: 180px; }
.dark .monthAdAlert { background: #332918; color: #f0c78a; border-color: #6f5633; }
.dark .missingProjectBadge { background: #452a21; color: #ffb89e; }
.dark .assignedProjectBadge { background: #153b2d; color: #8cddb2; }
.dark .missingProjectText { color: #ffb89e; }
#assignProjectDialog form > label { margin-top: 16px; }
#monthProjectItem { overflow-wrap: anywhere; }

@media (hover: hover) and (pointer: fine) {
  .monthAccountGroup a:hover { color: var(--primary); text-decoration: underline; }
}

@media (max-width: 760px) {
  .monthlyAdsPanel .panelHeading { align-items: start; flex-wrap: wrap; }
  .monthlyAdsPanel .panelHeading > div { min-width: 0; }
  .monthlyAdsPanel .panelHeading p { overflow-wrap: anywhere; }
  .monthActions { width: 100%; }
  .monthActions button { flex: 1; min-height: 44px; }
  .monthAdAlert .textButton { margin: 8px 0 0; padding: 0; text-align: left; }
  .monthAccountGroup .tableScroll { max-height: none; overflow: visible; }
  .monthAccountGroup table { display: block; width: 100%; }
  .monthAccountGroup thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .monthAccountGroup tbody { display: grid; gap: 12px; }
  .monthAccountGroup tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px; border: 1px solid var(--border); border-radius: 12px; gap: 12px 8px; }
  .monthAccountGroup td,
  .monthAccountGroup td:nth-child(n) { display: block; min-width: 0; max-width: none; padding: 0; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .monthAccountGroup td:nth-child(-n+3) { grid-column: 1 / -1; }
  .monthAccountGroup td:nth-child(1) { font-size: 14px; line-height: 1.5; }
  .monthAccountGroup td:nth-child(2) { font-size: 12px; }
  .monthAccountGroup td:nth-child(3) { padding: 10px; border-radius: 8px; background: var(--bg); }
  .monthAccountGroup td:nth-child(n+3)::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
  .monthAccountGroup td:nth-child(n+4) { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .monthAccountGroup .assignProjectButton { width: 100%; min-height: 44px; margin-top: 2px; }
  .monthAccountGroup .employeeMeta { margin-top: 3px; }
  .monthAccountGroup .monthEmptyRow { display: block; }
  .monthAccountGroup .monthEmptyRow td { font-size: 13px; }
  .monthAccountGroup .paging { flex-wrap: wrap; }
  .monthAccountGroup .paging button { min-width: 44px; min-height: 44px; }
  .monthlyAdsPanel .directoryFilters { gap: 12px; align-items: stretch; }
  .monthlyAdsPanel .directoryFilters > label,
  .monthlyAdsPanel .directoryFilters > label:first-child,
  .monthlyAdsPanel .directoryFilters > label.checkLabel { flex-basis: 100%; min-width: 0; }
  .monthlyAdsPanel .directoryFilters > label.checkLabel { white-space: normal; padding-bottom: 0; }
  .monthlyAdsPanel .checkLabel { line-height: 1.5; align-items: start; }
  .monthlyAdsPanel .checkLabel input { margin-top: 3px; }
  .monthlyAdsPanel input[type="search"],
  .monthlyAdsPanel select { font-size: 16px; }
}
