/* Alter8ight universal full-screen navigation. Loaded on every managed front-end page. */
.a8p-menu-toggle{overflow:visible;}
@media(max-width:1100px){
  .a8p-header{z-index:1002;}
  .a8p-header-inner{gap:12px;}
  .a8p-nav{display:none!important;}
  .a8p-header-actions{margin-left:auto;position:relative;z-index:1003;}
  .a8p-header-actions .a8p-button{display:none!important;}
  .a8p-menu-toggle{display:grid!important;position:relative;z-index:1004;width:44px;height:44px;padding:0;border-radius:50%;background:transparent;}
}
.a8p-menu-toggle span{position:absolute;left:50%;top:var(--a8p-menu-line-y,20px);width:20px;height:2.5px;margin-left:-10px;border:0 solid currentColor;border-radius:3px;background:var(--a8p-ink);transform:none;transition:all .55s cubic-bezier(.7,0,.2,1);}
.a8p-menu-toggle span:nth-child(1){--a8p-menu-line-y:14px;}
.a8p-menu-toggle span:nth-child(2){--a8p-menu-line-y:20.5px;}
.a8p-menu-toggle span:nth-child(3){--a8p-menu-line-y:27px;}
.a8p-menu-toggle[aria-expanded=true] span:nth-child(1){top:8px;width:13px;height:13px;margin-left:-6.5px;background:transparent;border-width:2.5px;border-radius:50%;}
.a8p-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0;transform:scaleX(0);}
.a8p-menu-toggle[aria-expanded=true] span:nth-child(3){top:19px;width:16px;height:16px;margin-left:-8px;background:transparent;border-width:2.5px;border-radius:50%;}
body.a8p-menu-open{overflow:hidden!important;}
body.a8p-menu-open .a8p-header{background:var(--a8p-bg)!important;background-color:var(--a8p-bg)!important;border-bottom-color:var(--a8p-line);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 10px 28px rgba(10,12,20,.08);}
.a8p-mobile-nav{
  position:fixed;inset:0;z-index:1001;display:none;flex-direction:column;justify-content:flex-start;gap:26px;
  padding:var(--a8p-mobile-nav-content-top,104px) 24px calc(28px + env(safe-area-inset-bottom,0px));
  overflow:auto;overscroll-behavior:contain;color:var(--a8p-ink);background:var(--a8p-bg);
  visibility:hidden;pointer-events:none;
  clip-path:circle(0 at var(--a8p-menu-origin-x,calc(100% - 42px)) var(--a8p-menu-origin-y,-41px));
  transition:clip-path .75s cubic-bezier(.7,0,.2,1),visibility 0s linear .75s;
}
@media(max-width:1100px){.a8p-mobile-nav:not([hidden]){display:flex!important;}}
body.a8p-menu-open .a8p-mobile-nav{
  display:flex;visibility:visible;pointer-events:auto;
  clip-path:circle(150vmax at var(--a8p-menu-origin-x,calc(100% - 42px)) var(--a8p-menu-origin-y,-41px));
  transition:clip-path .75s cubic-bezier(.7,0,.2,1),visibility 0s;
}
.a8p-mobile-nav-inner{position:relative;z-index:1;display:flex;flex-direction:column;gap:25px;width:min(100%,1240px);margin-inline:auto;}
.a8p-mobile-nav nav{position:relative;z-index:1;display:flex;flex-direction:column;width:100%;}
.a8p-mobile-nav nav>a{
  display:flex;align-items:baseline;justify-content:space-between;gap:15px;
  padding:5px 0;border:0;border-bottom:1px solid var(--a8p-line);border-radius:0;background:transparent;
  color:var(--a8p-ink);font-family:var(--a8p-font-head);font-size:clamp(1.8rem,7vw,3.4rem);font-weight:850;line-height:1.06;letter-spacing:-.055em;
  opacity:0;transform:translateY(26px);transition:opacity .35s,transform .35s;
}
.a8p-mobile-nav nav>a small{color:var(--a8p-muted);font-family:var(--a8p-font-body);font-size:10px;font-weight:750;letter-spacing:.12em;}
.a8p-mobile-nav nav>a[aria-current=page]{color:var(--a8p-accent);background:transparent;}
body.a8p-menu-open .a8p-mobile-nav nav>a{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1);transition-delay:calc(.28s + var(--a8p-menu-index,0)*.055s);}
.a8p-mobile-mark{position:absolute;right:-14%;top:50%;width:min(96vw,680px);height:auto;transform:translateY(-50%);opacity:.105;pointer-events:none;color:var(--a8p-ink);}
.a8p-mobile-mark path{stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .5s;}
body.a8p-menu-open .a8p-mobile-mark path{stroke-dashoffset:0;transition:stroke-dashoffset 1.5s .3s cubic-bezier(.5,0,.2,1);}
.a8p-mobile-meta{position:relative;z-index:1;max-width:360px;color:var(--a8p-muted);font-size:12px;opacity:0;transition:opacity .4s;}
body.a8p-menu-open .a8p-mobile-meta{opacity:1;transition:opacity .6s .75s;}
.a8p-mobile-colour-dots{display:flex;align-items:flex-end;gap:6px;margin-bottom:17px;}
.a8p-mobile-colour-dots i{display:block;width:9px;height:9px;border-radius:50%;background:var(--a8p-accent);}
.a8p-mobile-colour-dots i:nth-child(2){background:var(--a8p-accent-2);width:8px;height:8px;}
.a8p-mobile-colour-dots i:nth-child(3){background:#00c060;width:7px;height:7px;}
.a8p-mobile-colour-dots i:nth-child(4){background:#8b5cf6;width:6px;height:6px;}
.a8p-mobile-colour-dots i:nth-child(5){background:#ff3b30;width:5px;height:5px;}
.a8p-mobile-meta-label{display:block;margin-bottom:7px;font-size:9px;font-weight:850;letter-spacing:.16em;}
.a8p-mobile-meta p{margin:5px 0 0;color:var(--a8p-muted);font-size:12px;}
.a8p-mobile-email{display:inline-block;color:var(--a8p-ink);font-size:13px;font-weight:750;}
.a8p-mobile-nav .a8p-mobile-cta{display:inline-flex;align-items:center;gap:12px;margin-top:17px;padding:12px 0 0;border:0;background:none;color:var(--a8p-accent);font-size:13px;font-weight:800;}
.a8p-mobile-nav a:focus-visible,.a8p-menu-toggle:focus-visible{outline:2px solid var(--a8p-accent);outline-offset:5px;}
@media(min-width:760px) and (max-width:1100px){
  .a8p-mobile-nav{padding-left:max(42px,6vw);padding-right:max(42px,6vw);}
  .a8p-mobile-nav-inner{flex-direction:row;align-items:center;justify-content:space-between;gap:48px;}
  .a8p-mobile-nav nav{max-width:650px;}
  .a8p-mobile-nav nav>a{font-size:clamp(2rem,4.5vw,3.5rem);}
  .a8p-mobile-meta{min-width:230px;}
}
@media(max-height:560px){
  .a8p-mobile-nav{padding-top:calc(var(--a8p-mobile-nav-content-top,82px) + 8px);padding-bottom:20px;}
  .a8p-mobile-nav nav>a{font-size:clamp(1.55rem,6vh,2.5rem);padding:3px 0;}
  .a8p-mobile-nav-inner{gap:15px;}
}
@media(prefers-reduced-motion:reduce){
  .a8p-mobile-nav,.a8p-mobile-nav nav>a,.a8p-mobile-mark path,.a8p-mobile-meta,.a8p-menu-toggle span{transition:none!important;}
  .a8p-mobile-nav{clip-path:none;}
  body.a8p-menu-open .a8p-mobile-nav{clip-path:none;}
  .a8p-mobile-nav nav>a,.a8p-mobile-meta{opacity:1;transform:none;}
  .a8p-mobile-mark path{stroke-dashoffset:0;}
}


/* v0.14.0: the overlay is detached to body, so theme contrast must not depend on .a8p-platform ancestry. */
html .a8p-mobile-nav nav>a[aria-current=page]{color:var(--a8p-accent-text);}
html .a8p-mobile-nav .a8p-mobile-cta{color:var(--a8p-accent-text);}

/* v0.22.4: full-viewport scroll layer sits behind the fixed header. The first
   item starts below the header; later items can scroll underneath it. */
@media(max-width:1100px){
  .a8p-mobile-nav{top:0!important;bottom:0!important;justify-content:flex-start!important;}
  body.a8p-menu-open .a8p-header{position:sticky;top:var(--a8p-adminbar-offset,0px);z-index:1002;}
  .a8p-mobile-nav-inner{margin-top:0;}
}


/* v0.22.14 — hamburger to Alter8ight figure-eight transition. */
.a8p-menu-toggle-icon{display:block;width:23px;height:23px;overflow:visible;}
.a8p-menu-glyph-lines{transform-origin:16px 16px;opacity:1;transform:scale(1) rotate(0);transition:opacity .2s ease,transform .42s cubic-bezier(.2,.75,.2,1);}
.a8p-menu-glyph-eight{stroke-dasharray:100;stroke-dashoffset:100;opacity:0;transform-origin:16px 16px;transform:scale(.82) rotate(-24deg);transition:stroke-dashoffset .62s cubic-bezier(.2,.75,.2,1),opacity .2s ease,transform .48s cubic-bezier(.2,.75,.2,1);}
.a8p-menu-toggle.is-open .a8p-menu-glyph-lines,[data-gallery-app-menu].is-open .a8p-menu-glyph-lines{opacity:0;transform:scale(.72) rotate(-34deg);}
.a8p-menu-toggle.is-open .a8p-menu-glyph-eight,[data-gallery-app-menu].is-open .a8p-menu-glyph-eight{stroke-dashoffset:0;opacity:1;transform:scale(1) rotate(0);}
.a8p-menu-toggle:not(.is-open) .a8p-menu-glyph-eight,[data-gallery-app-menu]:not(.is-open) .a8p-menu-glyph-eight{transition-delay:0s;}
@media(prefers-reduced-motion:reduce){.a8p-menu-glyph-lines,.a8p-menu-glyph-eight{transition:none!important;}}


/* v0.31.3 — clean signed-in header controls and responsive Hub identity footer. */
.a8p-header-actions{display:flex;align-items:center;gap:10px;}
.a8p-header-account{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;flex:0 0 39px;padding:2px;border:1px solid var(--a8p-line);border-radius:50%;background:var(--a8p-surface,transparent);color:inherit;text-decoration:none;overflow:hidden;transition:border-color .2s,transform .2s;}
.a8p-header-account:hover{border-color:var(--a8p-accent);transform:translateY(-1px);}
.a8p-header-account-avatar,.a8p-header-account-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;}
.a8p-header-account:focus-visible{outline:2px solid var(--a8p-accent);outline-offset:3px;}
.a8p-mobile-account-actions.is-authenticated{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:22px 0 8px;padding:16px 0;border-top:1px solid currentColor;border-bottom:1px solid currentColor;}
.a8p-mobile-account-identity{display:flex;align-items:center;gap:11px;min-width:0;color:inherit;text-decoration:none;}
.a8p-mobile-account-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;overflow:hidden;border:1px solid currentColor;border-radius:50%;opacity:.95;}
.a8p-mobile-account-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;}
.a8p-mobile-account-copy{display:grid;gap:3px;min-width:0;}
.a8p-mobile-account-copy strong{max-width:100%;overflow:hidden;color:var(--a8p-ink);font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;}
.a8p-mobile-account-copy small{max-width:100%;overflow-wrap:anywhere;color:var(--a8p-muted);font-size:11px;}
.a8p-mobile-account-links{display:flex;flex-wrap:wrap;gap:8px;}
.a8p-mobile-account-links a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid currentColor;border-radius:999px;color:inherit;text-decoration:none;font-size:11px;font-weight:750;}
.a8p-mobile-account-links a:hover,.a8p-mobile-account-links a:focus-visible{border-color:var(--a8p-accent);color:var(--a8p-accent-text);background:var(--a8p-accent);outline:0;}
.a8p-mobile-account-links .a8p-mobile-account-signout{opacity:.75;}
@media(min-width:760px) and (max-width:1100px){
  .a8p-mobile-nav-inner{flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:28px!important;}
  .a8p-mobile-nav nav{width:100%;max-width:none!important;}
  .a8p-mobile-meta{width:100%;max-width:none;min-width:0!important;}
  .a8p-mobile-account-actions:not(.is-authenticated){grid-template-columns:minmax(0,1fr)!important;max-width:430px;}
  .a8p-mobile-account-actions:not(.is-authenticated) .a8p-mobile-account-heading{grid-column:1;}
  .a8p-mobile-account-actions.is-authenticated{max-width:520px;}
}
@media(max-width:560px){
  .a8p-header-account{width:36px;height:36px;flex-basis:36px;}
  .a8p-header-actions{gap:7px;}
  .a8p-mobile-account-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .a8p-mobile-account-links .a8p-mobile-account-signout{grid-column:1/-1;}
}


/* 0.31.5 — tablet navigation hierarchy and dedicated account footer. */
.a8p-mobile-nav-footer{position:relative;z-index:2;width:100%;box-sizing:border-box;margin-top:8px;padding:15px 0 4px;border-top:1px solid var(--a8p-line);}
.a8p-mobile-nav-footer .a8p-mobile-account-actions{width:100%;max-width:none;box-sizing:border-box;margin:0;padding:0;border:0;}
.a8p-mobile-nav-footer .a8p-mobile-account-actions.is-authenticated{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;}
.a8p-mobile-nav-footer .a8p-mobile-account-actions:not(.is-authenticated){display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,auto) minmax(150px,auto);align-items:center;gap:10px;}
.a8p-mobile-nav-footer .a8p-mobile-account-heading{grid-column:1;align-self:center;}
.a8p-mobile-nav-footer .a8p-mobile-account-actions>a{min-height:40px;border:0;border-radius:10px;background:var(--a8p-surface,rgba(127,127,127,.08));}
.a8p-mobile-nav-footer .a8p-mobile-account-actions .a8p-mobile-account-signup{background:var(--a8p-accent);color:#fff;}
.a8p-mobile-nav-footer .a8p-mobile-account-links{display:flex;align-items:center;justify-content:flex-start;gap:9px;}
.a8p-mobile-nav-footer .a8p-mobile-account-links a{min-height:36px;border:0;border-radius:9px;background:var(--a8p-surface,rgba(127,127,127,.08));}
.a8p-mobile-nav-footer .a8p-mobile-account-links .a8p-mobile-account-signout{background:transparent;opacity:.7;}
@media(min-width:760px) and (max-width:1100px){
  .a8p-mobile-nav{align-items:stretch!important;justify-content:flex-start!important;padding-top:var(--a8p-mobile-nav-content-top,104px)!important;padding-bottom:calc(26px + env(safe-area-inset-bottom,0px))!important;}
  .a8p-mobile-nav-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:20px!important;width:min(100%,960px)!important;max-width:960px;margin:0 auto!important;}
  .a8p-mobile-nav nav{order:0;width:100%;max-width:none!important;}
  .a8p-mobile-nav nav>a{font-size:clamp(1.65rem,3.4vw,2.7rem)!important;padding:5px 0!important;line-height:1.1!important;}
  .a8p-mobile-meta{order:1;width:100%;max-width:none!important;min-width:0!important;display:flex;align-items:center;flex-wrap:wrap;gap:7px 15px;margin:0!important;padding:0!important;}
  .a8p-mobile-meta .a8p-mobile-colour-dots{margin:0 2px 0 0;}
  .a8p-mobile-meta .a8p-mobile-meta-label{margin:0;}
  .a8p-mobile-meta p{margin:0;}
  .a8p-mobile-meta .a8p-language-switcher,.a8p-mobile-meta .a8p-app-install-link{margin:0 0 0 8px;}
  .a8p-mobile-nav-footer{order:2;display:block;width:100%;max-width:none;margin:2px 0 0;padding:17px 0 0;border-top:1px solid var(--a8p-line);}
  .a8p-mobile-nav-footer .a8p-mobile-account-actions.is-authenticated{grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);align-items:center;gap:18px;}
  .a8p-mobile-nav-footer .a8p-mobile-account-identity{min-width:0;}
  .a8p-mobile-nav-footer .a8p-mobile-account-links{justify-content:flex-end;flex-wrap:wrap;}
  .a8p-mobile-nav-footer .a8p-mobile-account-actions:not(.is-authenticated){grid-template-columns:minmax(0,1fr) minmax(120px,170px) minmax(160px,210px);max-width:none!important;}
}
@media(max-width:759px){
  .a8p-mobile-nav-footer{margin-top:8px;padding-top:15px;}
  .a8p-mobile-nav-footer .a8p-mobile-account-actions:not(.is-authenticated){grid-template-columns:repeat(2,minmax(0,1fr));}
  .a8p-mobile-nav-footer .a8p-mobile-account-heading{grid-column:1/-1;}
  .a8p-mobile-nav-footer .a8p-mobile-account-actions.is-authenticated{grid-template-columns:minmax(0,1fr);}
  .a8p-mobile-nav-footer .a8p-mobile-account-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
  .a8p-mobile-nav-footer .a8p-mobile-account-links a{min-width:0;padding:7px 5px;font-size:10px;white-space:nowrap;}
  .a8p-mobile-nav-footer .a8p-mobile-account-links .a8p-mobile-account-signout{grid-column:auto;}
}


/* v0.31.8 — keep the language selector and install link together in the
   navigation drawer at phone and tablet widths, independent of provider CSS. */
.a8p-mobile-nav-tools{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-flow:row nowrap!important;gap:10px!important;width:max-content!important;max-width:100%!important;margin:14px 0 0!important;}
.a8p-mobile-nav-tools>.a8p-language-switcher{display:inline-flex!important;align-items:center!important;flex:0 1 126px!important;min-width:0!important;width:auto!important;max-width:126px!important;margin:0!important;overflow:visible!important;}
.a8p-mobile-nav-tools>.a8p-language-switcher select{width:126px!important;min-width:0!important;max-width:126px!important;min-height:34px!important;padding:6px 24px 6px 10px!important;}
.a8p-mobile-nav-tools>.a8p-language-switcher--third-party :is(.gtranslate_wrapper,.gt_switcher,.gt_float_switcher){display:inline-block!important;width:max-content!important;max-width:126px!important;min-width:0!important;}
.a8p-mobile-nav-tools>.a8p-language-switcher--third-party :is(.gt_selector,.goog-te-combo,select){width:auto!important;min-width:0!important;max-width:126px!important;min-height:34px!important;}
.a8p-mobile-nav-tools>.a8p-app-install-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:34px!important;margin:0!important;padding:7px 11px!important;border:1px solid var(--a8p-line)!important;border-radius:999px!important;background:var(--a8p-surface,rgba(127,127,127,.08))!important;color:inherit!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;text-decoration:none!important;}
.a8p-mobile-nav-tools>.a8p-app-install-link svg{width:14px!important;height:14px!important;flex:0 0 14px!important;}
.a8p-mobile-nav-tools>.a8p-app-install-link:hover{border-color:var(--a8p-accent)!important;color:var(--a8p-accent-text)!important;}
.a8p-mobile-nav-footer .a8p-mobile-account-links .a8p-mobile-account-signout{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:8px 12px!important;border:1px solid color-mix(in srgb,var(--a8p-accent,#e82c78) 28%,var(--a8p-line))!important;border-radius:10px!important;background:color-mix(in srgb,var(--a8p-accent,#e82c78) 9%,transparent)!important;color:var(--a8p-accent-text,var(--a8p-accent,#e82c78))!important;font-weight:800!important;opacity:1!important;}
.a8p-footer-experience-controls{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:9px!important;white-space:nowrap!important;}
.a8p-footer-experience-controls .a8p-language-switcher,.a8p-footer-experience-controls .a8p-language-switcher--third-party{display:inline-flex!important;flex:0 0 auto!important;width:max-content!important;max-width:112px!important;min-width:0!important;margin:0!important;}
@media(min-width:760px) and (max-width:1100px){
 .a8p-mobile-nav-tools{gap:12px!important;margin-top:16px!important;}
 .a8p-mobile-nav-tools>.a8p-language-switcher{flex-basis:132px!important;max-width:132px!important;}
 .a8p-mobile-nav-tools>.a8p-language-switcher select{width:132px!important;max-width:132px!important;}
}
@media(max-width:759px){
 .a8p-mobile-nav-tools{gap:8px!important;max-width:100%!important;}
 .a8p-mobile-nav-tools>.a8p-language-switcher{flex-basis:112px!important;max-width:112px!important;}
 .a8p-mobile-nav-tools>.a8p-language-switcher select{width:112px!important;max-width:112px!important;min-height:33px!important;font-size:10px!important;}
 .a8p-mobile-nav-tools>.a8p-app-install-link{padding:7px 9px!important;font-size:10px!important;}
 .a8p-mobile-nav-footer .a8p-mobile-account-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;}
 .a8p-mobile-nav-footer .a8p-mobile-account-links a{min-width:0!important;padding:8px 5px!important;font-size:10px!important;white-space:nowrap!important;}
}

/* Signed-in account quick access: compact desktop and mobile avatar-anchored popover. */
.a8p-header-account-wrap{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}
.a8p-header-account-wrap .a8p-header-account{position:relative;overflow:visible;cursor:pointer}
.a8p-header-account-wrap .a8p-header-account-avatar{overflow:hidden;border-radius:50%;width:100%;height:100%}
.a8p-header-account-chevron{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:16px;height:16px;border:2px solid var(--a8p-header-bg,#fff);border-radius:50%;background:var(--a8p-accent,#76b83d);color:#fff;font-size:10px;line-height:1}
.a8p-header-account-menu{box-sizing:border-box;position:absolute;z-index:10020;top:calc(100% + 12px);right:0;width:min(340px,calc(100vw - 28px));max-height:min(680px,80vh);overflow:auto;padding:10px;border:1px solid var(--a8p-line,#dfe6dc);border-radius:19px;background:var(--a8p-surface,#fff);color:var(--a8p-text,#17221a);box-shadow:0 24px 65px rgba(5,18,9,.2);transform-origin:top right;animation:a8p-account-menu-in .18s ease-out}
.a8p-header-account-menu[hidden]{display:none!important}
.a8p-header-account-menu-head{display:grid;gap:3px;padding:13px 12px 12px;border-bottom:1px solid var(--a8p-line,#e1e8df)}
.a8p-header-account-menu-head strong{font-size:14px;font-weight:800;color:var(--a8p-text,#17221a)}
.a8p-header-account-menu-head small{font-size:10px;color:var(--a8p-muted,#758076);overflow-wrap:anywhere}
.a8p-header-account-menu>a[role=menuitem]{display:flex;align-items:center;gap:10px;min-height:42px;padding:9px 11px;border-radius:11px;color:var(--a8p-text,#263328);font-size:12px;font-weight:650;text-decoration:none;transition:background .16s ease,color .16s ease}
.a8p-header-account-menu>a[role=menuitem]>span{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:9px;background:color-mix(in srgb,var(--a8p-accent,#78b83e) 12%,transparent);color:var(--a8p-accent,#4e8a30);font-size:16px}
.a8p-header-account-menu>a[role=menuitem]:hover,.a8p-header-account-menu>a[role=menuitem]:focus-visible{outline:none;background:color-mix(in srgb,var(--a8p-accent,#78b83e) 10%,transparent);color:var(--a8p-accent-strong,#27652d)}
.a8p-header-account-notifications{margin:7px 3px;padding:11px;border:1px solid var(--a8p-line,#e3e9e1);border-radius:13px;background:var(--a8p-soft-surface,#f7faf5)}
.a8p-header-account-notifications-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.a8p-header-account-notifications-head strong{font-size:11px;color:var(--a8p-text,#17221a)}
.a8p-header-account-notifications-head span{font-size:9px;color:var(--a8p-muted,#758076)}
.a8p-header-account-notice{display:grid;gap:3px;padding:8px 0;border-top:1px solid var(--a8p-line,#e4ebe1);text-decoration:none}
.a8p-header-account-notice strong{font-size:10px;color:var(--a8p-text,#253328);font-weight:750}
.a8p-header-account-notice small,.a8p-header-account-notice-empty{margin:0;color:var(--a8p-muted,#758076);font-size:9px;line-height:1.45}
.a8p-header-account-notice.is-unread strong:before{content:"";display:inline-block;width:6px;height:6px;margin:0 6px 1px 0;border-radius:50%;background:var(--a8p-accent,#78b83e)}
.a8p-header-account-notifications-all{display:block;margin-top:7px;padding-top:8px;border-top:1px solid var(--a8p-line,#e4ebe1);color:var(--a8p-accent-strong,#327a32);font-size:10px;font-weight:800;text-decoration:none}
.a8p-header-account-menu>a.a8p-header-account-logout{margin-top:5px;border-top:1px solid var(--a8p-line,#e1e8df);border-radius:0 0 10px 10px;color:#b34047}
@keyframes a8p-account-menu-in{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Mobile keeps the account panel as a compact popover anchored to the avatar. */
@media(max-width:782px){
 .a8p-header-account-wrap{position:relative!important;overflow:visible!important;}
 .a8p-header-actions,.a8p-header-inner,.a8p-header{overflow:visible!important;}
 .a8p-header-account-menu{
   position:absolute!important;inset:auto 0 auto auto!important;top:calc(100% + 9px)!important;left:auto!important;right:0!important;bottom:auto!important;
   width:min(320px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:min(66dvh,480px)!important;
   overflow:auto!important;padding:9px!important;border:1px solid var(--a8p-line,#dfe6dc)!important;border-radius:16px!important;
   transform-origin:top right!important;box-shadow:0 18px 48px rgba(5,18,9,.22)!important;animation:a8p-account-menu-in .18s ease-out!important;
   background:var(--a8p-surface,#fff)!important;
 }
 .a8p-header-account-menu:before{display:none!important;}
 .a8p-header-account-menu-head{padding:10px 11px 11px}
 .a8p-header-account-menu>a[role=menuitem]{min-height:40px;font-size:12px;padding:8px 10px}
 .a8p-header-account-notifications{margin:6px 2px;padding:9px}
}
@media(prefers-reduced-motion:reduce){.a8p-header-account-menu{animation:none!important}}

/* Mobile account panel is mounted at BODY level and positioned against the visible viewport. */
body>.a8p-header-account-menu[data-a8p-account-popover-detached]{position:fixed!important;z-index:2147483000!important;box-sizing:border-box!important;margin:0!important;transform:none!important;transform-origin:top right!important;animation:a8p-account-menu-in .18s ease-out!important;overscroll-behavior:contain!important;}
body>.a8p-header-account-menu[data-a8p-account-popover-detached] .a8p-header-account-menu-head{min-width:0}
body>.a8p-header-account-menu[data-a8p-account-popover-detached] :is(a,button){max-width:100%;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){body>.a8p-header-account-menu[data-a8p-account-popover-detached]{animation:none!important}}
