:root { color-scheme: light; --ink: #19233d; --paper: #fff9f2; --blue: #2457db; --mint: #62d6b3; --yellow: #ffd54a; --coral: #ff725e; --lavender: #ac98ff; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; padding: 92px 18px 32px; color: var(--ink); background: var(--paper); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 17px; line-height: 1.55; }
button, a { min-height: 44px; font: inherit; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; }
.resource-bar { position: fixed; z-index: 2; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; padding: 10px max(18px, calc((100vw - 1100px) / 2)); border-bottom: 1px solid #dbe2ef; background: rgba(255, 249, 242, .96); }
.resource-bar a { display: inline-flex; align-items: center; color: var(--ink); font-weight: 850; text-decoration: none; }
.resource-actions { display: flex; align-items: center; gap: 10px; }
.resource-bar button { padding: 8px 18px; border: 3px solid var(--ink); border-radius: 14px; color: white; background: var(--blue); box-shadow: 0 4px 0 var(--ink); font-weight: 900; }
main { width: min(1050px, 100%); margin: auto; padding: clamp(24px, 5vw, 58px); border: 3px solid var(--ink); border-radius: 30px; background: white; box-shadow: 0 9px 0 var(--ink); }
.sheet-heading { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.resource-intro { margin: 0 auto 32px; padding: 22px; border: 2px solid #dbe2ef; border-radius: 20px; background: #f7f9ff; }
.resource-intro h2 { margin-top: 0; }
.resource-intro dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.resource-intro dl div { padding: 12px; border-radius: 12px; background: white; }
.resource-intro dt { font-weight: 900; }
.resource-intro dd { margin: 2px 0 0; }
.resource-intro button { padding: 8px 18px; border: 3px solid var(--ink); border-radius: 14px; color: white; background: var(--blue); box-shadow: 0 4px 0 var(--ink); font-weight: 900; }
.sheet-heading > p:first-child { margin-bottom: 8px; color: var(--blue); font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0 0 14px; font-size: clamp(2.3rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.04em; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
article { break-inside: avoid; min-height: 230px; padding: 24px; border: 3px solid var(--ink); border-radius: 22px; background: #edf3ff; }
article:nth-child(2), article:nth-child(5) { background: #e8fbf5; }
article:nth-child(3), article:nth-child(6) { background: #fff3c3; }
article span { display: grid; width: 46px; height: 46px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: white; font-weight: 950; }
h2 { margin: 18px 0 8px; font-size: 1.5rem; line-height: 1.1; }
article p { margin: 0; }
footer { margin-top: 28px; color: #536079; font-size: .86rem; text-align: center; }
@media (max-width: 800px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { body { padding-inline: 10px; } main { padding: 20px; border-radius: 20px; } .resource-intro dl, .card-grid { grid-template-columns: 1fr; } article { min-height: 0; } }
@media print {
  @page { size: auto; margin: 10mm; }
  body { padding: 0; background: white; font-size: 11pt; }
  .no-print { display: none !important; }
  main { width: auto; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .sheet-heading { margin-bottom: 5mm; }
  h1 { font-size: 28pt; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 4mm; }
  article { min-height: 61mm; padding: 5mm; border-width: 1.5pt; }
  footer { margin-top: 4mm; }
}
