/* Shared page background, matching the student dashboard in both themes. */
@media screen {
  body {
    background: radial-gradient(circle at 50% 0%, rgba(var(--t-cyan-rgb), .08), transparent 32%),
      radial-gradient(circle at 0% 70%, rgba(59, 130, 246, .06), transparent 30%),
      linear-gradient(135deg, var(--t-soft) 0%, var(--t-bg) 72%, var(--t-bg) 100%);
  }
  body::before { content: none; }
  body > main {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 140px);
    background: radial-gradient(circle at 50% 0%, rgba(var(--t-cyan-rgb), .08), transparent 32%),
      radial-gradient(circle at 0% 70%, rgba(59, 130, 246, .06), transparent 30%),
      linear-gradient(135deg, var(--t-soft) 0%, var(--t-bg) 72%, var(--t-bg) 100%);
  }
  body > main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .38;
    background-image: linear-gradient(rgba(var(--t-line-rgb), .32) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--t-line-rgb), .32) 1px, transparent 1px);
    background-size: 45px 45px;
  }
  .student-home-background { min-height: calc(100vh - 140px); }
}
