/* Panel akcji w widoku wydarzenia — style ograniczone do tej sekcji. */
.event-actions-panel {
    margin: 24px 0 40px;
    color: var(--swd-ink, #243247);
    background: #f6f8fb;
    border: 1px solid #dce4ed;
    border-radius: 14px;
    overflow: hidden;
}
.event-actions__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: #fff;
    border-bottom: 1px solid #e5ebf2;
}
.event-actions__heading-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    border: 1px solid #dce8f5;
    border-radius: 12px;
    color: #1766b0;
    background: #eff6fd;
    font-size: 20px;
}
.event-actions__header h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}
.event-actions__header p,
.event-action-card__header p {
    margin: 0;
    color: #65758b;
    font-size: 12px;
    line-height: 1.5;
}
.event-actions__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
}
.event-actions__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-action-card {
    --action-color: #1766b0;
    --action-tint: #edf5fe;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    box-shadow: 0 2px 3px rgb(36 50 71 / 3%);
}
.event-action-card--ranks { --action-color: #7858ad; --action-tint: #f3effa; }
.event-action-card--certificates { --action-color: #24754f; --action-tint: #edf7f1; }
.event-action-card--management { --action-color: #52647c; --action-tint: #f0f3f7; }
.event-action-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.event-action-card__header h3 {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}
.event-action-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    color: var(--action-color);
    background: var(--action-tint);
    border-radius: 10px;
    font-size: 19px;
}
.event-action-card__body,
.event-actions__stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.event-action-card__body { flex: 1; }
.event-actions__label {
    display: block;
    width: auto;
    margin: 0 0 8px;
    color: #65758b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.event-actions__stack > .event-actions__label { margin: 2px 0 -3px; }
.event-actions__rank {
    padding: 12px 14px;
    background: #f8f6fc;
    border: 1px solid #e9e3f3;
    border-radius: 9px;
}
.event-actions__rank .event-actions__label { margin-bottom: 4px; }
.event-actions__rank strong { font-size: 16px; line-height: 1.5; }
.event-actions__hint,
.event-actions__details p {
    margin: 0;
    color: #65758b;
    font-size: 12px;
    line-height: 1.6;
}
.event-actions__availability {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    color: #765722;
    background: #fff9ed;
    border: 1px solid #f3e6c9;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
}
.event-actions__availability > i { flex-shrink: 0; margin-top: 1px; }
.event-actions-panel .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    white-space: normal;
    text-decoration: none;
}
.event-actions-panel .btn > i { flex-shrink: 0; }
.event-actions__button { width: 100%; }
.event-actions-panel .btn-outline-secondary {
    --bs-btn-color: #42546c;
    --bs-btn-border-color: #d7e0ea;
    --bs-btn-hover-color: #1e4f7d;
    --bs-btn-hover-bg: #f0f5fb;
    --bs-btn-hover-border-color: #b8cde2;
    --bs-btn-active-color: #1e4f7d;
    --bs-btn-active-bg: #e7eff8;
    --bs-btn-active-border-color: #b8cde2;
}
.event-actions-panel .btn:disabled { cursor: not-allowed; }
.event-actions__variants { min-width: 0; margin: 0; }
.event-actions__variants legend { float: none; }
.event-actions__variant {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
    padding: 8px 10px;
    color: #52647c;
    background: #fff;
    border: 1px solid #e0e7ef;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}
.event-actions__variant:last-child { margin-bottom: 0; }
.event-actions__variant > i { flex-shrink: 0; }
.event-actions__variant > span:first-of-type { flex: 1; }
.event-actions__radio {
    flex: 0 0 14px;
    height: 14px;
    border: 1px solid #b9c6d4;
    border-radius: 50%;
}
.event-actions__variants .btn-check:checked + label {
    color: #246945;
    background: #f0f8f3;
    border-color: #82b697;
    font-weight: 600;
}
.event-actions__variants .btn-check:checked + label .event-actions__radio {
    background: #2b8252;
    border: 4px solid #fff;
    outline: 1px solid #2b8252;
}
.event-actions__variants .btn-check:focus-visible + label,
.event-actions__details summary:focus-visible,
.event-actions__history:focus-visible {
    outline: 3px solid #1766b0;
    outline-offset: 3px;
}
.event-actions__formats,
.event-actions__pair { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.event-actions__formats .btn { flex-direction: column; gap: 4px; }
.event-actions__formats .bi { font-size: 17px; color: var(--swd-blue, #1766b0); }
.event-actions__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-actions__pair .btn { flex-direction: column; gap: 3px; }
.event-action-card__footer {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #edf0f5;
}
.event-actions__details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #52647c;
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
    list-style: none;
}
.event-actions__details summary::-webkit-details-marker { display: none; }
.event-actions__details summary > .bi { flex-shrink: 0; font-size: 10px; }
.event-actions__details[open] summary > .bi { transform: rotate(180deg); }
.event-actions__details p { margin-top: 10px; }
.event-actions__filename { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.event-actions__project { padding: 10px 12px; background: #f6f8fb; border-radius: 8px; }
.event-actions__project summary > span { min-width: 0; overflow-wrap: anywhere; }
.event-actions__history {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #52647c;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
}
.event-actions__history:hover { color: #1766b0; }
.event-actions__history > span:first-of-type { flex: 1; }
.event-actions__count {
    display: grid;
    place-items: center;
    min-width: 23px;
    height: 23px;
    padding: 0 5px;
    color: #42668c;
    background: #edf3f9;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
@media (max-width: 1399.98px) {
    .event-actions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699.98px) {
    .event-actions__header { align-items: flex-start; padding: 16px; gap: 10px; }
    .event-actions__header h2 { font-size: 16px; }
    .event-actions__heading-icon { flex-basis: 36px; height: 36px; font-size: 17px; }
    .event-actions__grid { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 12px; }
    .event-action-card { padding: 16px; }
    .event-actions__variant { min-height: 44px; }
    .event-actions__details summary,
    .event-actions__history { min-height: 36px; }
}
