.header-actions{display:flex;align-items:center;gap:8px;order:4;}
.header-menu-toggle {display:none;}
@media(max-width:700px){
  .has-mobile-menu .header-menu-toggle {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;font:inherit;cursor:pointer;margin-left:auto;}
  .site-header .has-mobile-menu nav {display:none;}
  .site-header .has-mobile-menu.nav-open nav {display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;justify-content:flex-start;}
  .site-header .has-mobile-menu nav a {min-height:44px;display:inline-flex;align-items:center;}
  .site-header .has-mobile-menu {row-gap:10px;}
  .has-mobile-menu .header-search {gap:6px;}
  .has-mobile-menu .header-search select {width:82px;padding-left:8px;padding-right:4px;}
}

@media(max-width:700px){.site-header .has-mobile-menu .header-actions{order:0;margin-left:auto;}.header-actions .mini-toggle{background:#c9fa6a;color:#15200a;font-weight:700;border-color:#c9fa6a;white-space:nowrap;}.header-actions .mini-toggle[aria-pressed="true"]{background:#243413;color:#c9fa6a;}.site-header .has-mobile-menu{column-gap:12px;}}

/* Compact controls beside the logo; accessible name stays on the button. */
.header-actions .mini-toggle{width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:0;flex-shrink:0;}
.header-actions .mini-toggle::before{content:"▶";font-size:19px;line-height:1;}
.header-actions .mini-toggle[aria-pressed="true"]::before{content:"■";}
@media(max-width:700px){
.site-header .has-mobile-menu>a{flex:1;min-width:0;}
.site-header .has-mobile-menu>a img{width:100%;max-width:255px;height:auto;}
.site-header .has-mobile-menu .header-actions{flex:0 0 auto;margin-left:0;}
.site-header .has-mobile-menu .header-search{flex-basis:100%;}
}

/* Compact portal footer, matching the approved dark and lime palette. */
.footer.portal-footer{max-width:1280px;margin:48px auto 0;padding:24px;gap:24px;border-top:1px solid #7da63d;align-items:center;font-size:14px;}
.footer-brand{display:flex;flex-direction:column;gap:6px;}.footer-brand strong{font-size:20px;color:var(--text);}.footer-brand span{font-size:13px;}
.portal-footer nav{display:flex;flex-wrap:wrap;gap:8px 24px;}.portal-footer nav a{display:inline-flex;align-items:center;min-height:44px;}.portal-footer nav a:hover{color:var(--lime);}.portal-footer a:focus-visible{outline:2px solid var(--lime);outline-offset:4px;}
@media(max-width:700px){.footer.portal-footer{margin:32px 18px 0;padding:22px 0 64px;align-items:flex-start;}.portal-footer nav{flex-direction:column;gap:0;}.footer-brand strong{font-size:18px;}}

.footer-identity{display:flex;align-items:center;gap:16px;}.footer-identity img{display:block;width:72px;height:72px;object-fit:contain;}.footer-identity>a{flex-shrink:0;}@media(max-width:700px){.footer-identity{gap:12px;}.footer-identity img{width:64px;height:64px;}}

.footer-divider{display:none;}@media(max-width:700px){.portal-footer nav{flex-direction:row;align-items:center;flex-wrap:wrap;gap:0 6px;font-size:12px;}.footer-divider{display:inline;color:var(--muted);}.portal-footer nav a{white-space:nowrap;}}
