.action-items-page {
    padding-bottom: var(--space-10);
}

.action-items-panel {
    margin-bottom: 24px;
    padding: 24px;
}

.action-items-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.action-items-panel__title {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
}

.action-items-panel__subtitle {
    margin: 0;
    color: #6b7280;
    max-width: 760px;
    line-height: 1.55;
}

.action-items-panel__cta {
    white-space: nowrap;
}

.action-items-list {
    display: grid;
    gap: 12px;
}

.action-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.action-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.action-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    background: #f8fafc;
}

.action-item__body {
    min-width: 0;
}

.action-item__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.action-item__badge,
.action-item__category,
.action-item__state,
.action-items-group__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.action-item__badge--high {
    background: #fef2f2;
    color: #b91c1c;
}

.action-item__badge--medium {
    background: #fffbeb;
    color: #b45309;
}

.action-item__badge--low {
    background: #ecfdf5;
    color: #047857;
}

.action-item__badge--info {
    background: #eff6ff;
    color: #1d4ed8;
}

.action-item__category,
.action-item__state {
    background: #f3f4f6;
    color: #4b5563;
}

.action-item__title {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 800;
    color: #111827;
}

.action-item__description {
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
}

.action-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
}

.action-items-empty {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 0 6px;
}

.action-items-empty__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #ecfdf5;
    color: #047857;
    font-size: 1.2rem;
    font-weight: 800;
}

.action-items-empty__title {
    margin: 0 0 4px;
    font-size: 1.02rem;
    font-weight: 800;
    color: #111827;
}

.action-items-empty__copy {
    margin: 0;
    color: #6b7280;
    line-height: 1.55;
}

.action-items-group__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.action-items-group__title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
}

.action-items-group__copy {
    margin: 0;
    color: #6b7280;
    line-height: 1.55;
}

.action-items-group__count {
    min-width: 40px;
    background: #111827;
    color: #ffffff;
}

@media (max-width: 768px) {
    .action-items-panel {
        padding: 18px;
    }

    .action-item {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .action-item__state {
        grid-column: 2;
        justify-self: start;
    }
}
