/* Produktwechsler (Runde 1111, web-wechsler) – Schalter am Markenzeichen und Tafel mit den Programmlogos.
   Eigene Farben (hell/dunkel nach dem Hintergrund der Stelle, s. dateien-wechsler.js), damit er in NeXtDMS, NeXtFile,
   NeXtCast, der Übersicht und der Webmail gleich aussieht. */
.nxw-knopf{ -webkit-appearance:none; appearance:none; margin:0; border:0; background:transparent; color:inherit; font:inherit;
  text-align:left; cursor:pointer; border-radius:10px; }
.nxw-knopf:focus{ outline:none; }
.nxw-knopf:focus-visible{ outline:2px solid #4c6ef5; outline-offset:2px; }
.nxw-innen{ display:flex; align-items:center; gap:inherit; padding:3px 6px 3px 3px; margin:-3px -6px -3px -3px; min-width:0; }
.nxw-innen:hover, .nxw-cast:hover, button.dach.nxw-knopf:hover{ background:rgba(76,110,245,.10); }
.nxw-pfeil{ display:inline-flex; align-items:center; flex:none; opacity:.62; margin-left:-2px; transition:transform .15s; }
.nxw-knopf .nxw-pfeil svg{ display:block; width:12px !important; height:12px !important; border-radius:0 !important;
  box-shadow:none !important; margin:0 !important; fill:none; }
.nxw-knopf[aria-expanded="true"] .nxw-pfeil{ transform:rotate(180deg); opacity:.9; }
.nxw-knopf[aria-expanded="true"]{ background:rgba(76,110,245,.14); }
/* Portal (adressen_seiten.py): die Marke „NeXtEnterprise“ ist jetzt der Schalter */
button.dach.nxw-knopf{ padding:3px 8px 3px 3px; margin:-3px -8px -3px -3px; gap:10px; }
/* NeXtCast: eigener Schalter mit Logo im Kopf, ersetzt das alte Zeichen */
.nxw-cast{ display:inline-flex; align-items:center; gap:4px; flex:none; height:40px; padding:0 6px 0 4px; }
.nxw-cast .nxw-logo{ width:30px; height:30px; border-radius:8px; display:block; }
.nxf-me-kopf.nxw-hat .nxf-me-logo{ display:none; }
/* 185 (nsuite-start185): NeXtCast mit Leiste – die Marke oben links in der Leiste ist der Schalter (wie NeXtDMS/NeXtFile); der
   kleine Schalter im Kopf nur dort, wo die Leiste eine Schublade ist (schmal). Auf dem Blau der Leiste: weiße Flächen/Rahmen. */
.nxf-me.mit-leiste .nxf-me-kopf .nxw-cast{ display:none; }
@media (max-width:760px){ .nxf-me.mit-leiste .nxf-me-kopf .nxw-cast{ display:inline-flex; } }
.nxf-ml-marke .nxw-innen{ border-radius:12px; padding:4px 8px 4px 4px; margin:-4px -8px -4px -4px; }
.nxf-ml-marke .nxw-innen:hover{ background:rgba(255,255,255,.12); }
.nxf-ml-marke .nxw-knopf[aria-expanded="true"]{ background:rgba(255,255,255,.18); }
.nxf-ml-marke .nxw-knopf:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.nxf-ml-marke .nxw-pfeil{ opacity:.85; margin-left:2px; }
/* 185: NeXtPassword (web/nxpw/app.css .np-marke) */
button.np-marke.nxw-knopf{ padding:3px 8px 3px 3px; margin:-3px -8px -3px -3px; }
button.np-marke.nxw-knopf:hover{ background:rgba(76,110,245,.10); }
.nxw-knopf .nxw-vorne{ width:28px; height:28px; border-radius:8px; margin-right:8px; box-shadow:none; }
/* 186: NeXtMailbox (Webmail, Verwaltung): Wortmarke ohne Abstand im Knopf – Pfeil sonst 2 px über „Verwaltung“/„tMailbox“ */
@media (min-width:761px){ .wortmarke .nxw-innen > .nxw-pfeil{ margin-left:6px; } }   /* am Handy steht dort nur das Logo */
.wortmarke .nxw-innen{ margin-right:-2px; }   /* Webmail am Handy: Knopf ragte 2 px unter den Zurück-Knopf */
/* 186 (web-modulwechsel): NeXtDMS am Handy – das Logo oben links (neben dem Menü-Knopf) ist der Schalter, ohne Namen;
   vorher blendete styles.css die Marke aus und der Wechsler stand im ⋯-Menü. */
@media (max-width:760px), (max-height:500px) and (pointer:coarse){
  .topbar > .brand.nxw-hat{ display:flex !important; order:0; flex:0 0 auto; min-width:0 !important; gap:0; margin-right:2px; }
  .topbar > .brand.nxw-hat .bt{ display:none; }
  .topbar > .brand.nxw-hat .nxw-innen{ gap:4px; height:40px; padding:0 4px 0 3px; margin:0; }
  .topbar > .brand.nxw-hat .mark{ width:30px; height:30px; }
}

/* ---------- Tafel ---------- */
.nxw-tafel{ --nxw-bg:#ffffff; --nxw-linie:#e2e7f1; --nxw-text:#1a2130; --nxw-leise:#566174; --nxw-hover:#f1f4fb;
  --nxw-an:#edf1ff; --nxw-akz:#3b5bdb; --nxw-akz-text:#3451c9; --nxw-teal:#14b8b2;
  position:fixed; z-index:2147483000; box-sizing:border-box; overflow:auto; overscroll-behavior:contain;
  padding:10px 10px 8px; border-radius:16px; border:1px solid var(--nxw-linie); background:var(--nxw-bg); color:var(--nxw-text);
  box-shadow:0 2px 6px rgba(20,30,60,.08),0 18px 44px rgba(20,30,60,.20);
  font:14px/1.35 "Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif; text-align:left; letter-spacing:0;
  -webkit-text-size-adjust:100%; animation:nxw-auf .12s ease-out; }
.nxw-tafel.nxw-dunkel{ --nxw-bg:#161c26; --nxw-linie:#2c3648; --nxw-text:#e7ecf3; --nxw-leise:#a3adbd; --nxw-hover:#1f2735;
  --nxw-an:#1c2540; --nxw-akz:#748ffc; --nxw-akz-text:#9db4ff; --nxw-teal:#46ddd5;
  box-shadow:0 2px 6px rgba(0,0,0,.35),0 18px 44px rgba(0,0,0,.55); }
@keyframes nxw-auf{ from{ opacity:0; transform:translateY(-4px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ .nxw-tafel{ animation:none; } .nxw-pfeil{ transition:none; } }
.nxw-tafel *, .nxw-tafel *::before, .nxw-tafel *::after{ box-sizing:border-box; }
.nxw-kopf{ display:flex; align-items:center; justify-content:space-between; min-height:22px; padding:2px 6px 8px; font-size:12px;
  font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--nxw-leise); }
/* 186: Schließen-Knopf und Griff nur im Blatt (am PC schließen Esc, Klick daneben und der Schalter) */
.nxw-zu{ display:none; -webkit-appearance:none; appearance:none; align-items:center; justify-content:center; width:36px; height:36px;
  margin:-8px -6px -8px 0; padding:0; border:0; border-radius:50%; background:transparent; color:var(--nxw-leise); cursor:pointer; }
.nxw-zu:hover{ background:var(--nxw-hover); color:var(--nxw-text); }
.nxw-zu:focus-visible{ outline:2px solid var(--nxw-akz); outline-offset:0; }
.nxw-zu svg{ display:block; }
.nxw-griff{ display:none; }
.nxw-liste{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
.nxw-liste li{ margin:0; padding:0; min-width:0; }
.nxw-eintrag{ position:relative; display:flex; flex-direction:column; align-items:center; gap:7px; min-height:96px; padding:11px 4px 9px;
  border-radius:12px; color:inherit; text-decoration:none; text-align:center; outline:none; }
.nxw-eintrag:hover{ background:var(--nxw-hover); }
.nxw-eintrag:focus-visible, .nxw-alle:focus-visible{ box-shadow:inset 0 0 0 2px var(--nxw-akz); }
.nxw-eintrag.an{ background:var(--nxw-an); }
.nxw-logo{ display:block; flex:none; border-radius:12px; box-shadow:0 3px 10px rgba(30,40,90,.16); }
.nxw-tafel .nxw-eintrag .nxw-logo{ width:44px; height:44px; }
.nxw-tx{ display:flex; flex-direction:column; min-width:0; max-width:100%; }
.nxw-wm{ display:block; font-size:13.5px; font-weight:750; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nxw-wm i{ font-style:normal; color:var(--nxw-teal); }
.nxw-wm em{ font-style:normal; }
.nxw-eintrag small{ display:none; }
.nxw-eintrag.an::after{ content:""; position:absolute; top:9px; right:9px; width:8px; height:8px; border-radius:50%; background:var(--nxw-akz); }
.nxw-jetzt{ display:none; padding:0 6px; border-radius:6px; font-size:10.5px; font-weight:700; line-height:17px;
  background:var(--nxw-akz); color:#fff; }
.nxw-tafel.nxw-dunkel .nxw-jetzt{ color:#0d1117; }
/* 186: unten „Übersicht“ · „Verwaltung“ nebeneinander, gleich hoch */
.nxw-fuss{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:4px; margin:8px 0 0; padding:8px 0 0;
  border-top:1px solid var(--nxw-linie); }
.nxw-alle{ display:flex; align-items:center; gap:10px; min-height:48px; padding:7px 8px; border-radius:10px; color:inherit;
  text-decoration:none; outline:none; min-width:0; }
.nxw-alle:hover{ background:var(--nxw-hover); }
.nxw-alle.an{ background:var(--nxw-an); }
.nxw-tafel .nxw-alle .nxw-logo{ width:26px; height:26px; border-radius:7px; box-shadow:none; }
.nxw-alle b{ display:block; font-size:13.5px; font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nxw-alle small{ display:block; font-size:12px; color:var(--nxw-leise); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* 185: Internetseiten – Dachmarke NeXtEnterprise als eigene Zeile über den Produktseiten, Trennlinie, neuer Tab */
.nxw-web{ margin:8px 0 0; padding:8px 0 0; border-top:1px solid var(--nxw-linie); }
.nxw-web-kopf{ padding:0 6px 6px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--nxw-leise); }
.nxw-dach{ display:flex; align-items:center; gap:10px; padding:8px; border-radius:10px; color:inherit; text-decoration:none; outline:none; }
.nxw-dach:hover, .nxw-seite:hover{ background:var(--nxw-hover); }
.nxw-dach:focus-visible, .nxw-seite:focus-visible{ box-shadow:inset 0 0 0 2px var(--nxw-akz); }
.nxw-tafel .nxw-dach .nxw-logo{ width:30px; height:30px; border-radius:8px; box-shadow:none; }
.nxw-dach .nxw-tx{ flex:1; }
.nxw-dach .nxw-wm{ font-size:14.5px; }
.nxw-dach small{ display:block; font-size:12px; color:var(--nxw-leise); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nxw-raus{ flex:none; color:var(--nxw-leise); }
.nxw-web-reihe{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; margin:4px 0 0 0; padding:6px 0 0 18px;
  border-top:1px dashed var(--nxw-linie); }
.nxw-seite{ display:flex; align-items:center; gap:8px; min-height:36px; padding:5px 8px; border-radius:9px; color:inherit; text-decoration:none;
  outline:none; font-size:13px; font-weight:600; min-width:0; }
.nxw-seite span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nxw-tafel .nxw-seite .nxw-logo{ width:20px; height:20px; border-radius:6px; box-shadow:none; }
/* 186: Handy (schmal) – Blatt von unten: volle Breite, oben gerundet, Griff, Schleier dahinter; gleiches Raster wie am PC */
.nxw-schleier{ display:none; }
.nxw-schleier.nxw-an{ display:block; position:fixed; inset:0; z-index:2147482999; background:rgba(10,16,32,.42);
  animation:nxw-schleier .16s ease-out; -webkit-tap-highlight-color:transparent; }
@keyframes nxw-schleier{ from{ opacity:0; } to{ opacity:1; } }
.nxw-tafel.nxw-blatt{ top:auto !important; left:0 !important; right:0 !important; bottom:0; width:auto !important;
  max-height:calc(100vh - 40px); max-height:calc(100dvh - 40px); border-radius:18px 18px 0 0; border-bottom:0;
  padding:4px 12px calc(12px + env(safe-area-inset-bottom, 0px)); animation:nxw-blatt .2s cubic-bezier(.2,.8,.3,1);
  transition:transform .12s ease-out; }
@keyframes nxw-blatt{ from{ transform:translateY(40px); opacity:.4; } to{ transform:none; opacity:1; } }
.nxw-tafel.nxw-blatt .nxw-griff{ display:block; width:40px; height:5px; margin:6px auto 8px; border-radius:3px; background:var(--nxw-linie);
  cursor:pointer; }
.nxw-tafel.nxw-blatt .nxw-zu{ display:inline-flex; }
.nxw-tafel.nxw-blatt .nxw-eintrag{ min-height:92px; }
.nxw-tafel.nxw-blatt .nxw-fuss{ grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (prefers-reduced-motion:reduce){ .nxw-tafel.nxw-blatt, .nxw-schleier.nxw-an{ animation:none; transition:none; } }
@media (forced-colors:active){ .nxw-eintrag.an, .nxw-alle.an{ outline:2px solid CanvasText; } }
