/* Header login button on every theorie.rijsim.nl page (Leib 22.11.2026: "at the top right corner there should be the
   option to log in with the pass"). Logged out: "Inloggen" -> /login/?next=<this page>. Logged in: "Mijn pas" + a short
   status, to the account page. Markup: <a class="ts-acct" data-ts-acct>, filled by /assets/theorie-auth.js. Always
   visible (no hide-s/hide-xs), at least 44 px high, last item in the header so it sits top right. */
.ts-acct{display:inline-flex;align-items:center;gap:7px;flex:none;min-height:44px;padding:0 14px;margin-inline-start:6px;border-radius:999px;
  background:#ff9f1a;color:#141414!important;font-weight:800;font-size:14.5px;line-height:1.1;text-decoration:none!important;white-space:nowrap;
  box-shadow:0 4px 14px rgba(0,0,0,.25)}
.ts-acct:hover{filter:brightness(1.08)}.ts-acct:focus-visible{outline:3px solid #fff;outline-offset:2px}
.ts-acct svg{width:18px;height:18px;flex:none}
.ts-acct .ts-acct-t{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.ts-acct small{display:block;font-size:11px;font-weight:700;opacity:.8;margin-top:1px;max-width:190px;overflow:hidden;text-overflow:ellipsis}
/* logged in: calmer, it is no longer the next step */
.ts-acct.in{background:rgb(var(--ink,255 255 255) / .08);color:var(--copy,#eef1f5)!important;border:1px solid rgba(255,159,26,.55);box-shadow:none}
.ts-acct.in svg{color:#ff9f1a}
.ts-acct.in.nopass small{color:#ffd27a}
/* phones: label stays, the status line goes (it is on the account page), the icon goes below 400 px */
@media (max-width:700px){.ts-acct small{display:none}.ts-acct{padding:0 12px;font-size:14px}}
@media (max-width:400px){.ts-acct svg{display:none}.ts-acct{padding:0 11px;margin-inline-start:4px}}
/* Theorie Wereld bar: stats chips keep their place, the button after them; the bar title gives way first */
.wl-bar .ts-acct{margin-inline-start:0}
.wl-bar .wl-right{display:flex;align-items:center;gap:8px;flex:none}
@media (max-width:440px){.wl-bar .wl-right{gap:4px}.wl-bar.has-acct .wl-brand span{display:none}}
/* small phones, theory shop and help pages: brand + "Theorie Wereld" + language + button must fit in 360-440 px.
   The language menu keeps its globe (the menu itself is unchanged), the nav gaps get smaller, nothing is hidden. */
@media (max-width:440px){.ts .nav nav{gap:6px}.ts .nav .lang-dd{margin-inline-start:0}.ts .nav .lang-dd .lc{display:none}.ts .nav .lang-dd summary{padding:0 9px;gap:3px}
  .ts .nav .brand{gap:6px}.ts .nav nav>a:not(.ts-acct){padding-inline:4px}}
@media (max-width:374px){.ts .nav .brand span{display:none}}
/* One brand on every theory page (r29head) and the phone header of the skinned course pages: since round 24 these rules live in
   /assets/theorie-head.css (every page type carries the same language menu, no "NL | EN" switch any more). */
