/* Isolated printable collection styles */
.math-downloads{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0;padding:20px;border-radius:18px;background:#eef8e9;border:1px solid #cce2be}.math-downloads a,.worksheet-link{display:inline-block;padding:10px 14px;border-radius:12px;background:#235b40;color:white;font-weight:700;text-decoration:none}.worksheet-thumb{width:92px;height:130px;object-fit:contain;flex-shrink:0;border:1px solid #d4e4d4;border-radius:8px;background:white}.worksheet-preview{display:block;width:100%;max-width:420px;height:auto;margin:12px auto}.worksheet-link{margin:6px 8px 6px 0}.modal-panel{max-height:90dvh;overflow-y:auto}@media(max-width:540px){.math-downloads{align-items:stretch;flex-direction:column}.worksheet-thumb{width:70px;height:99px}}

/* Collection downloads: consistent actions and responsive cards. */
.collection-packs{margin:22px 0 26px}.collection-heading{margin-bottom:14px}.collection-heading h3{margin:0 0 5px;font-size:20px}.collection-heading p{margin:0;color:#52705d;font-size:13px;line-height:1.5}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.collection-card{--collection-accent:#16794c;min-width:0;display:flex;flex-direction:column;padding:20px;border:1px solid #dce8db;border-top:4px solid var(--collection-accent);border-radius:18px;background:#fff;box-shadow:0 5px 18px #23442d09}.collection-literacy{--collection-accent:#2466a8}.collection-shapes{--collection-accent:#8752a5}.collection-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.collection-symbol{display:grid;place-items:center;min-width:48px;height:42px;padding:0 8px;border-radius:12px;background:#f0f7ed;color:var(--collection-accent);font-size:19px;font-weight:900}.collection-count{font-size:11px;font-weight:800;color:#587260;white-space:nowrap}.collection-card h4{font-size:18px;line-height:1.25;min-height:2.5em;margin:0 0 8px}.collection-card>p{font-size:13px;line-height:1.55;color:#52705d;margin:0 0 18px;min-height:3.1em}.collection-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto}.collection-downloads a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 8px;border-radius:10px;background:#235b40;color:#fff;font-weight:800;font-size:12px;text-align:center}.collection-downloads a:only-child{grid-column:1/-1}.collection-downloads a:hover{background:#174a31}.collection-guide{display:flex;justify-content:center;align-items:center;gap:6px;min-height:44px;margin:8px 0 10px;padding:8px;border:1px solid #d8e5da;border-radius:10px;font-size:12px;font-weight:700;color:#28573d;text-align:center}.collection-guide:hover{background:#f0f7ed}.collection-browse{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:10px 0 0;border:0;border-top:1px solid #e4ece3;background:transparent;color:var(--collection-accent);font-size:13px;font-weight:800}.collection-browse:hover{text-decoration:underline}@media(max-width:1000px){.collection-grid{grid-template-columns:1fr}.collection-card{padding:18px}.collection-card h4,.collection-card>p{min-height:0}.collection-card-top{margin-bottom:10px}.collection-card h4{font-size:18px}}@media(max-width:360px){.collection-downloads{grid-template-columns:1fr}}
