/* MLO shared styles for the PRINT pages in the NEW look (2026-11-10): Worksheet Pack,
   Word Search, the Dictation sheet (and the Phonics / review copies of them).
   ON SCREEN ONLY: the night-sky surround and the toolbar get the new look; the white
   A4 sheet itself is untouched, and nothing here applies when printing.
   Loaded after the page's own sheet. */
@media screen {
  html, body {
    background:
      radial-gradient(ellipse at 18% 20%, rgba(74,45,140,0.55) 0%, transparent 55%),
      radial-gradient(ellipse at 82% 80%, rgba(45,26,92,0.6) 0%, transparent 55%),
      var(--night-deep, #0f0a2e) !important;
    background-attachment: fixed !important;
  }

  /* toolbar buttons: gold = Print, outlined = the rest */
  .toolbar .btn, .panel button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: none;
    font-family: inherit; font-size: 15px; font-weight: 800; text-decoration: none;
  }
  .toolbar .btn.primary, .panel button.go { background: var(--gold, #f4c842); color: var(--night-deep, #0f0a2e); border: 2px solid var(--gold, #f4c842); }
  .toolbar .btn.primary:hover, .panel button.go:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,6,30,0.4); }
  .toolbar .btn.ghost, .toolbar .btn.key, .panel button.ghost {
    background: transparent; color: var(--cream, #fef6e4); border: 2px solid rgba(254,246,228,0.35);
  }
  .toolbar .btn.ghost:hover, .toolbar .btn.key:hover, .panel button.ghost:hover { border-color: var(--gold, #f4c842); transform: none; }
  .toolbar .btn.key.on { background: rgba(244,200,66,0.16); color: var(--gold, #f4c842); border-color: var(--gold, #f4c842); }

  /* Partner Sheets' own buttons */
  .toolbar .ghost, .toolbar .go, .controls .ghost, .controls .go, .bar .ghost, .bar .go { border-radius: 999px; font-family: inherit; font-weight: 800; box-shadow: none; }
  .toolbar .go, .controls .go, .bar .go { background: var(--gold, #f4c842); color: var(--night-deep, #0f0a2e); border: 2px solid var(--gold, #f4c842); }
  .toolbar .ghost, .controls .ghost, .bar .ghost { background: transparent; color: var(--cream, #fef6e4); border: 2px solid rgba(254,246,228,0.35); }

  /* the worksheet-type tabs */
  .picker { background: rgba(15,10,46,0.45); border: 2px solid rgba(254,246,228,0.1); box-shadow: none; }
  .tab { color: var(--cream, #fef6e4); }
  .tab:hover { color: var(--gold, #f4c842); }
  .tab.active { background: var(--gold, #f4c842); color: var(--night-deep, #0f0a2e); }
  .tab.picked:not(.active) { background: rgba(244,200,66,0.18); color: var(--gold, #f4c842); }
  .scalehint { color: var(--text-dim, rgba(254,246,228,0.72)); }

  /* the Dictation sheet's own header */
  .crumb a { color: var(--gold, #f4c842); }
  .brand { color: var(--cream, #fef6e4); }
  .sub, .hint { color: var(--text-dim, rgba(254,246,228,0.72)); opacity: 1; }
  /* ...but a hint printed ON the white paper keeps its paper colour */
  .sheet .hint { color: var(--brand, #5a3db8); }
  .card .hint { color: #6b5a8a; }

  /* the sheet: lift it off the night sky */
  .sheet, .page, div.ws, .paper { box-shadow: 0 14px 40px rgba(10,6,30,0.55); }
}
