/* V12.363 · Globale Rückmeldungsfarben mit sauberem Kontrast */
.dashboard-response-summary .accepted,
.calendar-response-summary .accepted{background:#eaf8ee!important}
.dashboard-response-summary .declined,
.calendar-response-summary .declined{background:#fff0f1!important}
.dashboard-response-summary .maybe,
.calendar-response-summary .maybe{background:#fff8e5!important}
.dashboard-response-summary .open,
.calendar-response-summary .open{background:#f3f6f5!important}
.dashboard-response-summary>div,
.calendar-response-summary>div{border-color:#dfe7e2!important}
.dashboard-response-summary span,
.calendar-response-summary span{font-weight:750!important}
.dashboard-response-summary .accepted span,.calendar-response-summary .accepted span{color:#2f6f43!important;-webkit-text-fill-color:#2f6f43!important}
.dashboard-response-summary .declined span,.calendar-response-summary .declined span{color:#8f3c45!important;-webkit-text-fill-color:#8f3c45!important}
.dashboard-response-summary .maybe span,.calendar-response-summary .maybe span{color:#745a12!important;-webkit-text-fill-color:#745a12!important}
.dashboard-response-summary .open span,.calendar-response-summary .open span{color:#65716b!important;-webkit-text-fill-color:#65716b!important}
.dashboard-response-summary .accepted strong,.calendar-response-summary .accepted strong{color:#176b35!important;-webkit-text-fill-color:#176b35!important}
.dashboard-response-summary .declined strong,.calendar-response-summary .declined strong{color:#aa3541!important;-webkit-text-fill-color:#aa3541!important}
.dashboard-response-summary .maybe strong,.calendar-response-summary .maybe strong{color:#7c5c00!important;-webkit-text-fill-color:#7c5c00!important}
.dashboard-response-summary .open strong,.calendar-response-summary .open strong{color:#46534d!important;-webkit-text-fill-color:#46534d!important}

html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary{background:#111a22!important;border-color:#30414f!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary>div,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary>div{border-color:#30414f!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary .accepted,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary .accepted{background:#153b24!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary .declined,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary .declined{background:#43242a!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary .maybe,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary .maybe{background:#443716!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary .open,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary .open{background:#202c35!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary .accepted span,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary .accepted span{color:#9ceab0!important;-webkit-text-fill-color:#9ceab0!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary .declined span,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary .declined span{color:#f4a5ad!important;-webkit-text-fill-color:#f4a5ad!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary .maybe span,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary .maybe span{color:#f1cd78!important;-webkit-text-fill-color:#f1cd78!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary .open span,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary .open span{color:#b8c3ca!important;-webkit-text-fill-color:#b8c3ca!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .dashboard-response-summary strong,
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .calendar-response-summary strong{color:#fff!important;-webkit-text-fill-color:#fff!important}
.individual-overdue-alert{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid rgba(220,38,38,.35);background:rgba(254,226,226,.78)}
.individual-overdue-alert .eyebrow,.individual-overdue-alert strong{color:#991b1b}.individual-overdue-alert p{margin:.35rem 0 0}
.timing-warning{margin-top:8px;padding:8px 10px;border-radius:10px;background:rgba(245,158,11,.14);color:#92400e;font-weight:700;font-size:.85rem}
.individual-progress-detail small{display:block;margin-top:6px;opacity:.75}
html[data-theme="dark"] .individual-overdue-alert{background:rgba(127,29,29,.24);border-color:rgba(248,113,113,.45)}
html[data-theme="dark"] .individual-overdue-alert .eyebrow,html[data-theme="dark"] .individual-overdue-alert strong{color:#fca5a5}
html[data-theme="dark"] .timing-warning{background:rgba(146,64,14,.28);color:#fcd34d}
@media(max-width:700px){.individual-overdue-alert{align-items:stretch;flex-direction:column}}
.suspended-team-event{opacity:.58;filter:grayscale(.72)}
.suspended-team-event .is-suspended{cursor:not-allowed}
.suspension-event-note{display:block;color:#8f1f25;font-weight:750;font-size:12px;line-height:1.35;padding:0 14px 11px}
.player-suspension-banner,.player-suspension-admin,.player-suspension-block{border:1px solid #efb9bc;background:#fff4f4;color:#691a1f}
.player-suspension-banner{display:grid;gap:5px;padding:14px 16px;margin:10px 0 14px}
.player-suspension-banner span,.player-suspension-admin p,.player-suspension-admin small,.player-suspension-block span{color:#7c4145}
.player-suspension-admin{margin:0 0 16px;padding:16px}.player-suspension-admin h3{margin:4px 0 6px}.player-suspension-admin p{margin:0 0 5px}
.player-suspension-block{display:grid;gap:5px;padding:15px;border-radius:14px;margin-top:14px}
.roster-player-suspended{background:#fff8f8}

/* V12.407 · Pflichtbegründung für Absagen */
.decline-reason-overlay{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:18px;background:rgba(8,18,24,.56);backdrop-filter:blur(4px)}
.decline-reason-dialog{width:min(100%,480px);display:grid;gap:10px;padding:24px;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28);color:#14201a}
.decline-reason-dialog h2{margin:0;font-size:clamp(1.35rem,5vw,1.8rem);line-height:1.15}.decline-reason-dialog p{margin:0 0 4px;color:#65716b;line-height:1.45}.decline-reason-dialog label{font-weight:800}
.decline-reason-dialog textarea{box-sizing:border-box;width:100%;min-height:108px;resize:vertical;padding:13px 14px;border:1.5px solid #cfd9d3;border-radius:13px;background:#fff;color:#14201a;font:inherit;line-height:1.4}
.decline-reason-dialog textarea:focus{outline:3px solid rgba(34,197,94,.18);border-color:#22c55e}.decline-reason-dialog textarea[aria-invalid="true"]{border-color:#dc3545;outline-color:rgba(220,53,69,.15)}
.decline-reason-error{min-height:18px;color:#b4232f;font-weight:750}.decline-reason-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.decline-reason-actions button{min-height:44px;padding:10px 16px;border-radius:12px}
.player-decline-reason{grid-column:1/-1}.player-decline-reason strong{color:#9f2530!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .decline-reason-dialog{background:#152029;color:#f7faf8;border:1px solid #354650}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .decline-reason-dialog p{color:#bdc8c2}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .decline-reason-dialog textarea{background:#0f181f;color:#fff;border-color:#42535d}
@media(max-width:560px){.decline-reason-overlay{align-items:end;padding:10px}.decline-reason-dialog{padding:20px;border-radius:20px 20px 14px 14px}.decline-reason-actions{display:grid;grid-template-columns:1fr 1fr}.decline-reason-actions button{width:100%}}

/* V12.408 · Skalierbare Benutzerverwaltung */
.compact-user-management{padding:20px!important}.compact-user-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:16px 0}.compact-user-search{flex:1;max-width:440px;margin:0}.compact-user-search span{display:block;margin-bottom:6px;font-size:12px;font-weight:850;color:var(--muted,#6b756f)}.compact-user-search input{width:100%;height:44px;margin:0!important}
.compact-user-filters{display:flex;gap:7px;flex-wrap:wrap}.compact-user-filters button{border:1px solid #dbe3de;background:#fff;color:#334039;border-radius:999px;padding:9px 13px;font-weight:850;cursor:pointer}.compact-user-filters button span{opacity:.65;margin-left:4px}.compact-user-filters button.active{background:#123f22;border-color:#123f22;color:#fff}
.compact-user-list{overflow:hidden;border:1px solid #dfe6e2;border-radius:16px}.compact-user-columns{display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(220px,1fr) 105px 24px;gap:16px;padding:9px 16px;background:#f5f7f6;color:#748078;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}.compact-user-columns span:nth-child(3){grid-column:3}.compact-user-row{border-top:1px solid #e5eae7;background:#fff}.compact-user-row:first-of-type{border-top:0}.compact-user-row.is-locked{background:#fafafa}.compact-user-summary{width:100%;display:grid;grid-template-columns:50px minmax(200px,1.2fr) minmax(220px,1fr) 105px 24px;align-items:center;gap:12px;padding:12px 16px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.compact-user-summary:hover{background:rgba(49,209,88,.055)}.compact-user-summary .admin-user-avatar{width:42px;height:42px}.compact-user-identity,.compact-user-role{display:grid;gap:2px;min-width:0}.compact-user-identity strong,.compact-user-role b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-user-identity small,.compact-user-role small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#718078}.compact-user-role b{font-size:13px}.compact-user-status{justify-self:start;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:900;text-transform:uppercase}.compact-user-status.active{background:#e7f8eb;color:#176b35}.compact-user-status.locked{background:#f1f3f2;color:#68716c}.compact-user-chevron{font-size:20px;transition:transform .18s}.compact-user-summary[aria-expanded="true"] .compact-user-chevron{transform:rotate(180deg)}
.compact-user-details{padding:16px 18px 18px 80px;border-top:1px solid #e4eae6;background:#f8faf9}.compact-user-facts{display:flex;gap:10px 20px;flex-wrap:wrap;margin-top:10px;color:#65716b;font-size:13px}.compact-detail-heading{display:grid;gap:3px;margin-bottom:10px}.compact-detail-heading span{color:#6c7871;font-size:13px}.compact-user-no-results{margin:0!important;border:0!important;border-radius:0!important}.compact-user-details .team-role-row{background:#fff!important;border-color:#dfe6e2!important}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-filters button{background:#111a22;color:#dce5e0;border-color:#33414a}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-filters button.active{background:#31D158;color:#07120b;border-color:#31D158}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-list{border-color:#2b3943}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-columns,html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-details{background:#0e171e;color:#aebbc3}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-row{background:#121a21;border-color:#293741}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-summary:hover{background:#17242b}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-details{border-color:#293741}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-status.active{background:#153b24;color:#9ceab0}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .compact-user-status.locked{background:#26323b;color:#bdc8ce}
@media(max-width:820px){.compact-user-toolbar{align-items:stretch;flex-direction:column}.compact-user-search{max-width:none}.compact-user-columns{display:none}.compact-user-summary{grid-template-columns:46px minmax(0,1fr) auto 20px}.compact-user-role{grid-column:2/4;padding-top:2px}.compact-user-status{grid-column:3;grid-row:1}.compact-user-chevron{grid-column:4;grid-row:1/3}.compact-user-details{padding:14px 16px}.compact-user-management{padding:16px!important}}
@media(max-width:520px){.compact-user-filters{display:grid;grid-template-columns:1fr 1fr}.compact-user-filters button{width:100%}.compact-user-summary{padding:11px}.compact-user-details .two{grid-template-columns:1fr}.compact-user-details .pending-actions{display:grid}.compact-user-details .pending-actions button{width:100%}}
.player-team-assignment{margin-top:16px;padding:14px;border:1px solid #dfe7e2;border-radius:14px;background:#fff}.player-primary-team{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:10px}.player-primary-team label,.player-extra-team-form label{margin:0}.player-extra-team-list{display:grid;gap:7px;margin:12px 0}.player-extra-team-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-radius:10px;background:#f3f7f4}.player-extra-team-row>div{display:grid;gap:2px}.player-extra-team-row small{color:#66736c}.player-extra-team-row button{padding:7px 10px}.player-extra-team-form{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(130px,.7fr) 150px 150px auto;align-items:end;gap:9px}.player-extra-team-form button{min-height:44px}
html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .player-team-assignment{background:#111a22;border-color:#33414a}html[data-resolved-appearance="dark"] body:not(.karalio-public-mode) .player-extra-team-row{background:#18242c}
@media(max-width:960px){.player-extra-team-form{grid-template-columns:1fr 1fr}.player-extra-team-form button{grid-column:1/-1}}@media(max-width:620px){.player-primary-team,.player-extra-team-form{grid-template-columns:1fr}.player-extra-team-form button{grid-column:auto}.player-primary-team button{width:100%}}
