/* Shared ACS navigation dropdown for the corporate, product and beta pages. */
.product-menu { position:relative; flex:0 0 auto; }
.product-menu summary { display:inline-flex; align-items:center; gap:9px; list-style:none; cursor:pointer; user-select:none; color:#c5c7cf; font-size:13px; font-weight:750; padding:12px 0; white-space:nowrap; }
.product-menu summary::-webkit-details-marker { display:none; }
.product-menu summary::marker { content:""; }
.product-menu summary:hover, .product-menu[open] summary { color:var(--lime); }
.product-menu summary:focus-visible { outline:2px solid var(--magenta); outline-offset:5px; border-radius:2px; }
.product-menu .menu-chevron { width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .16s ease; }
.product-menu[open] .menu-chevron { transform:translateY(2px) rotate(225deg); }
.product-menu-panel { position:absolute; z-index:30; top:calc(100% + 8px); right:-34px; width:560px; max-width:calc(100vw - 36px); padding:22px; background:var(--panel); border:1px solid var(--line); border-radius:12px; box-shadow:0 22px 65px rgba(0,0,0,.64); }
.product-menu-panel::before { content:""; position:absolute; inset:-9px 0 auto; height:9px; }
.product-menu-heading { margin:0 0 13px; color:var(--pink); font:800 10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.16em; }
.product-menu-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.topnav .product-menu-item, .beta-nav .product-menu-item { display:block; min-height:91px; padding:13px 12px; border:1px solid transparent; border-radius:7px; text-decoration:none; color:#f7f7f9; background:var(--panel2); }
.topnav .product-menu-item:hover, .topnav .product-menu-item:focus-visible, .beta-nav .product-menu-item:hover, .beta-nav .product-menu-item:focus-visible { background:#282828; border-color:var(--lime); color:#f7f7f9;  }
.product-menu-item-top { display:flex; align-items:baseline; gap:5px; justify-content:space-between; }
.product-menu-item-name { font-size:14px; font-weight:850; letter-spacing:-.02em; }
.product-menu-item-status { font:750 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.04em; color:#b7bac5; white-space:nowrap; }
.product-menu-item-status.early { color:var(--lime); }
.product-menu-item-description { display:block; padding-top:8px; color:#b4b5bf; font-size:12px; line-height:1.5; }
.topnav .product-menu-footer, .beta-nav .product-menu-footer { display:block; padding:14px 3px 1px; color:var(--lime); font-size:12px; font-weight:800; text-decoration:none; }
.product-menu-footer:hover { text-decoration:underline; }
.beta-header-row { flex-wrap:wrap; z-index:10; }
.beta-nav { display:flex; align-items:center; gap:20px; margin-left:auto; }
.beta-nav > a { color:#c5c7cf; font-size:13px; font-weight:750; text-decoration:none; }
.beta-nav > a:hover { color:var(--lime); }
@media(max-width:1050px) { .product-menu-panel { right:-100px; } .beta-nav { gap:14px; } }
@media(max-width:700px) {
  .topnav { position:relative; }
  .product-menu { position:static; }
  .product-menu summary { font-size:12px; padding:0; }
  .product-menu-panel { top:calc(100% + 12px); left:0; right:auto; width:100%; max-width:none; padding:15px; }
  .product-menu-grid { grid-template-columns:1fr; gap:5px; max-height:min(64vh,540px); overflow-y:auto; }
  .topnav .product-menu-item, .beta-nav .product-menu-item { min-height:75px; }
  .beta-nav { order:3; width:100%; margin:0; padding:12px 0 7px; display:flex; justify-content:space-between; position:relative; }
  .beta-nav .product-menu { position:static; }
  .beta-nav .product-menu-panel { left:0; right:0; top:calc(100% + 6px); width:100%; }
}
@media(prefers-reduced-motion:reduce) { .product-menu .menu-chevron { transition:none; } }

.product-menu-item[aria-current="page"] { border-color:rgba(115,237,0,.45); }


.topnav .product-menu-item:focus-visible,.beta-nav .product-menu-item:focus-visible{outline:3px solid var(--magenta);outline-offset:2px}
/* Anchor wide menus to the header so the logo cannot push them off tablets. */
@media(min-width:701px){
  .head-row,.beta-header-row{position:relative}
  .topnav .product-menu,.beta-nav .product-menu{position:static}
  .product-menu-panel{right:0;top:calc(100% + 8px)}
}
@media(max-width:700px){.beta-header-row{padding:16px 0}}
