/* Top bar on a published handout or homework page: back to the class page and the PDF download. */
.hz-bar { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 18px; background: #1b2f36; color: #fff; font: 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Arial, sans-serif; }
.hz-bar a { color: #fff; text-decoration: none; font-weight: 700; }
.hz-bar .hz-bar-back { color: #a8e0cf; }
.hz-bar .hz-bar-title { flex: 1 1 auto; min-width: 0; font-weight: 600; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hz-bar .hz-bar-pdf { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 8px; background: #fff; color: #1b2f36; }
.hz-bar .hz-bar-pdf small { font-weight: 600; opacity: .75; }
.hz-bar a:focus-visible { outline: 3px solid #d39a2b; outline-offset: 2px; }
main > header .print { display: none !important; }
@media (max-width: 520px) { .hz-bar .hz-bar-title { flex-basis: 100%; order: 3; } }
@media print { .hz-bar { display: none !important; } }
