/*
 * V4 account pages (W15): notifications (bl-bn-*), settings (bl-set-*),
 * billing (bl-bill-*) and help & support (bl-help-*), after
 * webapp-v4/seiten/20 to 23 (mockup prefixes bn-, einstellungen-, abrechnung-,
 * hilfe-). Tokens only, everything scoped under .bl-v4: no effect while the
 * v4_design switch is off.
 */

.bl-v4 .bl-min-0 { min-width: 0; }

/* Dark mode: tailwind/application.css paints every input grey with !important
   (".dark input"), which beats the V4 field tokens. Restore them on these pages. */
.dark .bl-v4 :is(.bl-set, .bl-help-page) :is(.bl-input, .bl-select, .bl-textarea) {
  background-color: var(--surface) !important;
  border-color: var(--line-strong) !important;
  color: var(--ink) !important;
}
.dark .bl-v4 :is(.bl-set, .bl-help-page) :is(.bl-input, .bl-select, .bl-textarea):focus { border-color: var(--accent) !important; }
.dark .bl-v4 .bl-help-page .bl-search input { background-color: transparent !important; border-color: transparent !important; color: var(--ink) !important; }

/* ---------- 20 Benachrichtigungen ---------- */
.bl-v4 .bl-bn-head-side { display: flex; align-items: center; gap: 12px; flex: none; padding-top: 2px; }
.bl-v4 .bl-bn-read-all { display: inline-flex; }
.bl-v4 .bl-bn-filters { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.bl-v4 .bl-bn-filters .bl-chip { gap: 8px; }
.bl-v4 .bl-bn-feed { display: block; }
.bl-v4 .bl-bn-group { margin-top: 28px; }
.bl-v4 .bl-bn-group-title { margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bl-v4 .bl-bn-list { overflow: hidden; list-style: none; margin: 0; padding: 0; }
.bl-v4 .bl-bn-row { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; padding: 18px 20px; border-top: 1px solid var(--line); transition: background-color .15s ease; }
.bl-v4 .bl-bn-row:first-child { border-top: 0; }
.bl-v4 .bl-bn-row.bl-is-unseen { background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.bl-v4 .bl-bn-row .bl-lrow-ic { margin-top: 1px; }
.bl-v4 .bl-bn-row.bl-is-danger .bl-lrow-ic { color: var(--bad); }
.bl-v4 .bl-bn-main { min-width: 0; }
.bl-v4 .bl-bn-title { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.bl-v4 .bl-bn-title a { color: inherit; transition: color .15s ease; }
.bl-v4 .bl-bn-title a:hover { color: var(--accent-ink); }
.bl-v4 .bl-bn-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 999px; background: var(--accent); flex: none; }
.bl-v4 .bl-bn-stars { color: var(--star); letter-spacing: 1px; }
.bl-v4 .bl-bn-detail { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 72ch; }
.bl-v4 .bl-bn-quote { margin-top: 8px; padding: 2px 0 2px 12px; border-left: 2px solid var(--line-strong); font-size: 13px; font-style: italic; line-height: 1.55; color: var(--ink-2); max-width: 72ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-v4 .bl-bn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; }
.bl-v4 .bl-bn-meta .bl-status .bl-ic { width: 12px; height: 12px; }
.bl-v4 .bl-bn-time { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bl-v4 .bl-bn-time time { cursor: help; }
.bl-v4 .bl-bn-cta { margin-left: auto; }
.bl-v4 .bl-bn-side { align-self: start; }
.bl-v4 .bl-bn-read-form { display: inline-flex; }
.bl-v4 .bl-bn-read { min-height: 32px; padding: 0 8px; border-radius: 8px; font-size: 12px; white-space: nowrap; text-decoration: none; cursor: pointer; }
.bl-v4 .bl-bn-read:hover { background: var(--surface-2); }
.bl-v4 .bl-bn-read:disabled { opacity: .45; cursor: default; }
.bl-v4 .bl-bn-empty { margin-top: 24px; }
.bl-v4 .bl-bn-empty .bl-empty-sub { max-width: 46ch; line-height: 1.55; }

/* Pager: shared/_pagination_nav (gpag-*) in the V4 look (.bn-pager in the mockup) */
.bl-v4 .bl-bn-pager .gpag-wrap { padding: 24px 0 4px; animation: none !important; }
.bl-v4 .bl-bn-pager .gpag-inner { gap: 6px; }
.bl-v4 .bl-bn-pager .gpag-btn { display: inline-grid; place-items: center; min-width: 36px; width: auto; height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); box-shadow: none; font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; transform: none; animation: none; }
.bl-v4 .bl-bn-pager .gpag-btn:hover:not(.gpag-disabled):not(.gpag-current) { border-color: var(--accent); color: var(--accent-ink); background: var(--surface); transform: none; box-shadow: none; }
.bl-v4 .bl-bn-pager .gpag-current { background: var(--btn-bg); border-color: transparent; color: var(--btn-ink); box-shadow: none; }
.bl-v4 .bl-bn-pager .gpag-disabled { opacity: .4; background: var(--surface); border-color: var(--line); color: var(--muted); }
.bl-v4 .bl-bn-pager .gpag-ellipsis { color: var(--muted); }

@media (max-width: 1023.98px) {
  .bl-v4 .bl-bn-head-side { width: 100%; flex-wrap: wrap; }
  .bl-v4 .bl-bn-read-all { flex: 1 1 auto; }
  .bl-v4 .bl-bn-read-all .bl-btn { width: 100%; height: 44px; }
  .bl-v4 .bl-bn-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .bl-v4 .bl-bn-filters::-webkit-scrollbar { display: none; }
  .bl-v4 .bl-bn-filters .bl-chip { flex: none; }
  .bl-v4 .bl-bn-group { margin-top: 24px; }
  .bl-v4 .bl-bn-group-title { margin-bottom: 8px; }
  .bl-v4 .bl-bn-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; padding: 16px 12px 16px 16px; }
  .bl-v4 .bl-bn-row .bl-lrow-ic { width: 32px; height: 32px; border-radius: 9px; }
  .bl-v4 .bl-bn-title { font-size: 14px; }
  .bl-v4 .bl-bn-read { display: inline-grid; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; margin: -6px -2px 0 0; border-radius: 999px; }
  .bl-v4 .bl-bn-read-text { display: none; }
  .bl-v4 .bl-bn-cta { margin-left: 0; flex-basis: 100%; }
  .bl-v4 .bl-bn-pager .gpag-btn { min-width: 40px; height: 40px; }
  .bl-v4 .bl-bn-empty { margin-top: 16px; }
  .bl-v4 .bl-bn-empty .bl-btn { height: 44px; }
}

/* ---------- 21 Einstellungen ---------- */
.bl-v4 .bl-set-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 24px; align-items: start; }
.bl-v4 .bl-set-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.bl-v4 .bl-set-tab { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.bl-v4 .bl-set-tab .bl-ic { flex: none; opacity: .85; }
.bl-v4 .bl-set-tab:hover { background: var(--surface-2); color: var(--ink); }
.bl-v4 .bl-set-tab.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.bl-v4 .bl-set-tab.is-active .bl-ic { opacity: 1; }
.bl-v4 .bl-set-main { min-width: 0; max-width: 940px; }
.bl-v4 .bl-set-panel { display: flex; flex-direction: column; gap: 16px; min-width: 0; outline: none; }
.bl-v4 .bl-set-panel.hidden { display: none; }
.bl-v4 .bl-set-sec { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 28px; }
.bl-v4 .bl-set-sec + .bl-set-sec { border-top: 1px solid var(--line); }
.bl-v4 .bl-set-sec-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.bl-v4 .bl-set-sec-head p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.bl-v4 .bl-set-fields { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bl-v4 .bl-set .bl-input { height: 44px; padding: 0 14px; width: 100%; }
.bl-v4 .bl-set-since { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-v4 .bl-set-since strong { font-weight: 600; color: var(--ink-2); }
.bl-v4 .bl-set-req { color: var(--bad); margin-left: 2px; }
.bl-v4 .bl-set-errors ul { margin-top: 4px; padding-left: 18px; list-style: disc; }
.bl-v4 .bl-set-kv { grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); }
.bl-v4 .bl-set-ip { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bl-v4 .bl-set-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.bl-v4 .bl-set-pair > .bl-card { display: flex; flex-direction: column; }
.bl-v4 .bl-set-pair .bl-card-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; }
.bl-v4 .bl-set-pair .bl-card-foot { margin-top: auto; }
.bl-v4 .bl-set-danger { border-color: var(--bad-line); }
.bl-v4 .bl-set-danger > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 24px; cursor: pointer; list-style: none; }
.bl-v4 .bl-set-danger > summary::-webkit-details-marker { display: none; }
.bl-v4 .bl-set-danger > summary h2 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--bad); }
.bl-v4 .bl-set-chev { color: var(--muted); transition: transform .15s ease; }
.bl-v4 .bl-set-danger[open] .bl-set-chev { transform: rotate(180deg); }
.bl-v4 .bl-set-danger-body { padding: 0 24px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.bl-v4 .bl-set-danger-body p { font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 68ch; }
.bl-v4 .bl-set-gbp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.bl-v4 .bl-set-gbp-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bl-v4 .bl-set-gbp-who .bl-lrow-ic { width: 40px; height: 40px; background: var(--accent-soft); color: var(--accent-ink); }
.bl-v4 .bl-set-gbp-name { font-size: 15px; font-weight: 700; }
.bl-v4 .bl-set-gbp-who .bl-status { margin-top: 4px; }
.bl-v4 .bl-set-gbp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-v4 .bl-set-sync { font-size: 12.5px; color: var(--muted); text-align: right; }
.bl-v4 .bl-set-sync time { color: var(--ink-2); }
.bl-v4 .bl-set-intro { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.bl-v4 .bl-set-poa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bl-v4 .bl-set-poa-card { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.bl-v4 .bl-set-poa-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.bl-v4 .bl-set-poa-who { flex: 1 1 210px; min-width: 0; }
.bl-v4 .bl-set-poa-name { font-size: 14px; font-weight: 700; }
.bl-v4 .bl-set-poa-addr { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.bl-v4 .bl-set-poa-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.bl-v4 .bl-set-poa-foot .bl-help { flex: 1 1 200px; }
.bl-v4 .bl-set-revoke { color: var(--bad); text-decoration-color: var(--bad-line); cursor: pointer; }
.bl-v4 .bl-set-nrows { display: flex; flex-direction: column; }
.bl-v4 .bl-set-nrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; }
.bl-v4 .bl-set-nrow:first-child { padding-top: 0; border-top: 0; }
.bl-v4 .bl-set-nrow:last-child { padding-bottom: 0; }
.bl-v4 .bl-set-ntext { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bl-v4 .bl-set-ntitle { font-size: 14px; font-weight: 700; color: var(--ink); }
.bl-v4 .bl-set-nhint { font-size: 13px; line-height: 1.5; color: var(--muted); }
.bl-v4 .bl-set-nrow .bl-switch { margin-top: 2px; flex: none; }

/* ---------- 22 Abrechnung ---------- */
.bl-v4 .bl-bill-summary { padding: 20px; }
.bl-v4 .bl-bill-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bl-v4 .bl-bill-metrics dd { font-size: 24px; }
.bl-v4 .bl-bill-metrics dd time { cursor: help; }
.bl-v4 .bl-bill-metrics .bl-metric-meta { margin-top: 2px; }
.bl-v4 .bl-bill-none { color: var(--muted-2); }
.bl-v4 .bl-bill-subs { margin-top: 24px; }
.bl-v4 .bl-bill-subs .bl-card-head { padding: 18px 24px; }
.bl-v4 .bl-bill-cols,
.bl-v4 .bl-bill-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 1.6fr) minmax(0, 2fr) minmax(0, 2fr); gap: 16px; align-items: center; padding: 0 24px; }
.bl-v4 .bl-bill-cols { padding-top: 10px; padding-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.bl-v4 .bl-bill-cols > :last-child,
.bl-v4 .bl-bill-c-act { text-align: right; justify-self: end; }
.bl-v4 .bl-bill-row { padding-top: 16px; padding-bottom: 16px; border-top: 1px solid var(--line); }
.bl-v4 .bl-bill-rows > .bl-bill-row:first-child { border-top: 0; }
.bl-v4 .bl-bill-row > * { min-width: 0; }
.bl-v4 .bl-bill-loc { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.bl-v4 .bl-bill-loc:hover { color: var(--accent-ink); }
.bl-v4 .bl-bill-addr { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--muted); }
.bl-v4 .bl-bill-c-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.bl-v4 .bl-bill-trial-until { font-size: 12px; color: var(--muted); }
.bl-v4 .bl-bill-cost { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.bl-v4 .bl-bill-cost small { margin-left: 3px; font-size: 12px; font-weight: 500; color: var(--muted); }
.bl-v4 .bl-bill-date { font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bl-v4 .bl-bill-date time { cursor: help; }
.bl-v4 .bl-bill-date-label { display: none; }
.bl-v4 .bl-bill-date-label.bl-is-end { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); }
.bl-v4 .bl-bill-colon { display: none; }
.bl-v4 .bl-bill-switch { margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--warn); }
.bl-v4 .bl-bill-more { border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.bl-v4 .bl-bill-more[aria-expanded="true"] { background: var(--surface-2); color: var(--ink); }
.bl-v4 .bl-bill-menu { min-width: 216px; text-align: left; }
.bl-v4 .bl-bill-menu.hidden { display: none; }
.bl-v4 .bl-bill-menu .bl-menu-item { height: 40px; cursor: pointer; }
.bl-v4 .bl-bill-menu-form { display: block; }
.bl-v4 .bl-menu-item--bad,
.bl-v4 .bl-menu-item--bad .bl-ic { color: var(--bad); }
.bl-v4 .bl-menu-item--bad:hover { background: var(--bad-soft); color: var(--bad); }
.bl-v4 .bl-bill-subs .bl-empty { padding: 40px 24px; }
.bl-v4 .bl-bill-pair { margin-top: 24px; align-items: stretch; }
.bl-v4 .bl-bill-pair > .bl-card { display: flex; flex-direction: column; }
.bl-v4 .bl-bill-pair .bl-card-body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding-top: 20px; }
.bl-v4 .bl-bill-head-text { min-width: 0; }
.bl-v4 .bl-bill-head-text p { margin-top: 4px; max-width: 52ch; line-height: 1.5; }
.bl-v4 .bl-bill-card { display: flex; align-items: center; gap: 14px; }
.bl-v4 .bl-bill-card form { flex: none; }
.bl-v4 .bl-bill-card-ic { display: inline-grid; place-items: center; width: 48px; height: 34px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); flex: none; }
.bl-v4 .bl-bill-card-main { flex: 1 1 auto; min-width: 0; }
.bl-v4 .bl-bill-card-num { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.bl-v4 .bl-bill-card-num span { letter-spacing: .12em; }
.bl-v4 .bl-bill-card-exp { margin-top: 2px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bl-v4 .bl-bill-card-none { flex: 1 1 auto; font-size: 14px; color: var(--muted); }
.bl-v4 .bl-bill-expiring { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--warn); }
.bl-v4 .bl-bill-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bl-v4 .bl-bill-unavailable { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.bl-v4 .bl-bill-pay .bl-lrow { grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px 20px; }
.bl-v4 .bl-bill-pay .bl-lrow-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-v4 .bl-bill-pay .bl-lrow-sub { font-variant-numeric: tabular-nums; }
.bl-v4 .bl-bill-pay-side { display: flex; align-items: center; gap: 16px; }
.bl-v4 .bl-bill-amount { min-width: 92px; text-align: right; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.bl-v4 .bl-bill-inv { min-width: 92px; display: flex; justify-content: flex-end; }
.bl-v4 .bl-bill-inv .bl-link { font-size: 13px; }
.bl-v4 .bl-bill-inv-ic,
.bl-v4 .bl-bill-pay-status-mob { display: none; }
.bl-v4 .bl-bill-year { padding: 10px 20px; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bl-v4 .bl-bill-year:first-child { border-top: 0; border-radius: 16px 16px 0 0; }
.bl-v4 .bl-bill-year + .bl-lrow { border-top: 0; }

/* ---------- 23 Hilfe & Support ---------- */
.bl-v4 .bl-help-head-side { display: flex; align-items: center; gap: 12px; flex: none; padding-top: 2px; }
.bl-v4 .bl-help-zone-sub { margin-top: -10px; margin-bottom: 16px; font-size: 13.5px; color: var(--muted); }
.bl-v4 .bl-help-faq-top { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 16px; border-bottom: 1px solid var(--line); }
.bl-v4 .bl-help-faq-top .bl-search { flex: none; height: 44px; }
.bl-v4 .bl-help-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.bl-v4 .bl-help-chips .bt-filter-chip.is-active { background: var(--btn-bg); border-color: transparent; color: var(--btn-ink); }
.bl-v4 .bl-help-chips .bt-filter-chip.is-active b { color: inherit; opacity: .8; }
.bl-v4 .bl-help-faq { border-top: 1px solid var(--line); }
.bl-v4 .bl-help-faq:first-child { border-top: 0; }
.bl-v4 .bl-help-faq summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 14px; min-height: 52px; padding: 12px 20px; cursor: pointer; list-style: none; transition: background-color .15s ease; }
.bl-v4 .bl-help-faq summary::-webkit-details-marker { display: none; }
.bl-v4 .bl-help-faq summary:hover { background: var(--surface-2); }
.bl-v4 .bl-help-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.bl-v4 .bl-help-faq-q { font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.bl-v4 .bl-help-faq-cat { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.bl-v4 .bl-help-faq-chev { color: var(--muted); transition: transform .15s ease; }
.bl-v4 .bl-help-faq[open] .bl-help-faq-chev { transform: rotate(180deg); }
.bl-v4 .bl-help-faq[open] summary { background: transparent; }
.bl-v4 .bl-help-faq-a { padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 78ch; }
.bl-v4 .bl-help-faq-a a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.bl-v4 .bl-help-faq-empty { padding: 36px 24px 32px; }
.bl-v4 .bl-help-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; align-items: start; }
.bl-v4 .bl-help-form-card { position: sticky; top: 24px; scroll-margin-top: 24px; }
.bl-v4 .bl-help-form-card:target { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.bl-v4 .bl-help-form-card .bl-card-head h3 { display: inline-flex; align-items: center; gap: 8px; }
.bl-v4 .bl-help-form-card .bl-card-head h3 .bl-ic { color: var(--accent); }
.bl-v4 .bl-help-form-card .bl-input { height: 44px; padding: 0 14px; width: 100%; }
.bl-v4 .bl-help-form-card .bl-counter-line { gap: 12px; align-items: baseline; }
.bl-v4 .bl-help-form-card .bl-counter-line span { flex: none; }
.bl-v4 .bl-help-errors { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--bad-line); background: var(--bad-soft); font-size: 13px; line-height: 1.5; color: var(--bad); }
.bl-v4 .bl-help-errors .bl-ic { margin-top: 2px; flex: none; }
.bl-v4 .bl-help-errors ul { margin: 0; padding-left: 16px; list-style: disc; }
.bl-v4 .bl-help-suggest { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--accent-line); background: var(--accent-soft); font-size: 12.5px; line-height: 1.5; color: var(--accent-ink); }
.bl-v4 .bl-help-suggest.hidden { display: none; }
.bl-v4 .bl-help-suggest .bl-ic { margin-top: 2px; flex: none; }
.bl-v4 .bl-help-suggest a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.bl-v4 .bl-help-hint { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.bl-v4 .bl-help-hint .bl-ic { margin-top: 2px; flex: none; }
.bl-v4 .bl-help-hint strong { color: var(--ink-2) !important; }
.bl-v4 .bl-help-submit { width: 100%; }
.bl-v4 .bl-help-list-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bl-v4 .bl-help-list { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.bl-v4 .bl-help-list > li + li { border-top: 1px solid var(--line); }
.bl-v4 .bl-help-row { display: block; padding: 16px 20px; transition: background-color .15s ease; }
.bl-v4 .bl-help-row:hover { background: var(--surface-2); }
.bl-v4 .bl-help-row.bl-is-closed { opacity: .72; }
.bl-v4 .bl-help-row-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bl-v4 .bl-help-row-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bl-v4 .bl-help-row-title p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.bl-v4 .bl-help-row.bl-is-unread .bl-help-row-title p { font-weight: 800; }
.bl-v4 .bl-help-dot { width: 8px; height: 8px; border-radius: 999px; background: transparent; flex: none; }
.bl-v4 .bl-help-row.bl-is-unread .bl-help-dot { background: var(--accent); }
.bl-v4 .bl-help-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 6px 0 0 16px; font-size: 12px; color: var(--muted); }
.bl-v4 .bl-help-meta span { display: inline-flex; align-items: center; gap: 4px; }
.bl-v4 .bl-help-num { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.bl-v4 .bl-help-preview { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 0 16px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.bl-v4 .bl-help-row:hover .bl-help-preview { background: var(--surface); }
.bl-v4 .bl-help-preview p { min-width: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-v4 .bl-help-preview b { font-weight: 700; color: var(--ink-2); }
.bl-v4 .bl-help-preview.bl-is-support b { color: var(--accent-ink); }
.bl-v4 .bl-help-av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; flex: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.bl-v4 .bl-help-av.bl-is-support { background: var(--btn-bg); border-color: transparent; color: var(--btn-ink); }
.bl-v4 .bl-help-list-empty { padding: 32px 24px 28px; }
.bl-v4 .bl-help-thread-title { margin-top: 6px; }
.bl-v4 .bl-help-thread-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bl-v4 .bl-help-thread-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.bl-v4 .bl-help-thread-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.bl-v4 .bl-help-aside { position: sticky; top: 24px; }
.bl-v4 .bl-help-aside .bl-card-body { padding-top: 8px; padding-bottom: 8px; }
.bl-v4 .bl-help-dates { margin: 0; }
.bl-v4 .bl-help-dates > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.bl-v4 .bl-help-dates > div:first-child { border-top: 0; }
.bl-v4 .bl-help-dates dt { color: var(--muted); }
.bl-v4 .bl-help-dates dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.bl-v4 .bl-help-count { margin-left: 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.bl-v4 .bl-help-reply-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.bl-v4 .bl-help-reply-foot .bl-note { flex: 1 1 260px; }
/* Messages: the shared support_messages partial (st-*) in the V4 look */
.bl-v4 .bl-help-msgs { display: flex; flex-direction: column; gap: 20px; }
.bl-v4 .bl-help-msgs > div { animation: none; opacity: 1; transform: none; }
.bl-v4 .bl-help-msgs .st-avatar { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.bl-v4 .bl-help-msgs .st-avatar-admin { background: var(--btn-bg); border-color: transparent; color: var(--btn-ink); }
.bl-v4 .bl-help-msgs .st-bubble { padding: 12px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); box-shadow: none; }
.bl-v4 .bl-help-msgs .st-bubble-user { border-top-left-radius: 4px; }
.bl-v4 .bl-help-msgs .st-bubble-admin { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); border-top-right-radius: 4px; }
.bl-v4 .bl-help-msgs .text-brand { color: var(--accent-ink) !important; }

@media (max-width: 1023.98px) {
  /* Einstellungen */
  .bl-v4 .bl-set-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bl-v4 .bl-set-nav { position: static; flex-direction: row; gap: 6px; margin: 0 -16px; padding: 2px 16px 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow-x: auto; scrollbar-width: none; }
  .bl-v4 .bl-set-nav::-webkit-scrollbar { display: none; }
  .bl-v4 .bl-set-tab { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; white-space: nowrap; }
  .bl-v4 .bl-set-tab .bl-ic { display: none; }
  .bl-v4 .bl-set-tab.is-active { border-color: transparent; background: var(--btn-bg); color: var(--btn-ink); }
  .bl-v4 .bl-set-sec { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 16px; }
  .bl-v4 .bl-set-head .bl-page-sub { display: none; }
  .bl-v4 .bl-set-pair { grid-template-columns: minmax(0, 1fr); }
  .bl-v4 .bl-set-keep { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bl-v4 .bl-set-keep--zip { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .bl-v4 .bl-set .bl-card-foot .bl-btn { width: 100%; height: 44px; }
  .bl-v4 .bl-set .bl-card-head,
  .bl-v4 .bl-set .bl-card-body,
  .bl-v4 .bl-set .bl-card-foot { padding-left: 16px; padding-right: 16px; }
  .bl-v4 .bl-set-kv { grid-template-columns: minmax(0, 1fr); }
  .bl-v4 .bl-set-kv > dd { padding-top: 0; border-top: 0; }
  .bl-v4 .bl-set-danger > summary { padding: 0 16px; }
  .bl-v4 .bl-set-danger-body { padding: 0 16px 20px; }
  .bl-v4 .bl-set-danger-body .bl-btn { width: 100%; height: 44px; }
  .bl-v4 .bl-set-gbp { padding: 16px; }
  .bl-v4 .bl-set-gbp-btns { width: 100%; }
  .bl-v4 .bl-set-gbp-btns .bl-btn { flex: 1 1 0; height: 44px; }
  .bl-v4 .bl-set-loc { grid-template-columns: auto minmax(0, 1fr); }
  .bl-v4 .bl-set-loc .bl-lrow-side { grid-column: 2; justify-content: flex-start; }
  .bl-v4 .bl-set-sync { text-align: left; }
  .bl-v4 .bl-set-poa { grid-template-columns: minmax(0, 1fr); }
  .bl-v4 .bl-set-poa-foot .bl-btn { width: 100%; height: 44px; }
  .bl-v4 .bl-set-poa-foot .bl-link,
  .bl-v4 .bl-set-poa-foot .bl-textbtn { min-height: 40px; }

  /* Abrechnung */
  .bl-v4 .bl-bill-summary { padding: 16px; }
  .bl-v4 .bl-bill-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-v4 .bl-bill-metrics > div:first-child { grid-column: 1 / -1; }
  .bl-v4 .bl-bill-metrics > div { padding: 12px 14px; }
  .bl-v4 .bl-bill-metrics dd { font-size: 20px; }
  .bl-v4 .bl-bill-subs,
  .bl-v4 .bl-bill-pair { margin-top: 16px; }
  .bl-v4 .bl-bill-subs .bl-card-head { padding: 16px; }
  .bl-v4 .bl-bill-cols { display: none; }
  .bl-v4 .bl-bill-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "loc loc act" "plan plan plan" "cost date date"; gap: 10px 12px; padding: 16px; }
  .bl-v4 .bl-bill-loc,
  .bl-v4 .bl-bill-addr { white-space: normal; }
  .bl-v4 .bl-bill-c-loc { grid-area: loc; }
  .bl-v4 .bl-bill-c-plan { grid-area: plan; }
  .bl-v4 .bl-bill-c-cost { grid-area: cost; }
  .bl-v4 .bl-bill-c-date { grid-area: date; text-align: right; font-size: 13px; }
  .bl-v4 .bl-bill-c-act { grid-area: act; align-self: start; }
  .bl-v4 .bl-bill-c-cost.bl-is-empty,
  .bl-v4 .bl-bill-c-date.bl-is-empty { display: none; }
  .bl-v4 .bl-bill-date-label { display: inline; font-size: 11px; font-weight: 600; color: var(--muted); }
  .bl-v4 .bl-bill-date-label.bl-is-end { display: inline; letter-spacing: 0; text-transform: none; color: var(--warn); }
  .bl-v4 .bl-bill-colon { display: inline; }
  .bl-v4 .bl-bill-c-act .bl-btn { height: 40px; }
  .bl-v4 .bl-bill-pair .bl-card-body,
  .bl-v4 .bl-bill-pair .bl-card-head { padding: 16px; }
  .bl-v4 .bl-bill-btns { flex-direction: column; align-items: stretch; }
  .bl-v4 .bl-bill-btns form,
  .bl-v4 .bl-bill-btns .bl-btn { width: 100%; height: 44px; }
  .bl-v4 .bl-bill-card .bl-btn { height: 40px; }
  .bl-v4 .bl-bill-pay .bl-lrow { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 16px; }
  .bl-v4 .bl-bill-pay .bl-lrow-ic { display: none; }
  .bl-v4 .bl-bill-pay .bl-lrow-title { white-space: normal; line-height: 1.4; }
  .bl-v4 .bl-bill-pay-side { gap: 10px; }
  .bl-v4 .bl-bill-amount { min-width: 0; }
  .bl-v4 .bl-bill-pay-status { display: none; }
  .bl-v4 .bl-bill-pay-status-mob { display: block; margin-top: 6px; }
  .bl-v4 .bl-bill-inv { min-width: 40px; }
  .bl-v4 .bl-bill-inv-ic { display: inline-grid; width: 40px; height: 40px; }
  .bl-v4 .bl-bill-inv-link { display: none; }
  .bl-v4 .bl-bill-year { padding: 10px 16px; }

  /* Hilfe & Support */
  .bl-v4 .bl-help-head-side { width: 100%; flex-wrap: wrap; }
  .bl-v4 .bl-help-head-side .bl-btn { flex: 1 1 auto; height: 44px; }
  .bl-v4 .bl-help-zone-sub { margin-top: -8px; margin-bottom: 12px; }
  .bl-v4 .bl-help-faq-top { padding: 16px; gap: 12px; }
  .bl-v4 .bl-help-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
  .bl-v4 .bl-help-chips::-webkit-scrollbar { display: none; }
  .bl-v4 .bl-help-chips .bl-chip { flex: none; }
  .bl-v4 .bl-help-faq summary { grid-template-columns: minmax(0, 1fr) 16px; grid-template-areas: "q chev" "tag tag"; gap: 6px 12px; padding: 14px 16px; }
  .bl-v4 .bl-help-faq summary .bl-help-faq-q { grid-area: q; }
  .bl-v4 .bl-help-faq summary .bl-help-faq-cat { grid-area: tag; justify-self: start; white-space: normal; }
  .bl-v4 .bl-help-faq summary .bl-help-faq-chev { grid-area: chev; }
  .bl-v4 .bl-help-faq-a { padding: 0 16px 16px; }
  .bl-v4 .bl-help-faq-empty .bl-btn { height: 44px; }
  .bl-v4 .bl-help-grid,
  .bl-v4 .bl-help-thread-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bl-v4 .bl-help-form-card { position: static; }
  .bl-v4 .bl-help-submit { height: 44px; }
  .bl-v4 .bl-help-row { padding: 14px 16px; }
  .bl-v4 .bl-help-row-top { flex-direction: column; gap: 6px; }
  .bl-v4 .bl-help-row-top .bl-status { margin-left: 16px; }
  .bl-v4 .bl-help-row-title { align-items: flex-start; }
  .bl-v4 .bl-help-row-title .bl-help-dot { margin-top: 7px; }
  .bl-v4 .bl-help-row-title p { white-space: normal; line-height: 1.4; }
  .bl-v4 .bl-help-thread .bl-page-head .bl-eyebrow { display: none; }
  .bl-v4 .bl-help-thread-title { margin-top: 0; }
  .bl-v4 .bl-help-suggest a { display: inline-flex; align-items: center; min-height: 40px; }
  .bl-v4 .bl-help-aside { position: static; order: -1; }
  .bl-v4 .bl-help-aside .bl-card-head { display: none; }
  .bl-v4 .bl-help-aside .bl-card-body { padding: 12px 16px; }
  .bl-v4 .bl-help-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .bl-v4 .bl-help-dates > div { flex-direction: column; gap: 2px; padding: 0; border-top: 0; }
  .bl-v4 .bl-help-dates > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
  .bl-v4 .bl-help-dates dt { font-size: 12.5px; }
  .bl-v4 .bl-help-msgs .st-bubble { font-size: 14px; padding: 11px 14px; }
  .bl-v4 .bl-help-reply-foot .bl-btn { width: 100%; height: 44px; }
}
