/* RUDX Business (rudx.ch/business) – on top of site.css, club.css, admin.css and satin.css */
.wrap.wide { max-width: 1440px; }
.view[hidden], .tab[hidden], [hidden] { display: none !important; }
.group-head h1 { margin: 0; }
.org-list { margin-bottom: 22px; }
.redeem { max-width: 560px; }
.redeem .actions-bar { justify-content: flex-start; }
.redeem input { padding: 11px 14px; font: inherit; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; min-width: 0; flex: 1; }
.redeem-msg { margin: 0; min-height: 1.2em; font-size: 14px; }
.redeem-msg.ok { color: var(--green); }
.tabs { margin: 18px 0 18px; }

/* ---------- Leitstand ---------- */
.live { display: grid; grid-template-columns: 260px minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
@media (max-width: 1180px) { .live { grid-template-columns: 240px minmax(0, 1fr); } .live-side { grid-column: 1 / -1; } }
@media (max-width: 760px) { .live { grid-template-columns: minmax(0, 1fr); } }
.ride-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-height: 72vh; overflow-x: hidden; overflow-y: auto; padding: 4px 6px 12px 2px; }
.ride-list .section-label { margin: 6px 0 0; }
.ride-key { display: grid; gap: 4px; min-width: 0; width: 100%; text-align: left; padding: 12px 14px; font: inherit; cursor: pointer; }
.ride-key.on { box-shadow: var(--satin-rim), 0 0 0 1.5px rgba(217, 160, 91, 0.7), var(--satin-shadow); }
.rk-top { display: flex; align-items: center; gap: 8px; }
.rk-top strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-speak { font-size: 12.5px; color: var(--sand); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; display: inline-block; }
.dot.stale { background: var(--muted); box-shadow: none; }

.live-center { position: relative; min-width: 0; }
.live-map { height: 72vh; min-height: 380px; border-radius: 22px; box-shadow: var(--well-rim); background: #0d0f12; }

@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(224, 49, 43, 0.25), 0 2px 6px rgba(0, 0, 0, 0.8); } }

.live-side { display: grid; gap: 12px; min-width: 0; }
.ride-panel { padding: 18px; display: grid; gap: 12px; }
.ride-panel h2 { margin: 0; font-size: 20px; font-weight: 600; }
.ride-panel .rp-sub { margin: -6px 0 0; }
.radio-tools { display: grid; gap: 12px; }
.talk { position: relative; display: grid; place-items: center; height: 92px; border: 0; border-radius: 22px; cursor: pointer; font: inherit; color: var(--text);
  background: var(--well-face); box-shadow: var(--well-rim); touch-action: none; user-select: none; }
.talk-ring { position: absolute; inset: 10px; border-radius: 16px; background: var(--satin-face); box-shadow: var(--satin-rim), var(--satin-shadow); }
.talk-label { position: relative; font-size: 14px; letter-spacing: 0.04em; }
.talk.on .talk-ring { box-shadow: var(--satin-rim), 0 0 0 2px var(--sand), 0 0 24px rgba(217, 160, 91, 0.45); }
.talk.on .talk-label { color: var(--sand); font-weight: 600; }
.note { display: flex; gap: 8px; }
.note input { flex: 1; min-width: 0; padding: 10px 12px; font: inherit; font-size: 14px; }
.note button { cursor: pointer; }
.radio-note { margin: 0; min-height: 0; }
.radio-note:empty { display: none; }
.rp-check .section-label, .ride-panel .section-label { margin: 4px 0 0; }
.rp-check p { margin: 4px 0 0; }
.radio-log { display: grid; gap: 0; max-height: 300px; overflow: auto; }
.log-row { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.log-row .when { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 2px; }
.log-row.mine strong { color: var(--sand); }
.log-row.sos strong { color: var(--red); }
.log-row.ok strong { color: var(--green); }

.alarms { display: grid; gap: 10px; margin-bottom: 14px; }
.alarms:empty { display: none; }
.alarm { display: grid; gap: 6px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(224, 49, 43, 0.24), rgba(120, 20, 18, 0.24)); box-shadow: inset 0 0 0 1px rgba(224, 49, 43, 0.6), var(--satin-shadow); }
.alarm strong { color: #fff; font-size: 17px; }
.alarm .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.alarm .acts a, .alarm .acts button { padding: 8px 14px; font: inherit; font-size: 13.5px; color: var(--text); text-decoration: none; cursor: pointer; }
.alarm-head { display: flex; align-items: center; gap: 10px; }
.alarm-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(224, 49, 43, 0.5); animation: alarm-ring 1.4s infinite; }
@keyframes alarm-ring { 70% { box-shadow: 0 0 0 9px rgba(224, 49, 43, 0); } }
.alarm-why { color: #fff; font-size: 15px; }
.alarm-where[hidden] { display: none; }
.alarm .acts button[disabled] { opacity: 0.7; cursor: default; }
.alarm-em { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid rgba(224, 49, 43, 0.35); }
.alarm-em[hidden] { display: none; }
.alarm-em .em-show, .alarm-em .sat-key { justify-self: start; }
.alarm-em .muted { margin: 0; }
.em-block { display: grid; gap: 6px; }
.em-block .sat-key { justify-self: start; }
.em-block .muted { margin: 0; }
.em-err { margin: 0; color: var(--sand); }

/* ---------- Team, clubs ---------- */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.role-key { display: grid; gap: 4px; text-align: left; padding: 14px; font: inherit; cursor: pointer; }
.role-key.on { box-shadow: var(--satin-rim), 0 0 0 1.5px rgba(217, 160, 91, 0.7), var(--satin-shadow); }
.role-key strong { font-size: 15px; }
.actions select, .actions-bar select { padding: 8px 36px 8px 12px; font: inherit; font-size: 13px; }
.actions a.sat-key { padding: 7px 14px; font-size: 13px; color: var(--text); text-decoration: none; }
.invite-out { display: grid; gap: 8px; justify-items: start; }
.invite-out .code { font-size: 30px; letter-spacing: 0.12em; margin: 4px 0 0; }
.invite-out button { cursor: pointer; padding: 7px 14px; font: inherit; font-size: 13px; }
.confirm-bar { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--well-face); box-shadow: var(--well-rim); font-size: 14px; }
.confirm-bar button { cursor: pointer; padding: 7px 14px; font: inherit; font-size: 13px; border: 0; }
#report .kpis { margin: 6px 0 18px; }
#report .body > button { margin-top: 14px; cursor: pointer; padding: 8px 14px; font: inherit; font-size: 13px; }
.panel-head h3 { margin: 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.portal { padding-top: 24px; }

/* Events, devices, branding */
.ev-title { margin: 4px 0 0; font-size: 26px; font-weight: 600; }
.convoy-add { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 120px auto; gap: 8px; align-items: center; }
@media (max-width: 760px) { .convoy-add { grid-template-columns: minmax(0, 1fr); } }
.convoy-add input, .convoy-add select, .actions select, table.t input, table.t select { padding: 9px 12px; font: inherit; font-size: 14px; min-width: 0; }
.convoy-add button, .card-ui > .sat-key { justify-self: start; cursor: pointer; padding: 8px 14px; font: inherit; font-size: 13px; }
textarea.terms { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; }
.brand-label { display: flex; gap: 10px; align-items: center; margin-right: auto; }
.brand-color { width: 54px; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; }
.o-name { text-decoration: underline; text-decoration-color: var(--org-accent, transparent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
table.t td input, table.t td select { width: 100%; }
.tab > .back { justify-self: start; width: auto; cursor: pointer; font: inherit; font-size: 14px; }
.tab > .ev-title + .muted { margin-top: -6px; }
.event .acts button, .member .actions button, .member .actions select { cursor: pointer; }
.code { font-size: 36px; letter-spacing: 0.16em; font-weight: 600; margin: 10px 0 0; font-variant-numeric: tabular-nums; }

/* Forms (new club, event, device) */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld input, .fld select { padding: 10px 12px; font: inherit; font-size: 14px; min-width: 0; width: 100%; box-sizing: border-box; }
.fld input:disabled, .fld select:disabled { opacity: 0.6; }
.card-ui > textarea.terms { margin-top: 12px; }
.plan-use { margin: 10px 0 0; }
.panel-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.panel-head .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.log-search { padding: 8px 12px; font: inherit; font-size: 13px; width: 180px; }
.actions-bar .warn { color: var(--amber); }

/* Demo banner */
.demo-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 9px 16px; background: var(--well-face); box-shadow: var(--well-rim); font-size: 13.5px; color: var(--muted); }
.demo-bar strong { color: var(--sand); letter-spacing: 0.04em; }
.demo-bar button, .demo-bar a { padding: 6px 12px; font: inherit; font-size: 13px; color: var(--text); text-decoration: none; cursor: pointer; }

/* Annual report: only for print / PDF */
#print { display: none; }
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  html, body { background: #fff !important; color: #16181c !important; }
  body > *:not(#print) { display: none !important; }
  #print { display: block; font-size: 11pt; color: #16181c; }
  #print h1 { margin: 2px 0 4px; font-size: 24pt; font-weight: 600; color: #0d0f12; }
  #print h2 { margin: 22px 0 8px; font-size: 10pt; letter-spacing: 0.16em; text-transform: uppercase; color: #5b6170; font-weight: 600; }
  .pr-head { display: flex; gap: 16px; align-items: center; padding-bottom: 12px; border-bottom: 3px solid var(--pr-accent); }
  .pr-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; }
  .pr-eyebrow { font-size: 9pt; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pr-accent); font-weight: 600; }
  .pr-sub { font-size: 9pt; color: #5b6170; }
  .pr-kpis { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 16px; }
  .pr-kpi { border: 1px solid #e2e4e9; border-radius: 10px; padding: 8px 10px; }
  .pr-kpi .v { font-size: 16pt; font-weight: 600; font-variant-numeric: tabular-nums; }
  .pr-kpi .l { font-size: 8pt; color: #5b6170; }
  .pr-chart { width: 100%; height: auto; display: block; }
  .pr-chart .bar { fill: var(--pr-accent); }
  .pr-chart .axis { stroke: #c9ccd3; stroke-width: 1; }
  .pr-chart text { font-size: 11px; fill: #16181c; font-family: inherit; }
  .pr-chart .val { text-anchor: middle; font-weight: 600; }
  .pr-chart .val.start { text-anchor: start; }
  .pr-chart .lab { text-anchor: middle; fill: #5b6170; }
  .pr-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 9.5pt; }
  .pr-table th, .pr-table td { text-align: left; padding: 5px 6px; border-bottom: 1px solid #e2e4e9; }
  .pr-table th { font-size: 8pt; color: #5b6170; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
  .pr-table .num { text-align: right; font-variant-numeric: tabular-nums; }
  .pr-table tr.sum td { font-weight: 700; border-top: 2px solid #16181c; }
  .pr-head, .pr-kpis, .pr-chart, .pr-table tr { break-inside: avoid; }
  .pr-foot { margin-top: 18px; font-size: 8pt; color: #8a8f9a; text-align: right; }
}
#org, #orgs { padding-top: 16px; }
.fld select { -webkit-appearance: none; appearance: none; }
.live-map { position: relative; overflow: hidden; }
.live-map > .map-host { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.maplibregl-ctrl-group { background: var(--satin-face) !important; box-shadow: var(--satin-rim), var(--satin-shadow) !important; border-radius: 12px !important; }
.maplibregl-ctrl-group button + button { border-top: 1px solid rgba(255, 255, 255, 0.06) !important; }
.maplibregl-ctrl button .maplibregl-ctrl-icon { filter: invert(1); }
.maplibregl-ctrl-attrib { background: rgba(10, 11, 13, 0.7) !important; color: var(--muted); }
.maplibregl-ctrl-attrib a { color: var(--muted); }
.fld select.sat-field { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%), var(--well-face);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%, 0 0; background-size: 6px 6px, 6px 6px, 100% 100%; background-repeat: no-repeat; padding-right: 40px; }
.demo-bar[hidden] { display: none; }

/* ---------- Leitstand 2 (17.11.2026): map, cars, person, height profile, sound ---------- */
.live-map { height: calc(72vh - 104px); min-height: 380px; }
.map-host.map-fail { display: grid; place-items: center; color: var(--muted); }
.map-mode { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; gap: 2px; padding: 3px; }
.map-mode button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; padding: 6px 12px; border-radius: 12px; cursor: pointer; }
.map-mode button.on { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.map-mode .tilt { margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0 12px 12px 0; }
.map-zoom { position: absolute; right: 14px; top: 14px; display: grid; gap: 8px; z-index: 3; }
.map-zoom button { width: 38px; height: 38px; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; display: grid; place-items: center; }
.speaker { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: calc(100% - 120px); z-index: 4; display: flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 16px;
  background: var(--satin-face); box-shadow: var(--satin-rim), 0 0 0 1px rgba(217, 160, 91, 0.45), var(--satin-shadow); color: var(--text); font-size: 14px; white-space: nowrap; }
.speaker strong { color: var(--sand); }
.speaker.silent { box-shadow: var(--satin-rim), var(--satin-shadow); }
.speaker.silent strong { color: var(--text); }
.sp-wave { width: 18px; height: 14px; background: linear-gradient(90deg, var(--sand) 0 3px, transparent 3px 5px, var(--sand) 5px 8px, transparent 8px 10px, var(--sand) 10px 13px, transparent 13px 15px, var(--sand) 15px 18px);
  -webkit-mask: linear-gradient(#000, #000); animation: wave 0.9s ease-in-out infinite alternate; transform-origin: center; }
.speaker.silent .sp-wave { opacity: 0.4; animation: none; }
@keyframes wave { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }
.map-marker { width: 0; height: 0; }
.pin { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(10, 11, 13, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8); }
.pin.meet { background: var(--sand); }
.pin.finish { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 4px; background: repeating-conic-gradient(#f2f2f2 0 25%, #16181c 0 50%) 0 0 / 8px 8px; }
.pin.hazard { width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 6px; background: #e3a33a; transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(10, 11, 13, 0.9), 0 0 16px rgba(227, 163, 58, 0.6); }
.pin.sos { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--red); animation: pulse 1.2s infinite; }
.car { position: absolute; left: 0; top: 0; transform: translate(-15px, -15px); display: flex; align-items: center; gap: 6px; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; }
.car-dot { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: #0a0b0d;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 55%), var(--car, var(--sand)); box-shadow: 0 0 0 2px #0a0b0d, 0 0 0 3.5px rgba(255, 255, 255, 0.85), 0 4px 12px rgba(0, 0, 0, 0.7); }
.car-name { padding: 3px 8px; border-radius: 9px; background: rgba(10, 11, 13, 0.82); color: var(--text); font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.car.leader .car-dot { box-shadow: 0 0 0 2px #0a0b0d, 0 0 0 3.5px var(--sand), 0 0 14px rgba(217, 160, 91, 0.6); }
.car.leader .car-name::after { content: ' ★'; color: var(--sand); font-size: 10px; }
.car.focus .car-dot { width: 38px; height: 38px; margin: -4px; font-size: 15px; }
.car.focus .car-name { background: var(--sand); color: #0a0b0d; }
.car.stale .car-dot { background: linear-gradient(180deg, #6b7280, #4b5160); color: #e9edf2; }
.car.stale .car-name { opacity: 0.6; }
.car.tight .car-name { display: none; }
.car.tight .car-dot { transform: scale(0.82); }
.car.talking .car-dot::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--sand); animation: talkring 1s ease-out infinite; }
.car.muted .car-dot::before { content: ''; position: absolute; right: -4px; bottom: -4px; width: 12px; height: 12px; border-radius: 50%; background: #2b2f36 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l10 10M15 7L5 17' stroke='%23e9edf2' stroke-width='3'/%3E%3C/svg%3E") center/8px no-repeat; box-shadow: 0 0 0 1.5px #0a0b0d; }
@keyframes talkring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.following .map-zoom .fit-all { color: var(--sand); }
.elev { position: relative; margin-top: 10px; height: 92px; border-radius: 18px; box-shadow: var(--well-rim); background: #0d0f12; overflow: hidden; cursor: crosshair; }
.elev-chart { position: absolute; inset: 0; }
.elev-hi, .elev-lo, .elev-km { position: absolute; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.elev-hi { left: 10px; top: 6px; } .elev-lo { left: 10px; bottom: 4px; } .elev-km { right: 10px; bottom: 4px; }
.elev-tip { position: absolute; top: 6px; transform: translateX(-50%); padding: 3px 8px; border-radius: 8px; background: rgba(10, 11, 13, 0.9); font-size: 12px; white-space: nowrap; pointer-events: none; }
.radio-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sound { display: flex; align-items: center; gap: 8px; }
.sound[hidden] { display: none; }
.mute-all { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.mute-all.on { color: var(--sand); }
.vol { width: 110px; accent-color: var(--sand); }
.rp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.rp-stats:empty { display: none; }
.stat, .fact { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.stat strong, .fact strong { font-size: 14.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.listen-btn { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 11px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--text); }
.listen-btn.on { color: var(--sand); box-shadow: var(--satin-rim), 0 0 0 1.5px rgba(217, 160, 91, 0.7), var(--satin-shadow); }
.rk-top { display: flex; gap: 8px; align-items: center; }
.rk-listen { color: var(--sand); display: inline-grid; }
.rp-guard { display: grid; gap: 6px; }
.rp-guard:empty { display: none; }
.guard { padding: 8px 12px; border-radius: 12px; font-size: 13.5px; color: #f1d39d; background: rgba(227, 163, 58, 0.1); box-shadow: inset 0 0 0 1px rgba(227, 163, 58, 0.35); }
.rp-people { display: grid; gap: 2px; max-height: 340px; overflow: auto; }
.person { display: flex; gap: 10px; align-items: center; width: 100%; padding: 8px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; border-radius: 10px; }
.person:last-child { border-bottom: 0; }
.person:hover, .person.on { background: rgba(255, 255, 255, 0.04); }
.p-dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #0a0b0d; background: var(--car, var(--sand)); box-shadow: 0 0 0 2px #0a0b0d, 0 0 0 3px rgba(255, 255, 255, 0.25); }
.p-dot.stale { background: #5b616c; color: #e9edf2; }
.p-main { flex: 1; min-width: 0; }
.p-main .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.p-speed { flex: none; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.p-muted { color: var(--muted); display: inline-grid; }
.p-talk { color: var(--sand); font-size: 12px; }
.pill { font-size: 11px; letter-spacing: 0.04em; padding: 2px 7px; border-radius: 8px; color: var(--sand); box-shadow: inset 0 0 0 1px rgba(217, 160, 91, 0.45); }
.pill.talk-pill { color: #0a0b0d; background: var(--sand); }
.person-panel { padding: 16px; display: grid; gap: 12px; }
.pp-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pp-head button, .pp-acts button { padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--text); }
.pp-acts { display: flex; gap: 6px; }
.pp-acts button.on { color: var(--sand); box-shadow: var(--satin-rim), 0 0 0 1.5px rgba(217, 160, 91, 0.6); }
.pp-photo { position: relative; height: 150px; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 85%, color-mix(in srgb, var(--car, #d9a05b) 45%, transparent), transparent 65%), linear-gradient(180deg, #16191e, #0c0e11); box-shadow: inset 0 0 0 1px var(--line); }
.pp-photo img { max-width: 92%; max-height: 130px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6)); }
.pp-initial { font-size: 54px; font-weight: 700; color: var(--car, var(--sand)); }
.pp-id h2 { margin: 0; font-size: 22px; font-weight: 600; }
.pp-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.person-panel .section-label { margin: 2px 0 -4px; }
.pp-credit { margin: 0; font-size: 11.5px; }
.pp-credit a { color: var(--muted); }
.log-row.warn strong { color: #f1d39d; }
.maplibregl-ctrl-attrib { background: rgba(10, 11, 13, 0.7) !important; color: var(--muted); }
.maplibregl-ctrl-attrib a { color: var(--muted); }
.maplibregl-ctrl-attrib-button { filter: invert(1); }
@media (max-width: 760px) { .live-map { height: 58vh; } .speaker { max-width: calc(100% - 28px); overflow: hidden; } .car-name { display: none; } .car.focus .car-name { display: block; } }

/* Privatruf im Personen-Panel (17.11.2026) */
.pp-private { display: grid; gap: 8px; }
.pp-call { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 16px; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.pp-call.on { color: #0a0b0d; background: linear-gradient(180deg, #e8b46c, #b98443); box-shadow: 0 0 0 1.5px rgba(217, 160, 91, 0.6), 0 0 24px rgba(217, 160, 91, 0.35); }
.pp-msg { display: flex; gap: 8px; }
.pp-msg input { flex: 1 1 auto; min-width: 0; }
.pp-private p { margin: 0; }

/* Schalter (Funk und Fahrdaten): Satin-Wanne, Gold wenn an */
.fld.check { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.fld.check input { order: 2; -webkit-appearance: none; appearance: none; flex: none; width: 46px; height: 26px; padding: 0; margin: 0; border-radius: 13px; position: relative; cursor: pointer;
  background: var(--well-bottom, #0e1013); background-image: var(--well-face); box-shadow: var(--well-rim); transition: background 0.2s; }
.fld.check input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(180deg, #3a3f47, #1c1f24); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.5); transition: transform 0.2s, background 0.2s; }
.fld.check input:checked { background: linear-gradient(180deg, #e8b46c, #b98443); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35); }
.fld.check input:checked::after { transform: translateX(20px); background: linear-gradient(180deg, #f6f7f9, #cfd3d9); }
.fld.check input:disabled { opacity: 0.35; cursor: default; }
.fld.check input:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.data-card .fld > span { font-size: 14px; color: var(--text); }
.data-card .fld.check + .fld { margin-top: -2px; }

/* Berichte: Club, Zeitraum, Sortierung (17.11.2026) */
.rep-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.rep-fld { display: grid; gap: 6px; min-width: 0; }
.rep-fld[hidden] { display: none; }
.rep-fld > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.rep-fld select, .rep-fld input { padding: 9px 34px 9px 12px; font: inherit; font-size: 14px; min-width: 150px; box-sizing: border-box; color: var(--text); border: 0; border-radius: 12px; }
.rep-fld input[type="date"] { padding-right: 12px; color-scheme: dark; }
.rep-fld select { -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%), var(--well-face);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%, 0 0; background-size: 5px 5px, 5px 5px, 100% 100%; background-repeat: no-repeat; }
.rep-tools { margin-left: auto; }
.panel-head .rep-fld { flex-direction: row; display: flex; align-items: center; gap: 10px; }
.rep-list { display: grid; }
@media (max-width: 700px) { .rep-fld { flex: 1 1 140px; } .rep-fld select, .rep-fld input { width: 100%; min-width: 0; } .rep-tools { margin-left: 0; width: 100%; } }

/* Hilferufe immer im Leitstand (Migration 114, 17.11.2026): Punkt am Reiter, solange ein Hilferuf offen ist; Schalter im Team */
.tabs button.has-alarm { position: relative; padding-right: 26px; }
.tabs button.has-alarm::after { content: ""; position: absolute; top: 50%; right: 10px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--red); animation: pulse 1.2s infinite; }
.member .fld.check.sos-push { gap: 10px; padding: 0; font-size: 13px; color: var(--muted); }
.member .fld.check.sos-push input { width: 42px; height: 24px; border-radius: 12px; }
.member .fld.check.sos-push input::after { width: 18px; height: 18px; }
.member .fld.check.sos-push input:checked::after { transform: translateX(18px); }
@media (prefers-reduced-motion: reduce) { .tabs button.has-alarm::after, .alarm-dot { animation: none; } }
.member .sos-note { grid-column: 1 / -1; font-size: 13px; }
