/* Neukundenpartner CI – Farben & Schriften von neukundenpartner.de */
@font-face { font-family: 'Geist'; src: url('/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bordeaux: #800032; --bordeaux-600: #93123f; --bordeaux-deep: #3a0418; --bordeaux-night: #24020f;
  --signal: #d6334f; --rose: #f8eef0; --rose-2: #f1dde2;
  --ink: #1e1a1b; --ink-2: #463e40; --muted: #665c58;
  --paper: #fbfaf8; --paper-2: #f4f1ed; --paper-3: #ebe6e0; --white: #fff;
  --line: #1e1a1b17; --line-2: #1e1a1b26;
  --ok: #2f7a5f; --warn: #b7791f;
  --radius: .75rem; --radius-sm: .5rem;
  --shadow: 0 1px 2px #1e1a1b0d, 0 4px 16px #1e1a1b0a;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--bordeaux); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 28px; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--bordeaux); letter-spacing: -.01em; }
h2 { font-size: 18px; }
h3 { font-size: 14px; }
.boot { display: grid; place-items: center; height: 100vh; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* Layout */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { background: var(--white); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .logo { padding: 4px 8px 18px; }
.side .logo img { width: 168px; display: block; }
.side .tag { font-size: 11px; color: var(--muted); padding: 0 10px; margin-top: -10px; margin-bottom: 14px; letter-spacing: .02em; }
.nav-sec { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 500; }
.nav a:hover { background: var(--paper-2); text-decoration: none; }
.nav a.active { background: var(--rose); color: var(--bordeaux); }
.nav a svg { width: 18px; height: 18px; flex: none; }
.side .me { margin-top: auto; border-top: 1px solid var(--line); padding: 14px 8px 0; display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bordeaux); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 12px; flex: none; }
.main { padding: 28px 32px 60px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1200px) { .g6 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } .side { position: static; height: auto; } .g2, .g3 { grid-template-columns: 1fr; } .main { padding: 20px 16px; } }

/* Karten */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-b { padding: 16px 18px; }
.card-b.flush { padding: 0; }
.kpi { padding: 16px 18px; }
.kpi .lbl { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.kpi .val { font-size: 28px; font-weight: 600; letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.kpi.accent { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.kpi.accent .lbl, .kpi.accent .sub { color: #f1dde2; }
.bar { height: 8px; border-radius: 99px; background: var(--paper-3); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--bordeaux); border-radius: 99px; transition: width .4s; }
.kpi.accent .bar { background: #ffffff33; } .kpi.accent .bar > i { background: #fff; }

/* Buttons & Formulare */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--paper-2); text-decoration: none; }
.btn.primary { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.btn.primary:hover { background: var(--bordeaux-600); }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--paper-2); }
.btn.danger { color: var(--signal); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn.lg { height: 46px; padding: 0 20px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
label.f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 500; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 8px 10px; min-height: 36px; width: 100%; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--rose-2); border-color: var(--bordeaux); }
input[type=checkbox] { width: auto; min-height: 0; accent-color: var(--bordeaux); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }

/* Tabellen */
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); white-space: nowrap; position: sticky; top: 0; }
.t td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tr.click { cursor: pointer; }
.t tr.click:hover td { background: var(--paper); }
.t td.num, .t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 12px; font-weight: 500; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.badge.hot { background: var(--rose); color: var(--signal); }
.badge.bordeaux { background: var(--bordeaux); color: #fff; }
.badge.ok { background: #e4f2ec; color: var(--ok); }
.badge.off { background: var(--paper-3); color: var(--muted); }

/* Login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login .art { background: var(--bordeaux-night); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login .art::after { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, #800032 0%, transparent 65%); opacity: .9; }
.login .art h1 { font-size: 52px; font-weight: 600; letter-spacing: -.04em; position: relative; z-index: 1; }
.login .art h1 em { color: #f1dde2; }
.login .art p { color: #f1dde2cc; max-width: 420px; position: relative; z-index: 1; font-size: 16px; }
.login .form { display: grid; place-items: center; padding: 40px; }
.login .form > form { width: 100%; max-width: 360px; }
.login .form > div, .login .form > form > div { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.login .form .btn.lg { margin-top: 10px; }
.login .form h1 { margin-bottom: 2px; }
@media (max-width: 900px) { .login { grid-template-columns: 1fr; } .login .art { display: none; } }

/* Modal & Toast */
.modal-bg { position: fixed; inset: 0; background: #24020f66; display: grid; place-items: center; z-index: 50; padding: 20px; animation: fade .15s; }
.modal { background: var(--white); border-radius: 1rem; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; box-shadow: 0 20px 60px #24020f40; }
.modal.wide { max-width: 860px; }
.modal-h { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-b { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.modal-f { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; background: var(--paper); }
#toast-root { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); animation: fade .2s; max-width: 380px; }
.toast.err { background: var(--signal); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

/* Filterleiste */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters input, .filters select { width: auto; min-width: 150px; }
.filters input[type=search] { min-width: 260px; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: var(--radius-sm); padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 6px; cursor: pointer; color: var(--ink-2); font-weight: 500; }
.seg button.on { background: var(--white); color: var(--bordeaux); box-shadow: var(--shadow); }

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.tl { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tl:last-child { border-bottom: 0; }
.tl .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); }
.tl .ic svg { width: 14px; height: 14px; }
.tl .meta { font-size: 12px; color: var(--muted); }
.tl .note { margin-top: 4px; white-space: pre-wrap; }

/* Dialer */
.dialer { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .dialer { grid-template-columns: 1fr; } }
.dial-top { background: var(--bordeaux-night); color: #fff; border-radius: var(--radius); padding: 22px 24px; position: relative; overflow: hidden; }
.dial-top::after { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, #800032 0%, transparent 65%); }
.dial-top > * { position: relative; z-index: 1; }
.dial-top .company { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.dial-top .person { color: #f1dde2; font-size: 15px; margin-top: 2px; }
.dial-top .num { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: .01em; margin-top: 14px; font-weight: 500; }
.dial-top .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.dial-top .chips .badge { background: #ffffff1a; color: #fff; }
.dial-top .chips .badge.hot { background: var(--signal); }
.call-btn { height: 52px; padding: 0 22px; font-size: 16px; border-radius: 99px; background: #fff; color: var(--bordeaux); border: 0; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; cursor: pointer; }
.call-btn svg { width: 20px; height: 20px; }
.call-btn.live { background: var(--signal); color: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px #d6334f33; } }
.outcomes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.oc { text-align: left; border: 1px solid var(--line-2); background: var(--white); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all .12s; }
.oc:hover { border-color: var(--bordeaux); }
.oc.on { border-color: var(--bordeaux); background: var(--rose); box-shadow: inset 0 0 0 1px var(--bordeaux); }
.oc kbd { font-family: var(--font); font-size: 11px; background: var(--paper-2); border-radius: 4px; padding: 1px 6px; color: var(--muted); margin-left: auto; }
.oc .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.script { white-space: pre-wrap; font-size: 13px; line-height: 1.6; max-height: 340px; overflow: auto; }
.countdown { font-variant-numeric: tabular-nums; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty h2 { color: var(--ink); margin-bottom: 6px; }

/* Call-Listen-Builder */
.blocks { display: flex; flex-direction: column; gap: 8px; }
.blk { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); background: var(--white); border-radius: var(--radius-sm); cursor: grab; }
.blk.drag { opacity: .4; }
.blk.over { border-color: var(--bordeaux); box-shadow: 0 -2px 0 var(--bordeaux); }
.blk .pos { width: 24px; height: 24px; border-radius: 50%; background: var(--bordeaux); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; flex: none; }
.blk .cnt { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.blk .handle { color: var(--muted); }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px dashed var(--line-2); background: var(--paper); border-radius: 99px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--bordeaux); color: var(--bordeaux); }

/* Charts */
.chart { width: 100%; height: 220px; }
.hbar { display: grid; grid-template-columns: 190px 1fr 70px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13px; }
.hbar .track { height: 10px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.hbar .track i { display: block; height: 100%; border-radius: 99px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.drop { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 40px; text-align: center; background: var(--white); cursor: pointer; transition: all .15s; }
.drop:hover, .drop.over { border-color: var(--bordeaux); background: var(--rose); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.pill-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pill-tabs a { padding: 9px 14px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pill-tabs a.active { color: var(--bordeaux); border-color: var(--bordeaux); }
.pill-tabs a:hover { text-decoration: none; color: var(--ink); }
code.box { display: block; background: var(--paper-2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; word-break: break-all; }
.pw-box { font-size: 22px; font-weight: 600; letter-spacing: .04em; background: var(--rose); color: var(--bordeaux); padding: 14px; border-radius: var(--radius-sm); text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .side { flex-direction: row; align-items: center; overflow-x: auto; padding: 10px 12px; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .logo { padding: 0 6px 0 0; flex: none; } .side .logo img { width: 128px; }
  .side .tag, .nav-sec, .side .me .grow { display: none; }
  .nav { display: flex; gap: 2px; } .nav a { white-space: nowrap; padding: 7px 9px; }
  .side .me { margin: 0 0 0 auto; border: 0; padding: 0; flex: none; }
}
a.kpi { display: block; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.kpi:hover { border-color: var(--bordeaux); text-decoration: none; }
a.kpi.accent:hover { border-color: var(--bordeaux-600); background: var(--bordeaux-600); }
a.hbar { color: inherit; text-decoration: none; border-radius: 6px; margin: 0 -6px; padding: 5px 6px; }
a.hbar:hover { background: var(--paper); text-decoration: none; }
a.hbar:hover > span:first-child { color: var(--bordeaux); text-decoration: underline; }
audio.rec { height: 34px; width: 100%; min-width: 240px; max-width: 360px; display: block; }
.filters input[type=checkbox] { min-width: 0; width: auto; }
/* Deal-Pipeline */
.board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; }
.col { flex: 0 0 272px; background: var(--paper-2); border-radius: var(--radius); display: flex; flex-direction: column; max-height: calc(100vh - 220px); min-height: 160px; border: 1px solid transparent; transition: border-color .12s, background .12s; }
.col.over { border-color: var(--bordeaux); background: var(--rose); }
.col.won, .col.lost, .col.later { flex-basis: 240px; background: var(--paper-3); }
.col header { display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px; font-size: 13px; }
.col header .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.col header .n { background: var(--white); border-radius: 99px; padding: 0 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.col header .sum { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.col-b { padding: 4px 8px 10px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.col-empty { font-size: 12px; color: var(--muted); text-align: center; padding: 18px 0; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); }
.deal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; cursor: grab; box-shadow: 0 1px 2px #1e1a1b0d; display: flex; flex-direction: column; gap: 4px; transition: box-shadow .12s, border-color .12s; }
.deal:hover, .deal:focus-visible { border-color: var(--bordeaux); outline: none; box-shadow: var(--shadow); }
.deal.drag { opacity: .4; }
.deal .t { font-weight: 600; line-height: 1.3; }
.deal .ns { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; }
.deal .ns.late { color: var(--signal); font-weight: 500; }
.deal .foot { gap: 6px; margin-top: 4px; flex-wrap: nowrap; }
.avatar.sm { width: 22px; height: 22px; font-size: 10px; }
.avatar.alt { background: var(--ink-2); }
.col.lost .deal, .col.later .deal { opacity: .8; }
.stagebar { display: flex; gap: 4px; flex-wrap: wrap; }
.stagebar button { border: 1px solid var(--line-2); background: var(--white); font: inherit; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 99px; cursor: pointer; color: var(--ink-2); }
.stagebar button:hover { border-color: var(--bordeaux); }
.stagebar button.on { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.stagebar button.won.on { background: var(--ok); border-color: var(--ok); }
.stagebar button.lost.on, .stagebar button.later.on { background: var(--ink-2); border-color: var(--ink-2); }
/* Telefon-Leiste */
#callbar-root { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 45; }
.callbar { width: 340px; max-width: calc(100vw - 32px); background: var(--white); border: 1px solid var(--line-2); border-radius: 1rem; box-shadow: 0 20px 50px #24020f33; padding: 14px; display: flex; flex-direction: column; gap: 10px; animation: fade .2s; max-height: calc(100vh - 40px); overflow-y: auto; }
.callbar.live { background: var(--bordeaux-night); color: #fff; border-color: var(--bordeaux-night); }
.callbar.live a { color: #fff; }
.callbar.live .btn { background: #ffffff1a; color: #fff; border-color: #ffffff33; }
.callbar.live .btn.primary { background: var(--ok); border-color: var(--ok); }
.callbar.live .btn.dark { background: #fff; color: var(--ink); }
.callbar .btn.hang { background: var(--signal) !important; border-color: var(--signal) !important; color: #fff !important; }
.cb-head { display: flex; gap: 10px; align-items: center; }
.cb-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--rose); color: var(--bordeaux); display: grid; place-items: center; flex: none; }
.cb-ic svg { width: 16px; height: 16px; }
.callbar.live .cb-ic { background: #ffffff1f; color: #fff; }
.callbar.conn .cb-ic { background: var(--ok); color: #fff; animation: pulse 2s infinite; }
.cb-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-sub { font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.cb-state { font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 500; }
.cb-ctrl { display: flex; gap: 6px; flex-wrap: wrap; }
.cb-ctrl .btn { flex: 1; }
.cb-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cb-form { display: flex; flex-direction: column; gap: 8px; }
.cb-oc { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.oc.sm { padding: 6px 8px; font-size: 12px; gap: 6px; }
.oc.sm .dot { width: 8px; height: 8px; }
.callbtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: var(--white); color: var(--bordeaux); border-radius: 99px; padding: 3px 10px 3px 8px; font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; white-space: nowrap; }
.callbtn:hover { background: var(--rose); border-color: var(--bordeaux); }
.callbtn.icon span { display: none; }
.callbtn.icon { padding: 6px; }
.phone-dot { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 2px; cursor: default; }
.phone-dot i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.callbar { overflow-x: hidden; }
.cb-form .row { flex-wrap: wrap; }
.cb-form input[type=datetime-local] { flex: 1 1 160px; min-width: 0; }
.cb-form > *, .cb-oc .oc { min-width: 0; }
/* Passwort anzeigen */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap input { padding-right: 44px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 32px; border: 0; background: transparent; color: var(--muted); border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.pw-eye:hover { color: var(--bordeaux); background: var(--paper-2); }
.pw-eye:focus-visible { outline: 2px solid var(--rose-2); }
.act-edit { opacity: .55; height: 26px; padding: 0 8px; font-size: 12px; flex: none; } .act-edit:hover, .tl:hover .act-edit, tr:hover .act-edit { opacity: 1; }
