/* WWCFAM ONE GLOBAL HEADER — authoritative site-wide header */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700;800&display=swap');
:root{--wwcfam-global-header-height:72px}
#wwcfam-global-header,#wwcfam-global-header *{box-sizing:border-box}
#wwcfam-global-header{position:sticky;top:0;z-index:2147483000;width:100%;height:var(--wwcfam-global-header-height);margin:0;background:linear-gradient(90deg,rgba(0,0,0,.97),rgba(3,11,20,.98),rgba(14,4,25,.97));border-bottom:1px solid rgba(62,240,255,.34);box-shadow:0 12px 44px rgba(0,0,0,.46),0 0 28px rgba(0,228,255,.08);backdrop-filter:blur(18px);font-family:'Rajdhani',system-ui,sans-serif;color:#fff;isolation:isolate}
#wwcfam-global-header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#3df4ff,#7b61ff,#ff39b8,#51ff99,transparent);opacity:.9;pointer-events:none}
.wwcfam-global-inner{height:100%;width:min(1500px,calc(100% - 20px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;position:relative}
.wwcfam-global-brand{min-width:0;display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;border:1px solid rgba(61,244,255,.24);border-radius:17px;padding:6px 10px;background:linear-gradient(130deg,rgba(0,225,255,.055),rgba(111,70,255,.055),rgba(255,45,174,.04));box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 18px rgba(50,220,255,.07)}
.wwcfam-global-logo{width:46px;height:46px;min-width:46px;object-fit:contain;border-radius:50%;filter:drop-shadow(0 0 11px rgba(62,240,255,.5))}
.wwcfam-global-brand-copy{min-width:0;display:grid;line-height:1.05}.wwcfam-global-brand-copy b{font-family:'Orbitron',system-ui,sans-serif;font-size:10px;letter-spacing:.28em;color:#5ff4ff}.wwcfam-global-brand-copy strong{font-family:'Orbitron',system-ui,sans-serif;font-size:clamp(11px,1.5vw,17px);letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 0 12px rgba(255,255,255,.16)}.wwcfam-global-brand-copy small{font-size:10px;color:#9bb0c1;letter-spacing:.06em;font-weight:700}

.wwcfam-global-mail-quick{height:50px;min-width:132px;max-width:260px;display:flex;align-items:center;gap:8px;padding:5px 10px;border:1px solid rgba(61,244,255,.22);border-radius:16px;background:linear-gradient(180deg,rgba(10,34,45,.96),rgba(6,10,19,.98));color:#fff;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 18px rgba(61,244,255,.08)}
.wwcfam-global-mail-quick:hover,.wwcfam-global-mail-quick.is-active{border-color:rgba(81,255,153,.58);box-shadow:0 0 22px rgba(81,255,153,.12)}
.wwcfam-global-mail-icon{width:34px;height:34px;min-width:34px;border-radius:12px;display:grid;place-items:center;background:rgba(61,244,255,.1);color:#6ff5ff;font-size:18px}.wwcfam-global-mail-copy{display:grid;min-width:0;line-height:1.08}.wwcfam-global-mail-copy b{font-family:'Orbitron',system-ui,sans-serif;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.wwcfam-global-mail-copy small{font-size:10px;color:#9db2c3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.wwcfam-global-account{height:50px;max-width:270px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:linear-gradient(180deg,rgba(24,31,52,.96),rgba(7,10,19,.98));color:#fff;display:flex;align-items:center;gap:8px;padding:5px 9px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.wwcfam-global-avatar{width:36px;height:36px;min-width:36px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#5ff4ff,#58ff9b);color:#03110d;font-family:'Orbitron',sans-serif;font-weight:900}.wwcfam-global-avatar img{width:100%;height:100%;object-fit:cover}.wwcfam-global-account-copy{display:grid;min-width:0;text-align:left;line-height:1.12}.wwcfam-global-account-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wwcfam-global-account-copy small{font-size:10px;color:#8fa6b9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wwcfam-global-menu-btn{width:50px;height:50px;border-radius:16px;border:1px solid rgba(255,255,255,.15);background:linear-gradient(180deg,rgba(23,30,50,.98),rgba(6,9,18,.99));box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 0 20px rgba(61,244,255,.1);display:grid;place-content:center;gap:5px;cursor:pointer}.wwcfam-global-menu-btn span{width:24px;height:2px;border-radius:999px;background:#fff;transition:.2s;box-shadow:0 0 9px rgba(61,244,255,.55)}.wwcfam-global-menu-btn.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}.wwcfam-global-menu-btn.is-open span:nth-child(2){opacity:0}.wwcfam-global-menu-btn.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.wwcfam-global-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(760px,calc(100vw - 20px));max-height:min(76vh,720px);overflow:auto;overscroll-behavior:contain;padding:12px;border:1px solid rgba(61,244,255,.3);border-radius:20px;background:linear-gradient(145deg,rgba(4,8,17,.985),rgba(18,5,30,.98));box-shadow:0 24px 70px rgba(0,0,0,.64),0 0 34px rgba(61,244,255,.1);display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wwcfam-global-panel.is-open{display:grid}.wwcfam-global-link{min-height:48px;display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:linear-gradient(180deg,rgba(22,29,48,.96),rgba(8,11,20,.99));color:#fff;text-decoration:none;font-family:'Orbitron',system-ui,sans-serif;font-size:10px;font-weight:800;letter-spacing:.045em;line-height:1.15}.wwcfam-global-link:hover,.wwcfam-global-link.is-active{border-color:rgba(61,244,255,.55);background:linear-gradient(135deg,rgba(16,69,78,.75),rgba(36,16,62,.85));box-shadow:0 0 22px rgba(61,244,255,.12)}.wwcfam-global-link-icon{font-family:system-ui,sans-serif;font-size:16px;color:#6ff5ff;min-width:20px;text-align:center}
.wwcfam-global-account-panel{position:absolute;top:calc(100% + 8px);right:60px;width:min(360px,calc(100vw - 20px));padding:14px;border:1px solid rgba(61,244,255,.28);border-radius:18px;background:rgba(6,10,20,.985);box-shadow:0 22px 60px rgba(0,0,0,.62);display:none}.wwcfam-global-account-panel.is-open{display:block}.wwcfam-global-account-panel h3{font:800 15px 'Orbitron',sans-serif;margin:0 0 4px}.wwcfam-global-account-panel p{margin:0;color:#95a9b8;word-break:break-word;font-size:12px}.wwcfam-global-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.wwcfam-global-account-actions a{padding:9px 10px;border-radius:11px;border:1px solid rgba(255,255,255,.12);background:#111a28;color:#fff;text-decoration:none;text-align:center;font-weight:800;font-size:12px}
.wwcfam-global-backdrop{display:none;position:fixed;inset:var(--wwcfam-global-header-height) 0 0;background:rgba(0,0,0,.18);z-index:-1}.wwcfam-global-backdrop.is-open{display:block}
/* ===== ONE GLOBAL HEADER INTEGRATION ===== */
/* Hide only known legacy WEBSITE headers. Page heroes/toolbars remain available. */
body.wwcfam-global-header-ready .wwcfam-one-header,
body.wwcfam-global-header-ready .wwc-live-header[data-wwc-shop-header],
body.wwcfam-global-header-ready .wwcfam-top-header,
body.wwcfam-global-header-ready .wwc-shop-header{display:none!important}

/* The connected Create app already receives website navigation; its older topbar must not become a second navigation bar. */

/* SCD may keep its page toolbar, but it belongs directly below the site header. */
body[data-wwcfam-page="scd"].wwcfam-global-header-ready>header.topbar{top:calc(var(--wwcfam-global-header-height) + 8px)!important}

/* Mail keeps ONE compact functional toolbar below the website navigation. */
body[data-wwcfam-page="mail"].wwcfam-global-header-ready{--header:56px!important}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar .brand,
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar .account-wrap,
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar #installBtn{display:none!important}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar{
  top:var(--wwcfam-global-header-height)!important;
  height:var(--header)!important;min-height:var(--header)!important;
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;
  padding:6px 10px!important;overflow:visible!important;
  background:rgba(4,8,6,.95)!important;border-bottom:1px solid rgba(51,255,141,.16)!important
}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar .top-search{flex:1 1 auto!important;min-width:0!important;max-width:none!important;margin:0!important}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .layout{min-height:calc(100dvh - var(--wwcfam-global-header-height) - var(--header))!important}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .view{min-height:calc(100dvh - var(--wwcfam-global-header-height) - var(--header))!important}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .sidebar{top:calc(var(--wwcfam-global-header-height) + var(--header))!important;height:calc(100dvh - var(--wwcfam-global-header-height) - var(--header))!important}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .pane-toolbar,
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .reader{top:calc(var(--wwcfam-global-header-height) + var(--header))!important}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .reader{height:calc(100dvh - var(--wwcfam-global-header-height) - var(--header))!important}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .notification-panel{
  top:calc(var(--wwcfam-global-header-height) + var(--header) + 8px)!important;
  max-height:calc(100dvh - var(--wwcfam-global-header-height) - var(--header) - 18px)!important
}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .notification-list{max-height:calc(100dvh - var(--wwcfam-global-header-height) - var(--header) - 92px)!important}
@media(max-width:900px){
  body[data-wwcfam-page="mail"].wwcfam-global-header-ready .compose-window.open{
    inset:calc(var(--wwcfam-global-header-height) + var(--header)) 0 0 0!important;
    width:100vw!important;height:auto!important;max-height:none!important
  }
}
/* ===== HEADER ISOLATION / NO-CUTOFF GUARANTEE =====
   Protects the website navigation from unscoped page rules such as `header{}`, `button{}` and `img{}`. */
#wwcfam-global-header{
  display:block!important;
  position:sticky!important;top:0!important;
  width:100%!important;height:var(--wwcfam-global-header-height)!important;
  min-height:var(--wwcfam-global-header-height)!important;max-height:var(--wwcfam-global-header-height)!important;
  margin:0!important;padding:0!important;
  overflow:visible!important;
  border:0!important;border-bottom:1px solid rgba(62,240,255,.34)!important;border-radius:0!important;
  text-align:left!important;line-height:normal!important;transform:none!important
}
#wwcfam-global-header::before{content:none!important;display:none!important}
#wwcfam-global-header .wwcfam-global-inner{height:100%!important;overflow:visible!important;padding:0!important}
#wwcfam-global-header button,
#wwcfam-global-header a,
#wwcfam-global-header img,
#wwcfam-global-header span,
#wwcfam-global-header strong,
#wwcfam-global-header small{max-width:100%;box-sizing:border-box}
#wwcfam-global-header button{
  margin:0!important;text-transform:none!important;letter-spacing:normal;
  transform:none!important;filter:none!important
}
#wwcfam-global-header button:hover,#wwcfam-global-header button:active{transform:none!important}
#wwcfam-global-header .wwcfam-global-logo{display:block!important;margin:0!important;padding:0!important;max-width:none!important}
#wwcfam-global-header .wwcfam-global-brand{overflow:hidden!important}
#wwcfam-global-header .wwcfam-global-mail-quick{min-width:0!important;overflow:hidden!important}
#wwcfam-global-header .wwcfam-global-account{min-width:0!important;width:auto!important;overflow:hidden!important}
#wwcfam-global-header .wwcfam-global-menu-btn{width:50px!important;min-width:50px!important;max-width:50px!important}
#wwcfam-global-header .wwcfam-global-mail-copy,
#wwcfam-global-header .wwcfam-global-account-copy{min-width:0!important;max-width:100%!important}
#wwcfam-global-header .wwcfam-global-mail-copy small,
#wwcfam-global-header .wwcfam-global-account-copy strong,
#wwcfam-global-header .wwcfam-global-account-copy small{display:block;max-width:100%!important}
#wwcfam-global-header .wwcfam-global-panel,
#wwcfam-global-header .wwcfam-global-account-panel{overflow:auto!important;overscroll-behavior:contain!important}

@media(max-width:800px){:root{--wwcfam-global-header-height:64px}.wwcfam-global-inner{width:calc(100% - 12px);gap:6px;grid-template-columns:minmax(0,1fr) auto auto auto}.wwcfam-global-brand{padding:5px 7px;border-radius:14px}.wwcfam-global-logo{width:40px;height:40px;min-width:40px}.wwcfam-global-brand-copy b{font-size:8px;letter-spacing:.18em}.wwcfam-global-brand-copy strong{font-size:10px}.wwcfam-global-brand-copy small{display:none}.wwcfam-global-mail-quick{width:44px;min-width:44px;height:44px;padding:4px;border-radius:14px}.wwcfam-global-mail-icon{width:34px;height:34px;min-width:34px}.wwcfam-global-mail-copy{display:none}#wwcfam-global-header .wwcfam-global-account{width:44px!important;height:44px;padding:3px;border-radius:14px}.wwcfam-global-account-copy{display:none}.wwcfam-global-avatar{width:34px;height:34px;min-width:34px}#wwcfam-global-header .wwcfam-global-menu-btn{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px;border-radius:14px}.wwcfam-global-panel{top:calc(100% + 6px);right:0;grid-template-columns:1fr 1fr;width:calc(100vw - 12px);max-height:78vh;padding:9px}.wwcfam-global-link{min-height:44px;font-size:9px}.wwcfam-global-account-panel{right:50px}.wwcfam-global-account-actions{grid-template-columns:1fr}}
@media(max-width:430px){.wwcfam-global-brand-copy strong{max-width:150px}.wwcfam-global-panel{grid-template-columns:1fr}.wwcfam-global-account-panel{right:0}}
@media(prefers-reduced-motion:reduce){#wwcfam-global-header *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:1180px) and (min-width:801px){
  .wwcfam-global-inner{grid-template-columns:minmax(240px,1fr) minmax(120px,210px) minmax(150px,230px) 50px;gap:7px}
  .wwcfam-global-brand-copy small{display:none}
  .wwcfam-global-mail-quick{min-width:0;width:100%;max-width:210px}
  .wwcfam-global-account{min-width:0;width:100%;max-width:230px}
}
@media(max-width:960px) and (min-width:801px){
  .wwcfam-global-brand-copy b{font-size:8px;letter-spacing:.18em}
  .wwcfam-global-brand-copy strong{font-size:11px}
  .wwcfam-global-mail-copy small,.wwcfam-global-account-copy small{font-size:9px}
}


/* ===== WWCFAM MAIL / DRIVE MODAL NO-CUTOFF FIX — 2026-09-04 =====
   Keep Mail dialogs below the one website navigation instead of centering them
   behind it. The dialog itself scrolls inside the remaining viewport. */
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .modal-backdrop{
  top:var(--wwcfam-global-header-height)!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:calc(100dvh - var(--wwcfam-global-header-height))!important;
  padding:12px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  place-items:center!important;
  align-items:center!important;
  justify-items:center!important;
  overscroll-behavior:contain!important;
}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready .modal-backdrop>.modal{
  width:min(860px,100%)!important;
  max-width:100%!important;
  min-height:0!important;
  max-height:calc(100dvh - var(--wwcfam-global-header-height) - 24px)!important;
  margin:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-gutter:stable!important;
  scroll-padding-top:18px!important;
  scroll-padding-bottom:28px!important;
}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready #driveShareModal>.modal{
  padding-top:22px!important;
  padding-bottom:28px!important;
}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready #driveShareModal>.modal>h2{
  margin-top:0!important;
  padding-top:2px!important;
  padding-right:54px!important;
  line-height:1.2!important;
}
body[data-wwcfam-page="mail"].wwcfam-global-header-ready #driveShareModal .modal-close{
  top:8px!important;
}
@media(max-width:760px){
  body[data-wwcfam-page="mail"].wwcfam-global-header-ready .modal-backdrop{
    top:var(--wwcfam-global-header-height)!important;
    padding:0!important;
    place-items:stretch!important;
    align-items:stretch!important;
  }
  body[data-wwcfam-page="mail"].wwcfam-global-header-ready .modal-backdrop>.modal{
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100dvh - var(--wwcfam-global-header-height))!important;
    min-height:0!important;
    max-height:calc(100dvh - var(--wwcfam-global-header-height))!important;
    border-radius:0!important;
    margin:0!important;
    padding:14px 12px calc(30px + env(safe-area-inset-bottom))!important;
  }
}


/* ===== WWCFAM MAIL QUICK NAV RESTORE — 2026-09-04 =====
   Restore Inbox / Sent / Drive / Contacts / Feed / People / Communities / Security
   below the one website navigation. Keep the row compact and horizontally scrollable
   when desktop/tablet width is tight. */
@media(min-width:901px){
  body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar .top-quick-nav{
    display:flex!important;
    align-items:center!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:none!important;
    gap:5px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 2px!important;
    margin:0!important;
    scrollbar-width:none!important;
    overscroll-behavior-x:contain!important;
  }
  body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar .top-quick-nav::-webkit-scrollbar{
    display:none!important;
  }
  body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar .top-quick-nav button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;
    min-height:38px!important;
    padding:0 10px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:13px!important;
  }
  body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar .top-search{
    flex:0 1 clamp(300px,32vw,560px)!important;
    min-width:240px!important;
    max-width:560px!important;
  }
}
@media(max-width:900px){
  body[data-wwcfam-page="mail"].wwcfam-global-header-ready .topbar .top-quick-nav{
    display:none!important;
  }
}


/* One automatic canonical identity / secret-key welcome */
.wwcfam-identity-welcome{position:fixed;inset:0;z-index:2147483600;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.84);backdrop-filter:blur(12px)}
.wwcfam-identity-welcome-card{box-sizing:border-box;width:min(720px,100%);max-height:90dvh;overflow:auto;padding:28px;border:1px solid rgba(84,240,255,.38);border-radius:26px;background:radial-gradient(circle at 15% 0,rgba(71,255,163,.16),transparent 24rem),radial-gradient(circle at 88% 8%,rgba(88,224,255,.13),transparent 26rem),#071018;color:#fff;box-shadow:0 30px 120px #000c,0 0 60px rgba(75,228,255,.1);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.wwcfam-identity-welcome-card .wwcfam-identity-kicker{margin:0 0 7px;color:#73ffb4;font-size:12px;font-weight:1000;letter-spacing:.15em;text-transform:uppercase}.wwcfam-identity-welcome-card h2{margin:0 0 10px;font-size:clamp(26px,5vw,46px);line-height:1}.wwcfam-identity-welcome-card p{color:#c4d5df;line-height:1.6}.wwcfam-identity-welcome-card code{display:block;margin:14px 0;padding:13px;border:1px dashed rgba(115,255,180,.5);border-radius:13px;background:#03100a;color:#96ffc3;overflow-wrap:anywhere;user-select:all;font-size:13px}.wwcfam-identity-welcome-card>div{display:flex;gap:8px;flex-wrap:wrap}.wwcfam-identity-welcome-card button,.wwcfam-identity-welcome-card a{appearance:none;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:#101b23;color:#fff;padding:10px 13px;text-decoration:none;font:900 12px system-ui;cursor:pointer}.wwcfam-identity-welcome-card button:first-child{background:linear-gradient(135deg,#74ffb7,#55dfff);border:0;color:#03100a}.wwcfam-identity-welcome-card small{display:block;margin-top:12px;color:#95aab8;line-height:1.45}@media(max-width:600px){.wwcfam-identity-welcome-card{padding:20px;border-radius:20px}.wwcfam-identity-welcome-card>div>*{width:100%;text-align:center}}

/* ========================================================================
   WWCFAM Experience Sidebar — personalized, responsive, non-destructive.
   ======================================================================== */
html[data-wwcfam-chat-widget="off"] #wwcfamChatWidget{display:none!important}
#wwcfamExperienceSidebar,#wwcfamExperienceSidebar *{box-sizing:border-box}
#wwcfamExperienceSidebar{position:fixed;left:14px;bottom:18px;z-index:2147482100;font-family:Inter,Arial,Helvetica,sans-serif;color:#effcff}
#wwcfamExperienceSidebar .wwcfam-xp-side-toggle{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 13px;border:1px solid rgba(79,221,255,.34);border-radius:15px;background:linear-gradient(135deg,rgba(7,23,31,.96),rgba(21,9,38,.96));color:#f4fdff;box-shadow:0 16px 46px rgba(0,0,0,.42),0 0 26px rgba(73,215,255,.08);cursor:pointer;font:inherit;font-weight:900}
#wwcfamExperienceSidebar .wwcfam-xp-side-toggle>span{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:linear-gradient(135deg,rgba(99,255,158,.18),rgba(73,215,255,.16));color:#83ffb3;box-shadow:inset 0 0 0 1px rgba(118,244,255,.11)}
#wwcfamExperienceSidebar .wwcfam-xp-side-panel{position:absolute;left:0;bottom:58px;width:min(300px,calc(100vw - 28px));max-height:min(70vh,680px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(77,219,255,.27);border-radius:20px;background:linear-gradient(160deg,rgba(3,15,23,.98),rgba(9,6,25,.98));box-shadow:0 28px 86px rgba(0,0,0,.6),0 0 45px rgba(89,197,255,.08);opacity:0;visibility:hidden;transform:translateY(12px) scale(.98);transform-origin:left bottom;transition:.18s ease}
#wwcfamExperienceSidebar.open .wwcfam-xp-side-panel{opacity:1;visibility:visible;transform:none}
#wwcfamExperienceSidebar .wwcfam-xp-side-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.07);background:linear-gradient(90deg,rgba(78,255,153,.06),rgba(74,213,255,.04),rgba(166,91,255,.05))}
#wwcfamExperienceSidebar .wwcfam-xp-side-head strong{font-size:.7rem;letter-spacing:.16em;color:#95ffc0}
#wwcfamExperienceSidebar .wwcfam-xp-side-head button{width:34px;height:34px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(255,255,255,.04);color:#fff;font-size:1.15rem;cursor:pointer}
#wwcfamExperienceSidebar nav{display:grid;gap:5px;overflow:auto;padding:9px;overscroll-behavior:contain}
#wwcfamExperienceSidebar nav a{display:grid;grid-template-columns:35px minmax(0,1fr);align-items:center;gap:9px;min-height:44px;padding:7px 9px;border:1px solid transparent;border-radius:12px;color:#e9faff;text-decoration:none;background:rgba(255,255,255,.025)}
#wwcfamExperienceSidebar nav a:hover,#wwcfamExperienceSidebar nav a:focus-visible{border-color:rgba(83,219,255,.25);background:rgba(74,212,255,.07);outline:none}
#wwcfamExperienceSidebar nav a>span{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:rgba(70,207,255,.07);font-size:1rem}
#wwcfamExperienceSidebar nav a>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.79rem}
#wwcfamExperienceSidebar .wwcfam-xp-side-customize{margin:0 9px 9px;padding:10px 12px;border:1px solid rgba(91,255,157,.22);border-radius:12px;background:rgba(75,255,151,.055);color:#aaffc8;text-decoration:none;font-size:.75rem;font-weight:900;text-align:center}
#wwcfamExperienceSidebar .wwcfam-xp-side-backdrop{display:none}
@media(max-width:760px){
  #wwcfamExperienceSidebar{left:9px;bottom:calc(10px + env(safe-area-inset-bottom));max-width:calc(100vw - 18px)}
  #wwcfamExperienceSidebar .wwcfam-xp-side-toggle{min-height:46px;padding:7px 10px;border-radius:14px}
  #wwcfamExperienceSidebar .wwcfam-xp-side-toggle>b{font-size:.72rem}
  #wwcfamExperienceSidebar .wwcfam-xp-side-panel{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:auto;max-height:min(78dvh,720px);border-radius:20px;transform:translateY(18px)}
  #wwcfamExperienceSidebar.open .wwcfam-xp-side-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px);z-index:-1}
  #wwcfamExperienceSidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  #wwcfamExperienceSidebar nav a{grid-template-columns:32px minmax(0,1fr);min-height:48px}
  #wwcfamExperienceSidebar nav a>span{width:32px;height:32px}
}
@media(max-width:390px){#wwcfamExperienceSidebar nav{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#wwcfamExperienceSidebar .wwcfam-xp-side-panel{transition:none}}

/* Experience-builder overlap fix: keep My Experience available without covering the builder. */
@media (min-width:761px){
  body:has(.experience-hub) #wwcfamExperienceSidebar{
    left:6px;
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
  }
  body:has(.experience-hub) #wwcfamExperienceSidebar .wwcfam-xp-side-toggle{
    width:48px;
    min-width:48px;
    max-width:48px;
    justify-content:center;
    padding:7px;
    overflow:hidden;
    border-radius:0 14px 14px 0;
  }
  body:has(.experience-hub) #wwcfamExperienceSidebar .wwcfam-xp-side-toggle>b{
    display:none;
  }
  body:has(.experience-hub) #wwcfamExperienceSidebar .wwcfam-xp-side-panel{
    left:58px;
    bottom:auto;
    top:50%;
    transform:translate(-8px,-50%) scale(.98);
    transform-origin:left center;
  }
  body:has(.experience-hub) #wwcfamExperienceSidebar.open .wwcfam-xp-side-panel{
    transform:translate(0,-50%) scale(1);
  }
}
@media (max-width:760px){
  body:has(.experience-hub) #wwcfamExperienceSidebar{
    bottom:calc(10px + env(safe-area-inset-bottom));
  }
}

/* Smart grouped Experience sidebar — route-aware, searchable and mobile safe. */
#wwcfamExperienceSidebar .wwcfam-xp-side-panel{width:min(390px,calc(100vw - 28px));grid-template-rows:auto auto minmax(0,1fr) auto}
#wwcfamExperienceSidebar .wwcfam-xp-side-head>div{display:grid;gap:3px;min-width:0}
#wwcfamExperienceSidebar .wwcfam-xp-side-head>div>small{font-size:.65rem;color:#91a9b7}
#wwcfamExperienceSidebar .wwcfam-xp-side-search{padding:9px 10px 0}
#wwcfamExperienceSidebar .wwcfam-xp-side-search input{width:100%;min-height:40px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#061018;color:#fff;padding:8px 11px;font:inherit;outline:none}
#wwcfamExperienceSidebar .wwcfam-xp-side-search input:focus{border-color:rgba(83,219,255,.52);box-shadow:0 0 0 3px rgba(83,219,255,.08)}
#wwcfamExperienceSidebar nav{display:block;padding:9px 10px 12px}
#wwcfamExperienceSidebar .wwcfam-xp-side-group{margin:0 0 7px;border:1px solid rgba(255,255,255,.055);border-radius:13px;background:rgba(255,255,255,.018);overflow:hidden}
#wwcfamExperienceSidebar .wwcfam-xp-side-group.favorites{border-color:rgba(112,255,176,.14);background:rgba(112,255,176,.025)}
#wwcfamExperienceSidebar .wwcfam-xp-side-group-title{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;background:transparent;color:#dff8ff;padding:9px 10px;font:inherit;font-weight:900;cursor:pointer;text-align:left}
#wwcfamExperienceSidebar .wwcfam-xp-side-group-title small{display:grid;place-items:center;min-width:24px;height:22px;padding:0 6px;border-radius:999px;background:rgba(89,223,255,.08);color:#a9d9e8;font-size:.62rem}
#wwcfamExperienceSidebar .wwcfam-xp-side-group-links{display:grid;gap:4px;padding:0 6px 6px}
#wwcfamExperienceSidebar .wwcfam-xp-side-group-links[hidden]{display:none!important}
#wwcfamExperienceSidebar nav a{grid-template-columns:33px minmax(0,1fr) auto;min-height:42px;padding:6px 8px}
#wwcfamExperienceSidebar nav a.is-current{border-color:rgba(112,255,176,.38);background:linear-gradient(90deg,rgba(112,255,176,.09),rgba(89,223,255,.055));box-shadow:inset 3px 0 #70ffb0}
#wwcfamExperienceSidebar nav a>em{font-style:normal;font-size:.58rem;color:#83ffb3;text-transform:uppercase;letter-spacing:.06em}
@media(max-width:760px){
  #wwcfamExperienceSidebar .wwcfam-xp-side-panel{left:8px;right:8px;width:auto;max-height:min(82dvh,760px)}
  #wwcfamExperienceSidebar nav{display:block}
  #wwcfamExperienceSidebar .wwcfam-xp-side-group-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  #wwcfamExperienceSidebar nav a{grid-template-columns:30px minmax(0,1fr);min-width:0}
  #wwcfamExperienceSidebar nav a>em{display:none}
}
@media(max-width:430px){#wwcfamExperienceSidebar .wwcfam-xp-side-group-links{grid-template-columns:1fr}}

/* ======================================================================
   MY EXPERIENCE — PERSISTENT SMART SIDEBAR v5
   The Experience itself is the navigation rail. No floating launcher.
   ====================================================================== */
#wwcfamExperienceSidebar,#wwcfamExperienceSidebar *{box-sizing:border-box}
#wwcfamExperienceSidebar{
  position:fixed!important;
  left:8px!important;
  top:calc(var(--wwcfam-global-header-height) + 8px)!important;
  bottom:8px!important;
  width:78px!important;
  z-index:2147482400!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  gap:7px!important;
  padding:8px 6px!important;
  margin:0!important;
  border:1px solid rgba(76,222,255,.28)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(4,19,30,.97),rgba(7,8,25,.97))!important;
  box-shadow:0 20px 58px rgba(0,0,0,.42),0 0 34px rgba(69,216,255,.09)!important;
  color:#effcff!important;
  overflow:hidden!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#wwcfamExperienceSidebar .wwcfam-xp-side-brand{display:grid!important;place-items:center!important;gap:3px!important;min-height:48px!important;padding:5px 2px!important;border-bottom:1px solid rgba(255,255,255,.07)!important;text-align:center!important;text-decoration:none!important;color:#effcff!important}
#wwcfamExperienceSidebar .wwcfam-xp-side-brand>span{font-size:17px!important;filter:drop-shadow(0 0 7px rgba(102,255,177,.45))!important}
#wwcfamExperienceSidebar .wwcfam-xp-side-brand>b{font-size:7px!important;line-height:1.05!important;letter-spacing:.08em!important;color:#9effc3!important;white-space:normal!important;overflow-wrap:normal!important}
#wwcfamExperienceSidebar nav{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;overflow-x:hidden!important;overflow-y:auto!important;padding:1px!important;scrollbar-width:thin!important}
#wwcfamExperienceSidebar nav a{display:grid!important;grid-template-columns:1fr!important;place-items:center!important;gap:3px!important;min-width:0!important;min-height:55px!important;padding:5px 3px!important;border:1px solid transparent!important;border-radius:12px!important;background:rgba(255,255,255,.025)!important;color:#e9faff!important;text-decoration:none!important;text-align:center!important;transition:background .16s ease,border-color .16s ease,transform .16s ease!important}
#wwcfamExperienceSidebar nav a:hover,#wwcfamExperienceSidebar nav a:focus-visible{border-color:rgba(88,228,255,.30)!important;background:rgba(77,213,255,.08)!important;outline:none!important;transform:translateY(-1px)!important}
#wwcfamExperienceSidebar nav a.is-current{border-color:rgba(102,255,177,.50)!important;background:linear-gradient(145deg,rgba(91,255,164,.13),rgba(63,189,255,.10))!important;box-shadow:inset 0 0 0 1px rgba(129,255,199,.08),0 0 18px rgba(90,255,180,.08)!important}
#wwcfamExperienceSidebar nav a>span{display:grid!important;place-items:center!important;width:29px!important;height:29px!important;border-radius:9px!important;background:rgba(69,207,255,.08)!important;font-size:14px!important}
#wwcfamExperienceSidebar nav a>b{display:block!important;width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:7.5px!important;line-height:1.15!important;font-weight:800!important}
#wwcfamExperienceSidebar .wwcfam-xp-side-empty{margin:4px 2px!important;color:#8ba4b4!important;font-size:7.5px!important;line-height:1.25!important;text-align:center!important}
#wwcfamExperienceSidebar .wwcfam-xp-side-customize{display:grid!important;place-items:center!important;gap:2px!important;min-height:48px!important;margin:0!important;padding:5px 2px!important;border:1px solid rgba(99,255,168,.18)!important;border-radius:12px!important;background:rgba(82,255,157,.055)!important;color:#a9ffca!important;text-decoration:none!important;text-align:center!important}
#wwcfamExperienceSidebar .wwcfam-xp-side-customize span{font-size:14px!important}
#wwcfamExperienceSidebar .wwcfam-xp-side-customize b{font-size:7px!important;line-height:1.1!important}

@media(min-width:761px){
  html[data-wwcfam-experience-sidebar="on"] body{padding-left:94px!important;overflow-x:hidden!important}
  html[data-wwcfam-experience-sidebar="on"] body>#wwcfam-global-header,
  html[data-wwcfam-experience-sidebar="on"] body #wwcfam-global-header{width:calc(100% + 94px)!important;max-width:none!important;margin-left:-94px!important}
  /* The Create shell has its legacy rail. When My Experience is active, use
     the canonical Experience rail instead of showing two sidebars. */
  html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="create"] .rail{display:none!important}
  html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="create"] .app-shell,
  html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="create"] .workspace{grid-template-columns:minmax(0,1fr)!important}
}

@media(max-width:760px){
  #wwcfamExperienceSidebar{
    left:6px!important;right:6px!important;top:auto!important;
    bottom:calc(6px + env(safe-area-inset-bottom))!important;
    width:auto!important;height:67px!important;
    grid-template-columns:50px minmax(0,1fr) 50px!important;
    grid-template-rows:1fr!important;
    gap:5px!important;padding:5px!important;border-radius:16px!important;
  }
  #wwcfamExperienceSidebar .wwcfam-xp-side-brand{min-height:0!important;height:55px!important;border:0!important;border-right:1px solid rgba(255,255,255,.07)!important}
  #wwcfamExperienceSidebar .wwcfam-xp-side-brand>b{font-size:6px!important}
  #wwcfamExperienceSidebar nav{display:flex!important;flex-direction:row!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important}
  #wwcfamExperienceSidebar nav a{flex:0 0 58px!important;min-height:55px!important;scroll-snap-align:start!important}
  #wwcfamExperienceSidebar nav a>b{font-size:6.5px!important}
  #wwcfamExperienceSidebar .wwcfam-xp-side-customize{min-height:0!important;height:55px!important;border-radius:10px!important}
  #wwcfamExperienceSidebar .wwcfam-xp-side-customize b{display:none!important}
  html[data-wwcfam-experience-sidebar="on"] body{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important}
}
@media(prefers-reduced-motion:reduce){#wwcfamExperienceSidebar nav a{transition:none!important}}

/* Mail + persistent My Experience rail: the 94px body inset owns the left rail.
   Keep the Mail app inside the remaining viewport so neither sidebar overlaps. */
@media(min-width:761px){
  html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="mail"] .app-shell,
  html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="mail"] .layout{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
}

/* ======================================================================
   MAIL EXCEPTION — NO MY EXPERIENCE SIDE/BOTTOM RAIL
   Mail already has its own navigation. Do not let the Experience rail
   consume desktop width or cover Mail's mobile navigation.
   ====================================================================== */
body[data-wwcfam-page="mail"] #wwcfamExperienceSidebar{
  display:none!important;
}
html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="mail"]{
  padding-left:0!important;
  padding-bottom:0!important;
}
html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="mail"]>#wwcfam-global-header,
html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="mail"] #wwcfam-global-header{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
}

/* ======================================================================
   WWCFAM GLOBAL HEADER — MAIL UNIVERSAL NO-CUTOFF COMPANION
   2026-09-16

   global-header.css is injected after Mail's styles, so this final block must
   preserve Mail's flow-based viewport architecture and never reintroduce
   global-header pixel subtraction for the application shell.
   ====================================================================== */
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"]{
  height:100vh!important;
  height:100dvh!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] > #wwcfam-global-header,
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] > .admin-impersonation-banner{
  flex:0 0 auto!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] > .app-shell{
  flex:1 1 auto!important;
  display:grid!important;
  grid-template-rows:max-content minmax(0,1fr)!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] .app-shell > .topbar{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  inset:auto!important;
  transform:none!important;
  width:100%!important;
  height:var(--header,56px)!important;
  min-height:var(--header,56px)!important;
  max-height:none!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] .app-shell > .layout{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] .workspace{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  padding-bottom:0!important;
  overflow:hidden!important;
}
@media (min-width:761px){
  html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] .sidebar{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    inset:auto!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"]
  .workspace > .view.active:not(#view-inbox):not(#view-sent){
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"]
  .workspace > .view.active:not(#view-inbox):not(#view-sent) > .page{
  height:auto!important;
  min-height:100%!important;
  max-height:none!important;
  overflow:visible!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-drive.view.active{
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-drive .file-grid{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-sent.view.active,
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-inbox.mail-view.active{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-sent > .sent-page{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-sent .sent-layout{
  position:relative!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-sent .sent-list,
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-sent .sent-reader{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-inbox .mail-list-pane,
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-inbox .reader{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}
html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-inbox .reader{
  top:auto!important;
}
@media (max-width:1050px){
  html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-inbox .reader{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
  }
}
@media (max-width:980px){
  html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] #view-sent .sent-reader{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
  }
}
@media (max-width:760px){
  html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] > .app-shell{
    padding-bottom:calc(var(--wwcfam-mail-mobile-dock,62px) + env(safe-area-inset-bottom))!important;
  }
  html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] .app-shell > .layout{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] .workspace{
    padding-bottom:0!important;
  }
  html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] .sidebar{
    position:absolute!important;
    top:0!important;
    right:auto!important;
    bottom:0!important;
    left:0!important;
    inset:0 auto 0 0!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
  }
  html body[data-wwcfam-page="mail"][data-auth="1"][data-pending="0"] .topbar .top-search{
    position:absolute!important;
    top:calc(100% + 6px)!important;
    right:8px!important;
    bottom:auto!important;
    left:8px!important;
    width:auto!important;
    max-width:none!important;
  }
}

/* ========================================================================
   2026-09-18 GLOBAL MOBILE CONTAINMENT + SINGLE SIDEBAR LAYOUT
   ======================================================================== */
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
#wwcfam-global-header,.wwcfam-global-inner,.wwcfam-global-brand,.wwcfam-global-brand-copy,
.wwcfam-global-mail-quick,.wwcfam-global-account{min-width:0;max-width:100%}
#wwcfam-global-header .wwcfam-global-panel,#wwcfam-global-header .wwcfam-global-account-panel{max-width:calc(100vw - 12px)!important}
@media(max-width:800px){
  .wwcfam-global-inner{width:calc(100% - 10px)!important;max-width:calc(100% - 10px)!important;grid-template-columns:minmax(0,1fr) 44px 44px 44px!important;gap:5px!important}
  .wwcfam-global-brand{width:100%;max-width:100%;overflow:hidden!important}
  .wwcfam-global-brand-copy{overflow:hidden!important}
  .wwcfam-global-brand-copy strong{display:block;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #wwcfam-global-header .wwcfam-global-mail-quick,
  #wwcfam-global-header .wwcfam-global-account,
  #wwcfam-global-header .wwcfam-global-menu-btn{flex:0 0 44px!important;min-width:44px!important;max-width:44px!important;width:44px!important}
  #wwcfam-global-header .wwcfam-global-panel{left:5px!important;right:5px!important;width:auto!important;max-width:none!important}
  #wwcfam-global-header .wwcfam-global-account-panel{left:5px!important;right:5px!important;width:auto!important;max-width:none!important}
}
@media(max-width:390px){
  .wwcfam-global-inner{grid-template-columns:minmax(0,1fr) 40px 40px 40px!important;gap:4px!important}
  .wwcfam-global-logo{width:36px!important;height:36px!important;min-width:36px!important}
  #wwcfam-global-header .wwcfam-global-mail-quick,
  #wwcfam-global-header .wwcfam-global-account,
  #wwcfam-global-header .wwcfam-global-menu-btn{min-width:40px!important;max-width:40px!important;width:40px!important;height:42px!important}
  .wwcfam-global-mail-icon,.wwcfam-global-avatar{width:32px!important;height:32px!important;min-width:32px!important}
  .wwcfam-global-brand-copy b{font-size:7px!important}
  .wwcfam-global-brand-copy strong{font-size:9px!important}
}

/* Canonical My Experience sidebar is the only sidebar. On mobile it is a
   bottom navigation strip; reserve enough real document space for it AND the
   coordinated AI/help utility dock that sits above it. */
@media(max-width:760px){
  html[data-wwcfam-experience-sidebar="on"] body{padding-bottom:calc(154px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important}
  html[data-wwcfam-experience-sidebar="on"] body[data-wwcfam-page="create"] .main{padding-bottom:calc(170px + env(safe-area-inset-bottom))!important}
  #wwcfamExperienceSidebar{max-width:calc(100vw - 12px)!important}
  #wwcfamExperienceSidebar nav{min-width:0!important;max-width:100%!important}
}


/* ===== PERSONAL NAVIGATION SURFACES — My Experience V30 ===== */
.wwcfam-personal-under-header{position:relative;z-index:999970;display:flex;align-items:center;justify-content:center;gap:8px;width:min(1480px,calc(100% - 24px));margin:8px auto 0;padding:8px;border:1px solid rgba(86,222,255,.18);border-radius:15px;background:rgba(3,12,22,.94);box-shadow:0 10px 28px rgba(0,0,0,.23);overflow-x:auto;scrollbar-width:thin}.wwcfam-personal-nav-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid rgba(255,255,255,.10);border-radius:10px;background:linear-gradient(145deg,rgba(14,28,42,.94),rgba(7,13,24,.94));color:#eaf8ff!important;text-decoration:none!important;font:800 11px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;white-space:nowrap;box-shadow:inset 0 -2px 0 rgba(77,220,255,.3)}.wwcfam-personal-nav-link:hover{border-color:rgba(115,246,218,.5);box-shadow:inset 0 -2px 0 rgba(115,246,218,.8),0 0 18px rgba(69,221,255,.12)}.wwcfam-personal-nav-link>span{font-size:15px}.wwcfam-personal-mobile{display:none!important}
#wwcfamExperienceSidebar.wwcfam-xp-side{position:fixed!important;z-index:999955!important;top:calc(var(--wwcfam-global-header-height,72px) + 8px)!important;bottom:8px!important;left:8px!important;width:92px!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:8px!important;padding:8px!important;border:1px solid rgba(77,219,255,.22)!important;border-radius:17px!important;background:linear-gradient(180deg,rgba(3,13,24,.98),rgba(2,8,17,.98))!important;box-shadow:0 22px 55px rgba(0,0,0,.5),inset 0 0 28px rgba(26,155,255,.035)!important;overflow:hidden!important}#wwcfamExperienceSidebar nav{display:grid!important;align-content:start!important;gap:7px!important;overflow:auto!important}#wwcfamExperienceSidebar nav a{display:grid!important;place-items:center!important;gap:4px!important;min-height:60px!important;padding:6px 3px!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:12px!important;background:rgba(7,19,31,.9)!important;color:#dff4ff!important;text-decoration:none!important;text-align:center!important}#wwcfamExperienceSidebar nav a>span{font-size:18px!important}#wwcfamExperienceSidebar nav a>b{font-size:8px!important;line-height:1.15!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}#wwcfamExperienceSidebar .wwcfam-xp-side-brand,#wwcfamExperienceSidebar .wwcfam-xp-side-customize{display:grid!important;place-items:center!important;gap:3px!important;min-height:54px!important;border-radius:11px!important;background:rgba(35,196,255,.055)!important;color:#bcefff!important;text-decoration:none!important;text-align:center!important}#wwcfamExperienceSidebar .wwcfam-xp-side-brand span,#wwcfamExperienceSidebar .wwcfam-xp-side-customize span{font-size:17px!important}#wwcfamExperienceSidebar .wwcfam-xp-side-brand b,#wwcfamExperienceSidebar .wwcfam-xp-side-customize b{font-size:8px!important}body.wwcfam-personal-sidebar-on{padding-left:108px!important}body.wwcfam-personal-sidebar-compact #wwcfamExperienceSidebar{width:72px!important}body.wwcfam-personal-sidebar-compact{padding-left:88px!important}body.wwcfam-personal-sidebar-expanded #wwcfamExperienceSidebar{width:124px!important}body.wwcfam-personal-sidebar-expanded{padding-left:140px!important}
@media(max-width:800px){.wwcfam-personal-desktop{display:none!important}.wwcfam-personal-mobile{display:flex!important}.wwcfam-personal-under-header{width:calc(100% - 12px);justify-content:flex-start;margin-top:5px;padding:6px}.wwcfam-personal-under-header .wwcfam-personal-nav-link{min-height:36px;font-size:10px}body.wwcfam-personal-sidebar-on,body.wwcfam-personal-sidebar-compact,body.wwcfam-personal-sidebar-expanded{padding-left:0!important}#wwcfamExperienceSidebar.wwcfam-xp-side{position:relative!important;top:auto!important;left:auto!important;bottom:auto!important;width:calc(100% - 12px)!important;height:auto!important;margin:6px auto!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:1fr!important;border-radius:14px!important}#wwcfamExperienceSidebar nav{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important}#wwcfamExperienceSidebar nav a{flex:0 0 64px!important;min-height:54px!important}}

/* v45: preserve WWW logo + account avatar on narrow mobile screens.
   Visibility remains controlled by the existing My Experiences header Account preference. */
@media(max-width:640px){
 #wwcfam-global-header .wwcfam-global-inner{grid-template-columns:minmax(0,1fr) auto auto auto!important;gap:5px!important}
 #wwcfam-global-header .wwcfam-global-brand{min-width:0!important;max-width:100%!important}
 #wwcfam-global-header .wwcfam-global-brand-copy{min-width:0!important;overflow:hidden!important}
 #wwcfam-global-header .wwcfam-global-brand-copy strong{max-width:100%!important;text-overflow:ellipsis!important}
 #wwcfam-global-header .wwcfam-global-avatar{flex:none!important;display:grid!important;width:34px!important;height:34px!important;overflow:hidden!important}
 #wwcfam-global-header .wwcfam-global-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
}
@media(max-width:350px){#wwcfam-global-header .wwcfam-global-logo{width:32px!important;min-width:32px!important;height:32px!important}#wwcfam-global-header .wwcfam-global-mail-quick{display:none!important}}
