/* GreenPulse Redesign 11/2026 – „Zeitung“
   Wird NACH styles.css geladen und überschreibt Farben, Kopf, Fuß und die Seiten Nachrichten, Landkarte, Werkzeuge.
   Nur Systemschriften (keine externen Requests). Klassen der Startseite: np-*, Landkarte: lk2-*. */

/* ── Farben: Papier, Stein, Waldgrün; dunkel neutral-warm statt grünstichig ── */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --surface-2: #f2f1ec;
  --ink: #1a1f1c; --ink-2: #3a413d; --muted: #525a55; --faint: #5e6661;
  --line: #e3e2dc; --line-strong: #cfcec6;
  --accent: #1f5c45; --accent-strong: #174a37; --accent-ink: #ffffff; --accent-soft: rgba(31, 92, 69, .08);
  --moss: #5f6e28; --warn: #8a4a00;
  --accent-web: #8a4a00; --accent-web-soft: rgba(138, 74, 0, .08); --accent-media: #1f5c45; --accent-events: #8a4a00;
  --brand: #1f5c45; --brand-2: #1f5c45; --brand-ink: #ffffff; --brand-soft: rgba(31, 92, 69, .08); --brand-glow: rgba(31, 92, 69, .14);
  --band: #1a1f1c; --band-ink: #f2f1ec; --band-muted: #b9bdb8;
  --heat-1: #e2ebe3; --heat-2: #c3d9c9; --heat-3: #8fb79c; --heat-4: #4a8466; --heat-5: #1f5c45; --heat-ink: #ffffff;
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161615; --surface: #1c1c1a; --surface-2: #232321;
    --ink: #e9e7e1; --ink-2: #c9c6be; --muted: #a7a398; --faint: #9d998f;
    --line: #2c2b28; --line-strong: #403e3a;
    --accent: #93bba2; --accent-strong: #b0cfbb; --accent-ink: #161615; --accent-soft: rgba(147, 187, 162, .1);
    --moss: #bcc48c; --warn: #e3ac66;
    --accent-web: #e3ac66; --accent-web-soft: rgba(227, 172, 102, .1); --accent-media: #93bba2; --accent-events: #e3ac66;
    --brand: #93bba2; --brand-2: #93bba2; --brand-ink: #161615; --brand-soft: rgba(147, 187, 162, .1); --brand-glow: rgba(147, 187, 162, .16);
    --band: #0f0f0e; --band-ink: #e9e7e1; --band-muted: #9d998f;
    --heat-1: #252b27; --heat-2: #2e3e34; --heat-3: #3c5746; --heat-4: #6e9a7e; --heat-5: #9cc2a9; --heat-ink: #161615;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161615; --surface: #1c1c1a; --surface-2: #232321;
  --ink: #e9e7e1; --ink-2: #c9c6be; --muted: #a7a398; --faint: #9d998f;
  --line: #2c2b28; --line-strong: #403e3a;
  --accent: #93bba2; --accent-strong: #b0cfbb; --accent-ink: #161615; --accent-soft: rgba(147, 187, 162, .1);
  --moss: #bcc48c; --warn: #e3ac66;
  --accent-web: #e3ac66; --accent-web-soft: rgba(227, 172, 102, .1); --accent-media: #93bba2; --accent-events: #e3ac66;
  --brand: #93bba2; --brand-2: #93bba2; --brand-ink: #161615; --brand-soft: rgba(147, 187, 162, .1); --brand-glow: rgba(147, 187, 162, .16);
  --band: #0f0f0e; --band-ink: #e9e7e1; --band-muted: #9d998f;
  --heat-1: #252b27; --heat-2: #2e3e34; --heat-3: #3c5746; --heat-4: #6e9a7e; --heat-5: #9cc2a9; --heat-ink: #161615;
  color-scheme: dark;
}

html { overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
a:hover { text-underline-offset: 3px; }

/* ── Werkzeugleiste ganz oben (Status, Hell/Dunkel, Sprache, RSS, Konto) ── */
.np-util { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); background: var(--bg); }
.np-util-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 40px; }
.np-util .mast-status { margin: 0; text-align: left; font: 13px/1.4 var(--sans); color: var(--muted); }
.np-util .mast-status b { color: var(--ink); font-weight: 600; }
.np-util .dot { background: var(--accent); }
.np-util-side, #gp-tools { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.np-util a { color: var(--muted); text-decoration: none; }
.np-util a:hover { color: var(--ink); text-decoration: underline; }
.np-util .theme-toggle { background: none; border: 0; padding: 0; min-width: 28px; height: 32px; font-size: 14px; color: var(--muted); cursor: pointer; }
.np-util .theme-toggle:hover { color: var(--ink); }
.np-util .acct { color: var(--ink) !important; font-weight: 600; }
.np-util .acct-avatar { background: var(--ink); color: var(--bg); }

/* ── Zeitungskopf: Marke mittig, Navigation als eigene Zeile darunter ── */
.mast { background: var(--bg); color: var(--ink); border-bottom: 0; overflow-x: clip; }
.mast .mast-inner { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px; padding: 26px 0 18px; }
.mast .mast-inner > .brand { grid-column: 2; display: block; text-align: center; color: var(--ink); text-decoration: none; }
.mast .mast-inner > .mast-side { grid-column: 1 / -1; display: block; margin: 0; }
.mast .np-mast-left { justify-self: start; }
.mast .np-mast-right { justify-self: end; display: flex; gap: 8px; }
.brand-name { display: inline-block; font: 700 clamp(32px, 4.4vw, 46px)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.brand-name::before {
  content: ""; display: inline-block; width: .62em; height: .62em; margin-right: .2em; vertical-align: -.02em; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l3-8 4 16 3-8h4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l3-8 4 16 3-8h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.brand-name span { color: inherit; }
.brand-name .beta { vertical-align: super; margin-left: 8px; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 999px; font: 600 10px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mast .brand-tag { display: block; margin: 8px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.mast-side { position: relative; }
.mast .mast-links {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 15px;
}
.mast .mast-links::before, .mast .mast-links::after { content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); height: 1px; pointer-events: none; }
.mast .mast-links::before { top: -1px; background: var(--ink); }
.mast .mast-links::after { bottom: -1px; background: var(--line); }
.mast .mast-links a, .mast .mast-links a:hover { color: var(--ink-2) !important; text-decoration: none; padding: 12px 0; }
.mast .mast-links a:hover { color: var(--ink) !important; text-decoration: underline; }
.mast .mast-links a[aria-current="page"] { color: var(--ink) !important; font-weight: 600; box-shadow: inset 0 -3px 0 var(--accent); }
.mast :focus-visible { outline-color: var(--accent); }
@media (max-width: 720px) {
  .mast .mast-inner { grid-template-columns: 1fr 1fr; padding-top: 18px; padding-bottom: 12px; padding-left: 16px; padding-right: 16px; }
  .mast .mast-inner > .brand { grid-column: 1 / -1; grid-row: 1; }
  .mast .np-mast-left, .mast .np-mast-right { grid-row: 2; }
  .mast .mast-links { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 22px; }
  .mast .mast-links a { white-space: nowrap; }
}

/* ── Bedienelemente ── */
.btn { border-radius: var(--radius); border-color: var(--line-strong); background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 600; padding: 9px 14px; }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.primary:hover { filter: none; opacity: .9; color: var(--bg); }
.btn.sm { font-size: 13px; padding: 6px 10px; }
.btn .filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: 6px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 11px; }
.seg { border-radius: var(--radius); border-color: var(--line-strong); background: var(--bg); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); font-weight: 600; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.drawer { background: var(--bg); border-radius: 0; }
.drawer-head h2 { font: 700 24px/1.2 var(--serif); }
.drawer-sec h3 { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.search input { border-radius: var(--radius); background: var(--bg); padding-top: 11px; padding-bottom: 11px; font-size: 15px; }
.search input:focus { border-color: var(--ink); box-shadow: none; }

/* ── Fuß ── */
.foot { margin-top: 48px; border-top: 1px solid var(--ink); background: var(--bg); color: var(--muted); font-size: 14px; }
.foot-inner { padding: 28px 0 44px; gap: 18px 48px; }
.foot p { max-width: 620px; }
.foot nav { gap: 6px 20px; }
.foot nav a, .foot .linklike { color: var(--muted); }
.foot nav a:hover { color: var(--ink); }

/* ══ Nachrichten (Startseite, body.np) ══ */
.np .np-search { padding-top: 14px; }
.np .np-search .search { max-width: 720px; }
.np-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; border-bottom: 1px solid var(--line); }
.np-label { font-size: 13px; color: var(--muted); }
.np-areas [data-block] { height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; box-shadow: inset 0 -2px 0 transparent; }
.np-areas [data-block]:hover { color: var(--ink); }
.np-areas [data-block][aria-pressed="true"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }
.np-view { margin-left: auto; font-size: 13px; color: var(--muted); }
.np .cats-bar { margin-top: 0; }
.np .cats { gap: 6px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .np .cats { flex-wrap: wrap; } }
.np .cats-bar .cat { height: 34px; margin: 0; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 14px; }
.np .cats-bar .cat:hover { border-color: var(--ink); }
.np .cats-bar .cat[aria-pressed="true"], .np .cats-bar .cat[data-cat="all"][aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 500; }
.np .cats-bar .cat .n, .np .cats-bar .cat[data-cat="all"][aria-pressed="true"] .n { color: inherit; opacity: .65; }

/* Woche in …: KI-Zusammenfassung und Audio der gewählten Kategorie */
.np-week { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 22px; padding: 24px 28px; background: var(--surface-2); border-radius: var(--radius); }
.np-week:not(:has(> :not([hidden]))) { display: none; }
.np-week > .cat-summary, .np-week > .daily { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink); }
.np-week > .cat-summary { flex: 2 1 460px; min-width: 0; }
.np-week > .daily { flex: 1 1 280px; min-width: 0; padding-left: 28px; border-left: 1px solid var(--line-strong); }
@media (max-width: 760px) { .np-week { padding: 20px; } .np-week > .daily { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid var(--line-strong); } }
.np-week .cs-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.np-week .cs-kicker, .np-week .wk-kicker { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.np-week .cs-cat { font-weight: 600; color: var(--ink); }
.np-week .cs-day { font-size: 13px; color: var(--muted); }
.np-week .cs-text { margin: 10px 0; max-width: 72ch; font: 19px/1.55 var(--serif); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.np-week .cat-summary.open .cs-text { display: block; }
.np-week .cs-src-btn { margin-right: 18px; font-size: 14px; }
.np-week .cs-sources { margin: 10px 0 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.np-week .wk-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 0; margin: 0; }
.np-week .wk-head { padding: 0; margin: 0; }
.np-week .wk-title { margin: 2px 0 0; font: 600 20px/1.3 var(--serif); }
.np-week .wk-kw { font: 400 14px var(--sans); color: var(--muted); }
.np-week audio { width: 100%; height: 40px; }
.np-week .wk-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.np-week .wk-panel { margin-top: 14px; }
.np-week .daily-script { max-height: 320px; overflow: auto; font: 15px/1.6 var(--serif); color: var(--ink-2); }
.np-week .daily-sources, .np-week .daily-archive { font-size: 14px; padding-left: 20px; }

.np .filter-note, .np .shared-banner { margin: 18px 0 0; }
.np-body { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; margin-top: 32px; }
.np-main { flex: 999 1 640px; min-width: 0; }
.np-side { flex: 1 1 260px; max-width: 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; font-size: 14px; }
@media (max-width: 960px) { .np-side { max-width: none; } }

/* Aufmacher */
.np-lead { display: flex; flex-wrap: wrap; gap: 0 36px; padding-bottom: 30px; border-bottom: 1px solid var(--ink); }
.np-lead-main { flex: 2 1 420px; min-width: 0; }
.np-lead-img { margin: 0 0 16px; }
.np-lead-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.np-lead-img figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }
.np-kicker { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--moss); }
.np-lead-main .np-kicker { color: var(--accent); font-size: 13px; }
.np-lead-title { margin: 8px 0 12px; font: 700 clamp(30px, 3.6vw, 44px)/1.1 var(--serif); letter-spacing: -.02em; }
.np-lead-title a, .np-title a, .np-second h3 a { color: var(--ink); text-decoration: none; }
.np-lead-title a:hover, .np-title a:hover, .np-second h3 a:hover { text-decoration: underline; }
.np-lead-teaser { margin: 0 0 12px; font: 20px/1.45 var(--serif); color: var(--ink-2); }
.np-lead-side { flex: 1 1 260px; min-width: 0; padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 760px) { .np-lead-side { padding-left: 0; border-left: 0; margin-top: 22px; } }
.np-second { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.np-second:last-child { margin-bottom: 0; }
.np-second h3 { margin: 6px 0; font: 600 21px/1.25 var(--serif); }
.np-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; font-size: 13px; color: var(--muted); }

/* Meldungen */
.np-river-head { margin: 28px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.np-river { list-style: none; margin: 0; padding: 0; }
.np-item { display: flex; gap: 24px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.np-when { flex: none; width: 76px; padding-top: 3px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.np-when b { display: block; color: var(--ink); font-weight: 600; }
.np-text { flex: 1; min-width: 0; }
.np-title { margin: 5px 0 7px; font: 600 23px/1.24 var(--serif); }
.np-text .item-ai, .np-text .item-abs { margin: 0 0 8px; max-width: 64ch; font-size: 16px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.np-text .item-ai.open, .np-text .item-abs.open { display: block; }
.np-meta .item-actions { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.np-meta .item-src { display: inline-flex; align-items: center; gap: 6px; }
.np-text .item-orig { margin-top: 6px; font-size: 14px; }
.np-text .item-orig summary { color: var(--muted); cursor: pointer; }
.np-thumb { flex: none; width: 168px; margin: 0; }
.np-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-2); }
@media (max-width: 640px) {
  .np-item { flex-wrap: wrap; gap: 6px 14px; }
  .np-when { width: 100%; display: flex; gap: 8px; padding: 0; }
  .np-when b { display: inline; }
  .np-thumb { width: 96px; }
  .np-title { font-size: 20px; }
}
.np-river.fading .age-7 { opacity: .9; }
.np-river.fading .age-30 { opacity: .78; }
.np-river.fading .age-old { opacity: .62; }
.np-river .skel { height: 104px; margin: 14px 0; background: var(--surface-2); border-radius: var(--radius); }
.np-river .empty { padding: 28px 0; color: var(--muted); }
.np .more-all { padding: 28px 0 0; }
.np .more-all .btn { width: 100%; height: 48px; border-color: var(--ink); }

/* Termine & CfP als eigene Ansicht im Fluss */
.np-river .sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 22px 0 8px; border-bottom: 1px solid var(--ink); }
.np-river .sub-head h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.np-river .ical-link { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.np-river .ev-item, .np-river .cfp-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.np-river .ev-item .item-title, .np-river .cfp-item .item-title { margin: 6px 0; font: 600 20px/1.3 var(--serif); }
.np-river .ev-item .item-title a, .np-river .cfp-item .item-title a { color: var(--ink); text-decoration: none; }
.np-river .ev-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; font-size: 14px; }
.np-river .ev-facts dt { color: var(--muted); }
.np-river .ev-facts dd { margin: 0; }
.np-river .ev-summary { margin: 8px 0 0; color: var(--ink-2); }
.np-river .cfp-deadline { font-weight: 600; color: var(--warn); }

/* Seitenspalte */
.np-side h2, .np-side .due-head { margin: 0 0 8px; padding-top: 10px; border-top: 2px solid var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.np-side .due { flex: none; margin: 0; padding: 0; border: 0; background: none; }
.np-side .due-list { list-style: none; margin: 0; padding: 0; }
.np-side .due-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.np-side .due-date { font-size: 12px; color: var(--muted); }
.np-side .due-chip { grid-column: 2; grid-row: 1; font-size: 12px; font-weight: 600; color: var(--muted); background: none; padding: 0; }
.np-side .due-chip.soon { color: var(--warn); }
.np-side .due-what { grid-column: 1 / -1; font-weight: 500; line-height: 1.35; color: var(--ink); text-decoration: none; }
.np-side .due-what:hover { text-decoration: underline; }
.np-side .due-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; font-size: 13px; }
.np-card { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.np-card:hover { border-color: var(--ink); }
.np-card svg { flex: none; color: var(--accent); }
.np-card b { display: block; }
.np-card span span { font-size: 13px; color: var(--muted); }
.np-side .pulse-chart { display: grid; gap: 6px; }
.np-side .pulse-bars { height: 36px; gap: 2px; }
.np-side .pulse-bars i { background: var(--line-strong); border: 0; border-radius: 0; }
.np-side .pulse-bars i.peak { background: var(--ink-2); }
.np-side .pulse-bars i.today { background: var(--accent); border: 0; }
.np-side .pulse-axis { font: 12px/1.2 var(--sans); color: var(--muted); }
.np-side .promo-foot { list-style: none; margin: 0; padding: 0; }
.np-side .promo { padding: 16px; background: var(--surface-2); border-radius: var(--radius); }
.np-side .promo-intro { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); }
.np-side .promo a.promo-card { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 0; color: var(--ink); text-decoration: none; }
.np-side .promo a.promo-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: var(--radius); background: #fff; }
.np-side .promo-text { overflow-wrap: anywhere; }

/* ══ Landkarte, Ansicht „Lebenszyklus nach Rolle“ (main.lk2) ══ */
.legal.lk2, .legal.wz { max-width: 1240px; }
.legal.lk2 h1, .legal.wz h1 { font: 700 clamp(32px, 3.6vw, 42px)/1.1 var(--serif); letter-spacing: -.02em; }
.lk2-intro, .wz-intro { margin: 0 0 8px; max-width: 760px; font: 19px/1.5 var(--serif); color: var(--ink-2) !important; }
.lk2-kicker { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.lk2-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 26px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lk2-roles { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.lk2-roles button { height: 42px; padding: 0 18px; border: 0; background: var(--bg); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.lk2-roles button + button { border-left: 1px solid var(--line-strong); }
.lk2-roles button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lk2-roledesc { margin: 18px 0 0 !important; font-size: 15px; color: var(--ink-2) !important; }
.lk2-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lk2-step { display: flex; flex-direction: column; border-top: 3px solid var(--ink); padding-top: 14px; }
.lk2-step-no { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.lk2-step h2 { margin: 4px 0 2px !important; font: 700 24px/1.2 var(--serif) !important; }
.lk2-step-desc { min-height: 38px; margin: 0 !important; font-size: 13px; color: var(--muted) !important; }
.lk2-count { display: flex; align-items: center; gap: 10px; margin: 12px 0 14px; }
.lk2-count b { font: 600 34px/1 var(--serif); }
.lk2-track { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.lk2-track i { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.lk2-top { list-style: none; margin: 0 !important; padding: 0 !important; flex: 1; }
.lk2-top li { padding: 9px 0; border-top: 1px solid var(--line); font: 600 15px/1.35 var(--serif); color: var(--ink) !important; }
.lk2-more { margin-top: 10px; align-self: flex-start; }
.lk2-frame { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 36px 0 0; padding: 22px 24px; background: var(--surface-2); border-radius: var(--radius); }
.lk2-frame > div { flex: 1 1 260px; min-width: 0; }
.lk2-frame > ul { flex: 2 1 420px; min-width: 0; }
.lk2-frame h2 { margin: 4px 0 !important; font: 700 24px/1.2 var(--serif) !important; }
.lk2-frame .lk2-top li { border-top: 0; border-bottom: 1px solid var(--line-strong); }
.lk .lk-facets { display: flex; flex-direction: column; gap: 10px; }
.lk .lk-facet { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lk .lk-facet-label { min-width: 110px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lk .lk-chip { height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: 14px var(--sans); cursor: pointer; }
.lk .lk-chip span { color: var(--muted); }
.lk .lk-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lk .lk-chip[aria-pressed="true"] span { color: inherit; opacity: .7; }
.lk .lk-result { margin-top: 32px; }
.lk .lk-result h2 { padding-top: 12px; border-top: 2px solid var(--ink); font: 700 26px/1.2 var(--serif); }
.lk .lk-list { list-style: none; margin: 0; padding: 0; }
.lk .lk-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.lk .lk-list a { font: 600 20px/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.lk .lk-list a:hover { text-decoration: underline; }
.lk .lk-meta { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.lk .lk-badge { margin-left: 6px; padding: 0 6px; border: 1px dashed var(--line-strong); border-radius: 3px; }
.lk .lk-legend details { border-top: 1px solid var(--line); padding: 10px 0; }
.lk .lk-legend summary { cursor: pointer; font-weight: 600; }

/* Im Konto ausgeblendete Bereiche (hidden_blocks) in der Quellenleiste */
[data-block][hidden] { display: none; }

/* ══ Werkzeuge: Katalog als Liste mit Erwähnungs-Balken ══ */
.wz .panel { border: 0; background: none; padding: 0; }
.wz .wz-filters { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.wz .wz-chip { border-radius: var(--radius); padding: 6px 12px; background: var(--bg); color: var(--ink); }
.wz .wz-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.wz .wz-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.wz .wz-legend i, .wz .wz-bar i { display: inline-block; }
.wz .wz-legend i { width: 14px; height: 8px; margin-right: 6px; vertical-align: 1px; }
.wz .wz-group { margin: 30px 0 0; }
.wz .wz-group-head { margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font: 700 24px/1.25 var(--serif); }
.wz .wz-grid { display: block; }
.wz .wz-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; grid-template-areas: "head stats" "desc stats" "links stats";
  gap: 4px 28px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none;
}
.wz .wz-card-head { grid-area: head; justify-content: flex-start; align-items: baseline; gap: 4px 12px; }
.wz .wz-name { font: 600 20px/1.3 var(--serif); }
.wz .wz-type { padding: 0; border: 0; border-radius: 0; background: none !important; color: var(--moss) !important; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.wz .wz-desc { grid-area: desc; max-width: 62ch; font-size: 15px; color: var(--ink-2); }
.wz .wz-links { grid-area: links; margin-top: 4px; }
.wz .wz-stats { grid-area: stats; font-size: 13px; color: var(--muted); }
.wz .wz-stats b { font: 600 22px/1 var(--serif); color: var(--ink); margin-right: 4px; }
.wz .wz-bar { display: flex; height: 6px; margin: 8px 0 6px; border-radius: 3px; overflow: hidden; background: var(--line); }
.wz .wz-bar i { height: 6px; }
.wz .s1 { background: var(--accent); }
.wz .s2 { background: var(--heat-3); }
.wz .s3 { background: var(--line-strong); }
@media (max-width: 640px) { .wz .wz-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "desc" "stats" "links"; } }

/* Systemschrift statt Mono in den übernommenen Bausteinen */
.np-week *, .np-side .due *, .np-util *, .np-river .ev-item *, .np-river .cfp-item * { font-family: inherit; }
.np-week .cs-text, .np-week .wk-title, .np-week .daily-script { font-family: var(--serif); }
.np-river .ev-item .item-title, .np-river .cfp-item .item-title { font-family: var(--serif); }
.np-week .wk-coffee { display: none; }
.lk2-step h2, .lk2-frame h2, .lk2-count b { color: var(--ink) !important; }
.legal .note { border-left: 2px solid var(--line-strong); background: var(--surface-2); color: var(--ink-2); }

/* Freigabestufe eines Reiters in der Hauptnavigation (nur für Berechtigte sichtbar) */
.mast .mast-links .nav-stage { margin-left: 6px; padding: 0 5px; border: 1px dashed var(--line-strong); border-radius: 3px; font-size: 11px; font-weight: 600; color: var(--muted); vertical-align: 1px; }

/* Treffermarkierung (ITSM, Evidenz-Redaktion): statt Browser-Gelb dezent im Akzentton */
mark { background: var(--accent-soft); color: inherit; box-shadow: inset 0 -2px 0 var(--accent); padding: 0 .1em; border-radius: 2px; }
