/* LPauto Partner-Backend — helles, luftiges SaaS-UI (Stripe-Niveau).
   Marke: Teal #087888 als Akzent, Navy #001848 für Headlines, viel Weißraum.
   Nur das Backend — die Endkunden-PWA behält ihre eigene Welt.
   System-Font-Stack, keine Dritt-Fonts (Tracking-Verbot im Backend). */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --teal: #087888; --teal-dk: #006878; --teal-lt: #0A8194;
  --teal-tint: #E7F2F4; --teal-tint-2: #D4E9EC;
  --navy: #001848; --navy-2: #0A2452;
  --bg: #F6F8FA;             /* App-Hintergrund */
  --sidebar: #FFFFFF;        /* Sidebar */
  --surface: #FFFFFF;        /* Karten */
  --ink: #1A2230;           /* Fließtext dunkel */
  --head: #0C1B3A;          /* Headlines (Navy-nah) */
  --muted: #5B6B82;         /* Sekundärtext */
  --muted-2: #8895A7;       /* schwächer */
  --line: #E6EBF1;          /* feine Rahmen/Trenner */
  --line-2: #EDF1F5;
  --ok: #157F4B; --ok-bg: #E3F5EC;
  --warn: #9A6212; --warn-bg: #FBF0DD;
  --danger: #B4362C; --danger-bg: #FBE7E4;
  --blue: #2F6FB7; --blue-bg: #E7F0FB;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-lg: 12px; --r-md: 10px; --r-sm: 8px;
  --sh-xs: 0 1px 1px rgba(12,27,58,.04);
  --sh-sm: 0 1px 2px rgba(12,27,58,.06), 0 1px 3px rgba(12,27,58,.04);
  --sh-md: 0 2px 5px rgba(12,27,58,.06), 0 6px 20px rgba(12,27,58,.05);
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 14px; line-height: 1.5; min-height: 100vh;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--head); font-weight: 650; letter-spacing: -0.014em; margin: 0; }
h1 { font-size: 23px; line-height: 1.25; }
h2 { font-size: 15px; line-height: 1.35; margin-bottom: 12px; }
h3 { font-size: 14px; }
p { margin: 0 0 12px; }
a { color: var(--teal-dk); text-decoration: none; transition: color .12s ease; }
a:hover { color: var(--teal); text-decoration: underline; }
svg { display: block; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* ---------- Layout ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 236px; flex-shrink: 0; background: var(--sidebar); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1px; padding: 14px 12px 12px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .brand { display: flex; align-items: center; padding: 4px 8px 14px; }
.logo-box { display: inline-flex; align-items: center; }        /* helle Sidebar → Logo direkt, kein weißer Kasten */
.logo-box img { display: block; }
.sidebar .nav-label {
  font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted-2); padding: 14px 10px 5px;
}
.sidebar a.nav-item, .sidebar span.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 8px;
  color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: none;
  transition: background .12s ease, color .12s ease;
}
.sidebar a.nav-item:hover { background: var(--bg); color: var(--head); text-decoration: none; }
.sidebar a.nav-item.active { background: var(--teal-tint); color: var(--teal-dk); font-weight: 600; }
.sidebar a.nav-item.active svg { color: var(--teal); opacity: 1; }
.sidebar span.nav-item.disabled { color: var(--muted-2); opacity: .7; cursor: default; }
.sidebar .nav-item svg { flex-shrink: 0; opacity: .7; }
.sidebar .spacer { flex: 1; min-height: 10px; }

/* Content = Topbar + Main */
.content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20; background: #fff;
  border-bottom: 1px solid var(--line); height: 56px; display: flex; align-items: center;
  gap: 14px; padding: 0 22px;
}
.topbar .search { flex: 1; max-width: 440px; position: relative; }
.topbar .search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.topbar .search input {
  width: 100%; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  padding: 0 12px 0 34px; font: inherit; font-size: 13.5px; color: var(--ink); transition: all .12s ease;
}
.topbar .search input:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.topbar .tb-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.topbar .tb-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 0; background: none; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .12s ease, color .12s ease;
}
.topbar .tb-btn:hover { background: var(--bg); color: var(--head); }
.topbar .tb-user { display: flex; align-items: center; gap: 9px; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.topbar .tb-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 650; font-size: 12.5px; }
.topbar .tb-email { font-size: 12.5px; color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar form { margin: 0; }

.main { flex: 1; min-width: 0; padding: 26px 30px 60px; }
.wrap { max-width: 1040px; margin: 0 auto; }
.wrap-narrow { max-width: 420px; margin: 0 auto; }

/* Breadcrumb + Page-Header */
.crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.crumb a { color: var(--teal-dk); font-weight: 500; }
.page-head { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.page-head h1 { display: flex; align-items: center; gap: 10px; }
.page-sub { color: var(--muted); margin: 2px 0 22px; font-size: 13.5px; }

/* ---------- Karten & Kacheln ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--sh-xs);
}
.card > h2:first-child { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 14px; }
.grid-tiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px; box-shadow: var(--sh-xs);
}
.tile .num { font-size: 26px; font-weight: 680; color: var(--head); letter-spacing: -0.02em; line-height: 1.15; }
.tile .lbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ==== Dashboard: Schnellzugriff-Kacheln (grosse Einstiegs-Schaltflaechen) ==== */
.sec-h { margin: 22px 0 10px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 12px; }
.quick-tile {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-xs); color: var(--ink); text-decoration: none; min-width: 0;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.quick-tile:hover { border-color: var(--teal); transform: translateY(-1px); box-shadow: 0 8px 20px -14px rgba(0,24,72,.4); text-decoration: none; color: var(--ink); }
.quick-tile .q-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--teal-tint); color: var(--teal-dk);
  display: flex; align-items: center; justify-content: center;
}
.quick-tile .q-body { min-width: 0; }
.quick-tile .q-title { display: block; font-weight: 650; font-size: 13.5px; color: var(--head); line-height: 1.3; }
.quick-tile .q-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.quick-tile .q-count { margin-left: auto; flex-shrink: 0; white-space: nowrap; }
.quick-tile.primary { background: var(--teal); border-color: var(--teal); }
.quick-tile.primary .q-ico { background: rgba(255,255,255,.16); color: #fff; }
.quick-tile.primary .q-title { color: #fff; }
.quick-tile.primary .q-desc { color: rgba(255,255,255,.78); }
.quick-tile.primary:hover { background: var(--teal-dk); border-color: var(--teal-dk); }
.q-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); margin-left: 6px; vertical-align: 1px; }
.legend-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 880px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-tile { padding: 13px 13px; gap: 10px; }
  .quick-tile .q-count { display: none; }  /* mobil: Kachel bleibt Schaltflaeche, Zahl steht in "Deine Zahlen" */
}
@media (max-width: 460px) { .quick-grid { grid-template-columns: 1fr; } .quick-tile .q-count { display: inline-flex; } }

/* Empty-States (dashed, wie Stripe) */
.empty {
  border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 30px 20px;
  text-align: center; color: var(--muted); font-size: 13.5px; background: #FCFDFE;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; cursor: pointer; font: 600 13.5px var(--sans);
  background: var(--teal); color: #fff; border-radius: 8px; padding: 9px 16px;
  transition: background .12s ease, box-shadow .12s ease, transform .04s ease; box-shadow: var(--sh-xs);
}
.btn:hover { background: var(--teal-dk); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: #fff; color: var(--head); border-color: var(--line); box-shadow: var(--sh-xs); }
.btn.secondary:hover { background: var(--bg); color: var(--head); border-color: #D5DCE5; }
.btn.warn { background: var(--warn); }
.btn.warn:hover { background: #855312; }
.btn.danger { background: #fff; color: var(--danger); border-color: #EFCcc7; }
.btn.danger:hover { background: var(--danger-bg); }
.btn.small { padding: 6px 12px; font-size: 12.5px; }
.btn[disabled], .btn.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---------- Formulare ---------- */
label { display: block; font-weight: 600; font-size: 12.5px; margin: 15px 0 5px; color: var(--head); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=url],
input[type=number], input[type=datetime-local], select, textarea {
  width: 100%; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: 13.5px; color: var(--ink); transition: border-color .12s ease, box-shadow .12s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
textarea { min-height: 82px; resize: vertical; }
.hint { font-size: 12px; color: var(--muted); margin-top: 5px; }

/* ---------- Meldungen ---------- */
.alert { border-radius: var(--r-md); padding: 11px 15px; margin-bottom: 16px; font-size: 13.5px; border: 1px solid transparent; }
.alert.success { background: var(--ok-bg); color: #106040; border-color: #C6E9D5; }
.alert.error { background: var(--danger-bg); color: #8F2A22; border-color: #F1CFC9; }
.alert.warn { background: var(--warn-bg); color: #7A4D12; border-color: #EFDCB8; }
.alert.info { background: var(--teal-tint); color: var(--teal-dk); border-color: #C9E4E8; }

/* ---------- Tabellen ---------- */
.tablewrap { overflow-x: auto; margin: 0 -2px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted-2); font-weight: 600; padding: 9px 12px; border-bottom: 1px solid var(--line);
}
td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tbody tr { transition: background .1s ease; }
tbody tr:hover td { background: #FBFCFD; }
tbody tr:last-child td { border-bottom: none; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.badge.green { background: var(--ok-bg); color: var(--ok); }
.badge.blue { background: var(--blue-bg); color: var(--blue); }
.badge.amber { background: var(--warn-bg); color: var(--warn); }
.badge.gray { background: #EEF1F5; color: var(--muted); }
.badge.red { background: var(--danger-bg); color: var(--danger); }
.badge.dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; opacity: .8; }

.meter { background: var(--line); border-radius: 999px; height: 7px; overflow: hidden; margin-top: 10px; }
.meter > span { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width .4s ease; }
.meter.full > span { background: var(--warn); }

.codebox {
  font-family: ui-monospace, "SF Mono", Consolas, monospace; background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
  word-break: break-all; font-size: 13px; color: var(--ink);
}
.copyrow { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.copyrow .codebox { flex: 1; }

.steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.steps span { font-size: 12px; padding: 5px 12px; border-radius: 999px; background: #EEF1F5; color: var(--muted); font-weight: 500; }
.steps span.on { background: var(--teal-tint); color: var(--teal-dk); font-weight: 600; }

.privacy-note {
  font-size: 12.5px; line-height: 1.55; color: var(--teal-dk); background: var(--teal-tint);
  border: 1px solid #C9E4E8; border-radius: var(--r-md); padding: 12px 15px; margin-top: 18px;
}
.privacy-note strong { color: var(--head); }
footer.foot { text-align: center; color: var(--muted-2); font-size: 12px; padding: 26px 20px 4px; }
#qrcode { background: #fff; border: 1px solid var(--line); padding: 12px; border-radius: var(--r-md); display: inline-block; margin-top: 8px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }

/* ---------- Öffentliche Seiten (Login/Registrierung/Landing) ---------- */
body.public {
  display: flex; align-items: center; justify-content: center; padding: 40px 18px;
  background:
    radial-gradient(90% 60% at 50% -10%, #EAF2F4 0%, rgba(234,242,244,0) 60%),
    var(--bg);
}
body.public .wrap-narrow { width: 100%; }
body.public .pub-head { text-align: center; margin-bottom: 20px; }
body.public .pub-head .logo-box { justify-content: center; }
body.public .pub-head p { color: var(--muted); margin: 12px 0 0; font-size: 13px; }
body.public .card { box-shadow: var(--sh-md); }
body.public footer.foot { color: var(--muted-2); }

/* ---------- Responsiv ---------- */
@media (max-width: 880px) {
  .shell { flex-direction: column; }
  .sidebar {
    width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap;
    align-items: center; padding: 8px 12px; gap: 2px; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .sidebar .brand { padding: 4px 8px; }
  .sidebar .nav-label, .sidebar .spacer { display: none; }
  .sidebar a.nav-item, .sidebar span.nav-item { padding: 7px 10px; font-size: 13px; }
  .sidebar .nav-item svg { display: none; }
  .topbar { padding: 0 14px; }
  .topbar .tb-email { display: none; }
  .main { padding: 18px 16px 50px; }
  h1 { font-size: 21px; }
}

/* --- Anleitung: Guide-Karten + externer Nav-Link (Codeshop) ---------------- */
.guide { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
@media (min-width: 760px) { .guide { grid-template-columns: repeat(2, 1fr); } }
.guide-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 18px 14px 54px;
}
.guide-card h3 { margin: 0 0 8px; color: var(--head, var(--navy)); font-size: 1.05rem; }
.guide-card ol { margin: 0; padding-left: 18px; color: var(--ink); }
.guide-card ol li { margin-bottom: 6px; line-height: 1.55; }
.guide-badge {
  position: absolute; left: 16px; top: 18px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
}
.sidebar a.nav-item.nav-external { color: var(--teal-dk); }
.sidebar a.nav-item.nav-external:hover { background: var(--teal-tint); }

/* --- Redeem: Direktlinks in den Codeshop ----------------------------------- */
.shop-links { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px; }
@media (min-width: 560px) { .shop-links { grid-template-columns: repeat(2, 1fr); } }
.shop-link {
  display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.shop-link:hover { border-color: var(--teal); transform: translateY(-1px); box-shadow: 0 8px 20px -14px rgba(0,24,72,.4); text-decoration: none; }
.shop-link-title { display: block; font-weight: 600; color: var(--teal-dk); }
.shop-link-arrow { font-size: .9em; }
.shop-link-note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ==== Anleitung & Hilfe: Schwebe-Knopf, Tutorial-Stepper, Aufklapp-Themen ==== */
/* Betreiber-Vorgabe: GROSS (3x) und magenta/pink — muss jedem sofort ins Auge
   springen, damit niemand Angst hat, sich zu verklicken. */
.help-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 12px;
  background: #D6218F; color: #fff; font-weight: 700; font-size: 19px;
  padding: 19px 30px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 32px -8px rgba(214, 33, 143, .55);
  transition: background .12s ease, transform .12s ease;
}
.help-fab svg { width: 30px; height: 30px; }
.help-fab:hover { background: #B31274; color: #fff; text-decoration: none; transform: translateY(-2px); }
.tut-step { display: none; }
.tut-step.active { display: block; }
.tut-step h3 { margin: 6px 0 10px; font-size: 15px; }
.tut-step p { font-size: 13.5px; line-height: 1.65; }
.tut-step code { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 12.5px; }
.tut-where {
  background: var(--teal-tint); border: 1px solid #C9E4E8; border-radius: var(--r-md);
  padding: 9px 12px; color: var(--teal-dk); font-size: 13px !important; margin-top: 12px;
}
.tut-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.tut-dots { display: flex; gap: 7px; }
.tut-dot { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .15s ease; }
.tut-dot.on { background: var(--teal); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; font-weight: 650; color: var(--head); font-size: 14px;
  padding: 13px 4px; list-style-position: inside;
}
.faq summary:hover { color: var(--teal-dk); }
.faq details[open] summary { color: var(--teal-dk); }
.faq details p { font-size: 13.5px; line-height: 1.65; margin: 0 4px 12px; }
@media (max-width: 880px) {
  /* Mobil etwas kompakter, aber weiterhin unübersehbar. */
  .help-fab { right: 14px; bottom: 14px; padding: 14px 20px; font-size: 16px; }
  .help-fab svg { width: 24px; height: 24px; }
  .tut-nav { flex-wrap: wrap; }
}

/* ==== Rechtstexte-Popup (CSS-only ueber :target, kein JS) ==== */
.legal-pop{display:none;position:fixed;inset:0;z-index:300;}
.legal-pop:target{display:block;}
.legal-pop-bg{position:absolute;inset:0;background:rgba(12,27,58,.55);}
.legal-pop-box{position:relative;z-index:1;max-width:840px;max-height:86vh;overflow:auto;margin:6vh auto 0;background:var(--surface);border-radius:var(--r-lg);padding:26px 30px 30px;box-shadow:0 30px 80px -24px rgba(12,27,58,.5);line-height:1.65;}
.legal-pop-close{float:right;font-size:26px;line-height:1;text-decoration:none;color:var(--muted);padding:0 4px;margin:-4px -6px 0 12px;}
.legal-pop-close:hover{color:var(--head);}
.foot-note{display:inline-block;margin:4px 0 2px;color:var(--muted-2);}
@media (max-width:720px){.legal-pop-box{margin:0;max-height:100vh;height:100%;border-radius:0;padding:20px 16px;}}

/* ==== Kur-Impuls-Pool: Strecken-Tabs (deutlich sichtbarer Umschalter) ==== */
.kur-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:2px 0 18px;}
.kur-tab{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:var(--r-md);border:1.5px solid var(--line);background:var(--surface);font-weight:600;font-size:14px;color:var(--ink);text-decoration:none;box-shadow:var(--sh-xs);}
.kur-tab:hover{border-color:var(--teal);color:var(--teal-dk);}
.kur-tab.active{background:var(--teal);border-color:var(--teal);color:#fff;}
.kur-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--teal-tint);color:var(--teal-dk);font-size:12px;font-weight:700;}
.kur-tab.active .kur-tab-count{background:rgba(255,255,255,.25);color:#fff;}

/* ==== Impuls-Pool: Kategorie-Chips mit Themennamen ==== */
.cat-chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px;}
.cat-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);font-size:13px;font-weight:600;color:var(--ink);text-decoration:none;}
.cat-chip:hover{border-color:var(--teal);color:var(--teal-dk);}
.cat-chip.active{background:var(--teal);border-color:var(--teal);color:#fff;}
.cat-chip .cat-key{font-family:ui-monospace,Consolas,monospace;font-weight:700;}
