/* One separate resource block, outside the school-program list. */
.r7-menu .runtime-menu-materials{margin-top:12px;padding:12px 0 0;border-top:1px solid var(--ui-line)}
.r7-menu .runtime-menu-materials>a{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--ui-accent-ink) 30%,var(--ui-line));border-radius:8px;background:color-mix(in srgb,var(--ui-accent-fill) 7%,var(--ui-panel));color:var(--ui-accent-ink);font-size:12px;line-height:1.4}
.r7-menu .runtime-menu-materials>a>span{flex:1;min-width:0}.r7-menu .runtime-menu-materials small{display:block;font-size:10px;color:var(--ui-muted);margin-top:3px}
.r7-menu .runtime-menu-materials>a:hover,.r7-menu .runtime-menu-materials>a:focus-visible{background:color-mix(in srgb,var(--ui-accent-fill) 14%,var(--ui-panel))}
.r7-menu .runtime-menu-materials>a>svg:last-child{width:15px}
/* Compact native menu: links and controller remain unchanged. */
html:root .r7-header .r7-menu{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:10px;align-content:start;width:360px;padding:12px;max-height:calc(100dvh - var(--r7-header-height,80px) - 20px)}
html:root .r7-header .r7-menu>*{grid-column:1/-1;min-width:0}
html:root .r7-menu .draft-menu-groups{gap:10px;padding-bottom:0;border-bottom:0}
html:root .r7-menu .r7-menu-label{margin:0 0 5px;font-size:10px;line-height:1.4;letter-spacing:.01em}
html:root .r7-menu>.r7-menu-label{margin-top:8px;padding-top:8px;border-top:1px solid var(--ui-line)}
html:root .r7-menu .draft-menu-courses,html:root .r7-menu .r7-menu-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
html:root .r7-menu .draft-menu-courses>a,html:root .r7-menu .r7-menu-pages>a{width:100%;height:auto;min-height:44px;padding:7px 8px;gap:6px;font-size:12px;line-height:1.3;white-space:normal}
html:root .r7-menu .draft-course-icon{width:16px;height:16px}
html:root .r7-menu .draft-course-label{min-width:0;overflow-wrap:break-word}
html:root .r7-menu .runtime-menu-materials{margin-top:8px;padding-top:8px;border-top:1px solid var(--ui-line)}
html:root .r7-menu .runtime-menu-materials>a{min-height:44px;padding:7px 9px;gap:7px}
html:root .r7-menu .runtime-menu-materials small{margin-top:1px}
html:root .r7-menu .orator-theme-section{margin-top:8px;padding-top:8px;padding-bottom:0}
html:root .r7-menu .orator-theme-row{min-height:44px}
html:root .r7-menu .orator-theme-two{min-height:44px}
html:root .r7-menu .r7-menu-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px}
html:root .r7-menu .r7-menu-sections>a{display:flex;align-items:center;min-height:34px;padding:4px 5px;font-size:12px;line-height:1.3}
html:root .r7-header .r7-menu>.r7-menu-contacts{grid-column:1;display:flex;gap:8px;align-items:center}
html:root .r7-menu .r7-menu-contacts>a{min-height:36px;gap:4px;font-size:11px;white-space:nowrap}
html:root .r7-menu .r7-menu-contacts svg{width:14px;height:14px;flex:none}
html:root .r7-header .r7-menu>.r7-phone{grid-column:2;display:flex;align-items:center;justify-self:end;min-height:36px;margin:0;font-size:11px;line-height:1.3;white-space:nowrap}
/* Keep guide layout independent of school hero/format CSS. Native header/menu
   dimensions and theme controls come from site-navigation.css. */
.oratorvl-guide-page .runtime-guide-header .r7-shell{display:flex;min-height:80px;max-width:1452px;padding-inline:26px;gap:20px}
.oratorvl-guide-page .runtime-guide-header .r7-actions{margin-left:auto;gap:15px}
.oratorvl-guide-page .runtime-guide-header .guide-course-return{font-size:13px;color:var(--ui-accent-ink);white-space:nowrap}
@media(max-width:650px){
 .oratorvl-guide-page .runtime-guide-header .r7-shell{min-height:72px;padding:10px 12px;gap:8px}
 .oratorvl-guide-page .runtime-guide-header .r7-actions{gap:6px}
 .oratorvl-guide-page .runtime-guide-header .r7-brand{gap:5px}
 .oratorvl-guide-page .runtime-guide-header .r7-brand strong{font-size:20px}
 .oratorvl-guide-page .runtime-guide-header .r7-brand>svg{width:20px}
 .oratorvl-guide-page .runtime-guide-header .guide-course-return{font-size:11px;gap:4px;white-space:normal;max-width:110px}
 .oratorvl-guide-page .runtime-guide-header .guide-course-return svg{width:15px;flex:none}
}
