/* Scoped Flowhaze opt-in banner. Does not change other design/layout selectors. */
#fh-consent-root, #fh-consent-root * {box-sizing:border-box}
#fh-consent-root {font:400 13px/1.5 Inter,Arial,sans-serif;color:#F4F4F4;position:fixed;z-index:2147483200;max-width:none;margin:0;}
#fh-consent-root.fh-consent-banner{right:14px;bottom:14px;width:min(485px,calc(100vw - 28px));}
#fh-consent-root.fh-consent-modal{inset:0;display:grid;place-items:center;background:rgba(0,0,0,.7);padding:16px;overflow:auto;}
body.fh-consent-open {overflow:hidden}
#fh-consent-root .fh-consent-panel{background:#0D0D0D;color:#F4F4F4;border:1px solid #525252;border-radius:15px;box-shadow:0 12px 50px rgba(0,0,0,.45);padding:21px 22px 17px;width:100%;}
#fh-consent-root.fh-consent-modal .fh-consent-panel{width:min(540px,100%);max-height:calc(100dvh - 32px);overflow:auto;}
#fh-consent-root h2{font-family:Inter,Arial,sans-serif;font-weight:650;font-size:18px;line-height:1.25;color:#F4F4F4;letter-spacing:-.02em;margin:0 0 9px;}
#fh-consent-root p{font-family:Inter,Arial,sans-serif;font-size:13px;line-height:1.55;color:#D1D1D1;margin:0 0 16px}
#fh-consent-root .fh-consent-actions{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:stretch;gap:7px;margin-top:14px}
#fh-consent-root button{border:1px solid #BFFF00;border-radius:7px;padding:10px 7px;font:600 11px/1.25 Inter,Arial,sans-serif;letter-spacing:0;background:#BFFF00;color:#0D0D0D;cursor:pointer;min-height:38px;box-shadow:none;text-transform:none;transition:background .12s,border .12s;}
#fh-consent-root button.fh-consent-outline{background:transparent;color:#F4F4F4;border-color:#888;}
#fh-consent-root button.fh-consent-text{color:#F4F4F4;background:transparent;border:none;padding:10px 4px;min-height:auto;text-decoration:underline;margin-top:4px}
#fh-consent-root button:hover{filter:brightness(.9)}
#fh-consent-root button:focus-visible, .fh-cookie-preferences-link:focus-visible{outline:3px solid #6F3BFF;outline-offset:2px}
#fh-consent-root .fh-consent-links{margin-top:10px;font-size:11px;color:#B3B3B3;text-align:center}
#fh-consent-root a{color:#F4F4F4;text-decoration:underline;text-underline-offset:3px}
#fh-consent-root .fh-consent-options{display:grid;gap:2px;max-height:52dvh;overflow:auto;border-top:1px solid #444;border-bottom:1px solid #444;margin:12px 0}
#fh-consent-root .fh-consent-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;color:#F4F4F4;cursor:pointer;border-bottom:1px solid #333}
#fh-consent-root .fh-consent-option:last-child{border-bottom:0}
#fh-consent-root .fh-consent-option span{display:flex;flex-direction:column;gap:3px}
#fh-consent-root .fh-consent-option strong{font-size:12px;line-height:1.25;font-weight:650}
#fh-consent-root .fh-consent-option small{font-size:11px;line-height:1.35;color:#BABABA}
#fh-consent-root .fh-consent-option input{width:18px;height:18px;accent-color:#BFFF00;cursor:pointer;flex:none}
#fh-consent-root .fh-consent-option input:disabled{cursor:not-allowed;opacity:.55}
#fh-consent-root .fh-consent-gpc{color:#BFFF00;font-size:12px}
.fh-cookie-preferences-link{font:inherit;color:inherit;border:0;background:transparent;text-align:left;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.fh-form-privacy{font-size:12px;line-height:1.5;opacity:.8;margin-top:12px}
.fh-form-status{padding:11px 13px;margin:10px 0;color:#0D0D0D;background:#E6FBB3;border-radius:8px}
.fh-form-status[data-status="error"]{color:#6E120A;background:#FFE1D8}
@media(max-width:540px){#fh-consent-root.fh-consent-banner{right:8px;bottom:8px;width:calc(100vw - 16px)}#fh-consent-root .fh-consent-panel{padding:18px 15px}#fh-consent-root h2{font-size:17px}#fh-consent-root p{font-size:12px}#fh-consent-root .fh-consent-actions{gap:6px}#fh-consent-root button{font-size:10px;padding:9px 4px;min-height:42px}}
@media(prefers-reduced-motion:reduce){#fh-consent-root button{transition:none}}

/* Footer-only layout correction: keep Cookie preferences directly beside Cookie Policy.
   The existing desktop theme translates the legal anchors -100px; align the
   preferences button to them without modifying the footer's other elements. */
.site-footer .footer-legal-links .fh-footer-cookie-pair {
  display:inline-flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}
@media (min-width:768px) {
  .site-footer .footer-legal-links .fh-footer-cookie-pair > .fh-cookie-preferences-link {
    translate:-100px 0!important;
  }
}
@media (max-width:767px) {
  .site-footer .footer-legal-links .fh-footer-cookie-pair > .fh-cookie-preferences-link {
    translate:none!important;
  }
}

/* Align the four footer legal link baselines; preserve the grouped mobile pair. */
@media (min-width:768px) {
  .site-footer .footer-legal-links .fh-footer-cookie-pair {
    align-items:flex-start;
  }
}
@media (max-width:767px) {
  .site-footer .footer-legal-links .fh-footer-cookie-pair > .fh-cookie-preferences-link {
    display:inline-flex;
    align-items:center;
    min-height:24px;
  }
}

/* Mobile-only collapsible footer navigation. Desktop markup/styles stay intact. */
.site-footer .fh-footer-toggle{display:none!important}
@media(max-width:767px){
.site-footer .footer-col.fh-footer-accordion>span:first-child{display:none!important}
.site-footer .footer-col.fh-footer-accordion>.fh-footer-toggle{display:flex!important;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;}
.site-footer .fh-footer-toggle::after{content:'+';font-size:20px;line-height:1}
.site-footer .fh-footer-toggle[aria-expanded="true"]::after{content:'−'}
.site-footer .footer-col.fh-footer-accordion:not(.fh-footer-expanded)>a{display:none!important}
.site-footer .fh-footer-toggle:focus-visible{outline:2px solid #6F3BFF;outline-offset:4px}
}

/* CookieConsent supplies state only. Flowhaze owns the visible consent interface. */
#cc-main{display:none!important}
@media(max-width:767px){
html[data-page][data-page] body .site-footer .footer-main>.footer-col.fh-footer-accordion>span:first-child{display:none!important}
html[data-page][data-page] body .site-footer .footer-main>.footer-col.fh-footer-accordion:not(.fh-footer-expanded)>a{display:none!important}
html[data-page][data-page] body .site-footer .footer-main>.footer-col.fh-footer-accordion.fh-footer-expanded>a{display:block!important}
html[data-page][data-page] body .site-footer .footer-main>.footer-col.fh-footer-accordion>.fh-footer-toggle{font:500 11px/1.5 'DM Mono',monospace!important;letter-spacing:.12em!important;min-height:44px!important;touch-action:manipulation;}
html[data-page][data-page] body .site-footer .footer-brand{width:100%!important;text-align:center!important;align-items:center!important;justify-self:center!important;margin-left:auto!important;margin-right:auto!important;}
html[data-page][data-page] body .site-footer .footer-brand img{display:block!important;margin-left:auto!important;margin-right:auto!important;}
html[data-page][data-page] body .site-footer .footer-bottom .footer-legal-links{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;margin:8px 0!important;padding:0!important;}
html[data-page][data-page] body .site-footer .footer-bottom .footer-legal-links .fh-footer-cookie-pair{display:contents!important;}
html[data-page][data-page] body .site-footer .footer-bottom .footer-legal-links a,
html[data-page][data-page] body .site-footer .footer-bottom .footer-legal-links button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;font:400 clamp(9px,2.35vw,11px)/1.3 Inter,Arial,sans-serif!important;white-space:nowrap!important;translate:none!important;margin:0!important;padding:0!important;width:auto!important;min-width:0!important;}
}

/* v24: approved banner hierarchy; preferences dialog keeps its existing layout. */
#fh-consent-root.fh-consent-banner .fh-consent-actions{display:flex;flex-direction:column;gap:0}
#fh-consent-root.fh-consent-banner .fh-consent-actions>button{width:100%;min-height:46px;padding:13px 16px;font-size:13px;font-weight:650}
#fh-consent-root.fh-consent-banner .fh-consent-secondary{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:22px;margin-top:3px}
#fh-consent-root.fh-consent-banner .fh-consent-secondary button.fh-consent-text{min-height:44px;margin:0;padding:11px 0;font-size:12px;line-height:1.4;font-weight:400;text-underline-offset:3px}
#fh-consent-root.fh-consent-banner .fh-consent-links{margin-top:0;text-align:center;font-size:11px}
#fh-consent-root.fh-consent-banner .fh-consent-links a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;color:#BDBDBD}

/* v25: all four secondary controls on one centered line. */
#fh-consent-root.fh-consent-banner .fh-consent-secondary{flex-wrap:nowrap;column-gap:14px;margin-top:5px;width:100%}
#fh-consent-root.fh-consent-banner .fh-consent-secondary .fh-consent-links{display:contents;font-size:0}
#fh-consent-root.fh-consent-banner .fh-consent-secondary button.fh-consent-text,
#fh-consent-root.fh-consent-banner .fh-consent-secondary .fh-consent-links a{font-size:11px;line-height:1.4;font-weight:400;color:#D1D1D1;white-space:nowrap;min-height:44px;padding:10px 0;margin:0;text-decoration:underline;text-underline-offset:3px;flex-shrink:0}
#fh-consent-root.fh-consent-banner .fh-consent-secondary .fh-consent-links span{position:absolute;left:15px;right:15px;bottom:2px;text-align:center;font-size:9px}
@media(max-width:540px){
#fh-consent-root.fh-consent-banner .fh-consent-secondary{column-gap:clamp(5px,1.7vw,10px)}
#fh-consent-root.fh-consent-banner .fh-consent-secondary button.fh-consent-text,
#fh-consent-root.fh-consent-banner .fh-consent-secondary .fh-consent-links a{font-size:clamp(8px,2.35vw,10px)}
}
