/* runz2.css — Run Z2: Experten-Modus = alte Experten-Oberfläche (body.xp-alt). Nur Design-Variablen aus tokens.css.
   1) Alias-Werte wie vor Run U (Seitengrund, Kartenradius 12 px, Leistentext) — damit die alte Oberfläche aussieht wie vorher.
   2) Eingehängte neue Bausteine (Google-Dienste-Karte, Geschäftsprofil, Ausgeschlossene Wörter, Zusatz-Link-Editor) im alten Raster. */
body.xp-alt{
  --bg:var(--n50); --card:var(--n0); --border:var(--line-2); --border2:var(--line);
  --ink:var(--n950); --txt:var(--n700); --muted:var(--n600); --muted2:var(--n500);
  --nav-bg:var(--n950); --nav-bg2:var(--n950);
  --nav-txt:color-mix(in srgb,var(--n0) 76%,transparent); --nav-dim:color-mix(in srgb,var(--n0) 52%,transparent);
  --shadow:var(--sh-1); --r-md:var(--r); --r-card:var(--r); --r-lg:16px;
}

/* Ein Zusatz-Link-Editor (Run Y): die alte Karte bleibt im Code, sichtbar ist nur der neue Block */
body.xp-alt #slCard{display:none!important}

/* Bausteine aus runt.js: gleiche Kartenform wie die alten Karten (.card) */
body.xp-alt #z2Nische .ez-card,body.xp-alt #z2Extras .ez-card,body.xp-alt #ezNegBox{border-radius:var(--r-card);box-shadow:var(--shadow);border-color:var(--border2)}
body.xp-alt .ez-nische,body.xp-alt .ez-extras,body.xp-alt .ez-tab-k{padding:0}
body.xp-alt .ez-nische.edit{padding:20px}
body.xp-alt #z2Nische .ez-card{margin:0 0 16px}
body.xp-alt #ezNegBox{margin:16px 0 0}

/* Übersicht: „Deine Google-Dienste“ */
.gd-ueb{padding:20px}
.gdu-h{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.gdu-h h2{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:700;color:var(--ink)}
.gdu-sub{font-size:13px;color:var(--muted)}
.gdu-h .btn{margin-left:auto}
.gdu-l{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
.gdu-z{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 12px;border:1px solid var(--border2);border-radius:var(--r)}
.gdu-z .gd-ic{flex:0 0 auto;display:inline-flex}
.gdu-t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.gdu-t b{font-size:14px;color:var(--ink)}
.gdu-t small{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.gdu-z .gd-st{flex:0 0 auto}
.gdu-z .btn{flex:0 0 auto;min-height:44px}
@media (max-width:1100px){.gdu-l{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){
  .gdu-z{flex-wrap:wrap}
  .gdu-z .gd-st{order:3}
  .gdu-z .btn{order:4;margin-left:auto}
}

/* Seite „Produkte & Feed“ (Run W) im alten Raster: volle Breite, Überschrift wie die anderen Experten-Seiten */
body.xp-alt #view-produkte .ez-page{max-width:none;margin:0;padding:0 0 32px}
body.xp-alt #view-produkte .ez-kz-t{font-size:23px;font-weight:650;letter-spacing:-.5px;line-height:1.2;color:var(--ink)}

/* Run Z2 B5: Dialog „AGB/Datenschutz einmal bestätigen“ (beide Modi) */
.zst{max-width:520px}
.zst .uidlg-t{font-size:18px;margin:0 0 8px}
.zst .uidlg-x p{margin:0 0 12px;line-height:1.5}
.zst-c{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:8px 0;cursor:pointer;line-height:1.45;color:var(--ink)}
.zst-c input{width:20px;height:20px;margin:2px 0 0;flex:0 0 auto;accent-color:var(--app-primary)}
.zst a{color:var(--app-primary);font-weight:600;text-decoration:underline}
.zst-h{font-size:13px;color:var(--muted)}
.zst-err{color:var(--app-schlecht);font-weight:600}
