/* Monochrome dashboard, scoped to the home page. */
.overview-page {
  --ink: #111;
  --muted: #666;
  --accent: #111;
  --line: #e5e5e5;
  --paper: #fff;
  --wash: #f6f6f6;
  color: var(--ink);
  background: var(--paper);
}

.overview-page .app-sidebar {
  background: #fff;
  border-right-color: var(--line);
}
.overview-page .nav-caption {
  margin: 16px 12px 7px;
  color: #777;
  font-size: 1rem;
  letter-spacing: .04em;
}
.overview-page .nav-link {
  min-height: 42px;
  margin: 2px 0;
  padding: 9px 12px;
  border-radius: 3px;
  color: #444;
  font-size: 1rem;
}
.overview-page .nav-link:hover { color: #111; background: #f7f7f7; }
.overview-page .nav-link[aria-current=page] {
  color: #111;
  background: #f3f3f3;
  font-weight: 600;
}
.overview-page .nav-link svg { color: #666; }
.overview-page .nav-link[aria-current=page] svg { color: #111; }
.overview-page .sidebar-bottom { border-top-color: var(--line); }
.overview-page .user-avatar { color: #222; background: #f1f1f1; border-radius: 3px; }
.overview-page .app-topbar { background: #fff; border-bottom-color: var(--line); box-shadow: none; }
.overview-page .app-breadcrumb { color: #777; }
.overview-page .app-breadcrumb strong { color: #111; font-weight: 500; }
.overview-page .breadcrumb-divider { color: #bbb; }
.overview-page .workspace-label { color: #777; }

.overview-page #overview-message:not([hidden]) {
  margin: 0 0 20px;
  padding: 11px 13px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  color: #333;
  background: #f7f7f7;
}
.overview-shell {
  max-width: 1600px;
  padding: 32px 36px 42px;
  margin: 0 auto;
}
.overview-shell .page-heading {
  align-items: center;
  margin-bottom: 24px;
}
.overview-shell .page-heading h1 {
  margin: 0;
  color: #111;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.035em;
}
.overview-heading-actions { display: flex; align-items: center; gap: 18px; }
#overview-date { color: #666; font-size: 1rem; white-space: nowrap; }
.overview-shell #main-action {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #111;
  border-radius: 3px;
  color: #fff;
  background: #111;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}
.overview-shell #main-action:hover { color: #fff; background: #333; border-color: #333; }

.overview-shell #overview-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.overview-shell .stat-card {
  display: block;
  min-width: 0;
  min-height: 118px;
  padding: 18px 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.overview-shell .stat-card:last-child { border-right: 0; }
.overview-shell .stat-copy { min-width: 0; }
.overview-shell .stat-label { color: #666; font-size: 1rem; font-weight: 500; }
.overview-shell .stat-value {
  display: block;
  margin: 7px 0 4px;
  color: #111;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.overview-shell .stat-note { display: block; color: #777; font-size: 1rem; line-height: 1.5; }
.overview-shell .stat-card[data-state=error] .stat-value { color: #555; }

.overview-shell .overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}
.overview-shell .card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}
.overview-shell .recent-card, .overview-shell .next-card { min-width: 0; padding: 20px 22px; }
.overview-shell .section-heading { margin-bottom: 16px; }
.overview-shell h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.overview-shell h2 svg { display: none; }
.overview-shell .text-link { color: #555; font-size: 1rem; white-space: nowrap; }
.overview-shell .text-link:hover { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.home-task-progress { margin-bottom: 18px; color: #555; font-size: 1rem; }
.home-progress-line { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.home-progress-line strong { min-width: 32px; color: #333; font-size: 1rem; font-weight: 500; }
.home-progress-track { height: 4px; flex: 1; overflow: hidden; background: #eee; }
.home-progress-track span { display: block; height: 100%; background: #111; }
.home-task-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.overview-shell .home-task-filters button {
  min-height: 38px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #555;
  background: #fff;
  box-shadow: none;
  font-size: 1rem;
}
.overview-shell .home-task-filters button:hover:not(:disabled) { color: #111; border-color: #999; background: #fafafa; }
.overview-shell .home-task-filters button[aria-pressed=true] {
  color: #fff;
  border-color: #111;
  background: #111;
}
.home-task-table-wrap { overflow-x: auto; }
.overview-shell .home-task-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}
.overview-shell .home-task-table th {
  color: #666;
  background: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}
.overview-shell .home-task-table :is(th, td) {
  padding: 12px 9px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #ededed;
  font-size: 1rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-task-table th:first-child { width: 28%; }
.home-task-table th:nth-child(2) { width: 10%; }
.home-task-table th:nth-child(3) { width: 19%; }
.home-task-table th:nth-child(4) { width: 11%; }
.home-task-table th:nth-child(5) { width: 10%; }
.home-task-table th:nth-child(6) { width: 17%; }
.home-task-table th:last-child { width: 5%; }
.overview-shell .home-task-table td { color: #555; }
.overview-shell .home-task-table td a { display: block; overflow: hidden; color: #111; text-overflow: ellipsis; }
.overview-shell .home-task-table td a:hover { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.overview-shell .home-task-table td small { display: block; margin-top: 3px; overflow: hidden; color: #777; font-size: 1rem; text-overflow: ellipsis; }
.home-task-table tbody tr:hover { background: #fafafa; }
.overview-shell .status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #333;
  background: #f7f7f7;
  font-size: 1rem;
  line-height: 1.4;
}
.home-task-table .status-badge::before { content: none; }
.task-list-note { margin: 12px 0 0; color: #666; font-size: 1rem !important; }
.overview-shell .next-card { height: 100%; }
.overview-aside { display: grid; gap: 18px; min-width: 0; }
.overview-shell .home-download { padding: 20px 22px; }
.home-download h2 { flex-wrap: wrap; }
.home-download [data-download-version] { color: #666; font-size: 1rem; font-weight: 400; }
.home-download p { margin: 12px 0; color: #555; font-size: 1rem; line-height: 1.7; }
.home-download [data-download-status] { color: #777; font-size: 1rem; }
.home-download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.home-download-actions .button-link { min-height: 42px; padding: 10px 15px; font-size: 1rem; }
.overview-shell .next-card h2 { margin-bottom: 8px; }
#next-actions { display: flex; flex-direction: column; }
.next-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 62px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  color: #111;
  background: #fff;
}
.next-action:last-child { border-bottom: 0; }
.next-action:hover { color: #111; background: #fafafa; }
.next-action strong { display: block; color: #111; font-size: 1rem; font-weight: 600; }
.overview-shell .next-action small { display: block; margin-top: 3px; color: #777; font-size: 1rem; line-height: 1.45; }
.recent-head, .recent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px 90px;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.recent-head, .recent-date { color: #666; font-size: 1rem; }
.recent-description { display: flex; align-items: center; gap: 10px; min-width: 0; }
.recent-description strong { display: block; color: #111; font-size: 1rem; }
.recent-description small { display: block; margin-top: 4px; color: #777; font-size: 1rem; }
.platform-icon { width: 32px; height: 32px; flex: none; border: 1px solid #e5e5e5; border-radius: 3px; color: #222; background: #f6f6f6; }
.platform-icon .platform-logo { width: 100%; height: 100%; filter: grayscale(1); }
.platform-icon .platform-logo img { width: 20px; height: 20px; }
.overview-shell .empty-state { padding: 46px 18px; color: #666; }
.overview-shell .empty-state h2 { justify-content: center; }
.overview-shell .empty-state p { margin: 8px auto 0; color: #777; font-size: 1rem; }
.overview-shell .statistics-help { margin: 16px 0 0; color: #666; }
.overview-shell .statistics-help :is(summary, p) { font-size: 1rem; }
.overview-shell .statistics-help p { max-width: 900px; line-height: 1.7; }
.overview-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #777;
  font-size: 1rem;
}
.overview-page :is(a, button, summary):focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.overview-page button:disabled { opacity: .55; }

@media (max-width: 1280px) {
  .overview-shell .overview-columns { grid-template-columns: minmax(0, 1fr); }
  #next-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .overview-shell .next-card { height: auto; }
}
@media (max-width: 1050px) {
  .overview-shell #overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-shell .stat-card { border-bottom: 1px solid var(--line); }
  .overview-shell .stat-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .overview-shell .stat-card:nth-child(even) { border-right: 0; }
  .overview-shell .stat-card:nth-last-child(-n+2) { border-bottom: 0; }
  .overview-heading-actions { gap: 12px; }
}
@media (max-width: 850px) {
  .overview-shell { padding: 26px 20px 36px; }
}
@media (max-width: 650px) {
  .overview-shell { padding: 24px 16px 32px; }
  .overview-shell .page-heading { display: block; }
  .overview-shell .page-heading h1 { font-size: 26px; }
  .overview-heading-actions { justify-content: space-between; margin-top: 14px; }
  #overview-date { display: none; }
  .overview-shell #main-action { min-height: 44px; }
  .overview-shell .stat-card { min-height: 108px; padding: 14px; }
  .overview-shell .stat-value { font-size: 28px; }
  .overview-shell .stat-note { font-size: 1rem; }
  .overview-shell .recent-card, .overview-shell .next-card { padding: 17px 14px; }
  .overview-shell .section-heading { gap: 10px; }
  .overview-shell h2 { font-size: 1rem; }
  .home-task-filters { gap: 6px; }
  .overview-shell .home-task-filters button { min-height: 40px; padding: 8px 9px; }
  #next-actions { grid-template-columns: minmax(0, 1fr); }
  .recent-head, .recent-row { grid-template-columns: minmax(0, 1fr) 72px; }
  .recent-date { display: none; }
  .overview-footer { flex-direction: column; }
}
