/* Panel „Bewerbungen“ (bewerbungen.js): Ziel-Karte schwarz mit Lime-Ring, Karten weiß, Lime nur als Akzent auf Schwarz */
.bw-unter { margin-top: calc(var(--s3) * -1); }
#bList { display: grid; gap: var(--s5); }
.bw-ziel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s5); align-items: center; padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; }
.bw-ziel .kicker { color: var(--night-muted); }
.bw-ziel h2 { color: #fff; font-size: var(--t-l); letter-spacing: -.03em; line-height: 1.2; }
.bw-ziel p { color: var(--night-muted); font-size: var(--t-s); margin-top: 4px; }
.bw-ziel.vorschlag { grid-template-columns: minmax(0, 1fr) auto; }
.bw-ziel .bw-n { display: inline-grid; place-items: center; min-width: 1.6em; padding: 0 .25em; border-radius: var(--r-s); background: var(--lime); color: var(--lime-ink); font-variant-numeric: tabular-nums; }
.bw-ziel .btn.primary { background: var(--lime); color: var(--lime-ink); }
.bw-ziel .btn.primary:hover { background: #fff; color: var(--ink); }
.bw-zielacts { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.bw-step { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--r-pill); background: var(--night-2); }
.bw-step .icon-btn { color: #fff; font-size: 22px; font-weight: 600; line-height: 1; }
.bw-step .icon-btn:hover:not(:disabled) { background: var(--night-line); color: #fff; }
.bw-step .icon-btn:disabled { opacity: .35; cursor: default; }
.bw-zring { --p: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--night) 78%, transparent 79% 100%), conic-gradient(var(--lime) calc(var(--p) * 1%), var(--night-2) 0); }
.bw-zring b { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bw-zring small { font-size: var(--t-xs); color: var(--night-muted); font-weight: 600; }
.bw-ziel.ok .bw-zring { box-shadow: 0 0 0 6px rgba(204, 236, 66, .16); }
.bw-wochen { display: flex; align-items: flex-end; gap: 6px; height: 34px; margin-top: var(--s3); max-width: 260px; }
.bw-wochen i { flex: 1; height: max(4px, var(--h)); border-radius: 3px; background: var(--night-line); transform-origin: bottom; }
.anim .bw-wochen i { animation: bwhoch var(--slow) var(--ease) both; }
.bw-wochen i.ok { background: var(--lime); }
.bw-wochen i.jetzt { outline: 1.5px solid var(--night-muted); outline-offset: 2px; }
@keyframes bwhoch { from { transform: scaleY(0); } }

.bw-add { display: grid; gap: var(--s2); padding: var(--s4) var(--s5); border: 1px dashed var(--ring); border-radius: var(--r-l); }
.bw-add label { font-weight: 700; font-size: var(--t-s); }
.bw-addrow { display: flex; gap: var(--s2); }
.bw-addrow input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: var(--t-s); }
.bw-addrow input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }


@keyframes bwrein { from { opacity: 0; transform: translateY(6px); } }
.bw-weg { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.bw-weg li { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.bw-weg li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.bw-weg li:first-child::before { display: none; }
.bw-weg li.done::before, .bw-weg li.akt::before, .bw-weg li.x::before { background: var(--night); }
.bw-weg li i { position: relative; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--ring); }
.bw-weg li i svg { width: 14px; height: 14px; stroke-width: 2.6; }
.bw-weg li.done i { background: var(--night); border-color: var(--night); color: #fff; }
.bw-weg li.akt i { background: var(--lime); border-color: var(--night); color: var(--lime-ink); }
.bw-weg li.akt, .bw-weg li.done { color: var(--ink); }
.bw-weg li.x i { border-color: var(--ink-2); color: var(--ink-2); }
.bw-weg li small { font-size: 10px; font-weight: 500; color: var(--muted); }
.bw-nf { display: grid; gap: var(--s2); padding: var(--s3) var(--s4); border-radius: var(--r-s); background: var(--lime-soft); font-size: var(--t-s); }
.bw-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: var(--s4); width: max-content; max-width: calc(100vw - 32px); padding: 10px 10px 10px 20px; border-radius: var(--r-pill); background: var(--night); color: #fff; font-size: var(--t-s); font-weight: 600; box-shadow: var(--sh-3); }
.bw-toast .lnk { min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: var(--lime); color: var(--lime-ink); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.bw-feier { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.bw-feier i { position: absolute; top: -16px; left: var(--x); width: 8px; height: 14px; border-radius: 2px; background: var(--c); animation: bwfall 2.2s var(--d) cubic-bezier(.2, .6, .4, 1) both; }
@keyframes bwfall { to { transform: translateY(105vh) rotate(var(--r)); } }

/* Stelle im Detail: Frage nach dem Abschicken */
.sent { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; justify-content: space-between; padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--lime-soft); font-size: var(--t-s); }
.sent[hidden] { display: none; }
.sent svg { width: 16px; height: 16px; vertical-align: -3px; }
.sent p svg { display: inline-block; }
/* Übersicht: Bewerbungs-Kachel führt zur Liste */
.dlink { text-decoration: none; color: inherit; transition: border-color var(--fast) var(--ease); }
.dlink:hover { border-color: var(--ink); }
.dw > small.dziel { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink); }
.dziel svg { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .bw-ziel { grid-template-columns: auto minmax(0, 1fr); padding: var(--s4); gap: var(--s4); }
  .bw-ziel > .bw-step { grid-column: 1 / -1; justify-self: start; }
  .bw-ziel.vorschlag { grid-template-columns: 1fr; }
  .bw-zielacts { justify-content: flex-start; }
  .bw-zring { width: 80px; height: 80px; }
  .bw-zring b { font-size: 28px; }
  .bw-addrow { flex-direction: column; }
  .bw-addrow .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .anim .bw-wochen i { animation: none; } }

/* „So funktioniert's“ und Plan wählen */
.bw-hilfe { display: flex; justify-content: flex-end; margin: calc(var(--s3) * -1) 0 calc(var(--s3) * -1); }
.bw-hilfe .btn svg, .bw-aendern svg { width: 16px; height: 16px; }
.bw-zrechts { display: grid; gap: var(--s2); justify-items: end; }
.bw-ziel .bw-aendern { color: var(--night-muted); }
.bw-ziel .bw-aendern:hover { color: #fff; background: var(--night-2); }
.bw-ziel.frei { grid-template-columns: auto minmax(0, 1fr) auto; }
.bw-zring.leer { background: radial-gradient(closest-side, var(--night) 78%, transparent 79% 100%), conic-gradient(var(--night-line) 0 100%); }
.bw-tage { list-style: none; padding: 0; margin-top: var(--s3); display: grid; grid-template-columns: repeat(7, minmax(0, 40px)); gap: 6px; }
.bw-tage li { display: grid; justify-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--night-muted); }
.bw-tage b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed var(--night-line); font-size: var(--t-xs); color: var(--night-muted); }
.bw-tage b svg { width: 16px; height: 16px; stroke-width: 2.6; }
.bw-tage li.plan b { border: 1.5px solid var(--night-muted); color: #fff; }
.bw-tage li.ok b { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.bw-tage li.heute span { color: #fff; }
.bw-tage li.heute b { outline: 2px solid #fff; outline-offset: 2px; }

.bw-wahl { display: grid; gap: var(--s4); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.bw-wahl h2 { font-size: var(--t-l); letter-spacing: -.03em; margin-top: calc(var(--s3) * -1); }
.bw-zusi { display: flex; gap: var(--s3); align-items: flex-start; }
.bw-zusi p { padding: var(--s3) var(--s4); border-radius: 4px var(--r-m) var(--r-m) var(--r-m); background: var(--lime-soft); font-size: var(--t-s); max-width: 60ch; }
.bw-ava { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--lime); font-weight: 800; }
.bw-arten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.bw-art { display: grid; gap: 4px; align-content: start; text-align: left; padding: var(--s4); border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease); }
.bw-art:hover { border-color: var(--ink-2); }
.bw-art[aria-checked="true"] { border-color: var(--night); background: var(--soft); box-shadow: inset 0 0 0 1px var(--night); }
.bw-art b { font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bw-art em { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: var(--r-pill); background: var(--night); color: var(--lime); }
.bw-art small { font-size: var(--t-xs); color: var(--muted); line-height: 1.4; }
.bw-art-bild svg { width: 48px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.8; margin-bottom: 4px; }
.bw-art-bild text { fill: var(--ink); stroke: none; font-size: 11px; font-weight: 800; font-family: inherit; }
.bw-art-bild .an { fill: var(--night); }
.bw-art[aria-checked="true"] .bw-art-bild .an { fill: var(--night); stroke: var(--night); }
.bw-wahl-detail { display: grid; gap: var(--s3); padding: var(--s4); border-radius: var(--r-m); background: var(--soft); }
.bw-wd { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; font-weight: 600; font-size: var(--t-s); }
.bw-step.hell { background: var(--surface); border: 1px solid var(--line); align-items: center; }
.bw-step.hell .icon-btn { color: var(--ink); }
.bw-step.hell .icon-btn:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.bw-step.hell b { min-width: 2ch; text-align: center; font-size: var(--t-m); font-variant-numeric: tabular-nums; }
.bw-tagwahl { display: flex; flex-wrap: wrap; gap: 6px; }
.bw-tag { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--t-xs); font-weight: 700; cursor: pointer; }
.bw-tag:hover { border-color: var(--ink-2); }
.bw-tag[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--lime); }
.bw-summe { font-size: var(--t-s); color: var(--ink-2); }
.bw-wahl .err:empty { display: none; }

/* Tour: links ein kleines Bild (schwarz, Lime als Akzent), rechts der Text */
.bw-tour { display: grid; gap: var(--s4); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.bw-tour.plan { padding: 0; border: 0; background: none; }
.bw-tour.plan .bw-tour-kopf { padding: 0 var(--s2); }
.bw-tour-kopf { display: flex; align-items: center; gap: var(--s4); }
.bw-tour-kopf .btn { margin-left: auto; }
.bw-punkte { list-style: none; padding: 0; display: flex; gap: 6px; }
.bw-punkte li { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width var(--dur) var(--ease), background var(--dur) var(--ease); }
.bw-punkte li.done { background: var(--ink-2); }
.bw-punkte li.akt { width: 24px; background: var(--night); }
.bw-tour-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.bw-tour-text { display: grid; gap: var(--s3); align-content: center; }
.bw-tour-text h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; line-height: 1.15; }
.pview.bw-tourlauf .nachweis { display: none; }
.bw-tour-text p { color: var(--ink-2); max-width: 46ch; }
.bw-tour-bild { min-height: 260px; display: grid; place-items: center; padding: var(--s5); border-radius: var(--r-m); background: var(--night); overflow: hidden; }
.anim .bw-tour-bild > *, .bw-tour-bild > * { animation: bwrein var(--slow) var(--ease) both; }
.bw-demo { display: grid; gap: var(--s3); width: 100%; max-width: 320px; }
.bw-demo-karte { display: grid; gap: var(--s2); padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-2); }
.bw-demo-karte.zwei { margin-left: var(--s5); opacity: .85; }
.bw-demo-karte b { font-weight: 700; font-size: var(--t-s); }
.bw-demo-karte small { font-size: 11px; color: var(--muted); margin-top: -6px; }
.bw-weg.mini li { font-size: 9px; }
.bw-weg.mini li i { width: 20px; height: 20px; }
.bw-weg.mini li::before { top: 9px; }
.bw-weg.mini li i svg { width: 12px; height: 12px; }
.bw-demo-btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--night); color: #fff; font-size: 11px; font-weight: 700; }
.bw-demo-btn.hell { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.bw-demo-btn svg { width: 13px; height: 13px; }
.bw-demo-frage { display: grid; gap: var(--s2); padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--lime-soft); font-size: var(--t-xs); animation-delay: .25s !important; }
.bw-demo-toast { justify-self: center; display: flex; gap: var(--s3); align-items: center; padding: 8px 8px 8px 14px; border-radius: var(--r-pill); background: var(--night-2); color: #fff; font-size: 11px; font-weight: 600; animation-delay: .25s !important; }
.bw-demo-toast span { padding: 4px 10px; border-radius: var(--r-pill); background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.bw-demo-liste { list-style: none; padding: 0; display: grid; gap: var(--s2); }
.bw-demo-liste li { display: flex; gap: var(--s3); align-items: center; padding: var(--s2) var(--s3); border-radius: var(--r-m); background: var(--surface); font-size: var(--t-xs); color: var(--muted); }
.bw-demo-liste li > span:last-child { display: grid; }
.bw-demo-liste b { color: var(--ink); font-size: var(--t-s); }
.bw-demo-note, .bw-demo-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--lime); font-weight: 800; font-size: var(--t-xs); }
.bw-demo-ic svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .bw-tour-inhalt { grid-template-columns: 1fr; gap: var(--s4); }
  .bw-tour-bild { min-height: 0; }
  .bw-arten { grid-template-columns: 1fr; }
  .bw-art { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s3); }
  .bw-art-bild { grid-row: span 2; align-self: center; }
}
@media (max-width: 600px) {
  .bw-tour, .bw-wahl { padding: var(--s4); }
  .bw-tour-text h2 { font-size: var(--t-l); }
  .bw-tour-kopf { flex-wrap: wrap; gap: var(--s2) var(--s3); }
  .bw-ziel.frei { grid-template-columns: auto minmax(0, 1fr); }
  .bw-ziel.frei > .bw-aendern, .bw-zrechts { grid-column: 1 / -1; justify-items: start; justify-self: start; }
  .bw-zrechts { display: flex; align-items: center; }
  .bw-tage { gap: 4px; }
  .bw-tage b { width: 28px; height: 28px; }
  .bw-weg.mini li span { font-size: 8px; white-space: nowrap; }
  .bw-demo-karte.zwei { margin-left: var(--s3); }
  .bw-tour-bild { padding: var(--s4); }
}
@media (prefers-reduced-motion: reduce) { .bw-tour-bild > * { animation: none !important; } }

/* Dein nächster Schritt: hängt unten an der schwarzen Ziel-Karte, Zusi sagt, was jetzt kommt; Vorschlag groß, Auswahl als Kacheln */
.bw-fokus { display: grid; }
.bw-fokus > .bw-ziel { border-radius: var(--r-l) var(--r-l) 0 0; }
.bw-fokus > .bw-wahl { border-radius: var(--r-l); }
.bw-next { display: grid; gap: var(--s4); padding: var(--s5); border-radius: 0 0 var(--r-l) var(--r-l); background: var(--lime-soft); border: 1px solid var(--night); border-top: 0; }
.bw-next-kopf { display: flex; gap: var(--s3); align-items: flex-start; }
.bw-next-kopf .kicker { color: var(--ink-2); }
.bw-next h2 { font-size: var(--t-l); letter-spacing: -.03em; line-height: 1.2; overflow-wrap: anywhere; }
.bw-next-text { font-size: var(--t-s); color: var(--ink-2); max-width: 62ch; }
.bw-next-los { min-height: 52px; padding-inline: 24px; }
.bw-next-los svg { width: 18px; height: 18px; }
.bw-next-oder { font-size: var(--t-xs); font-weight: 700; color: var(--ink-2); margin-bottom: calc(var(--s2) * -1); }
.bw-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--s2); }
.bw-opt { display: flex; gap: var(--s3); align-items: center; text-align: left; min-height: 64px; padding: var(--s3); border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.bw-opt:hover { border-color: var(--night); transform: translateY(-1px); }
.bw-opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bw-opt > span:last-child { display: grid; gap: 2px; min-width: 0; }
.bw-opt b { font-weight: 700; font-size: var(--t-s); }
.bw-opt small { font-size: var(--t-xs); color: var(--muted); line-height: 1.35; }
.bw-opt-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--lime); }
.bw-opt-ic svg { width: 18px; height: 18px; }
.pview.bw-nichts .nachweis { display: none; }
@media (max-width: 600px) {
  .bw-next { padding: var(--s4); }
  .bw-next-los { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .bw-opt:hover { transform: none; } }

/* ---------- Meine Bewerbungen (Runde 6): Filter-Chips mit Anzahl, Karten mit Status-Chip, ⋯ öffnet ein Sheet ---------- */
.bwm { display: grid; gap: var(--s3); min-width: 0; }
.bwm > h2 { font-size: var(--t-l); letter-spacing: -.03em; display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.bwm > h2 small { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; background: var(--night); color: var(--lime); font-size: var(--t-xs); font-weight: 800; letter-spacing: 0; }
.bwm-leer { justify-items: start; padding: var(--s5); border-radius: var(--r-l); background: var(--soft); }
.bwm-leer p { color: var(--ink-2); max-width: 52ch; }
.bwm-gemerkt { margin-top: var(--s3); }
.bwm-gemerkt > p.small { margin-top: calc(var(--s2) * -1); color: var(--muted); }
.bwm-filter { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; scroll-snap-type: x proximity; }
.bwm-filter::-webkit-scrollbar { display: none; }
.bwm-filter .chip { flex: none; min-height: 44px; padding: 0 8px 0 16px; gap: 8px; white-space: nowrap; scroll-snap-align: start; }
.bwm-filter .chip[aria-pressed="true"]::before { content: none; }
.bwm-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--soft); color: var(--ink-2); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bwm-filter .chip[aria-pressed="true"] .bwm-n { background: var(--lime); color: var(--lime-ink); }
.bwm-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s3); }
.bwm-nichts { padding: var(--s3) 0; }
.bwk { display: grid; gap: var(--s3); align-content: start; min-width: 0; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.anim .bwk { animation: bwrein var(--dur) var(--ease) both; }
.bwk.st-zusage { border-color: var(--night); box-shadow: inset 4px 0 0 var(--lime); }
.bwk.st-absage, .bwk.st-keine { background: var(--soft); }
.bwk-kopf { display: flex; gap: var(--s2); align-items: flex-start; justify-content: space-between; }
.bwk-titel { display: grid; gap: 2px; min-width: 0; }
.bwk-titel b { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.bwk-titel small { font-size: var(--t-xs); color: var(--muted); overflow-wrap: anywhere; }
.bwk-mehr { flex: none; margin: -8px -10px 0 0; }
.bwk-mehr svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.bwk-stand { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; }
.bwk-datum { font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
.bwk-acts { display: none; flex-wrap: wrap; gap: var(--s2); }
.bwk-acts.immer { display: flex; }
.bwk-acts .btn svg { width: 16px; height: 16px; }
.bwk .bw-nf .btn svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .bwk-acts { display: flex; } }
@media (prefers-reduced-motion: reduce) { .anim .bwk { animation: none; } }

/* Status-Chip: eine Farbe je Stand, nur aus den Tokens (Schwarz, Lime, Grau) */
.bwc { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--t-xs); font-weight: 700; white-space: nowrap; cursor: pointer; transition: border-color var(--fast) var(--ease), transform var(--fast) var(--spring); }
.bwc:hover { border-color: var(--ink); }
.bwc:active { transform: scale(.96); }
.bwc > i, .bws-opt > i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ring); }
.bwc .bwc-pfeil { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-entwurf > i { background: transparent; border: 1.5px dashed var(--ink-2); }
.bwc.st-fertig { background: var(--lime-soft); border-color: var(--lime-soft); color: var(--lime-ink); }
.st-fertig > i { background: var(--lime-ink); }
.bwc.st-beworben { background: var(--night); border-color: var(--night); color: #fff; }
.st-beworben > i { background: var(--lime); }
.bws-opt.st-beworben > i { background: var(--night); box-shadow: inset 0 0 0 2px var(--lime); }
.bwc.st-gespraech, .bwc.st-zusage { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.st-gespraech > i { background: var(--night); }
.st-zusage > i { background: var(--night); box-shadow: 0 0 0 2px var(--lime); }
.bws-opt.st-gespraech > i, .bws-opt.st-zusage > i { background: var(--lime); box-shadow: inset 0 0 0 2px var(--night); }
.bwc.st-absage, .bwc.st-keine { background: var(--soft); border-color: var(--soft); color: var(--muted); }
.st-absage > i, .st-keine > i { background: var(--field); }
@media (pointer: coarse) { .bwc { min-height: 44px; } }

/* Auswahl und Detail: am Handy als Bottom-Sheet, am PC als Dropdown am Chip bzw. in der Mitte */
.bws { border: 0; padding: 0; background: var(--surface); color: var(--ink); border-radius: var(--r-m); box-shadow: var(--sh-3); width: min(360px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; }
.bws::backdrop { background: rgba(18, 20, 18, .36); }
.bws.dropdown { position: fixed; margin: 0; inset: auto; }
.bws.dropdown::backdrop { background: rgba(18, 20, 18, .08); }
.bws.mitte { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(460px, calc(100vw - 32px)); } /* margin: auto, sonst schiebt der globale Reset (margin: 0) das Fenster nach links oben */
.bws.unten { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 88dvh; border-radius: var(--r-l) var(--r-l) 0 0; padding-bottom: env(safe-area-inset-bottom); animation: bwsrein var(--dur) var(--ease) both; }
@keyframes bwsrein { from { transform: translateY(32px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bws.unten { animation: none; } }
.bws-in { display: grid; gap: var(--s3); padding: var(--s4); min-width: 0; }
.bws-zu { position: absolute; top: 6px; right: 6px; }
.bws-griff { justify-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: -6px 0 -4px; }
.bws-kopf { display: grid; gap: 2px; padding-right: 40px; min-width: 0; }
.bws-titel { font-weight: 700; font-size: var(--t-s); line-height: 1.3; overflow-wrap: anywhere; }
.bws-kopf .small { color: var(--muted); overflow-wrap: anywhere; }
.bws-liste { display: grid; gap: 2px; margin: 0 calc(var(--s2) * -1); }
.bws-opt { display: flex; align-items: center; gap: var(--s3); min-height: 52px; padding: 6px var(--s3); border: 0; border-radius: var(--r-s); background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.bws-opt:hover, .bws-opt:focus-visible { background: var(--soft); }
.bws-opt:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.bws-opt[aria-checked="true"] { background: var(--soft); }
.bws-opt > span { display: grid; flex: 1; min-width: 0; }
.bws-opt b { font-size: var(--t-s); font-weight: 700; }
.bws-opt small { font-size: var(--t-xs); color: var(--muted); line-height: 1.35; }
.bws-opt > svg { flex: none; width: 20px; height: 20px; }
.bws-termin { display: grid; gap: var(--s3); }
.bws-termin input[type="datetime-local"] { width: 100%; min-width: 0; }
.bws-mail { display: grid; gap: var(--s2); padding: var(--s3) var(--s4); border-radius: var(--r-s); background: var(--soft); font-size: var(--t-s); overflow-wrap: anywhere; }
.bws .btns .btn svg { width: 16px; height: 16px; }
.bwd-stand { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; }
.bwd-stand .small { color: var(--muted); }
.bwd-notiz textarea { min-height: 64px; }
.bwd-weg { display: grid; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.bwd-weg > .btn { justify-self: start; }
.bwd-weg .btn svg { width: 16px; height: 16px; }
.bw-toast[hidden] { display: none; }

/* ---------- Ansicht wie bei karriere.at (bewerbungen.js, Paul 28.10.2026): Liste links, Bewerbung rechts; schmal nacheinander ---------- */
#bList { container: bwx / inline-size; }
.bwx { display: grid; gap: var(--s4); min-width: 0; }
.bwx-liste, .bwx-detail { min-width: 0; padding: var(--s4); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--sh-1); }
.bwx-liste { display: grid; align-content: start; gap: var(--s3); }
.bwx-detail { display: none; }
.bwx.offen .bwx-liste { display: none; }
.bwx.offen .bwx-detail { display: grid; align-content: start; gap: var(--s4); }
.bwx-zurueck { justify-self: start; margin-left: -10px; }
@container bwx (min-width: 720px) {
  .bwx { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); align-items: start; }
  .bwx .bwx-liste, .bwx.offen .bwx-liste { display: grid; position: sticky; top: var(--s4); max-height: calc(100dvh - 2 * var(--s4)); overflow: auto; overscroll-behavior: contain; }
  .bwx .bwx-detail { display: grid; align-content: start; gap: var(--s4); padding: var(--s5); }
  .bwx-zurueck { display: none; }
}
.bwx-lkopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); }
.bwx-lkopf h2 { font-size: var(--t-l); letter-spacing: -.02em; }
.bwx-filter select { min-height: 44px; padding: 0 36px 0 14px; border-radius: var(--r-pill); font-size: var(--t-s); font-weight: 600; }
.bwx-add { border-radius: var(--r-m); background: var(--lime-soft); }
.bwx-add summary { display: flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); font-size: var(--t-s); font-weight: 700; cursor: pointer; list-style: none; }
.bwx-add summary::-webkit-details-marker { display: none; }
.bwx-add summary svg { width: 18px; height: 18px; flex: none; }
.bwx-add .bw-add { border: 0; padding: 0 var(--s3) var(--s3); }
.bwx-add .bw-addrow { flex-wrap: wrap; }
/* Website der Firma im Reiter „Arbeitgeber“ (Paul 30.10.2026) */
.bwx-web { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); margin-top: var(--s4); }
.bwx-web label { font-weight: 600; }
.bwx-web .bw-addrow { flex-wrap: wrap; }
.bwx-web .bw-addrow .btn { flex: none; }
.bwx-web p { margin: 0; }
.bwx-add .bw-addrow .btn { flex: none; }
.bwx-items { display: grid; list-style: none; padding: 0; margin: 0 calc(var(--s2) * -1); }
.bwx-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s3); align-items: start; width: 100%; padding: var(--s3) var(--s2); border: 0; border-radius: var(--r-m); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background var(--fast) var(--ease); }
.bwx-item:hover { background: var(--soft); }
.bwx-item.akt { background: var(--soft); box-shadow: inset 3px 0 0 var(--night); }
.bwx-item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.bwx-items li + li { border-top: 1px solid var(--line); }
.bwx-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-s); background: var(--night); color: var(--lime); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.bwx-logo.gross { width: 56px; height: 56px; font-size: 18px; flex: none; }
/* Firmenlogo über den Buchstaben: erst sichtbar, wenn es geladen ist; weißes Feld, damit dunkle und transparente Icons lesbar sind */
.bwx-logo { position: relative; overflow: hidden; flex: none; }
.bwx-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 15%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: inherit; opacity: 0; transition: opacity .2s; }
.bwx-logo img.da { opacity: 1; }
.bwx-txt { display: grid; gap: 2px; min-width: 0; }
.bwx-txt b { font-size: var(--t-s); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.bwx-txt small { color: var(--muted); font-size: var(--t-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bwx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; color: var(--ink-2); font-size: var(--t-xs); }
.bwx-st { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--soft); color: var(--ink-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.bwx-item.akt .bwx-st, .bwx-item:hover .bwx-st { background: var(--surface); }
.bwx .bwx-st.st-beworben, .bwx .bwx-st.st-fertig { background: var(--night); color: #fff; }
.bwx .bwx-st.st-gespraech, .bwx .bwx-st.st-zusage { background: var(--lime); color: var(--lime-ink); }
.bwx .bwx-st.st-entwurf { background: var(--lime-soft); color: var(--lime-ink); }
.bwx-leer { display: grid; gap: var(--s3); justify-items: start; padding: var(--s3) 0; color: var(--ink-2); }
.bwx-planlink { justify-self: start; }
.bwx-planlink.akt { background: var(--soft); }
/* Rechts: eine Bewerbung */
.bwx-dkopf { display: flex; gap: var(--s3); align-items: center; min-width: 0; }
.bwx-dkopf > div { min-width: 0; }
.bwx-dkopf h2 { font-size: clamp(22px, 2vw + 12px, 32px); line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.bwx-wo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); font-size: var(--t-s); }
.bwx-tabs { display: flex; gap: var(--s1); overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.bwx-tabs::-webkit-scrollbar { display: none; }
.bwx-tabs button { flex: none; min-height: 44px; padding: 0 var(--s3); border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ink-2); font: inherit; font-size: var(--t-s); font-weight: 600; cursor: pointer; }
.bwx-tabs button[aria-selected="true"] { border-bottom-color: var(--night); color: var(--ink); font-weight: 700; }
.bwx-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.bwx-body { display: grid; gap: var(--s4); min-width: 0; }
@container bwx (min-width: 980px) { .bwx-body { grid-template-columns: minmax(0, 1fr) 240px; align-items: start; } }
.bwx-panel { display: grid; gap: var(--s4); align-content: start; min-width: 0; }
.bwx-frage { display: grid; gap: var(--s3); padding: var(--s4); border-radius: var(--r-m); background: var(--soft); }
.bwx-frage p { font-weight: 600; }
.bwx-frage .btns { display: flex; flex-wrap: wrap; gap: var(--s2); }
.bwx-h3 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.bwx-docs { display: grid; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.bwx-docs li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); }
.bwx-docs li > svg { width: 20px; height: 20px; color: var(--ink-2); }
.bwx-docs span { display: grid; min-width: 0; }
.bwx-docs b { font-size: var(--t-s); overflow-wrap: anywhere; }
.bwx-docs small { color: var(--muted); font-size: var(--t-xs); }
.bwx-text { white-space: pre-line; color: var(--ink-2); overflow-wrap: anywhere; }
.bwx-dl { display: grid; gap: var(--s3); margin: 0; }
.bwx-dl div { display: grid; gap: 2px; }
.bwx-dl dt { color: var(--muted); font-size: var(--t-xs); font-weight: 600; }
.bwx-dl dd { margin: 0; overflow-wrap: anywhere; }
.bwx-seite { display: grid; gap: var(--s3); align-content: start; padding: var(--s4); border-radius: var(--r-m); background: var(--soft); }
.bwx-statusbtn { width: 100%; background: var(--surface); }
.bwx-verlauf { display: grid; list-style: none; padding: 0; margin: 0; }
.bwx-verlauf li { position: relative; display: grid; padding: 0 0 var(--s3) 26px; }
.bwx-verlauf li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ring); }
.bwx-verlauf li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.bwx-verlauf li.jetzt::before { background: var(--night); box-shadow: 0 0 0 3px var(--lime); }
.bwx-verlauf b { font-size: var(--t-s); }
.bwx-verlauf small { color: var(--muted); font-size: var(--t-xs); }
.bwx-weg { justify-self: start; }
.bwx-nichts { place-items: center; min-height: 240px; }
.bwx-dkopf h2:focus { outline: none; }
@container bwx (max-width: 719px) { .bwx-logo.gross { width: 44px; height: 44px; font-size: 15px; } .bwx-dkopf { align-items: flex-start; } }
