/* The main menu is shared by Astra's desktop and mobile headers. Native details also work without JS. */
#masthead .mzp-nav-item{position:relative;display:flex;align-items:center;line-height:1.4}
#masthead .mzp-nav-item>a.menu-link,#masthead .mzp-disclosure>summary{box-sizing:border-box;display:flex;align-items:center;gap:.55em;min-height:44px;height:auto;padding:8px clamp(9px,1.15vw,19px);border:0;background:transparent;color:#24493f;font:600 1rem/1.4 system-ui,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap}
#masthead .mzp-disclosure{position:relative;margin:0;border:0;padding:0;background:none}
#masthead .mzp-disclosure>summary{list-style:none}
#masthead .mzp-disclosure>summary::-webkit-details-marker{display:none}
#masthead .mzp-disclosure>summary:after{content:"";width:.43em;height:.43em;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:translateY(-.1em) rotate(45deg)}
#masthead .mzp-disclosure[open]>summary:after{transform:translateY(.1em) rotate(225deg)}
#masthead .mzp-disclosure[open]>summary,#masthead .mzp-section-active>summary,#masthead .mzp-nav-item>a:hover,#masthead .mzp-disclosure>summary:hover{background:#eff5f1;color:#164c3e;border-radius:8px}
#masthead .mzp-nav-accent>a.menu-link,#masthead .mzp-nav-accent>a.menu-link:is(:visited,:hover,:focus){color:#fff!important;background:#245548!important;border-radius:9px;margin-inline-start:.4rem}
#masthead .mzp-subnav{position:absolute;inset-block-start:100%;inset-inline-end:0;z-index:10002;min-width:max-content;max-width:min(23rem,90vw);padding:.38rem;border:1px solid #cad9d0;border-radius:10px;background:#fffefb;box-shadow:0 8px 24px #193e3224;line-height:1.45}
#masthead .mzp-subnav a{display:flex;align-items:center;min-height:42px;padding:.4rem .8rem;color:#204b3e;font:500 .96rem/1.45 system-ui,sans-serif;text-decoration:none;border-radius:6px}
#masthead .mzp-subnav a:hover,#masthead .mzp-subnav a:focus-visible{background:#ecf3ee}
#masthead .mzp-nav-item :is(a,summary):focus-visible,.mzp-subjects :is(a,summary):focus-visible,.mzp-teacher-module :is(a,summary):focus-visible{outline:3px solid #ad7424;outline-offset:2px}
#ast-mobile-site-navigation .mzp-nav-item,#ast-mobile-site-navigation .mzp-disclosure{display:block;width:100%}
#ast-mobile-site-navigation .mzp-nav-item>a.menu-link,#ast-mobile-site-navigation .mzp-disclosure>summary{padding:12px 20px;width:100%;justify-content:space-between;white-space:normal}
#ast-mobile-site-navigation .mzp-subnav{position:static;max-width:100%;min-width:0;border:0;border-radius:0;box-shadow:none;padding-block:.15rem .45rem;padding-inline:1.5rem .5rem;background:#f3f7f3}
#ast-mobile-site-navigation .mzp-nav-accent>a.menu-link{margin:0;border-radius:0}
.mz67-home .mzp-subjects,.mz67-home .mzp-teacher-module{padding:clamp(18px,3vw,36px);margin:clamp(16px,2.5vw,32px) 0;border:1px solid #d4dfd6;border-radius:16px;background:#fffefa;color:#233e33}
.mzp-module-head,.mzp-match-links,.mzp-teacher-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.45rem 1rem}
.mz67-home .mzp-module-head h2{margin:0;color:#204338;font-size:clamp(1.35rem,2.2vw,1.85rem);line-height:1.3}
.mzp-module-head{margin-block-end:1rem}.mzp-module-link,.mzp-match-links a,.mzp-teacher-actions a{display:inline-flex;align-items:center;min-height:44px;color:#245747;font-weight:600;text-decoration:underline;text-underline-offset:.18em}
.mzp-subjects .mz67-subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.mzp-subjects .mz67-subject-grid a{display:flex;gap:.6rem;align-items:center;min-width:0;min-height:46px;border:1px solid #d8e1d9;border-radius:8px;padding:7px 10px;color:#264437;text-decoration:none;background:#f7f9f4}
.mzp-subjects .mz67-subject-grid a>span:last-child{margin-inline-start:auto}.mzp-subjects .mz67-subject-grid a:hover{border-color:#638577}
.mzp-subject-more>summary,.mzp-teacher-module>details>summary{min-height:44px;padding:.65rem 0;color:#245748;font-weight:600;cursor:pointer}
.mzp-match-links{justify-content:flex-start;border-top:1px solid #d6dfd5;margin-top:.6rem;padding-top:.5rem}.mzp-match-links .mzp-match,.mzp-teacher-actions .mzp-teacher-signin{border-radius:7px;background:#e6efe8;padding:.4rem .8rem;text-decoration:none}
.mzp-teacher-actions{justify-content:flex-start}.mzp-teacher-module>details{margin-top:.55rem;border-top:1px solid #d6dfd5}.mzp-teacher-module .mz67-steps{margin-top:0}
@media(max-width:700px){.mzp-subjects .mz67-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mzp-subjects .mz67-subject-grid a{overflow-wrap:anywhere}.mzp-teacher-module .mz67-steps{grid-template-columns:1fr}}
