/* THE SIGN IN MENU — AGB-SITE-NAV-SIGNIN-DROPDOWN-1009 (shipped in AGB-SITE-FORM-SUCCESS-POPUP-1009).
   Tony 2026-10-09 09:05: "lets make the sign in a dropdown, that says sign in to the app, which would launch the app, or sign in
   to accounts area. The accounts area will be the top and default, but it can give them a route to the app, we should also
   create a download the app section in that dropdown."
   One component on every page whose top bar carries it (home, the trade pages, the salon page, /demos/). "Sign in" itself is a
   link to /account/ (the default: a plain press goes there); the caret beside it opens the menu, and on a desk a hover does too.
   At 760px and under the shell's drawer (narrow-header.js) lists the same three rows under a "Sign in" heading.
   The panel is the demos menu's own night, gold and silver. Row rules carry `.sid` so a page's own `nav .links a` cannot repaint them. */

.sid{position:relative;display:inline-flex;align-items:center;gap:2px}
.sid .sid-main{color:inherit;text-decoration:none}
/* the caret is the Demos trigger's own chevron (demos-menu.css .dm-trigger::after), so the two menus in the bar read as one family */
.sid-caret{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin:-5px -5px -5px 0;padding:0;
  border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
.sid-caret span{display:none}
.sid-caret::after{content:"";display:inline-block;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);transition:transform .15s ease}
.sid-caret[aria-expanded="true"]{color:var(--c-gold,#cfae62)}
.sid-caret[aria-expanded="true"]::after{transform:translateY(2px) rotate(-135deg)}
.sid-caret:hover{background:rgba(127,127,127,.14)}
.sid-caret:focus-visible,.sid .sid-main:focus-visible{outline:2px solid #f0d488;outline-offset:3px}

.sid-menu{position:absolute;top:calc(100% + 14px);right:-10px;z-index:80;min-width:260px;padding:8px;border-radius:18px;
  background:rgba(11,13,17,.97);border:1px solid rgba(207,174,98,.32);box-shadow:0 24px 60px rgba(6,7,10,.5);
  display:flex;flex-direction:column;gap:2px;text-align:left;
  font-family:'Libre Franklin',system-ui,-apple-system,sans-serif;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.sid-menu[hidden]{display:none}
/* the gap between the bar and the panel is part of the hover target, so the menu does not close on the way down to it */
.sid-menu:before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.sid .sid-menu a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;white-space:nowrap;
  color:#f1efe9;text-decoration:none;font-size:15px;font-weight:600;letter-spacing:0;text-transform:none}
.sid .sid-menu a:first-child{color:#f0d488}
.sid .sid-menu a:hover,.sid .sid-menu a:focus-visible{background:rgba(207,174,98,.14);outline:none}
.sid .sid-menu a + a.sid-get{margin-top:4px;border-top:1px solid rgba(207,174,98,.2);border-radius:0 0 12px 12px}

/* THE FEATURES MENU — AGB-SITE-NAV-FEATURES-DROPDOWN-1011. Tony 2026-10-11 10:19 (R-0016): "I think we call it "Features", make
   it a dropdown and inside have Pricing, Integrations, FAQs, Calculator." The same component as Sign in (one script, signin-menu.js,
   wires every `.sid`): here the word itself is the control, so it carries the Demos trigger's chevron and opens on a press, a hover
   or the keyboard. With scripts off it is a link to the plans. The panel hangs from the left, because Features sits left of the name. */
.sid-caret.ftm-trigger{width:auto;height:auto;margin:0;gap:8px;border-radius:0;font:inherit;text-decoration:none;white-space:nowrap}
.sid-caret.ftm-trigger:hover{background:transparent}
.sid-caret.ftm-trigger::after{transform:translateY(-3px) rotate(45deg);opacity:.8}
.sid-caret.ftm-trigger[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg);opacity:1}
.sid.ftm .sid-menu{left:-14px;right:auto;min-width:220px}
