/* Shell shared by every page: the original 9catalyst header, logo and footer. Works with or without the app stylesheet. */
body { margin: 0; background: #FFFFFF; color: #121317; font-family: 'Google Sans Flex', 'Figtree', sans-serif; }
@keyframes lgn { 0% { fill: #4C8DFF } 6% { fill: #8B5CF6 } 12% { fill: #F06A6A } 18% { fill: #F5B83D } 26%, 100% { fill: #121317 } }
@keyframes lgc { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.18) } }
.lgn { animation: lgn 2.8s linear infinite; }
.lgc { transform-box: fill-box; transform-origin: center; animation: lgc 2.8s ease-in-out infinite; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }
#sh-nav a:hover, #actions a:hover, #actions button:hover { background: #F0F2F6; }
#sh-nav a[aria-current="page"] { background: #E6EBF3; font-weight: 700 !important; }
#actions a, #actions button { padding: 11px 14px; border-radius: 999px; text-decoration: none; color: #121317; font: 500 15px 'Google Sans Flex', 'Figtree', sans-serif; background: none; border: 0; cursor: pointer; }
#menu-btn { display: none; width: 44px; height: 44px; border: 1px solid #DCE3EE; border-radius: 999px; background: #fff; cursor: pointer; padding: 0; place-content: center; gap: 4px; }
#menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #121317; }
#main:focus { outline: none; }
@media (max-width: 1279px) {
  #sh-top > div { flex-wrap: nowrap !important; padding: 12px 16px !important; gap: 10px !important; }
  #sh-top > div > a:first-child { flex: 1; min-width: 0; }
  #sh-nav { display: none !important; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0 !important; background: #fff; border-bottom: 1px solid #EEF0F4; padding: 6px 16px 12px; box-shadow: 0 18px 30px -18px rgba(18, 19, 23, .35); }
  #sh-top.open #sh-nav { display: flex !important; }
  #sh-nav a { padding: 14px 6px !important; border-radius: 0 !important; border-bottom: 1px solid #EEF0F4; font-size: 16px !important; }
  #sh-nav a:last-child { border-bottom: 0; }
  #actions { display: none !important; }
  #menu-btn { display: grid; }
}
/* Wherever the full menu shows, tighter link spacing keeps the header on one row, including when a
   signed-in visitor sees "Dashboard" and "Log out" instead of "Log in". */
@media (min-width: 1280px) {
  #sh-top > div { gap: 6px !important; }
  #sh-nav > a, #sh-nav .sh-cat > a, #actions a, #actions button { padding-left: 7px !important; padding-right: 7px !important; }
  #sh-nav .sh-menu-only { display: none !important; }
}
@media (max-width: 560px) { #sh-top > div > a[href="#/contact"] { padding: 10px 16px !important; font-size: 14px !important; } }
@media (prefers-reduced-motion: reduce) { .lgn, .lgc { animation: none; } }

/* category menu: hover or focus a category to see its agents */
.sh-cat { position: relative; display: flex; }
.sh-drop { display: none; position: absolute; top: 100%; left: 0; z-index: 30; width: 340px; padding: 10px; background: #FFFFFF; border: 1px solid #E6EBF3; border-radius: 22px; box-shadow: 0 24px 50px -22px rgba(18, 19, 23, .35); }
.sh-cat:hover .sh-drop, .sh-cat:focus-within .sh-drop { display: grid; gap: 2px; }
#sh-nav .sh-item { display: grid; gap: 2px; padding: 11px 14px; border-radius: 14px; text-decoration: none; color: #121317; }
#sh-nav .sh-item b { font-size: 15px; font-weight: 600; }
#sh-nav .sh-item span { font-size: 13px; line-height: 1.4; color: #4A5568; }
#sh-nav .sh-item:hover { background: #F6F7FA; }
#sh-nav .sh-all { margin-top: 6px; padding: 12px 14px; border-top: 1px solid #EEF0F4; border-radius: 0 0 14px 14px; font-size: 14px; font-weight: 700; color: #121317; text-decoration: none; }
#sh-nav .sh-all:hover { background: #F6F7FA; }
.sh-cat > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
@media (max-width: 1279px) {
  .sh-cat { display: block; } .sh-cat > a { display: block; } .sh-cat > a::after { display: none; }
  .sh-drop, .sh-cat:hover .sh-drop, .sh-cat:focus-within .sh-drop { display: none; }
}

/* Header and footer keep the same width and left edge on every page, whichever stylesheet is active. */
#sh-top > div, footer > div { box-sizing: content-box; }
@media (max-width: 640px) { footer .sh-fcols { gap: 28px 40px !important; } footer .sh-fcols > div { flex: 1 1 130px; } }
footer { line-height: 1.3; }
footer p { margin: 0; }
#sh-nav [hidden] { display: none !important; }
