/* Quiet Learning Workspace: Large-Screen & High-Resolution Layout
   The workspace fills the viewport; only article text has a reading-width limit.
   Sidebar and font sizes remain stable on 2K/4K monitors. */

@media (min-width: 1441px) {
  .home-tracks-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .home-quick-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .book-reading-wrap {
    grid-template-columns: minmax(0, 840px) 240px;
    gap: 36px;
    justify-content: center;
  }
  .book-reading-main {
    max-width: 840px;
  }
  .book-article {
    max-width: 840px;
  }
}

@media (min-width: 1920px) {
  :root { --sidebar-w: 210px; }
  .home-tracks-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .book-reading-wrap {
    grid-template-columns: minmax(0, 860px) 250px;
    gap: 40px;
    justify-content: center;
  }
  .book-reading-main {
    max-width: 860px;
  }
  .book-article {
    max-width: 860px;
  }
}

@media (min-width: 2560px) {
  /* 4K & Ultrawide: Keep UI calm, stable and disciplined.
     Do NOT balloon font sizes or cards across the screen. */
  :root { --sidebar-w: 216px; }
  .book-reading-wrap {
    grid-template-columns: minmax(0, 880px) 260px;
    gap: 44px;
    justify-content: center;
  }
  .book-reading-main {
    max-width: 880px;
  }
  .book-article {
    max-width: 880px;
  }
}
