.overview-page {
  flex: 1;
  min-width: 0;
  padding: 20px 40px 48px;
  overflow-y: auto;
  color: #142c4e;
}
.overview-page * { box-sizing: border-box; }
.overview-page a { color: #1858b4; text-underline-offset: 3px; }
.overview-page a:hover { text-decoration-thickness: 2px; }
.overview-page :focus-visible { outline: 3px solid #1261cd; outline-offset: 3px; }
.overview-header, .overview-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.overview-header h1 { margin: 6px 0 10px; }
.overview-header > div { flex: 1 1 220px; min-width: 0; }
.overview-header .add-task-btn { flex-shrink: 0; color: white; text-decoration: none; background: #1858b4; padding: 12px 18px; border-radius: 8px; }
.overview-description { color: #40536d; line-height: 1.6; overflow-wrap: anywhere; }
.overview-eyebrow { margin: 0; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #40536d; }
.overview-views { margin: 24px 0; flex-wrap: wrap; }
.overview-views [aria-current="page"] { font-weight: 700; background: #e7f0ff; }
.overview-section { margin-top: 32px; }
.overview-section h2 { margin-bottom: 12px; }
.overview-meta { color: #536379; font-size: .9rem; line-height: 1.5; }
.overview-totals, .overview-counts, .overview-extra-links, .overview-pin-actions, .overview-pagination { display: flex; flex-wrap: wrap; gap: 12px; }
.overview-totals > a { padding: 12px 18px; background: white; border: 1px solid #d7e2ef; border-radius: 8px; text-decoration: none; }
.overview-totals strong { font-size: 1.4rem; margin-right: 6px; }
.overview-project-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); gap: 16px; }
.overview-project { background: white; border: 1px solid #d7e2ef; border-radius: 12px; padding: 22px; min-width: 0; }
.overview-featured { border-top: 4px solid #2979ff; }
.overview-project h3 { overflow-wrap: anywhere; line-height: 1.4; }
.overview-project h3 a { color: #142c4e; text-decoration: none; }
.overview-counts { margin: 18px 0; gap: 8px 16px; font-size: .9rem; }
.overview-counts a { text-decoration: none; }
.overview-counts strong { font-size: 1.1rem; }
.overview-suggestion { border-top: 1px solid #e3eaf3; padding-top: 16px; margin-top: 16px; }
.overview-task-list { display: grid; gap: 12px; }
.overview-task { padding: 18px; border: 1px solid #d7e2ef; border-radius: 10px; background: white; min-width: 0; overflow-wrap: anywhere; }
.overview-suggestion .overview-task { padding: 12px 0 0; border: 0; }
.overview-task-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.overview-task-heading > a { font-weight: 700; line-height: 1.5; }
.overview-task .badge { flex-shrink: 0; }
.overview-task p:last-child { margin-bottom: 0; }
.overview-next { white-space: pre-line; line-height: 1.5; }
.overview-blocked { color: #9c2727; white-space: pre-line; }
.overview-pin-actions { padding-top: 16px; gap: 8px; }
.overview-pin-form { margin: 0; }
.overview-pin-form button { padding: 8px 10px; border: 1px solid #b8cce5; background: #f5f8fc; color: #1858b4; min-height: 38px; font: inherit; font-size: .85rem; }
.overview-pin-form button:hover { background: #e7f0ff; }
.overview-pin-form button:disabled { color: #687487; cursor: default; background: #f1f3f6; border-color: #d7dde5; }
.overview-attention-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.overview-attention-item { display: flex; gap: 14px; align-items: center; background: white; padding: 18px; border: 1px solid #d7e2ef; border-radius: 10px; text-decoration: none; }
.overview-attention-item strong { font-size: 1.8rem; }
.overview-empty { border: 1px dashed #aabbd2; border-radius: 10px; padding: 22px; color: #40536d; line-height: 1.6; }
.overview-notice { padding: 14px 18px; background: #e7f0ff; border-radius: 8px; line-height: 1.5; }
.overview-extra-links, .overview-pagination { margin-top: 22px; }
@media (max-width: 1100px) {
  .overview-page .topbar { flex-wrap: wrap; gap: 8px; }
  .overview-page .topbar ul { flex-wrap: wrap; gap: 8px; }
  .overview-attention-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .overview-layout { height: auto; min-height: 100vh; }
  .overview-page { padding: 20px 16px 36px; overflow: visible; }
  .overview-project-grid { grid-template-columns: 1fr; }
  .overview-project { padding: 18px; }
  .overview-page .topbar li { padding: 6px; }
  .overview-task-heading { flex-wrap: wrap; }
  .overview-header h1 { font-size: 1.7rem; overflow-wrap: anywhere; }
}
