.communication-post-index {
    --cpost-purple: #5745e8;
    --cpost-ink: #182135;
    --cpost-muted: #8e9bb0;
    --cpost-line: #dfe5ee;
    min-height: calc(100vh - 110px);
    margin: -20px;
    padding: 0 24px 28px;
    color: var(--cpost-ink);
    background: #f8fafc;
    font-size: 13px;
}

.communication-post-index * { box-sizing: border-box; }
.communication-post-index [hidden] { display: none !important; }
.communication-post-index a { color: inherit; text-decoration: none; }
.cpost-heading { min-height: 78px; margin: 0 -24px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-bottom: 1px solid var(--cpost-line); }
.cpost-heading h1 { margin: 0; font-size: 21px; font-weight: 770; letter-spacing: -.03em; }
.cpost-heading p { margin: 4px 0 0; color: #97a5bb; font-size: 11px; }
.cpost-new { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; gap: 7px; color: #fff !important; background: linear-gradient(135deg, #6557ed, #4e3cdb); border-radius: 10px; box-shadow: 0 6px 15px rgba(79, 61, 218, .2); font-size: 11px; font-weight: 700; }

.cpost-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 28px 0 24px; }
.cpost-kpis article { min-height: 110px; padding: 15px 16px; background: #fff; border: 1px solid var(--cpost-line); border-radius: 13px; box-shadow: 0 2px 4px rgba(25, 34, 50, .04); }
.cpost-kpis span { display: block; color: #91a0b5; font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.cpost-kpis strong { display: block; margin: 10px 0 3px; font-size: 24px; line-height: 1; }
.cpost-kpis small { color: #98a5b8; font-size: 10px; }
.cpost-kpis .is-green strong, .cpost-kpis .is-green small { color: #14a875; }
.cpost-kpis .is-amber strong { color: #ee9d00; }
.cpost-kpis .is-orange strong, .cpost-kpis .is-orange small { color: #ed681b; }
.cpost-kpis .is-slate strong { color: #647188; }
.cpost-kpis .is-red strong, .cpost-kpis .is-red small { color: #ed4855; }

.cpost-filters { min-height: 78px; padding: 14px; display: grid; grid-template-columns: minmax(250px, 2.5fr) repeat(4, minmax(130px, .8fr)) 145px auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--cpost-line); border-radius: 13px; }
.cpost-search { height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 7px; color: #94a2b6; background: #f8fafc; border: 1px solid #dfe5ee; border-radius: 9px; }
.cpost-search input { width: 100%; background: transparent; border: 0; outline: 0; font: inherit; font-size: 11px; }
.cpost-filters select, .cpost-date { width: 100%; height: 40px; padding: 0 10px; color: #526076; background: #f8fafc; border: 1px solid #dfe5ee; border-radius: 9px; font: inherit; font-size: 10px; }
.cpost-reset { padding: 0; display: inline-flex; align-items: center; gap: 5px; color: #8996aa; background: none; border: 0; font-size: 10px; cursor: pointer; white-space: nowrap; }

.cpost-bulk { min-height: 58px; margin-top: 20px; padding: 9px 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #fff; background: linear-gradient(100deg, #5745e8, #493ee0); border-radius: 12px; box-shadow: 0 7px 18px rgba(75, 61, 218, .18); }
.cpost-bulk strong { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.cpost-bulk strong iconify-icon { width: 26px; height: 26px; display: grid; place-items: center; background: rgba(255,255,255,.18); border-radius: 7px; font-size: 16px; }
.cpost-bulk > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.cpost-bulk button { min-height: 31px; padding: 0 10px; display: inline-flex; align-items: center; gap: 5px; color: #fff; background: rgba(255,255,255,.17); border: 0; border-radius: 8px; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }

.cpost-table-wrap { margin-top: 20px; background: #fff; border: 1px solid var(--cpost-line); border-radius: 13px; overflow-x: auto; }
.cpost-table { width: 100%; min-width: 1240px; border-collapse: collapse; }
.cpost-table th { height: 48px; padding: 0 12px; color: #647187; background: #fbfcfe; border-bottom: 1px solid #e7ebf1; font-size: 9px; font-weight: 800; letter-spacing: .03em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.cpost-table td { height: 70px; padding: 9px 12px; color: #465368; border-bottom: 1px solid #edf0f4; font-size: 10px; vertical-align: middle; }
.cpost-table tbody tr:last-child td { border-bottom: 0; }
.cpost-table tbody tr:hover { background: #fbfcff; }
.cpost-table tbody tr.is-failed { background: #fffafa; }
.cpost-table input[type="checkbox"] { width: 14px; height: 14px; accent-color: #5961ee; }
.cpost-title-cell { width: 230px; display: flex; align-items: center; gap: 9px; }
.cpost-title-cell > i { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; color: #6655e7; background: #e9ebff; border-radius: 8px; font-style: normal; font-size: 16px; }
.cpost-title-cell > i.is-awaiting { color: #e99b00; background: #fff4d4; }
.cpost-title-cell > i.is-scheduled { color: #1d9ed8; background: #e2f5ff; }
.cpost-title-cell > i.is-failed { color: #eb4c57; background: #ffe1e3; }
.cpost-title-cell > i.is-draft { color: #758399; background: #edf1f5; }
.cpost-title-cell > span { min-width: 0; }
.cpost-title-cell a { display: block; overflow: hidden; color: #2d384b; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.cpost-title-cell small, .cpost-table time small { display: block; margin-top: 2px; color: #94a2b6; font-size: 9px; }
.cpost-campaign { max-width: 145px; padding: 5px 8px; display: inline-flex; align-items: center; gap: 4px; overflow: hidden; color: #5144d4; background: #efefff; border: 1px solid #d8d8ff; border-radius: 99px; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.cpost-table em { color: #9aa6b8; font-size: 9px; font-style: italic; }
.cpost-platform { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cpost-platform i { width: 25px; height: 25px; display: grid; place-items: center; color: #66758b; background: #edf2f7; border-radius: 7px; font-style: normal; font-size: 14px; }
.cpost-platform.is-linkedin i { color: #1774d1; background: #e7f2ff; }
.cpost-platform.is-twitter i { color: #1ca4db; background: #e8f8ff; }
.cpost-platform.is-instagram i { color: #ed4d88; background: #ffe9f2; }
.cpost-status, .cpost-validation { padding: 5px 8px; display: inline-flex; align-items: center; gap: 5px; color: #68758a; background: #edf1f5; border-radius: 99px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.cpost-status i { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.cpost-status.is-published, .cpost-validation.is-approved { color: #14885f; background: #ddf8eb; }
.cpost-status.is-scheduled { color: #1879b4; background: #dff3ff; }
.cpost-status.is-awaiting, .cpost-validation.is-awaiting { color: #af7500; background: #fff1c6; }
.cpost-status.is-approved { color: #5144d5; background: #ebe9ff; }
.cpost-status.is-failed, .cpost-validation.is-rejected { color: #d9414c; background: #ffe2e4; }
.cpost-author { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cpost-author i { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #299bae, #245c7e); border-radius: 50%; font-style: normal; font-weight: 800; }
.cpost-no-stats { white-space: nowrap; }
.cpost-actions { display: flex; align-items: center; gap: 5px; }
.cpost-actions a, .cpost-actions button { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; color: #718096; background: #f0f3f7; border: 0; border-radius: 7px; font: inherit; font-size: 14px; cursor: pointer; }
.cpost-actions a:hover { color: #5747de; background: #eceaff; }
.cpost-actions button.is-delete:hover { color: #d9414c; background: #ffe7e9; }
.cpost-delete-modal .modal-content { overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 24px 70px rgba(24, 31, 48, .2); }
.cpost-delete-modal .modal-header, .cpost-delete-modal .modal-footer { padding: 18px 20px; }
.cpost-delete-modal .modal-body { padding: 20px; }
.cpost-delete-modal__heading { display: flex; align-items: center; gap: 12px; }
.cpost-delete-modal__heading > i { width: 42px; height: 42px; display: grid; place-items: center; color: #d9414c; background: #ffe7e9; border-radius: 11px; font-style: normal; font-size: 22px; }
.cpost-delete-modal__heading h2 { color: #293548; font-weight: 800; }
.cpost-delete-modal__heading p { color: #8996aa; font-size: 11px; }
.cpost-delete-modal .modal-body > p { margin-bottom: 16px; color: #536075; }
.cpost-delete-modal__warning { padding: 13px 14px; display: flex; align-items: flex-start; gap: 9px; color: #a33b43; background: #fff3f3; border: 1px solid #ffd9dc; border-radius: 10px; font-size: 11px; line-height: 1.5; }
.cpost-delete-modal__warning iconify-icon { flex: 0 0 auto; margin-top: 1px; font-size: 18px; }
.cpost-delete-modal .btn-danger { display: inline-flex; align-items: center; gap: 6px; }
.cpost-empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9aa6b8; }
.cpost-empty iconify-icon { margin-bottom: 9px; font-size: 34px; }
.cpost-empty strong { color: #5a677c; }
.cpost-empty span { margin-top: 4px; font-size: 10px; }
.cpost-toast { position: fixed; z-index: 1100; right: 24px; bottom: 24px; max-width: 360px; padding: 12px 16px; color: #fff; background: #293548; border-radius: 9px; box-shadow: 0 10px 30px rgba(22,31,45,.22); font-size: 11px; }

@media (max-width: 1250px) {
    .cpost-kpis { grid-template-columns: repeat(3, 1fr); }
    .cpost-filters { grid-template-columns: minmax(240px, 2fr) repeat(3, 1fr); }
}

@media (max-width: 720px) {
    .cpost-heading { align-items: flex-start; flex-direction: column; }
    .cpost-new { width: 100%; justify-content: center; }
    .cpost-kpis { grid-template-columns: repeat(2, 1fr); }
    .cpost-filters { grid-template-columns: 1fr; }
    .cpost-bulk { align-items: flex-start; flex-direction: column; }
    .cpost-bulk > div { justify-content: flex-start; }
}
