/* formbar – Anmeldeseite, Kundenkonto und Agentur-Bereich im Hub (formbar-hub.kontor01.de) – auf Basis von base.css der Produktseite */

/* ---------- Tokens für den Hub (ergänzen base.css; dunkles Schema wie auf der Produktseite) ---------- */
:root {
  --faint: #6a6784;                       /* heller Modus: AA-Kontrast auch auf --surface-2 (base.css: #7a7792 ≈ 4,0 : 1) */
  --ok: #0a7556;
  --card-ring: var(--line);
  --input-bg: var(--surface-2);
  --tabs-track: #f0eef9;
  --tab-on-bg: #ffffff;
  --tab-on-fg: var(--accent-text);
  --tab-on-shadow: 0 1px 2px rgba(30, 20, 80, 0.08), 0 6px 16px -6px rgba(40, 25, 120, 0.28), inset 0 0 0 1px rgba(75, 60, 240, 0.22);
  --glow-1: rgba(122, 107, 255, 0.30);
  --glow-2: rgba(255, 95, 138, 0.18);
  --glow-3: rgba(255, 197, 61, 0.16);
  --bubble-ai-bg: #ffffff;
  --bubble-ai-fg: #1a1640;
  --bubble-ai-ring: transparent;
  --bubble-ai-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
  --bubble-ok: #0b7a5b;
  --backdrop: rgba(22, 18, 52, 0.42);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --card-ring: rgba(255, 255, 255, 0.1);
    --input-bg: #121120;
    --tabs-track: #121120;
    --tab-on-bg: #34305e;
    --tab-on-fg: #ffffff;
    --tab-on-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(157, 145, 255, 0.5);
    --btn-hover: #5446f5;                   /* weiß auf #6d5fff wäre nur 4,4 : 1 */
    --glow-1: rgba(110, 95, 255, 0.24);
    --glow-2: rgba(228, 74, 216, 0.13);
    --glow-3: rgba(255, 106, 61, 0.09);
    --bubble-ai-bg: rgba(255, 255, 255, 0.08);
    --bubble-ai-fg: #f2f0ff;
    --bubble-ai-ring: rgba(255, 255, 255, 0.14);
    --bubble-ai-shadow: none;
    --bubble-ok: #5fe0bd;
    --backdrop: rgba(4, 3, 12, 0.72);
  }
}
:root[data-theme="dark"] {
  --card-ring: rgba(255, 255, 255, 0.1);
  --input-bg: #121120;
  --tabs-track: #121120;
  --tab-on-bg: #34305e;
  --tab-on-fg: #ffffff;
  --tab-on-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(157, 145, 255, 0.5);
  --btn-hover: #5446f5;
  --glow-1: rgba(110, 95, 255, 0.24);
  --glow-2: rgba(228, 74, 216, 0.13);
  --glow-3: rgba(255, 106, 61, 0.09);
  --bubble-ai-bg: rgba(255, 255, 255, 0.08);
  --bubble-ai-fg: #f2f0ff;
  --bubble-ai-ring: rgba(255, 255, 255, 0.14);
  --bubble-ai-shadow: none;
  --bubble-ok: #5fe0bd;
  --backdrop: rgba(4, 3, 12, 0.72);
}

body.konto { min-height: 100vh; display: flex; flex-direction: column; }
#app { flex: 1; outline: none; display: flex; flex-direction: column; }
#app > * { flex: none; }
h1[tabindex="-1"]:focus { outline: none; }

.konto-header .wrap { gap: 12px; }
.brand-sub { font-size: 14px; font-weight: 600; color: var(--faint); padding-left: 12px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.konto-header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.konto-header-right > .btn-text:last-child { margin-right: -14px; }   /* Text bündig mit der Inhaltskante (wie die Fußzeile) */
/* Farbschema-Knopf (theme-toggle.js): erstes Element der rechten Gruppe – außerhalb von #header-right, weil konto.js/agentur.js
   dessen Inhalt neu schreiben */
.theme-js .konto-header .theme-toggle { margin-left: auto; }
.theme-js .konto-header .theme-toggle + .konto-header-right { margin-left: 0; }
.who { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--muted); max-width: 240px; }
.who svg { width: 18px; height: 18px; flex: none; }
.who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .who { display: none; } }
@media (max-width: 420px) { .brand-sub { display: none; } }

/* Eingaben: im dunklen Schema vertieft statt heller als die Karte */
.input { background: var(--input-bg); }
.input:-webkit-autofill, .input:-webkit-autofill:hover { -webkit-text-fill-color: var(--text); caret-color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 0 60px var(--input-bg); }
.input:-webkit-autofill:focus { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px var(--accent-soft), inset 0 0 0 60px var(--surface); }

/* ---------- Fußzeile: gleiche Inhaltsbreite und Kanten wie die Kopfzeile ---------- */
.konto-footer { padding: 32px 0 28px; }
.konto-footer .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: start; }
.foot-company { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.foot-company span { display: block; }
.konto-footer nav ul { gap: 6px 22px; }
.konto-footer .foot-legal { padding-top: 1px; }
.konto-footer .foot-legal a { font-size: 14px; }
.konto-footer .foot-areas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.konto-footer .foot-areas a { color: var(--muted); font-weight: 600; text-decoration: none; }
.konto-footer .foot-areas a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 760px) {
  .konto-footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .konto-footer .foot-legal ul { justify-content: flex-start; }
}

.boot { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--faint); font-weight: 500; }
.boot-logo img { animation: fb-pulse 1.4s ease-in-out infinite; }
@keyframes fb-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.92); opacity: 0.7; } }

.kicker-sm { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px !important; }
.fine { font-size: 13.5px; color: var(--faint); line-height: 1.5; }
.field-error { font-size: 13.5px; font-weight: 500; color: var(--danger); margin: 0; }
.field .hint.is-ok { color: var(--ok); }
.field-check { margin-top: 20px !important; }
.form-msg:not(:empty) { margin-bottom: 18px; }
.notice-actions { margin-top: 10px; }
.notice-actions .btn { margin-top: 0; }
.notice a { color: inherit; font-weight: 600; }
.icon-btn svg, .btn svg { flex: none; }

/* ---------- Anmelde-Ansichten: EINE geteilte Karte (dunkle Markenspalte + Formular), mittig in der Inhaltsbreite ---------- */
.auth-page { position: relative; isolation: isolate; flex: 1 0 auto !important; display: flex; align-items: center; padding: clamp(24px, 5vw, 64px) 0 clamp(40px, 7vw, 80px); }
.auth-page > .wrap { width: 100%; }
/* Leuchten: reine Verläufe (kein filter: blur → keine Kacheln/Kanten), oben und unten weich ausgeblendet, hinter der Karte */
.auth-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(560px 440px at calc(50% - 330px) 38%, var(--glow-1), transparent 70%),
  radial-gradient(520px 420px at calc(50% + 380px) 58%, var(--glow-2), transparent 70%),
  radial-gradient(520px 320px at calc(50% + 60px) 96%, var(--glow-3), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 100%); }
.auth { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); grid-template-areas: "side main"; max-width: 1040px; margin: 0 auto; padding: 10px; border-radius: 34px; background: var(--surface); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--card-ring); }
.auth-main { grid-area: main; min-width: 0; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 52px) clamp(24px, 4.4vw, 60px); }
.auth-card { width: 100%; max-width: 440px; }
.auth-side { grid-area: side; position: relative; isolation: isolate; overflow: hidden; min-width: 0; border-radius: 26px; background: #13112a; color: #f2f0ff; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(460px 340px at 0% 0%, rgba(91, 76, 255, 0.58), transparent 70%),
  radial-gradient(400px 320px at 100% 42%, rgba(228, 74, 216, 0.36), transparent 70%),
  radial-gradient(460px 320px at 30% 108%, rgba(255, 106, 61, 0.34), transparent 70%); }
.auth-side-inner { height: 100%; display: flex; flex-direction: column; gap: 28px; padding: clamp(28px, 3.4vw, 44px); }
.auth-side-head { display: grid; gap: 20px; justify-items: start; }
/* Wortmarke wie im Kopf (.brand-wm), auf der dunklen Markenspalte immer mit dem hellen Verlauf */
.auth-wm { font: italic 700 34px/1.15 "Figtree", var(--font-display), sans-serif; letter-spacing: -0.01em; padding: 0 .08em .06em 0;
  background: linear-gradient(90deg, #a49bff 0%, #e57ee0 38%, #ff9a73 70%, #ffd166 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 22px rgba(228, 74, 216, 0.35)); }
@media (forced-colors: active) { .auth-wm { color: CanvasText; background: none; } }
.auth-side-title { font-family: var(--font-display); font-size: clamp(28px, 2.7vw, 36px); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; color: #fff; }
.auth-side-title span { background: linear-gradient(100deg, #b3a9ff 0%, #f07ae6 45%, #ff8a5c 80%, #ffd166 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: #d6d1f0; font-size: 15px; line-height: 1.45; }
.auth-points b { color: #fff; font-weight: 650; }
.auth-points svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: #fff; }
/* kleines Schaubild unten in der Markenspalte (nur Zierde, aria-hidden) */
.auth-demo { margin-top: auto; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); display: grid; gap: 8px; font-size: 13.5px; line-height: 1.45; }
.demo-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #c9c2ff; }
.demo-head svg { width: 14px; height: 14px; }
.auth-demo .b { padding: 9px 13px; border-radius: 16px; max-width: 86%; }
.auth-demo .me { justify-self: end; background: linear-gradient(135deg, #5b4cff, #7a5cff); color: #fff; border-bottom-right-radius: 5px; }
.auth-demo .ai { justify-self: start; background: var(--bubble-ai-bg); color: var(--bubble-ai-fg); border-bottom-left-radius: 5px; box-shadow: var(--bubble-ai-shadow), inset 0 0 0 1px var(--bubble-ai-ring); }
.auth-demo .ai i { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-style: normal; font-size: 12px; font-weight: 650; color: var(--bubble-ok); }
.auth-demo .ai i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fc7a0; box-shadow: 0 0 0 3px rgba(47, 199, 160, 0.22); }
.pool-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; color: #d6d1f0; }
.pool-row b { color: #fff; font-weight: 650; }
.pool-row small { font-size: 12.5px; color: #b8b2da; }
.pool-bar { grid-column: 1 / -1; display: flex; gap: 3px; height: 8px; margin-top: 4px; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, 0.1); }
.pool-bar i { display: block; height: 100%; }
.pool-bar .p1 { width: 34%; background: linear-gradient(90deg, #5b4cff, #8a6bff); }
.pool-bar .p2 { width: 14%; background: #e44ad8; }
.pool-bar .p3 { width: 22%; background: linear-gradient(90deg, #ff6a3d, #ffc53d); }
.pool-sites { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.pool-sites li { display: flex; align-items: center; gap: 9px; color: #d6d1f0; }
.pool-sites li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.pool-sites li:nth-child(1) { --c: #7a6bff; }
.pool-sites li:nth-child(2) { --c: #e44ad8; }
.pool-sites li:nth-child(3) { --c: #ff8a4c; }
.pool-sites em { margin-left: auto; font-style: normal; font-size: 12.5px; color: #b8b2da; white-space: nowrap; }
.auth-side :focus-visible { outline-color: #fff; }

.auth-card h1 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.03em; }
.auth-lead { margin-top: 10px !important; margin-bottom: 26px !important; color: var(--muted); font-size: 16px; }
.auth-card > .notice { margin-bottom: 20px; }
.auth-card h1 + .notice { margin-top: 16px; }
.auth-card form > .btn:not(.btn-lg) { margin-top: 20px; }
.auth-card .btn { white-space: normal; text-align: center; }
.auth-card form .btn-lg { margin-top: 24px; }
.forgot-link { margin-top: 10px !important; text-align: right; font-size: 14px; }
.forgot-link a { font-weight: 600; text-decoration: none; }
.forgot-link a:hover { text-decoration: underline; }
.auth-switch { margin-top: 24px !important; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 15px; color: var(--muted); }
.auth-switch a { font-weight: 650; }
.auth-card .fine { margin-top: 14px !important; text-align: center; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 14px; font-weight: 600; text-decoration: none; }
.back-link svg { width: 16px; height: 16px; }
.done-icon { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 22px; box-shadow: 0 14px 30px -10px rgba(228, 74, 216, 0.6); }
.done-icon svg { width: 28px; height: 28px; stroke-width: 2; }
.done-icon.is-bad { background: var(--danger-soft); color: var(--danger); box-shadow: none; }
.mini-steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: ms; display: grid; gap: 10px; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 40px; min-height: 28px; font-size: 15px; color: var(--muted); display: flex; align-items: center; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft-2); color: var(--accent-text); font-weight: 700; font-size: 13.5px; display: grid; place-items: center; }
.resend-box { padding: 18px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; justify-items: start; }
.resend-box p { font-size: 14.5px; color: var(--muted); }
.verify-wait { text-align: center; padding: 20px 0; }
.verify-wait .auth-lead { margin-bottom: 0 !important; }
.spin-lg { display: block; width: 48px; height: 48px; margin: 0 auto 22px; border-radius: 50%; border: 4px solid var(--accent-soft-2); border-top-color: var(--accent); animation: fb-spin 0.9s linear infinite; }
.auth-switch-sub { display: block; margin-top: 6px; font-size: 14px; }
.auth-switch a { white-space: nowrap; }
.auth-card .fine a { font-weight: 600; }

/* Umschalter „Kunde | Agentur“ – aktiver Reiter in beiden Schemata deutlich abgehoben */
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 28px; border-radius: 999px; background: var(--tabs-track); box-shadow: inset 0 0 0 1px var(--line); }
.role-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 650; font-size: 15px; text-decoration: none; transition: background-color 0.15s, color 0.15s, box-shadow 0.15s; }
.role-tab svg { width: 18px; height: 18px; }
.role-tab:hover { color: var(--text); background: var(--accent-soft); }
.role-tab.is-on, .role-tab.is-on:hover { background: var(--tab-on-bg); color: var(--tab-on-fg); box-shadow: var(--tab-on-shadow); }
.role-tab:focus-visible { outline-offset: 2px; border-radius: 999px; }

/* Mehrere Sitzungen: wohin? */
.choose-list { display: grid; gap: 10px; }
.choose { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; }
.choose:hover { background: var(--accent-soft); }
.choose > svg { width: 22px; height: 22px; flex: none; color: var(--accent-text); }
.choose span { flex: 1; min-width: 0; display: grid; }
.choose small { color: var(--faint); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1100px) {
  .auth-side-inner { gap: 24px; }
  .auth-points li { font-size: 14.5px; }
}
/* Tablet quer/klein: Markenspalte wird zur kompakten Kopfleiste über dem Formular */
@media (max-width: 860px) {
  .auth-page { align-items: flex-start; }
  .auth { grid-template-columns: minmax(0, 1fr); grid-template-areas: "side" "main"; max-width: 560px; padding: 8px; border-radius: 30px; }
  .auth-side { border-radius: 23px; }
  .auth-side-inner { flex-direction: row; align-items: center; gap: 16px; padding: 18px 22px; }
  .auth-side-head { display: flex; align-items: center; gap: 14px; }
  .auth-wm { font-size: 24px; }
  .auth-side-title { font-size: 22px; line-height: 1.1; letter-spacing: -0.03em; }
  .auth-points, .auth-demo { display: none; }
  .auth-main { padding: 28px clamp(18px, 5vw, 36px) 26px; }
  .auth-card { max-width: none; }
}
@media (max-width: 480px) {
  .auth-page { padding-top: 16px; }
  .auth { border-radius: 26px; }
  .auth-side { border-radius: 20px; }
  .auth-side-inner { padding: 16px 18px; }
  .auth-wm { display: none; }
  .auth-side-title { font-size: 21px; }
  .auth-main { padding: 22px 14px 18px; }
  .role-tabs { margin-bottom: 24px; }
  .role-tab { font-size: 14.5px; padding: 8px 10px; }
}

/* ---------- Übersicht ---------- */
.dash { position: relative; isolation: isolate; padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
/* Leuchten oben: weich ein- und ausgeblendet – keine Kante an der Kopfzeile, kein abgeschnittener Rand */
.dash-glow { position: absolute; z-index: -1; inset: 0 0 auto; height: 620px; pointer-events: none; background:
  radial-gradient(600px 380px at max(10%, calc(50% - 540px)) 150px, var(--glow-1), transparent 70%),
  radial-gradient(540px 340px at min(90%, calc(50% + 540px)) 90px, var(--glow-2), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 50%, transparent 100%); }
.dash-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.dash-hero > div:first-child { min-width: 0; flex: 1 1 420px; }
.dash-hero h1 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.035em; overflow-wrap: anywhere; }
.dash-lead { margin-top: 8px !important; color: var(--muted); max-width: 580px; }
.dash-kpis { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.dash-kpis > div { min-width: 132px; padding: 14px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); display: flex; flex-direction: column; justify-content: space-between; gap: 2px; }
.dash-kpis dt { font-size: 12.5px; font-weight: 600; color: var(--faint); line-height: 1.3; }
.dash-kpis dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.dash-kpis small { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.dash > .wrap > .notice { margin-bottom: 16px; }
@media (max-width: 640px) {
  .dash-hero { margin-bottom: 24px; }
  .dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .dash-kpis > div { min-width: 0; padding: 12px 12px; border-radius: 16px; }
  .dash-kpis dt { font-size: 11.5px; }
  .dash-kpis dd { font-size: 22px; }
  .dash-kpis small { display: block; font-size: 12px; }
}

.next-step { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; margin-bottom: 20px; border-radius: 22px; border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-md); }
.next-step-icon { width: 48px; height: 48px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.next-step-icon svg { width: 24px; height: 24px; }
.next-step h2 { font-size: 20px; letter-spacing: -0.02em; }
.next-step p { color: var(--muted); font-size: 15px; margin-top: 4px !important; }
.next-step p a { font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .next-step { grid-template-columns: auto 1fr; } .next-step .btn { grid-column: 1 / -1; } }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.dash-main { min-width: 0; }
.dash-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1040px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } .dash-side { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; } }

.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; margin-bottom: 16px; }
.sec-head > div { min-width: 0; }
.sec-head h2 { font-size: 24px; letter-spacing: -0.02em; }
.sec-head p { color: var(--muted); font-size: 15px; margin-top: 4px !important; }

/* Website-Karte */
.lic-list { display: grid; gap: 16px; }
.lic { padding: 24px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); display: grid; gap: 18px; transition: box-shadow 0.3s; }
.lic.is-new { animation: fb-new 2.4s var(--ease); }
@keyframes fb-new { 0%, 40% { box-shadow: 0 0 0 3px var(--accent-2), var(--shadow-md); } 100% { box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); } }
.lic.is-locked { background: linear-gradient(var(--surface), var(--surface)); box-shadow: var(--shadow-sm), inset 0 0 0 1px color-mix(in srgb, var(--danger) 30%, transparent); }
.lic-head { display: flex; align-items: center; gap: 14px; }
.lic-avatar { flex: none; width: 46px; height: 46px; border-radius: 15px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; text-shadow: 0 1px 2px rgba(60, 20, 80, 0.35); }
.lic.is-locked .lic-avatar { background: var(--surface-3); color: var(--faint); text-shadow: none; }
.lic-title { flex: 1; min-width: 0; }
.lic-title h3 { font-size: 20px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.lic-title p { font-size: 13.5px; color: var(--faint); margin-top: 2px !important; overflow-wrap: anywhere; }
.lic-head > .pill, .site-head > .pill { flex: none; }
.lic-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.lic-key-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.lic-key-label svg { width: 17px; height: 17px; color: var(--accent-text); }
.key { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; color: var(--text); background: none; padding: 0; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.key-actions { display: inline-flex; gap: 6px; margin-left: auto; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; min-width: 38px; padding: 0 10px; justify-content: center; border: 0; border-radius: 11px; background: var(--surface); color: var(--muted); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-2); cursor: pointer; font-size: 13.5px; font-weight: 600; transition: color 0.15s, background-color 0.15s; }
.icon-btn:hover { color: var(--accent-text); background: var(--accent-soft); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.is-done { color: var(--ok); background: var(--ok-soft); }
.lic-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.stat-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.stat-value { font-family: var(--font-display); font-size: 21px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); overflow-wrap: anywhere; }
.stat-value small { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.stat-value.muted { font-size: 17px; color: var(--muted); }
/* Adresse der Website: umbrechen (an Bindestrich/Punkt) statt abschneiden */
.stat-value.link { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 16px; line-height: 1.3; text-decoration: none; color: var(--accent-text); max-width: 100%; }
.stat-value.link span { min-width: 0; overflow-wrap: anywhere; }
.stat-value.link:hover { text-decoration: underline; }
.stat-value.link svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
.stat-sub { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.stat .pill { margin-top: 2px; white-space: normal; }
.stat-sub.is-warn { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--warn); font-weight: 600; }
.stat-sub.is-warn svg { width: 16px; height: 16px; margin-top: 1px; flex: none; }
.stat-sub .pill { margin-left: 4px; vertical-align: 1px; }
.stat-link { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; text-decoration: none; }
.stat-link svg { width: 15px; height: 15px; }
.credit-bar { display: flex; width: 100%; height: 8px; margin: 6px 0 2px; border-radius: 8px; overflow: hidden; background: var(--surface-3); gap: 2px; }
.credit-bar i { display: block; height: 100%; }
.cb-month { background: linear-gradient(90deg, #5b4cff, #b048e0); }
.cb-bought { background: linear-gradient(90deg, #ff6a3d, #ffc53d); }
.credit-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.credit-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.lic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 4px; }
@media (max-width: 820px) { .lic-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lic-stats .stat:last-child { grid-column: 1 / -1; } }
@media (max-width: 440px) { .lic-stats { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .lic { padding: 18px; border-radius: 20px; gap: 16px; }
  .lic-actions { gap: 8px; }
  .lic-actions .btn { width: 100%; }
  .lic-key-label { flex-basis: 100%; }
  .key { font-size: 14.5px; flex-basis: 100%; }
  .key-actions { width: 100%; margin-left: 0; }
  .key-actions .icon-btn { flex: 1; }
  .lic-key { padding: 12px; }
}

/* Neue Website */
.add-panel { margin-bottom: 16px; padding: 22px; border-radius: 22px; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--card-ring); animation: fb-drop 0.3s var(--ease); }
@keyframes fb-drop { from { opacity: 0; transform: translateY(-6px); } }
.add-panel-head h3 { font-size: 18px; }
.add-panel-head p { font-size: 14.5px; color: var(--muted); margin: 4px 0 16px !important; }
.add-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.add-row .field { flex: 1 1 260px; }
.add-row .input { background: var(--surface); }
.add-actions { display: flex; gap: 6px; }
.add-actions .btn { min-height: 50px; }
.limit-note { margin-top: 14px !important; }

.empty-card { text-align: center; padding: clamp(32px, 5vw, 48px) 24px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); display: grid; justify-items: center; gap: 10px; }
.empty-card .done-icon { margin-bottom: 8px; }
.empty-card h1, .empty-card h3 { font-size: 22px; }
.empty-card p { color: var(--muted); max-width: 440px; }
.empty-card .btn { margin-top: 10px; }
.wrap.narrow { max-width: 640px; padding-top: 64px; padding-bottom: 64px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.row-actions.center { justify-content: center; }

/* Neueste Version / Einrichtung */
.latest-card { padding: 24px; border-radius: 24px; border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-md); display: grid; gap: 18px; min-width: 0; }
.latest-top { display: flex; gap: 14px; align-items: flex-start; }
.latest-top > div { min-width: 0; }
.latest-icon { flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(228, 74, 216, 0.6); }
.latest-icon svg { width: 24px; height: 24px; stroke-width: 2.2; }
.latest-card h2 { font-size: 23px; letter-spacing: -0.02em; }
.latest-meta { font-size: 13.5px; color: var(--faint); margin-top: 2px !important; }
.changelog-box { position: relative; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.changelog-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px !important; }
.changelog { white-space: pre-wrap; font-size: 14px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.changelog-box.is-long .changelog { max-height: 150px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.changelog-box.is-long.is-open .changelog { max-height: none; -webkit-mask-image: none; mask-image: none; }
.more-btn { margin-top: 4px; padding-left: 0; }
.more-btn:hover { background: none; text-decoration: underline; }
.guide { padding-top: 18px; border-top: 1px solid var(--line); border-radius: 0; transition: background-color 0.6s; }
.latest-top + .guide { padding-top: 16px; }
.guide.is-flash { animation: fb-flash 1.6s var(--ease); border-radius: 14px; }
@keyframes fb-flash { 0%, 30% { background: var(--accent-soft-2); } 100% { background: transparent; } }
.guide h3 { font-size: 17px; margin-bottom: 14px; }
.guide ol { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; }
.guide ol:last-child { margin-bottom: 0; }
.guide li { display: flex; gap: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.guide li > div { min-width: 0; }
.gn { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft-2); color: var(--accent-text); font-weight: 700; font-size: 13.5px; display: grid; place-items: center; }
.guide code, .konto-dialog code, .mini-steps code { font-family: var(--mono); font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--text); overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.help-card { padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); }
.help-card h2 { font-size: 18px; }
.help-card p { color: var(--muted); font-size: 14.5px; margin: 4px 0 14px !important; }

/* Konto */
.account { margin-top: clamp(40px, 6vw, 64px); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.panel { padding: 24px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); min-width: 0; }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 18px; }
.panel h3 svg { width: 20px; height: 20px; color: var(--accent-text); }
.panel form .btn[type="submit"] { margin-top: 20px; }
.kv { margin: 0 0 20px; display: grid; gap: 0; }
.kv > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv > div:first-child { padding-top: 0; }
.kv dt { font-size: 14px; color: var(--faint); font-weight: 500; }
.kv dd { margin: 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 820px) { .account-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .panel { padding: 20px; } }

@media (prefers-reduced-motion: reduce) {
  .boot-logo img, .spin-lg { animation: none; }
}

/* Dialoge („Website wechseln“, Agentur: Website anlegen, Obergrenze …) */
.konto-dialog { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--card-ring); overscroll-behavior: contain; }
.konto-dialog::backdrop { background: var(--backdrop); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.konto-dialog .dialog-body { padding: 26px 26px 22px; }
.konto-dialog h2 { margin: 0 0 12px; font-size: 21px; letter-spacing: -0.02em; }
.konto-dialog p { margin: 0 0 10px; line-height: 1.55; }
.konto-dialog ul { margin: 8px 0 14px; padding-left: 20px; line-height: 1.5; color: var(--muted); }
.konto-dialog ul strong, .konto-dialog p strong { color: var(--text); }
.konto-dialog li { margin: 0 0 6px; }
.konto-dialog li::marker { color: var(--accent-text); }
.konto-dialog .notice, .konto-dialog .form-msg:not(:empty) { margin: 10px 0; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 480px) {
  .konto-dialog { border-radius: 22px; }
  .konto-dialog .dialog-body { padding: 22px 18px 18px; }
  .dialog-actions .btn { width: 100%; }
}

/* ---------- Sonstiges ---------- */
@media (max-width: 640px) { .hide-sm { display: none !important; } }
.btn-danger { --_bg: var(--danger); --_fg: #fff; box-shadow: none; }
.btn-danger:hover { --_bg: color-mix(in srgb, var(--danger) 88%, #000); box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-danger { --_bg: #d6365a; } :root:not([data-theme="light"]) .btn-danger:hover { --_bg: #c42748; } }
:root[data-theme="dark"] .btn-danger { --_bg: #d6365a; }
:root[data-theme="dark"] .btn-danger:hover { --_bg: #c42748; }
.sec-note { margin: -4px 0 14px !important; }

/* ---------- Agentur-Bereich ---------- */
.ag-kpis { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.ag-kpi { display: flex; gap: 14px; align-items: flex-start; min-width: 0; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); }
.ag-kpi > div { min-width: 0; flex: 1; }
.ag-ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft-2); color: var(--accent-text); }
.ag-ic svg { width: 20px; height: 20px; }
.ag-kpi-pool .ag-ic { background: var(--grad); color: #fff; }
.ag-l { font-size: 12.5px; font-weight: 600; color: var(--faint); line-height: 1.35; }
.ag-v { margin-top: 2px !important; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; overflow-wrap: anywhere; }
.ag-v small { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.ag-v-sm { font-size: 21px; }
.ag-s { margin-top: 4px !important; font-size: 13px; color: var(--muted); line-height: 1.45; }
.meter { display: block; height: 8px; margin: 8px 0 2px; border-radius: 8px; overflow: hidden; background: var(--surface-3); }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, #5b4cff, #b048e0); border-radius: 8px; }
@media (max-width: 1040px) { .ag-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .ag-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
  .ag-kpi-pool, .ag-kpi:last-child { grid-column: 1 / -1; }
  .ag-kpi { flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; }
  .ag-kpi-pool, .ag-kpi:last-child { flex-direction: row; }
  .ag-ic { width: 34px; height: 34px; border-radius: 11px; }
  .ag-v { font-size: 22px; }
  .ag-v-sm { font-size: 18px; }
  .site-head { flex-wrap: wrap; row-gap: 6px; }
  .site-head .lic-title { flex: 1 1 calc(100% - 60px); }
  .site-head .pill { margin-left: 60px; }
}

/* Agentur-Paket 1.11: Zugänge, Anfragen, Kontingente, Verbrauch, Branding (nur .ag-*) */
.ag-requests { margin: 0 0 32px; }
.ag-requests .sec-head h2 .pill { vertical-align: 4px; margin-left: 4px; }
ul.ag-reqs, ul.ag-users { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; color: var(--text); }
.ag-req, .ag-user { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.ag-req:last-child, .ag-user:last-child { border-bottom: 0; }
.ag-req > div:first-child { flex: 1 1 280px; min-width: 0; }
.ag-req .row-actions, .ag-user-act { margin-top: 0; gap: 4px 8px; }
.ag-note { margin: 4px 0 0 !important; font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; white-space: pre-line; }
.ag-link { border: 0; background: none; padding: 0; margin-top: 4px; cursor: pointer; color: var(--accent-text); font: inherit; font-size: 13.5px; font-weight: 600; }
.ag-link:hover { text-decoration: underline; }
.ag-caps .ag-cap-in { width: 120px; min-height: 40px; padding: 8px 12px; font-size: 15px; text-align: right; }
.ag-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--faint); font-weight: 500; overflow-wrap: anywhere; }
.ag-use-ctrl { min-width: 0; }
.ag-select { min-height: 42px; padding: 8px 14px; width: auto; max-width: 100%; font-size: 15px; cursor: pointer; }
.ag-sum th, .ag-sum td { padding-top: 12px; border-top: 1px solid var(--line-2); border-bottom: 0; font-weight: 700; text-align: left; }
.ag-sum .num { text-align: right; }
.ag-brand { display: grid; gap: 0; max-width: 560px; }
.ag-color { display: flex; gap: 10px; align-items: center; }
.ag-color input[type="color"] { flex: none; width: 50px; height: 50px; padding: 4px; border: 0; border-radius: var(--r-md); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.ag-logo { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.ag-logo-prev { flex: none; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; }
.ag-logo-prev img { width: 64px; height: 64px; object-fit: contain; }
.ag-logo-none { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft-2); }
.ag-file { position: relative; cursor: pointer; }
.ag-wl-line { margin-top: 16px !important; }
.ag-wide { width: min(720px, calc(100vw - 32px)); }
.ag-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 6px; }
.ag-block { padding: 4px 0 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.ag-block:last-of-type { border-bottom: 0; }
.ag-h { display: flex; align-items: baseline; gap: 10px; font-size: 17px; letter-spacing: -0.01em; margin: 0 0 10px; }
.ag-h .fine { font-weight: 500; }
.ag-addr, .ag-add { display: grid; gap: 0; margin-top: 8px; }
.ag-addr[hidden] { display: none; }
.ag-add { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; margin-top: 14px; }
.ag-add .field + .field.field { margin-top: 0; }
.ag-add .row-actions, .ag-add .fine { grid-column: 1 / -1; }
.ag-user-main { display: grid; gap: 1px; flex: 1 1 220px; min-width: 0; }
.ag-user-main b, .ag-user-main .fine { overflow-wrap: anywhere; }
.ag-user-main b { color: var(--text); }
.ag-user-main .fine { margin: 0 !important; }
.ag-user > .pill { flex: none; }
.ag-user-act { flex: 1 1 100%; }
@media (max-width: 560px) {
  .ag-add { grid-template-columns: minmax(0, 1fr); }
  .ag-add .field + .field.field { margin-top: 12px; }
  .ag-caps .ag-cap-in { width: 100%; }
  .ag-logo { flex-direction: column; }
}

.site-list { display: grid; gap: 14px; }
.site { padding: 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); display: grid; gap: 14px; min-width: 0; }
.site-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.site-head .lic-title p a { color: var(--muted); text-decoration: none; }
.site-head .lic-title p a:hover { color: var(--accent-text); text-decoration: underline; }
.site-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.site-stats .stat { padding: 12px 14px; border-radius: 16px; }
.site-stats .stat-value { font-size: 18px; }
.site .lic-actions { padding-top: 0; gap: 6px; }
@media (max-width: 720px) { .site-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-stats .stat:last-child { grid-column: 1 / -1; } }
@media (max-width: 440px) { .site-stats { grid-template-columns: minmax(0, 1fr); } .site { padding: 16px; border-radius: 18px; } .site .lic-actions .btn { flex: 1 1 auto; } }

/* Tabellen (Abrechnung, Tarife) – auf dem Handy als Liste */
.tbl-wrap { overflow-x: auto; margin: 0 0 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); padding-top: 0; }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl td { font-variant-numeric: tabular-nums; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.tbl tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl tr:first-child { padding-top: 0; }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td, .tbl td:first-child, .tbl td:last-child { display: flow-root; border: 0; padding: 3px 0; text-align: right; }
  .tbl td.num { white-space: normal; }
  .tbl td[data-l]::before { content: attr(data-l); float: left; margin-right: 16px; color: var(--faint); font-size: 13.5px; line-height: 1.75; }
  .tbl tbody tr:hover td { background: none; }
}
.konto-dialog .field + .field { margin-top: 14px; }
.konto-dialog .lic-key { margin: 6px 0 14px; }
.konto-dialog .mini-steps { margin-top: 6px; }
.nojs { margin: 48px auto; max-width: 560px; }
.guide-full { margin: 0 0 12px; }
