/* Shared Twig header and footer. Loaded after page styles on every non-admin page. */
html.site-shell .site-header:has(> .shared-site-header) { display: block; padding: 0; margin: 0; min-height: 82px; background: #fffefc; border: 0; border-bottom: 1px solid #ece9e2; }
html.site-shell .shared-site-header.head-inner { box-sizing: border-box; width: 100%; max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 19px 24px; gap: 20px; border: 0; color: #0b4337; font: 14px/1.5 Inter, system-ui, sans-serif; }
html.site-shell .shared-site-header .shared-brand { display: flex; flex-shrink: 0; align-items: center; gap: 11px; margin-right: auto; padding: 0; background: transparent; text-decoration: none; color: #0b4337; }
html.site-shell .shared-brand strong { display: block; font: 700 23px/1.1 Georgia, serif; letter-spacing: -.4px; }
html.site-shell .shared-brand small { display: block; margin-top: 3px; color: #687772; font: 500 11px/1.5 Inter, system-ui, sans-serif; letter-spacing: .15px; }
html.site-shell .shared-brand img { width: 35px; height: 35px; }
html.site-shell .shared-site-header .shared-desktop-nav { display: flex; align-items: center; gap: 30px; }
html.site-shell .shared-site-header .shared-desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; background: transparent; color: #38524a; font-size: 13px; font-weight: 600; text-decoration: none; }
html.site-shell .shared-site-header .shared-account-link,
html.site-shell .shared-site-header .shared-create-link { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; gap: 9px; min-height: 44px; padding: 12px 18px; border: 1px solid #cdd9d2; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
html.site-shell .shared-site-header .shared-account-link { background: transparent; color: #0b4337; }
html.site-shell .shared-site-header .shared-create-link { background: #8e1530; color: white; border-color: #8e1530; }
html.site-shell .shared-create-link img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
html.site-shell .shared-site-header .shared-menu-toggle { display: none; padding: 10px; border: 0; background: transparent; color: #0b4337; min-width: 44px; min-height: 44px; }
html.site-shell .shared-site-footer { margin: 0; padding: 0; background: #0c3f32; color: #e9f0eb; }
html.site-shell .shared-footer-inner { box-sizing: border-box; max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 25px; font: 12px/1.5 Inter, system-ui, sans-serif; }
html.site-shell .shared-site-footer a { background: transparent; color: inherit; border-radius: 0; padding: 0; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
html.site-shell .shared-footer-brand { gap: 11px; }
html.site-shell .shared-footer-brand strong { display: block; font: 700 19px/1.1 Georgia, serif; }
html.site-shell .shared-footer-brand small { display: block; margin-top: 3px; font-size: 11px; color: #b2c9bc; }
html.site-shell .shared-site-footer nav { display: flex; flex-wrap: wrap; gap: 0 26px; color: #c7dbcf; }
html.site-shell .shared-copyright { color: #aabfb4; }
html.site-shell .shared-site-footer a:hover { text-decoration: underline; }
@media (max-width: 1100px) { html.site-shell .shared-site-header .shared-desktop-nav { gap: 14px; } }
@media (max-width: 1000px) {
  html.site-shell .shared-site-header .shared-desktop-nav { display: none; }
  html.site-shell .shared-site-header .shared-menu-toggle { display: grid; place-items: center; }
  html.site-shell .shared-footer-inner { flex-wrap: wrap; }
}
@media (max-width: 650px) {
  html.site-shell .site-header:has(> .shared-site-header) { min-height: 66px; }
  html.site-shell .shared-site-header.head-inner { padding: 13px 18px; min-height: 66px; gap: 8px; }
  html.site-shell .shared-brand strong { font-size: 19px; }
  html.site-shell .shared-brand small { font-size: 9px; }
  html.site-shell .shared-brand img { width: 29px; height: 29px; }
  html.site-shell .shared-site-header .shared-account-link,
  html.site-shell .shared-site-header .shared-create-link { display: none; }
  html.site-shell .shared-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 25px 18px; }
}

html.site-shell .shared-footer-brand img { filter: brightness(0) invert(1); }

/* Keep the footer below content, and at the viewport bottom on short pages. */
body.site-layout { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.site-layout > .shared-site-footer { margin-top: auto; flex-shrink: 0; }
body.site-layout > .site-header { flex-shrink: 0; }
