/* The header every page shares: it stays at the top of the window while the page scrolls.
   Loaded last on each page, so it also moves the sticky side panels down to clear it. */
:root{--site-header:63px}
html{scroll-padding-top:calc(var(--site-header) + 12px)}
.site-top{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid #e0e6ef;box-shadow:0 2px 10px #0b25450a;font-family:Inter,"Segoe UI",Arial,sans-serif}
.flag-band{height:5px;background:linear-gradient(90deg,#0b2545 0 22%,#ffc107 22% 30%,#007a4d 30% 70%,#fff 70% 74%,#f36b5c 74% 100%)}
.site-bar{max-width:var(--page-width,1280px);margin:0 auto;padding:0 32px;min-height:57px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-mark{display:flex;align-items:center;gap:10px;text-decoration:none;flex:none;border-radius:8px}
.site-mark img{display:block;width:36px;height:36px;border-radius:9px}
.site-word{font-size:23px;font-weight:800;letter-spacing:-1px;line-height:1;white-space:nowrap}
.site-word .w-my,.site-word .w-biz{color:#0b2545}
.site-word .w-sa{color:#007a4d}
.site-word .w-biz{font-size:.72em;letter-spacing:-.4px}
.site-nav{display:flex;align-items:center;gap:2px;min-width:0}
.site-nav a{font-size:14px;font-weight:600;line-height:1;color:#334155;text-decoration:none;padding:10px 13px;border-radius:8px;white-space:nowrap}
.site-nav a:hover{color:#007a4d;background:#f2f7f4}
.site-nav a[aria-current=page]{color:#00603c;background:#eaf4ee}
.site-menu{display:none;align-items:center;gap:7px;font:inherit;font-size:14px;font-weight:650;color:#0b2545;background:#fff;border:1px solid #cdd7e4;border-radius:9px;min-height:38px;padding:6px 12px;cursor:pointer}
.site-menu svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.site-mark:focus-visible,.site-nav a:focus-visible,.site-menu:focus-visible{outline:3px solid #ffc107;outline-offset:2px}

/* The footer every page shares. */
.site-foot{margin-top:56px;background:#fff;border-top:1px solid #e0e6ef;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#334155}
.site-foot-inner{max-width:var(--page-width,1280px);margin:0 auto;padding:30px 32px 26px}
.site-foot-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.site-foot-tools a{display:flex;align-items:flex-start;gap:12px;text-decoration:none;padding:14px;border:1px solid #dce3ed;border-radius:12px;background:#fff;box-shadow:0 2px 4px #0b254505;transition:background .15s,border-color .15s}
.site-foot-tools a:hover{border-color:#8fbaa6;background:#f8fcfa}
/* A tile left alone on the last row takes the whole row. */
.site-foot-tools a:nth-child(3n+1):last-child{grid-column:1/-1}
.site-foot-tools svg{flex:none;width:40px;height:40px;padding:9px;border-radius:10px;background:#eaf4ee;color:#00603c;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.site-foot-tools a>span{min-width:0}
.site-foot-tools strong{display:block;font-size:14px;font-weight:700;line-height:1.3;color:#0b2545}
.site-foot-tools a:hover strong{color:#007a4d}
.site-foot-tools span span{display:block;font-size:12.5px;line-height:1.5;color:#5b6b80;margin-top:3px}
.site-foot-base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 30px;margin-top:22px;padding-top:18px;border-top:1px solid #e0e6ef;font-size:13px;color:#5b6b80}
.site-foot-base p{margin:0}
.site-foot-base nav{display:flex;flex-wrap:wrap;gap:6px 20px}
.site-foot-base a{color:#334155}
.site-foot a:focus-visible{outline:3px solid #ffc107;outline-offset:2px}
/* Room for the floating Share and Favourites buttons on the name generator's pages. */
body:has(.page-share) .site-foot-inner{padding-bottom:84px}

@media(min-width:961px){
  .workbench:not(.is-empty) .brief-panel{top:calc(var(--site-header) + 16px);max-height:calc(100dvh - var(--site-header) - 32px)}
}
@media(min-width:901px){
  .wa-form{top:calc(var(--site-header) + 16px)}
  .id-form{top:calc(var(--site-header) + 16px);max-height:calc(100vh - var(--site-header) - 32px)}
}
@media(max-width:760px){
  .site-foot-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-foot-tools a:nth-child(3n+1):last-child{grid-column:auto}
  .site-foot-tools a:nth-child(2n+1):last-child{grid-column:1/-1}
}
@media(max-width:560px){
  :root{--site-header:55px}
  .site-foot-inner{padding:22px 16px 22px}
  .site-foot-tools{gap:8px}
  .site-foot-tools a{flex-direction:column;gap:9px;padding:12px}
  .site-foot-tools svg{width:36px;height:36px;padding:8px}
  .site-foot-tools strong{font-size:13.5px}
  .site-foot-tools span span{font-size:12px}
  .site-bar{padding:0 12px;min-height:49px;gap:8px}
  .site-mark img{width:32px;height:32px}
}
/* Below this width the seven menu items no longer fit in a row, so the menu opens from a button, as a list under the header. */
@media(max-width:860px){
  .site-top{position:sticky}
  .site-menu{display:inline-flex}
  .site-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:2px;padding:8px 12px 12px;background:#fff;border-bottom:1px solid #e0e6ef;box-shadow:0 12px 20px #0b254514}
  .site-top.is-open .site-nav{display:flex}
  .site-nav a{font-size:15px;padding:13px 12px}
}
@media print{
  .site-top,.site-foot{display:none}
}
