/* CUSTOMER_ALPHA_TOP_NAV_V9 */
:root{--nav9-bg:rgba(255,255,255,.99);--nav9-ink:#111827;--nav9-line:rgba(148,163,184,.35);--nav9-primary:#4f46e5;--nav9-soft:rgba(79,70,229,.10);--nav9-shadow:0 8px 24px rgba(15,23,42,.07)}
.customer-top-nav-v9{position:sticky;top:0;z-index:3000;width:100%;border-bottom:1px solid var(--nav9-line);background:var(--nav9-bg);box-shadow:var(--nav9-shadow);backdrop-filter:blur(12px);color:var(--nav9-ink)}
.customer-top-nav-v9__inner{width:min(1180px,calc(100% - 32px));min-height:58px;margin:0 auto;display:grid;grid-template-columns:220px minmax(420px,1fr) 220px;align-items:center;gap:16px}
.customer-top-nav-v9__brand{justify-self:start;white-space:nowrap;color:var(--nav9-ink);font-weight:900;letter-spacing:-.02em;text-decoration:none}
.customer-top-nav-v9__links,.customer-top-nav-v9__actions{display:flex;align-items:center;flex-wrap:nowrap;gap:8px}
.customer-top-nav-v9__links{justify-content:center}.customer-top-nav-v9__actions{justify-content:flex-end;min-width:220px}
.customer-top-nav-v9__reset-slot{display:inline-flex;width:104px;justify-content:flex-end}
.customer-top-nav-v9 a,.customer-top-nav-v9 button{border:0;border-radius:999px;padding:9px 12px;font:inherit;font-size:.92rem;font-weight:850;text-decoration:none;cursor:pointer;background:transparent;color:var(--nav9-ink);line-height:1.1;white-space:nowrap}
.customer-top-nav-v9 a[aria-current="page"]{background:var(--nav9-primary);color:#fff}
.customer-top-nav-v9__actions button{background:var(--nav9-soft);color:#3730a3}.customer-top-nav-v9__actions a{background:#111827;color:#fff}
.customer-top-nav-v9__notice{display:none;width:min(1180px,calc(100% - 32px));margin:0 auto 8px;border-radius:14px;padding:8px 11px;background:rgba(15,118,110,.10);color:#0f766e;font-weight:800;font-size:.88rem}.customer-top-nav-v9__notice.is-visible{display:block}
body.customer-alpha-top-nav-v9 .customer-top-nav-v8,body.customer-alpha-top-nav-v9 .customer-top-nav-v7,body.customer-alpha-top-nav-v9 .customer-static-nav-v6,body.customer-alpha-top-nav-v9 .customer-logged-in-nav-v5,body.customer-alpha-top-nav-v9 .support-link,body.customer-alpha-top-nav-v9 [data-old-customer-nav-hidden-v9="true"]{display:none!important}
body.customer-alpha-top-nav-v9 .panel>p.eyebrow:first-child{display:none!important}
.customer-page-v9{width:min(1080px,calc(100% - 32px));margin:0 auto;padding:20px 0 48px}
.customer-page-v9 .panel{border:1px solid var(--nav9-line);border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 18px 44px rgba(15,23,42,.09);padding:20px;margin-bottom:16px}
.customer-page-v9 h1{margin:0;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em}.customer-page-v9 h2{margin:0 0 8px}.customer-page-v9 p{color:#5d6a7d;line-height:1.5}.customer-page-v9 .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-page-v9 .card{border:1px solid var(--nav9-line);border-radius:18px;background:#fff;padding:14px}.customer-page-v9 a.button{display:inline-flex;border-radius:999px;padding:10px 13px;background:var(--nav9-primary);color:#fff;text-decoration:none;font-weight:850}.customer-page-v9 a.button.secondary{background:var(--nav9-soft);color:#3730a3}
@media(max-width:980px){.customer-top-nav-v9__inner{width:min(100% - 20px,1180px);grid-template-columns:1fr;align-items:flex-start;padding:10px 0}.customer-top-nav-v9__links,.customer-top-nav-v9__actions{justify-content:flex-start;flex-wrap:wrap;min-width:0}.customer-top-nav-v9__reset-slot{width:auto}.customer-page-v9 .grid{grid-template-columns:1fr}}

/* CUSTOMER_ALPHA_TOP_NAV_V10_ALIGNMENT */
.customer-top-nav-v9,
.customer-top-nav-v9 *,
.customer-page-v9,
.customer-page-v9 * {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.customer-alpha-top-nav-v9 {
  background: #f6f8fc;
  color: #111827;
}

.customer-top-nav-v9 {
  box-sizing: border-box;
  min-height: 58px;
}

.customer-top-nav-v9__inner {
  height: 58px;
  min-height: 58px;
}

.customer-top-nav-v9__brand,
.customer-top-nav-v9 a,
.customer-top-nav-v9 button {
  font-size: 14px !important;
  line-height: 1.1 !important;
}

.customer-top-nav-v9__brand {
  font-weight: 900 !important;
}

.customer-top-nav-v9__links a,
.customer-top-nav-v9__actions a,
.customer-top-nav-v9__actions button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.customer-top-nav-v9__links {
  min-width: 420px;
}

.customer-top-nav-v9__actions {
  min-width: 220px;
}

.customer-top-nav-v9__reset-slot {
  width: 104px;
  min-width: 104px;
}

.customer-page-v9 {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.customer-page-v9 .panel {
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 44px rgba(15,23,42,.09);
  padding: 20px;
  margin-bottom: 16px;
}

.customer-page-v9 h1 {
  margin: 0;
  font-size: clamp(2rem,4vw,3rem);
  letter-spacing: -.04em;
}

.customer-page-v9 h2 {
  margin: 0 0 8px;
}

.customer-page-v9 p {
  color: #5d6a7d;
  line-height: 1.5;
}

.customer-page-v9 .grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.customer-page-v9 .card {
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.customer-page-v9 a.button {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 13px;
  background: #4f46e5;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
}

.customer-page-v9 a.button.secondary {
  background: rgba(79,70,229,.10);
  color: #3730a3;
}

@media(max-width:980px) {
  .customer-top-nav-v9__inner {
    height: auto;
    min-height: 58px;
  }

  .customer-top-nav-v9__links,
  .customer-top-nav-v9__actions,
  .customer-top-nav-v9__reset-slot {
    min-width: 0;
  }

  .customer-page-v9 .grid {
    grid-template-columns: 1fr;
  }
}

/* CUSTOMER_ALPHA_TOP_NAV_V11_BODY_RESET */
html,
body.customer-alpha-top-nav-v9 {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.customer-alpha-top-nav-v9 {
  overflow-x: hidden;
}

.customer-top-nav-v9 {
  width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

.customer-top-nav-v9__inner {
  width: min(1180px, calc(100vw - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.customer-page-v9 {
  width: min(1080px, calc(100vw - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media(max-width:980px) {
  .customer-top-nav-v9__inner,
  .customer-page-v9 {
    width: min(100vw - 20px, 1180px) !important;
  }
}

/* CUSTOMER_ALPHA_TOP_NAV_V12_STABLE_VIEWPORT */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.customer-top-nav-v9 {
  contain: layout style;
}

.customer-top-nav-v9__inner {
  transform: translateZ(0);
}

/* CUSTOMER_ALPHA_TOP_NAV_V13_FIXED_PILLS */
.customer-top-nav-v9__links a[data-nav-key] {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

.customer-top-nav-v9__actions a[data-customer-sign-out] {
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

.customer-top-nav-v9__reset-slot {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
}

.customer-top-nav-v9__reset-slot > button[data-customer-reset-draft] {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

.customer-top-nav-v9__links {
  gap: 8px !important;
}

.customer-top-nav-v9__actions {
  gap: 8px !important;
}

@media(max-width:980px) {
  .customer-top-nav-v9__links a[data-nav-key],
  .customer-top-nav-v9__actions a[data-customer-sign-out],
  .customer-top-nav-v9__reset-slot,
  .customer-top-nav-v9__reset-slot > button[data-customer-reset-draft] {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* CUSTOMER_ALPHA_TOP_NAV_V14_COMPACT_PILLS */
/* Revert V13 fixed pill widths: menu items should stay compact and content-sized.
   The nav grid and reset slot still keep the overall top strip stable. */
.customer-top-nav-v9__links a[data-nav-key] {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  text-align: center !important;
}

.customer-top-nav-v9__actions a[data-customer-sign-out] {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  text-align: center !important;
}

.customer-top-nav-v9__reset-slot {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  display: inline-flex !important;
  justify-content: flex-end !important;
}

.customer-top-nav-v9__reset-slot > button[data-customer-reset-draft] {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  text-align: center !important;
}

.customer-top-nav-v9__links {
  gap: 8px !important;
}

.customer-top-nav-v9__actions {
  gap: 8px !important;
}

/* CUSTOMER_ALPHA_TOP_NAV_V15_HOME_SIGNOUT_MATCH */
/* Keep pills compact. Only normalize the short Home active pill and Sign out
   to the same visual width. Do not stretch Create/My videos/Account/Support. */
.customer-top-nav-v9__actions a[data-customer-sign-out] {
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.customer-top-nav-v9__links a[data-nav-key="home"][aria-current="page"] {
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.customer-top-nav-v9__links a[data-nav-key="home"]:not([aria-current="page"]) {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.customer-top-nav-v9__links a[data-nav-key="create"],
.customer-top-nav-v9__links a[data-nav-key="videos"],
.customer-top-nav-v9__links a[data-nav-key="account"],
.customer-top-nav-v9__links a[data-nav-key="support"] {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

@media(max-width:980px) {
  .customer-top-nav-v9__actions a[data-customer-sign-out],
  .customer-top-nav-v9__links a[data-nav-key="home"][aria-current="page"] {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* CUSTOMER_ALPHA_TOP_NAV_V16_COMPACT_HEIGHT */
/* Final visual override after V13/V15 experiments:
   keep all pills compact; do not let Home or Sign out become tall/wide. */
.customer-top-nav-v9 a,
.customer-top-nav-v9 button {
  box-sizing: border-box !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.customer-top-nav-v9__links a[data-nav-key],
.customer-top-nav-v9__links a[data-nav-key="home"],
.customer-top-nav-v9__links a[data-nav-key="home"][aria-current="page"] {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 9px 12px !important;
}

.customer-top-nav-v9__actions a[data-customer-sign-out] {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 9px 14px !important;
}

.customer-top-nav-v9__reset-slot {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  display: inline-flex !important;
  justify-content: flex-end !important;
}

.customer-top-nav-v9__reset-slot > button[data-customer-reset-draft] {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 9px 12px !important;
}

@media(max-width:980px) {
  .customer-top-nav-v9 a,
  .customer-top-nav-v9 button {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  .customer-top-nav-v9__reset-slot {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

