/* (onenav1) owner 2 Nov: the one profile menu (web/partials/acct-menu.html) and the account picture. The header's account
   button opens it on every page (site-nav.html), and the chart's own account button opens the same one (#tbarMenu wears
   .tlab-menu too). It follows the page's light or dark like the header's menus: light unless the page says dark.
   (The tlab- prefix is the menu's own; it outlived the 1 Nov app bar it was first made for.) */
.tlab-menu{--tb-ink:#14171f;--tb-dim:#5b6270;--tb-hover:#f3f4f7;--tb-menu:#fff;--tb-mline:#e6e8ef;--tb-on:#00a85e;--tb-line:#e6e8ef;
  --tb-font:-apple-system,BlinkMacSystemFont,'Inter','Segoe UI',Roboto,sans-serif}
html[data-theme="dark"] .tlab-menu{--tb-ink:#eef0f4;--tb-dim:#9aa0ad;--tb-hover:rgba(255,255,255,.07);--tb-menu:#0d0d14;--tb-mline:#1f1f33;--tb-on:#00d68f;--tb-line:#24243a}
.tlab-menu *{box-sizing:border-box}
.tlab-menu{width:296px;padding:6px;border-radius:16px;background:var(--tb-menu);color:var(--tb-ink);font-family:var(--tb-font);text-align:left;
  box-shadow:0 0 0 1px var(--tb-mline),0 24px 60px -20px rgba(16,19,30,.32)}
html[data-theme="dark"] .tlab-menu{box-shadow:0 0 0 1px var(--tb-mline),0 24px 60px -18px rgba(0,0,0,.85)}
.tlab-menu[hidden]{display:none}
.tbar-menu.tlab-menu{min-width:0;width:296px;border:0;padding:6px;border-radius:16px;background:var(--tb-menu)}
.tlab-menu a:focus-visible,.tlab-menu button:focus-visible{outline:2px solid var(--tb-on);outline-offset:-2px}

/* the head: picture, name, email, plan */
.tlab-mh{display:flex;align-items:center;gap:11px;padding:9px 9px 13px;margin:0 0 6px;border-bottom:1px solid var(--tb-mline)}
.tlab-mh-t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.tlab-mh-t b{font-size:14px;font-weight:700;color:var(--tb-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em}
.tlab-mh-t small{font-size:12px;color:var(--tb-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tlab-mh-t small:empty{display:none}
.tlab-plan{flex:none;padding:3px 8px;border-radius:999px;border:1px solid rgba(0,196,110,.4);color:var(--tb-on);font-size:10.5px;font-weight:700;letter-spacing:.06em}
.tlab-plan.free{border-color:var(--tb-line);color:var(--tb-dim);background:var(--tb-hover)}
.tlab-plan.admin{border-color:rgba(200,149,26,.5);color:#c8951a}

/* rows */
.tlab-menu .tlab-mi{display:flex;align-items:center;gap:11px;width:100%;min-height:36px;margin:0;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--tb-dim);
  font:500 13.5px/1.2 var(--tb-font);letter-spacing:0;text-align:left;text-decoration:none;text-transform:none;white-space:nowrap;cursor:pointer;
  transition:background .14s,color .14s}
.tlab-menu .tlab-mi[hidden]{display:none}
.tlab-menu .tlab-mi svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s cubic-bezier(.2,.9,.25,1)}
.tlab-menu .tlab-mi:hover,.tlab-menu .tlab-mi:focus-visible{background:var(--tb-hover);color:var(--tb-ink);outline:0}
.tlab-menu .tlab-mi:hover svg{transform:translateX(1px) scale(1.06)}
.tlab-menu .tlab-mi-up{color:var(--tb-on);font-weight:600}
.tlab-menu .tlab-out:hover,.tlab-menu .tlab-out:focus-visible{background:rgba(255,51,85,.1);color:#e5385a}
.tlab-md{height:1px;margin:6px 4px;background:var(--tb-mline)}
.tlab-ms{padding:8px 10px 4px;font:700 10.5px var(--tb-font);letter-spacing:.09em;text-transform:uppercase;color:var(--tb-dim);opacity:.75}
.tlab-page:empty{display:none}
.tlab-lang-slot:empty{display:none}
.tlab-note{padding:4px 10px 6px;font:400 11px/1.35 var(--tb-font);color:var(--tb-dim);opacity:.8;white-space:normal}
.tlab-note:empty{display:none}
.tlab-vol{display:flex;align-items:center;gap:11px;min-height:36px;padding:0 10px;color:var(--tb-dim);font:500 13.5px var(--tb-font)}
.tlab-vol svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tlab-vol input{flex:1;min-width:0;height:4px;accent-color:var(--tb-on)}
.tlab-vol span{min-width:34px;text-align:right;color:var(--tb-ink);font-size:12px}
/* the chart's phone-only items stay phone-only inside the shared menu */
.tlab-menu .tbar-menu-mob{display:none}
@media(max-width:768px){.tlab-menu .tbar-menu-mob{display:flex}}

/* opening: the panel settles in from the button's corner, the rows follow a beat behind (once, never looping) */
@keyframes tlabMenuIn{from{opacity:0;transform:translateY(-6px) scale(.965)}}
@keyframes tlabRowIn{from{opacity:0;transform:translateY(-3px)}}
.tlab-menu.tl-opening{animation:tlabMenuIn .2s cubic-bezier(.2,.9,.25,1);transform-origin:top right}
.tlab-menu.tl-opening .tlab-mh,.tlab-menu.tl-opening .tlab-mi,.tlab-menu.tl-opening .tn-lang,.tlab-menu.tl-opening .tlab-vol{animation:tlabRowIn .28s cubic-bezier(.2,.9,.25,1) both;animation-delay:calc(var(--i,0) * 14ms + 30ms)}

/* the picture: the stand-in figure until a picture loads, then the picture fills the whole circle (.tlab-pic).
   (1 Nov the figure was hidden with svg.hidden, which an SVG element does not have, so both showed: the figure on top and
   the picture pushed down under it.) */
.tlab-mh-av,.tlab-av{position:relative;flex:none;display:inline-grid;place-items:center;overflow:hidden;border-radius:50%}
.tlab-mh-av{width:40px;height:40px;background:var(--tb-hover);color:var(--tb-dim);border:1px solid var(--tb-mline)}
.tlab-mh-av svg{width:21px;height:21px}
.tlab-av img,.tlab-mh-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.tlab-av img[hidden],.tlab-mh-av img[hidden]{display:none}
.tlab-pic>svg{display:none!important}

/* the page's language picker, moved in by site-account.js on a page whose header has none (the chart); it keeps its own
   script, it only looks like a menu row here */
.tlab-menu .tn-lang{position:relative;display:block;width:100%}
.tlab-menu .tn-lang .tn-lang-btn{display:flex;align-items:center;gap:11px;width:100%;height:auto;min-height:36px;margin:0;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--tb-dim);
  font:500 13.5px/1.2 var(--tb-font);text-align:left;cursor:pointer}
.tlab-menu .tn-lang .tn-lang-btn:hover,.tlab-menu .tn-lang .tn-lang-btn:focus-visible,.tlab-menu .tn-lang.open .tn-lang-btn{background:var(--tb-hover);color:var(--tb-ink);outline:0}
.tlab-menu .tn-lang .tn-lang-btn svg{order:0;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
.tlab-menu .tn-lang .tn-lang-btn .tn-lang-name{order:1;display:inline!important;font-weight:500}
.tlab-menu .tn-lang .tn-lang-btn .tn-lang-code{order:2;margin-left:auto;font-size:11px;font-weight:600;opacity:.7}
.tlab-menu .tn-lang .tn-lang-menu{display:none;position:static;width:auto;min-width:0;margin:4px 0 6px;padding:6px;border-radius:10px;background:transparent;border:1px solid var(--tb-mline);box-shadow:none}
.tlab-menu .tn-lang.open .tn-lang-menu{display:block}
.tlab-menu .tn-lang .tn-lang-q{display:block;width:100%;margin:0 0 6px;padding:7px 10px;border:1px solid var(--tb-mline);border-radius:8px;background:transparent;color:var(--tb-ink);font:400 13px var(--tb-font);outline:none}
.tlab-menu .tn-lang .tn-lang-q:focus{border-color:var(--tb-on)}
.tlab-menu .tn-lang .tn-lang-list{max-height:min(40vh,300px);overflow-y:auto;overscroll-behavior:contain}
.tlab-menu .tn-lang .tn-lang-opt{display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:var(--tb-ink);font:400 13px var(--tb-font);text-align:left;cursor:pointer}
.tlab-menu .tn-lang .tn-lang-opt:hover,.tlab-menu .tn-lang .tn-lang-opt:focus-visible{background:var(--tb-hover);outline:none}
.tlab-menu .tn-lang .tn-lang-opt.on{color:var(--tb-on);font-weight:700}
.tlab-menu .tn-lang .tn-lang-opt small{font-size:11px;font-weight:400;color:var(--tb-dim)}
.tlab-menu .tn-lang .tn-lang-sep{height:1px;margin:5px 4px;background:var(--tb-mline)}
.tlab-menu .tn-lang .tn-lang-empty,.tlab-menu .tn-lang .tn-lang-by{padding:6px 10px;font-size:11px;color:var(--tb-dim)}

@media(prefers-reduced-motion:reduce){.tlab-menu.tl-opening,.tlab-menu.tl-opening *{animation:none!important}.tlab-menu .tlab-mi:hover svg{transform:none}}
