/* The signed-in account menu, one look on the website, the docs and the War Room (Jman 30 Nov:
   "consistency in the menus across website, docs and warroom"). All three draw it with
   /alive3/a3-account.js and the same class names; #who is the War Room's slot, #acct the site's. */
:is(#who:not(section),#acct){position:relative;display:flex;align-items:center;gap:10px;white-space:nowrap}
:is(#who:not(section),#acct) .acct>summary{list-style:none;display:flex;align-items:center;gap:8px;height:34px;padding:0 10px 0 6px;cursor:pointer;border:1px solid #2c3338;border-radius:0;background:transparent;color:#fff}
:is(#who:not(section),#acct) .acct>summary::-webkit-details-marker{display:none}
:is(#who:not(section),#acct) .acct>summary:hover,:is(#who:not(section),#acct) .acct[open]>summary{border-color:#3a4248}
:is(#who:not(section),#acct) .av{display:none!important}
:is(#who:not(section),#acct) .acct-g{display:inline-flex;align-items:center;flex:none;margin:0}
:is(#who:not(section),#acct) .acct-g:empty{display:none}
:is(#who:not(section),#acct) .glogo{display:inline-flex;align-items:center;vertical-align:middle;position:static;top:0;margin:0 8px 0 0;flex:none}
:is(#who:not(section),#acct) .acct-g .glogo{margin:0}
:is(#who:not(section),#acct) .glogo img{width:20px;height:20px;display:block;border-radius:0}
:is(#who:not(section),#acct) .nm{display:inline;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 14px/1 Inter,system-ui,sans-serif}
:is(#who:not(section),#acct) .role{display:inline;font:600 10px/1 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);border:1px solid var(--accent);border-radius:0;padding:4px 6px}
:is(#who:not(section),#acct) .dot{position:absolute;top:-3px;right:-3px;width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:none;animation:none}
:is(#who:not(section),#acct) .acct-panel{position:absolute;top:calc(100% + 10px);right:0;left:auto;z-index:60;width:300px;min-width:0;max-width:calc(100vw - 24px);max-height:none;overflow:visible;white-space:normal;
  background:#1c2125;border:1px solid #3a4248;border-radius:0;box-shadow:0 14px 34px rgba(0,0,0,.5);padding:16px 20px 18px;font:400 14px/1.45 Inter,system-ui,sans-serif;color:rgba(255,255,255,.78)}
:is(#who:not(section),#acct) .acct-panel>p:first-child{color:#8794a0;font-size:13px;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid #2c3338}
:is(#who:not(section),#acct) .acct-panel p{margin:0;padding:5px 0;font-size:14px;color:rgba(255,255,255,.78);overflow-wrap:anywhere}
:is(#who:not(section),#acct) .acct-panel p b{color:#fff;font-weight:600}
/* a heading line (a p with no link) */
:is(#who:not(section),#acct) .acct-panel>p:not(:first-child):not(:has(a)){margin-top:10px;padding:12px 0 4px;border-top:1px solid #2c3338;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#3a6872}
:is(#who:not(section),#acct) .acct-panel a{display:inline-flex;align-items:center;color:#fff;text-decoration:none}
:is(#who:not(section),#acct) .acct-panel a:hover{color:#f2a541;text-decoration:none}
:is(#who:not(section),#acct) .acct-panel .sub,:is(#who:not(section),#acct) .acct-ply .sub{display:block;margin:2px 0 0;font-size:12px;color:#8794a0}
:is(#who:not(section),#acct) .acct-notes{margin:0 0 10px;padding:8px 10px;border-radius:0;background:#20262a}
:is(#who:not(section),#acct) .acct-notes:empty{display:none}
:is(#who:not(section),#acct) .out{margin-top:14px;font:500 13px/1 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;cursor:pointer;color:#fff;background:transparent;border:1px solid #fff;border-radius:0;padding:9px 14px}
:is(#who:not(section),#acct) .out:hover{background:#fff;color:#161a1d}
:is(#who:not(section),#acct) .signin{display:inline-flex;align-items:center;height:34px;padding:0 12px;font:500 14px/1 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#fff;text-decoration:none;border:1px solid #fff;border-radius:0}
:is(#who:not(section),#acct) .signin:hover{background:#fff;color:#161a1d}
:is(#who:not(section),#acct) .signin .short{display:none}
:is(#who:not(section),#acct) .signin .long{display:inline}
:is(#who:not(section),#acct) .acct-panel div>p:first-child:not(:has(a)){margin-top:10px;padding:12px 0 4px;border-top:1px solid #2c3338;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#3a6872}
:is(#who:not(section),#acct) .acct-ply>:not(a){display:block;margin:2px 0 0;font-size:12px;color:#8794a0}
:is(#who:not(section),#acct) .acct>summary .nm{flex:none;max-width:none;overflow:visible}
:is(#who:not(section),#acct) .acct-ply,:is(#who:not(section),#acct) .acct-ply a,:is(#who:not(section),#acct) .acct-ply b{font-size:14px!important;font-weight:400}
:is(#who:not(section),#acct) .acct-ply>:not(a){font-size:12px!important}

/* War Room notices bell, the same markup and look on the website and docs (copied from the War Room) */
.wr-bell{position:relative}.wr-bell[hidden]{display:none}
.wr-bell > summary{list-style:none; position:relative; display:flex; align-items:center; justify-content:center; width:36px; height:36px; border:1px solid #2c3338; border-radius:0; cursor:pointer; color:#8794a0}
.wr-bell > summary::-webkit-details-marker{display:none}
.wr-bell > summary:hover,.wr-bell[open] > summary{color:#fff; border-color:color-mix(in srgb,var(--accent) 55%,#2c3338)}
.wr-bell svg{width:18px; height:18px; display:block}
.wr-bell-n{position:absolute; top:-7px; right:-7px; min-width:18px; height:18px; padding:0 5px; border-radius:0; background:var(--accent); color:#111; font:700 11px/18px "IBM Plex Mono",ui-monospace,Consolas,monospace; text-align:center}
.wr-bell-n[hidden]{display:none}
.wr-bell-p{position:absolute; top:calc(100% + 8px); right:0; z-index:30; width:360px; max-width:calc(100vw - 16px); max-height:70vh; overflow:auto; white-space:normal; text-align:left; background:#1c2125; border:1px solid #2c3338; border-radius:0; box-shadow:0 12px 32px rgba(0,0,0,.45); padding:12px}
.wr-bell-h{display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:8px}
.wr-bell-h button{background:none; border:0; padding:0; color:var(--accent); font:inherit; font-size:13px; cursor:pointer}
.wr-bell-h button:disabled{color:#8794a0; cursor:default}
.wr-bell-l{list-style:none; margin:0; padding:0}
.wr-bell-l a{display:block; padding:8px 6px; border-top:1px solid #2c3338; color:#fff; font-size:13.5px; line-height:1.35; overflow-wrap:anywhere; text-decoration:none}
.wr-bell-l li:first-child a{border-top:0}
.wr-bell-l a.new{background:color-mix(in srgb,var(--accent) 6%,transparent)}
.wr-bell-l a:hover{background:color-mix(in srgb,var(--accent) 8%,transparent); text-decoration:none}
.wr-bell-l a small{display:block; margin-top:2px; font-size:12px}
.wr-bell-m{border-top:1px solid #2c3338; margin-top:8px; padding-top:8px; display:flex; flex-direction:column; gap:5px; font-size:13px}
.wr-bell-g{display:flex; align-items:center; gap:7px; cursor:pointer; overflow-wrap:anywhere}
@media (max-width:600px){.wr-bell-p{position:fixed; top:calc(var(--hdr,62px) + 4px); right:8px}}
/* Your Units rows: logo, name and role on one line, one size (Jman 30 Nov) */
:is(#who:not(section),#acct) p:has(> a[href*="unit-"]){display:flex!important;align-items:center;gap:6px;flex-wrap:nowrap;font-size:var(--t-sm)!important;line-height:1.3;color:#8794a0;white-space:nowrap}
:is(#who:not(section),#acct) p:has(> a[href*="unit-"]) > a{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-sm)!important;line-height:1.3;color:#fff}
.wr-bell-p,.wr-bell-p *{white-space:normal!important;overflow-wrap:anywhere}.wr-bell-p{overflow-x:hidden!important}
/* one size for every row in the account menu (Jman 30 Nov): links and Your Units rows 14px, headings and small print 12px, the intro 13px */
:is(#who:not(section),#acct) .acct-panel p,:is(#who:not(section),#acct) .acct-panel p a,:is(#who:not(section),#acct) .acct-panel p:has(> a[href*="unit-"]),:is(#who:not(section),#acct) .acct-panel p:has(> a[href*="unit-"]) > a{font-size:var(--t-ui)!important;line-height:1.35!important}
:is(#who:not(section),#acct) .acct-panel>p:not(:first-child):not(:has(a)),:is(#who:not(section),#acct) .acct-panel div>p:first-child:not(:has(a)){font-size:var(--t-xs)!important;color:#3a6872!important}
:is(#who:not(section),#acct) .acct-panel>p:first-child{font-size:var(--t-sm)!important}
:is(#who:not(section),#acct) .acct-ply>:not(a),:is(#who:not(section),#acct) .acct-panel .sub{font-size:var(--t-xs)!important}
:is(#who:not(section),#acct) .out{font-size:var(--t-sm)!important}
/* the bell counts in the site yellow, full strength, on every page (Jman 30 Nov) */
.bell-n,.wr-bell-n{background:#f2a541!important;color:#161a1d!important;opacity:1!important}
/* the original ALiVE yellow (#f2a541, as on the current site) for the bell counts and the role tag, on every page (Jman 30 Nov) */
.bell-n,.wr-bell-n{background:#f2a541!important}
:is(#who:not(section),#acct) .role{color:#f2a541!important;border-color:#f2a541!important}

/* the language list under the globe (lang-switch.js) */
header.top .lang{position:relative}
header.top .lang-btn{display:flex;align-items:center;gap:6px;background:none;border:0;padding:0;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer}
header.top .lang-btn:hover{color:#f2a541}
header.top .lang-panel{position:absolute;right:0;top:34px;min-width:170px;background:#1c2125;border:1px solid #3a4248;padding:6px 0;z-index:60;box-shadow:0 14px 34px rgba(0,0,0,.5);text-align:left}
header.top .lang-panel[hidden]{display:none}
header.top .lang-panel a{display:block;padding:8px 16px;color:#fff;font:400 14px/1.3 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none;opacity:1}
header.top .lang-panel a:hover{background:#262c31;color:#f2a541}
header.top .lang-panel a.on{color:#f2a541}
header.top .lang-panel a.none{color:#8794a0}
