/* Helfer-Anmeldung ([ts_helfer_register]) – helle Karte mit festem Kontrast, unabhängig vom (dunklen) Seitendesign */
#ts-hr { --hr-tx: #0f172a; --hr-mu: #475569; --hr-line: #cbd5e1; --hr-soft: #f1f5f9; --hr-ac: #2563eb; --hr-ok: #16a34a;
    color-scheme: light; max-width: 640px; margin: 0 auto; padding: 16px 0; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
#ts-hr *, #ts-hr *::before, #ts-hr *::after { box-sizing: border-box; }
#ts-hr .ts-hr-card { padding: 24px; border-radius: 18px; background: #fff !important; color: var(--hr-tx) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
#ts-hr .ts-hr-card p, #ts-hr .ts-hr-card label, #ts-hr .ts-hr-card legend, #ts-hr .ts-hr-card summary, #ts-hr .ts-hr-card h2, #ts-hr .ts-hr-card h3, #ts-hr .ts-hr-card b, #ts-hr .ts-hr-card span { color: var(--hr-tx) !important; }
#ts-hr .ts-hr-card small, #ts-hr .ts-hr-muted, #ts-hr .ts-hr-card .ts-hr-muted { color: var(--hr-mu) !important; }
#ts-hr h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; }
#ts-hr .ts-hr-kicker { margin: 0; font-weight: 700; color: var(--hr-ac) !important; }
#ts-hr .ts-hr-lead { margin: 0 0 16px; }
#ts-hr .ts-hr-steps { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; flex-wrap: wrap; }
#ts-hr .ts-hr-steps li { display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--hr-soft); color: var(--hr-mu) !important; font-size: 14px; font-weight: 600; }
#ts-hr .ts-hr-steps li b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #cbd5e1; color: #fff !important; font-size: 13px; }
#ts-hr .ts-hr-steps li.is-on { color: var(--hr-tx) !important; background: #dbeafe; }
#ts-hr .ts-hr-steps li.is-on b { background: var(--hr-ac); }
#ts-hr .ts-hr-note { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #fef3c7; border: 1px solid #fde68a; color: #78350f !important; }
#ts-hr .ts-hr-form { display: grid; gap: 14px; margin: 0; }
#ts-hr .ts-hr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#ts-hr .ts-hr-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#ts-hr label { display: flex; flex-direction: column; gap: 5px; margin: 0; font-size: 14px; font-weight: 600; }
#ts-hr input[type=text], #ts-hr input[type=email], #ts-hr input[type=tel], #ts-hr input[type=password] {
    width: 100%; min-height: 46px; padding: 10px 12px !important; border: 1px solid var(--hr-line) !important; border-radius: 12px !important;
    background: #fff !important; color: var(--hr-tx) !important; font: 400 16px/1.3 inherit !important; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; }
#ts-hr input::placeholder { color: #94a3b8 !important; opacity: 1; text-transform: none !important; }
#ts-hr input:focus { outline: 3px solid #bfdbfe; border-color: var(--hr-ac) !important; }
#ts-hr .ts-hr-box { margin: 0; padding: 14px; border: 1px solid var(--hr-line); border-radius: 14px; background: #f8fafc !important; }
#ts-hr .ts-hr-box legend { padding: 0 6px; font-weight: 700; }
#ts-hr .ts-hr-box summary { cursor: pointer; font-weight: 700; }
#ts-hr .ts-hr-box[open] summary { margin-bottom: 10px; }
#ts-hr .ts-hr-file { display: flex; flex-direction: column; padding: 12px 14px; border: 1px dashed var(--hr-line); border-radius: 14px; }
#ts-hr .ts-hr-file input { font-size: 14px; color: var(--hr-tx) !important; }
#ts-hr .ts-hr-sub { margin: 10px 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--hr-mu) !important; }
#ts-hr .ts-hr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#ts-hr .ts-hr-chips label { position: relative; flex-direction: row; cursor: pointer; }
#ts-hr .ts-hr-chips input { position: absolute; opacity: 0; pointer-events: none; }
#ts-hr .ts-hr-chips span { display: inline-block; padding: 7px 12px; border: 1px solid var(--hr-line); border-radius: 999px; background: #fff; font-weight: 500; font-size: 14px; }
#ts-hr .ts-hr-chips input:checked + span { background: var(--hr-ac); border-color: var(--hr-ac); color: #fff !important; font-weight: 700; }
#ts-hr .ts-hr-chips input:focus-visible + span { outline: 3px solid #bfdbfe; }
#ts-hr .ts-hr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 12px 20px; border: 0; border-radius: 14px; background: var(--hr-ac) !important; color: #fff !important; font: 700 17px/1.2 inherit; text-decoration: none; cursor: pointer; }
#ts-hr .ts-hr-btn:hover { filter: brightness(1.08); }
#ts-hr .ts-hr-btn.is-ghost { background: #fff !important; color: var(--hr-ac) !important; border: 2px solid var(--hr-ac); }
#ts-hr .ts-hr-day { margin: 10px 0 2px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--hr-mu) !important; }
#ts-hr .ts-hr-job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 12px 14px; border: 2px solid var(--hr-line); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 400; }
#ts-hr .ts-hr-job:has(input:checked) { border-color: var(--hr-ac); background: #eff6ff; }
#ts-hr .ts-hr-job.is-done { cursor: default; background: #f0fdf4; border-color: #bbf7d0; }
#ts-hr .ts-hr-job input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--hr-ac); }
#ts-hr .ts-hr-job-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#ts-hr .ts-hr-job-main b { font-size: 17px; }
#ts-hr .ts-hr-desc { margin-top: 4px; font-size: 14px; color: var(--hr-mu) !important; }
#ts-hr .ts-hr-slots { padding: 3px 10px; border-radius: 999px; background: #dcfce7; color: #166534 !important; font-size: 13px; font-weight: 700; white-space: nowrap; }
#ts-hr .ts-hr-job.is-full .ts-hr-slots { background: #fee2e2; color: #991b1b !important; }
#ts-hr .ts-hr-job.is-done .ts-hr-slots { background: #dcfce7; color: #166534 !important; }
#ts-hr .ts-hr-pool { flex-direction: row; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f0f9ff; border: 1px solid #bae6fd; font-weight: 400; cursor: pointer; }
#ts-hr .ts-hr-pool input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--hr-ac); }
#ts-hr .ts-hr-ok { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: #dcfce7; border: 1px solid #bbf7d0; }
#ts-hr .ts-hr-ok > div { font-size: 32px; line-height: 1; }
#ts-hr .ts-hr-ok p { margin: 0; color: #14532d !important; }
#ts-hr .ts-hr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
#ts-hr .ts-hr-events { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
#ts-hr .ts-hr-events a { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px; border: 1px solid var(--hr-line); border-radius: 14px; background: #fff; color: var(--hr-tx) !important; text-decoration: none; }
#ts-hr .ts-hr-events a:hover { border-color: var(--hr-ac); background: #eff6ff; }
#ts-hr .ts-hr-events span { color: var(--hr-mu) !important; white-space: nowrap; }
@media (max-width: 560px) {
    #ts-hr .ts-hr-card { padding: 18px; border-radius: 16px; }
    #ts-hr .ts-hr-grid, #ts-hr .ts-hr-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #ts-hr .ts-hr-grid:not(.is-4) { grid-template-columns: minmax(0, 1fr); }
    #ts-hr .ts-hr-job { grid-template-columns: auto minmax(0, 1fr); }
    #ts-hr .ts-hr-slots { grid-column: 2; justify-self: start; }
}
