:root {
    --social-accent: #ef3218;
    --social-accent-dark: #c92712;
    --social-ink: #171717;
    --social-muted: #737373;
    --social-line: #e5e5e5;
    --social-soft: #f7f7f7;
    --social-success: #17834f;
    --social-success-bg: #dcfce7
}

body[data-page="social-media"] {
    background: #fff
}

body[data-page="social-media"] .web-content {
    width: calc(100% - 240px);
    max-width: none;
    padding: 0 0 100px;
    background: #fff
}

body.social-modal-open {
    overflow: hidden
}

.hidden {
    display: none !important
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.social-workspace {
    min-height: 100vh;
    color: var(--social-ink);
    background: #fff
}

.social-workspace button, .social-workspace input, .social-workspace select, .social-workspace textarea, .social-composer-shell button, .social-composer-shell input, .social-composer-shell select, .social-composer-shell textarea {
    font: inherit
}

.social-api-loading {
    position: fixed;
    z-index: 140;
    top: 0;
    right: 0;
    left: 240px;
    height: 3px;
    overflow: hidden;
    background: rgba(239, 50, 24, .12)
}

.social-api-loading span {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: 999px;
    background: var(--social-accent);
    animation: social-api-progress 1s ease-in-out infinite
}

@keyframes social-api-progress {
    from {
        transform: translateX(-110%)
    }

    to {
        transform: translateX(365%)
    }
}

.social-workspace-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 38px 26px;
    border-bottom: 1px solid var(--social-line)
}

.social-workspace-header h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -.04em
}

.social-workspace-header p:not(.social-eyebrow) {
    margin: 8px 0 0;
    color: var(--social-muted);
    font-size: .98rem
}

.social-eyebrow {
    margin: 0 0 7px;
    color: var(--social-accent);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.social-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px
}

.social-status {
    color: var(--social-success);
    font-size: .78rem;
    font-weight: 700
}

.social-status.is-error {
    color: #b42318
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid var(--social-accent);
    border-radius: 9px;
    background: var(--social-accent);
    color: #fff;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease
}

.social-button:hover {
    background: var(--social-accent-dark);
    box-shadow: 0 8px 20px rgba(239, 50, 24, .16);
    transform: translateY(-1px)
}

.social-button.secondary {
    border-color: #d7d7d7;
    background: #fff;
    color: #303030
}

.social-button.secondary:hover {
    background: #f7f7f7;
    box-shadow: none
}

.social-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none
}

.social-button.is-loading::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: social-spin .7s linear infinite
}

@keyframes social-spin {
    to {
        transform: rotate(360deg)
    }
}

.social-button.danger {
    min-height: 34px;
    padding: 7px 10px;
    border-color: #f0b7b2;
    background: #fff;
    color: #b42318
}

.social-button.danger:hover {
    background: #fff1f0;
    box-shadow: none
}

.social-post-card footer {
    flex-wrap: wrap
}

.social-message-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.social-icon-delete {
    padding: 3px 6px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #b42318;
    font-size: .68rem;
    font-weight: 750;
    cursor: pointer
}

.social-icon-delete:hover {
    background: #fee4e2
}

.social-icon-delete:disabled {
    opacity: .55;
    cursor: not-allowed
}

.social-comment-choice {
    position: relative
}

.social-comment-choice>label {
    display: block;
    padding-right: 48px;
    cursor: pointer
}

.social-comment-choice>.social-icon-delete {
    position: absolute;
    top: 7px;
    right: 7px
}

.social-tabs {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0 38px;
    border-bottom: 1px solid var(--social-line);
    background: #fff;
    overflow-x: auto
}

.social-tabs button {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 15px 16px;
    border: 0;
    background: transparent;
    color: #707070;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer
}

.social-tabs button::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -1px;
    height: 2px;
    background: transparent
}

.social-tabs button:hover {
    color: #222
}

.social-tabs button.is-active {
    color: #111
}

.social-tabs button.is-active::after {
    background: #111
}

.social-tabs .social-tab-create {
    display: none
}

.social-nav-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: #858585;
    font-size: 1rem
}

.social-unread-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #d92d20;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    line-height: 1
}

.social-entitlement-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 24px;
    margin: 22px 38px 0;
    padding: 17px 19px;
    border: 1px solid #dedede;
    border-radius: 11px;
    background: #fafafa
}

.social-entitlement-copy {
    min-width: 0
}

.social-entitlement-copy>strong {
    display: block;
    margin-top: 8px;
    font-size: .95rem
}

.social-entitlement-copy>p {
    margin: 5px 0 0;
    color: #777;
    font-size: .78rem
}

.social-entitlement-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap
}

.social-entitlement-price {
    color: #555;
    font-size: 1.2rem;
    font-weight: 750
}

.social-capacity-field {
    display: grid;
    gap: 3px;
    color: #666;
    font-size: .7rem
}

.social-capacity-field input {
    width: 105px;
    padding: 8px 10px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff
}

.social-account-card.is-billing-locked {
    border-color: #e5b5b5;
    background: #fffafa
}

.social-account-picker-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px
}

.social-account-picker-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .42)
}

.social-account-picker-panel {
    position: relative;
    width: min(520px, 100%);
    max-height: min(680px, 90vh);
    overflow: auto;
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .2)
}

.social-account-picker-panel h2 { margin: 0 0 6px }
.social-account-picker-panel>p { color: #666 }
.social-account-picker-panel footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px }
.social-active-account-options { display: grid; gap: 8px; margin-top: 14px }
.social-active-account-options label { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #ddd; border-radius: 9px }
.social-active-account-options input { margin-left: auto }

.social-entitlement-card>.social-status {
    grid-column: 1/-1
}

.social-entitlement-progress {
    height: 6px;
    max-width: 520px;
    margin-top: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e5e5
}

.social-entitlement-progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--social-accent);
    transition: width .25s ease
}

.social-free-posts {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
    gap: 3px 10px;
    margin-top: 13px;
    padding: 10px 12px;
    width: fit-content;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff
}

.social-free-posts>span {
    color: #666;
    font-size: .75rem;
    font-weight: 700
}

.social-free-posts>strong {
    color: #171717;
    font-size: 1rem
}

.social-free-posts>small {
    grid-column: 1/-1;
    color: #888;
    font-size: .68rem
}

.social-badge.unlimited {
    background: #ede9fe;
    color: #6941c6
}

.social-help .is-error {
    color: #b42318;
    font-weight: 700
}

.social-main {
    padding: 26px 38px
}

.social-panel {
    min-width: 0
}

.social-panel h2 {
    margin: 0;
    font-size: 1.18rem;
    letter-spacing: -.025em
}

.social-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    min-width: 0
}

.social-toolbar-title {
    display: flex;
    align-items: center;
    gap: 10px
}

.social-count {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #777;
    font-size: .7rem;
    font-weight: 700
}

.social-toolbar-spacer {
    flex: 1
}

.social-select-wrap select, .social-date-filter, .social-inbox-filters select, .social-inline-fields input, .social-inline-fields select, .social-schedule-fields input, .social-schedule-fields select {
    height: 42px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    color: #3b3b3b;
    padding: 0 36px 0 13px;
    outline: none
}

.social-select-wrap select:focus, .social-date-filter:focus-within, .social-inbox-filters select:focus, .social-search:focus-within {
    border-color: #a3a3a3;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .04)
}

.social-date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 11px
}

.social-date-filter input {
    border: 0;
    background: transparent;
    color: #444;
    outline: none
}

.social-date-separator {
    color: #9a9a9a;
    font-size: .8rem
}

.social-connect-drawer {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: -8px 0 24px;
    padding: 18px;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    background: #fafafa
}

.social-connect-drawer>div:first-child {
    min-width: 180px
}

.social-connect-drawer p {
    margin: 5px 0 0;
    color: var(--social-muted);
    font-size: .78rem
}

.social-connect-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.social-connect-grid button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-weight: 650;
    cursor: pointer
}

.social-connect-grid button:hover {
    border-color: #aaa;
    background: #f7f7f7
}

.social-connect-grid button:disabled {
    border-color: #e5e5e5;
    background: #f1f1f1;
    color: #919191;
    cursor: not-allowed;
    opacity: .72
}

.social-connect-grid button[data-connected="true"]::after {
    content: "Connected";
    padding: 2px 6px;
    border-radius: 999px;
    background: #dcfce7;
    color: #17834f;
    font-size: .6rem;
    font-weight: 800
}

.platform-logo {
    width: 28px;
    height: 28px;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 28px;
    border-radius: 7px;
    background: #222 !important;
    color: #fff !important;
    font-size: .82rem !important;
    font-weight: 850
}

.platform-logo.facebook {
    background: #1877f2 !important
}

.platform-logo.instagram {
    background: linear-gradient(135deg, #7c3aed, #ec4899, #f59e0b) !important
}

.platform-logo.threads {
    background: #111 !important
}

.platform-logo.pinterest {
    background: #e60023 !important
}

.platform-logo.tiktok {
    background: #111 !important
}

.platform-logo.youtube {
    background: #f60000 !important
}

.platform-logo.googlebusiness {
    background: #4285f4
}

.social-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 300px));
    gap: 16px
}

.social-account-card {
    min-height: 225px;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04)
}

.social-account-card:hover {
    border-color: #bdbdbd;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .06)
}

.social-account-card header {
    display: flex;
    align-items: center;
    gap: 10px
}

.social-account-card header>div {
    min-width: 0
}

.social-account-card h3 {
    margin: 0;
    font-size: .92rem;
    text-transform: capitalize
}

.social-account-card .social-account-user {
    margin: 17px 0 0;
    font-size: 1rem;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.social-account-card .social-account-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 4px 0 0;
    color: #8a8a8a;
    font-size: .78rem
}

.social-account-card .social-account-capabilities {
    margin: 10px 0 0;
    color: #777;
    font-size: .72rem;
    line-height: 1.5
}

.social-account-card footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px
}

.social-account-card footer .social-button {
    flex: 1 1 105px;
    min-height: 36px;
    padding: 8px 12px;
    font-size: .78rem
}

.social-auto-reply-modal {
    position: fixed;
    z-index: 1300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px
}

.social-auto-reply-panel {
    position: relative;
    width: min(860px, 100%);
    max-height: 92vh;
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 90px rgba(0, 0, 0, .24)
}

.social-auto-reply-panel>header,
.social-auto-reply-section>header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px
}

.social-auto-reply-panel>header {
    position: sticky;
    z-index: 2;
    top: 0;
    padding: 20px 22px;
    border-bottom: 1px solid #e7e7e7;
    background: #fff
}

.social-auto-reply-panel h2,
.social-auto-reply-panel h3,
.social-auto-reply-panel p { margin: 0 }
.social-auto-reply-panel>header p:last-child,
.social-auto-reply-section header p { margin-top: 4px; color: #777; font-size: .78rem }

#social-auto-reply-form,
.social-auto-reply-section { padding: 20px 22px; border-bottom: 1px solid #ececec }

.social-auto-reply-summary {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #f5f7ff;
    color: #4d5470;
    font-size: .78rem
}

.social-auto-reply-toggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 15px }
.social-auto-reply-toggles label { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #ddd; border-radius: 9px }
.social-auto-reply-toggles input { margin-top: 3px }
.social-auto-reply-toggles span { display: grid; gap: 3px }
.social-auto-reply-toggles small { color: #777; line-height: 1.4 }

.social-auto-reply-field { display: grid; gap: 6px; margin-top: 12px; font-size: .8rem; font-weight: 700 }
.social-auto-reply-field textarea { width: 100%; resize: vertical; padding: 11px; border: 1px solid #d8d8d8; border-radius: 9px; font: inherit; font-weight: 400; line-height: 1.5 }
#social-auto-reply-form>footer { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 16px }
#social-auto-reply-form>footer .social-status { margin-right: auto }

.social-auto-reply-upload { display: flex; align-items: center; gap: 10px; margin-top: 13px }
.social-auto-reply-upload input { flex: 1; min-width: 0 }
.social-auto-reply-list { display: grid; gap: 8px; margin-top: 12px }
.social-auto-reply-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #e1e1e1; border-radius: 9px }
.social-auto-reply-row strong { display: block; overflow-wrap: anywhere; font-size: .82rem }
.social-auto-reply-row small { display: block; margin-top: 3px; color: #777; font-size: .7rem }
.social-auto-reply-row-actions { display: flex; gap: 6px }
.social-auto-reply-row-actions button { padding: 6px 9px; font-size: .7rem }
.social-auto-reply-log.failed, .social-auto-reply-log.failed_no_credit { border-color: #e8b4b4; background: #fffafa }
.social-auto-reply-log.succeeded { border-color: #b8dec7; background: #f8fffa }

@media (max-width: 650px) {
    .social-auto-reply-toggles { grid-template-columns: 1fr }
    .social-auto-reply-upload { align-items: stretch; flex-direction: column }
}

.social-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 4px 8px;
    border-radius: 5px;
    background: #f1f1f1;
    color: #656565;
    font-size: .68rem;
    font-weight: 750;
    text-transform: capitalize
}

.social-badge.connected, .social-badge.published, .social-badge.replied {
    background: var(--social-success-bg);
    color: var(--social-success)
}

.social-badge.failed, .social-badge.partial_failed, .social-badge.unread {
    background: #fee4e2;
    color: #b42318
}

.social-badge.scheduled, .social-badge.publishing {
    background: #fff0c2;
    color: #9a6700
}

.social-card-status {
    margin-left: auto
}

.social-skeleton-card, .social-skeleton-metric {
    min-height: 215px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: linear-gradient(100deg, #f6f6f6 20%, #ededed 40%, #f6f6f6 60%);
    background-size: 200% 100%;
    animation: social-shimmer 1.4s infinite
}

.social-skeleton-metric {
    min-height: 120px
}

.social-post-skeleton {
    max-width: 300px
}

@keyframes social-shimmer {
    to {
        background-position: -200% 0
    }
}

.social-view-toggle {
    display: flex;
    border: 1px solid #dedede;
    border-radius: 8px;
    overflow: hidden
}

.social-view-toggle button {
    width: 38px;
    height: 40px;
    border: 0;
    border-right: 1px solid #e6e6e6;
    background: #fff;
    color: #888;
    cursor: pointer
}

.social-view-toggle button:last-child {
    border-right: 0
}

.social-view-toggle button.is-active {
    background: #f1f1f1;
    color: #111
}

.social-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 310px));
    gap: 18px;
    align-items: start
}

.social-post-card {
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03)
}

.social-post-card-main {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 12px;
    min-height: 145px;
    padding: 17px
}

.social-post-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 12px;
    font-size: .98rem;
    line-height: 1.4
}

.social-post-platform {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    color: #6f6f6f;
    font-size: .75rem
}

.social-post-date {
    margin: 0;
    color: #747474;
    font-size: .78rem;
    line-height: 1.4
}

.social-post-media {
    height: 90px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f2f2;
    color: #aaa
}

.social-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.social-post-card footer {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 52px;
    padding: 10px 14px;
    border-top: 1px solid #e7e7e7;
    color: #767676;
    font-size: .78rem
}

.social-post-card footer .social-badge {
    margin-right: auto
}

.social-post-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 14px 12px
}

.social-post-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid #d9e2f1;
    border-radius: 7px;
    background: #f7faff;
    color: #245ea8;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none
}

.social-post-link:hover {
    border-color: #9db9df;
    background: #edf4ff
}

.social-list {
    display: grid
}

.social-list-item {
    display: block;
    width: 100%;
    padding: 15px 16px;
    border: 0;
    border-bottom: 1px solid #e9e9e9;
    background: #fff;
    color: #222;
    text-align: left;
    cursor: pointer
}

.social-list-item:hover, .social-list-item.is-active {
    background: #f7f7f7
}

.social-list-item header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.social-list-item p {
    margin: 6px 0;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.social-list-item small {
    color: #979797
}

.social-inbox-panel {
    display: grid;
    grid-template-columns: 205px minmax(320px, 390px) minmax(440px, 1fr);
    min-height: calc(100vh - 205px);
    margin: -26px -38px -100px
}

.social-inbox-sidebar {
    padding: 27px 14px;
    border-right: 1px solid var(--social-line);
    background: #fafafa
}

.social-inbox-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 18px
}

.social-inbox-heading h2 {
    margin: 2px 0 0;
    font-size: 1.3rem
}

.social-inbox-heading .social-eyebrow {
    margin: 0
}

.social-inbox-types {
    display: grid;
    gap: 4px
}

.social-inbox-types button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 58px;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #6f6f6f;
    text-align: left;
    font-weight: 650;
    cursor: pointer
}

.social-inbox-type-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    background: #fff;
    color: #666
}

.social-inbox-type-copy {
    min-width: 0;
    display: grid;
    gap: 2px
}

.social-inbox-type-copy strong {
    font-size: .8rem
}

.social-inbox-type-copy small {
    color: #999;
    font-size: .65rem;
    font-weight: 500
}

.social-inbox-types .social-unread-count {
    margin-left: auto
}

.social-inbox-types button:hover {
    background: #f5f5f5
}

.social-inbox-types button.is-active {
    background: #fff;
    color: #151515;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08)
}

.social-inbox-types button.is-active .social-inbox-type-icon {
    border-color: #f1a99c;
    background: #fff0ed;
    color: #b42318
}

.social-inbox-list-column {
    border-right: 1px solid var(--social-line)
}

.social-inbox-list-head {
    padding: 27px 16px 16px;
    border-bottom: 1px solid var(--social-line)
}

.social-inbox-list-head h2 {
    margin-bottom: 4px;
    font-size: 1.35rem
}

.social-inbox-list-head>p {
    margin: 0 0 16px;
    color: #8a8a8a;
    font-size: .72rem;
    line-height: 1.45
}

.social-inbox-filters {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 8px
}

.social-inbox-filters select {
    width: 100%;
    height: 40px;
    padding: 0 8px
}

.social-search {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #dedede;
    border-radius: 8px
}

.social-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent
}

.social-inbox-filters .social-button {
    min-height: 40px;
    padding: 8px 11px
}

.social-detail {
    min-width: 0;
    background: #fff;
    overflow: hidden
}

.social-detail-empty {
    height: 100%;
    min-height: 420px;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 32px;
    text-align: center
}

.social-detail-empty>span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f3f3f3;
    color: #999;
    font-size: 1.5rem
}

.social-detail-empty h3 {
    margin: 14px 0 5px
}

.social-detail-empty p {
    margin: 0;
    color: #888
}

.social-detail-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 22px 24px;
    border-bottom: 1px solid #e6e6e6
}

.social-detail-header h3 {
    margin: 0
}

.social-detail-header p {
    margin: 5px 0 0;
    color: #888;
    font-size: .78rem
}

.social-message-stream {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 420px);
    min-height: 250px;
    overflow: auto;
    padding: 20px 24px
}

.social-message {
    max-width: 75%;
    padding: 10px 12px;
    border-radius: 12px 12px 12px 3px;
    background: #f2f2f2
}

.social-message.outgoing {
    align-self: flex-end;
    border-radius: 12px 12px 3px 12px;
    background: #ffe8e3
}

.social-message strong {
    font-size: .7rem;
    color: #858585
}

.social-message p {
    margin: 4px 0 0;
    white-space: pre-wrap
}

.social-message>time {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: .62rem
}

.social-comment-choice {
    max-width: 100%;
    cursor: pointer
}

.social-comment-choice input {
    margin-right: 7px
}

.social-reply-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 14px 20px;
    border-top: 1px solid #e6e6e6;
    background: #fff
}

.social-reply-box textarea {
    min-height: 44px;
    max-height: 100px;
    resize: vertical;
    padding: 11px 12px;
    border: 1px solid #ddd;
    border-radius: 9px;
    outline: none
}

.social-reply-box textarea:disabled {
    background: #f6f6f6;
    color: #999;
    cursor: not-allowed
}

.social-comment-post-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 14px
}

.social-comment-post-thumb {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #f6f6f6
}

.social-comment-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.social-comment-post-copy {
    min-width: 0;
    display: grid;
    gap: 5px
}

.social-comment-post-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px
}

.social-comment-post-top>strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: .8rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.social-comment-post-stats {
    color: #666;
    font-size: .7rem
}

.social-comment-detail {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 520px
}

.social-comment-post-summary {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    margin: 20px 24px 0;
    padding: 14px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #fafafa
}

.social-comment-post-summary-media {
    width: 104px;
    height: 86px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    background: #eee
}

.social-comment-post-summary-media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.social-comment-post-summary-copy {
    min-width: 0
}

.social-comment-post-summary-copy>div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.social-comment-post-summary h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 6px 0;
    font-size: .9rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.social-comment-post-summary p {
    margin: 0;
    color: #858585;
    font-size: .7rem
}

.social-comment-post-summary a {
    display: inline-flex;
    margin-top: 8px;
    color: #245ea8;
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none
}

.social-comment-count-pill {
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff0ed;
    color: #a33628;
    font-size: .64rem;
    font-weight: 750
}

.social-comment-thread-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 10px
}

.social-comment-thread-head h3, .social-comment-thread-head p {
    margin: 0
}

.social-comment-thread-head h3 {
    font-size: .95rem
}

.social-comment-thread-head p {
    margin-top: 3px;
    color: #999;
    font-size: .68rem
}

.social-comment-thread {
    flex: 1;
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 230px;
    max-height: calc(100vh - 570px);
    overflow: auto;
    padding: 0 24px 18px
}

.social-comment-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
    border: 1px solid #e6e6e6;
    border-radius: 11px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s
}

.social-comment-card.is-replying {
    border-color: #e99d90;
    box-shadow: 0 0 0 3px rgba(226, 92, 70, .09)
}

.social-comment-card.is-reply {
    grid-template-columns: 30px minmax(0, 1fr);
    margin-top: 8px;
    padding: 10px;
    background: #fafafa
}

.social-comment-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #ececec;
    color: #666;
    font-size: .75rem;
    font-weight: 800
}

.social-comment-card.is-reply>.social-comment-avatar {
    width: 30px;
    height: 30px
}

.social-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.social-comment-body {
    min-width: 0
}

.social-comment-body>header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px
}

.social-comment-body>header>div {
    display: grid;
    gap: 2px
}

.social-comment-author {
    color: #222;
    font-size: .78rem
}

.social-comment-body time {
    color: #999;
    font-size: .62rem
}

.social-comment-body>p {
    margin: 7px 0 9px;
    color: #3d3d3d;
    font-size: .8rem;
    line-height: 1.5;
    white-space: pre-wrap
}

.social-comment-body>footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #888;
    font-size: .68rem
}

.social-comment-body>footer a, .social-comment-body>footer button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer
}

.social-comment-body>footer .social-icon-delete {
    color: #b42318
}

.social-comment-replies {
    margin-top: 10px;
    padding-left: 10px;
    border-left: 2px solid #ededed
}

.social-comment-reply-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px 0;
    border-top: 1px solid #e6e6e6;
    color: #777;
    font-size: .7rem
}

.social-comment-reply-context button {
    border: 0;
    background: transparent;
    color: #b42318;
    font-size: .7rem;
    font-weight: 750;
    cursor: pointer
}

.social-reply-box .social-button {
    align-self: end
}

.social-reply-box+.social-status {
    display: block;
    padding: 0 20px 12px
}

.social-empty {
    padding: 42px 24px;
    color: #888;
    text-align: center
}

.social-analytics-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    border-bottom: 1px solid #ddd
}

.social-analytics-tabs button {
    position: relative;
    padding: 11px 14px;
    border: 0;
    background: transparent;
    color: #777;
    font-weight: 700
}

.social-analytics-tabs button.is-active {
    color: #111
}

.social-analytics-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #111
}

.social-analytics-toolbar {
    flex-wrap: wrap
}

.social-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
    border: 1px solid #dedede;
    border-radius: 2px
}

.social-metric {
    min-height: 122px;
    padding: 20px;
    border-right: 1px solid #dedede
}

.social-metric:last-child {
    border-right: 0
}

.social-metric span {
    display: block;
    color: #777;
    font-size: .78rem;
    text-transform: capitalize
}

.social-metric strong {
    display: block;
    margin-top: 10px;
    font-size: 1.45rem
}

.social-metric small {
    display: block;
    margin-top: 8px;
    color: #8a8a8a
}

.social-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.social-chart-card {
    min-height: 310px;
    padding: 20px;
    border: 1px solid #dedede;
    background: #fff
}

.social-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px
}

.social-chart-header h3 {
    margin: 0;
    font-size: 1rem
}

.social-chart-header p {
    margin: 5px 0 0;
    color: #858585;
    font-size: .76rem
}

.social-chart-total {
    text-align: right
}

.social-chart-total strong {
    display: block;
    font-size: 1.1rem
}

.social-chart-total span {
    color: #858585;
    font-size: .7rem
}

.social-bar-chart {
    height: 205px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 18px;
    margin-top: 28px;
    padding: 0 12px 26px;
    border-bottom: 1px solid #ddd;
    background: repeating-linear-gradient(to top, transparent 0, transparent 50px, #eee 51px)
}

.social-bar-column {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 6px
}

.social-bar {
    width: min(36px, 70%);
    min-height: 2px;
    border-radius: 3px 3px 0 0;
    background: var(--social-accent);
    animation: social-grow .45s ease-out
}

.social-bar-value {
    font-size: .72rem;
    font-weight: 750
}

.social-bar-label {
    position: absolute;
    transform: translateY(22px);
    color: #858585;
    font-size: .68rem;
    white-space: nowrap
}

@keyframes social-grow {
    from {
        height: 0 !important
    }
}

.social-analytics-posts {
    margin-top: 18px
}

.social-composer-shell {
    position: fixed;
    inset: 0;
    z-index: 110
}

.social-composer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(17, 17, 17, .74);
    cursor: default
}

.social-composer-modal {
    position: absolute;
    inset: 20px 20px 20px max(20px, calc((100vw - 1460px)/2));
    display: flex;
    flex-direction: column;
    max-width: 1420px;
    margin: auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
    overflow: hidden
}

.social-composer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #e5e5e5
}

.social-composer-header h2 {
    margin: 0;
    font-size: 1.5rem
}

.social-composer-header p:not(.social-eyebrow) {
    margin: 7px 0 0;
    color: #777
}

.social-icon-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    font-size: 1.55rem;
    cursor: pointer
}

.social-form {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column
}

.social-composer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr);
    flex: 1;
    min-height: 0;
    overflow: auto
}

.social-composer-editor, .social-composer-options {
    padding: 28px
}

.social-composer-editor {
    border-right: 1px solid #e5e5e5
}

.social-composer-options {
    display: flex;
    flex-direction: column;
    gap: 26px
}

.social-field-label, .social-form legend, .social-composer-options label>span, .social-inline-fields label>span, .social-schedule-fields label>span, .social-setting-card label>span {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: .78rem;
    font-weight: 750;
    text-transform: capitalize
}

.social-help {
    margin: 6px 0 0;
    color: #818181;
    font-size: .78rem
}

.social-textarea-wrap {
    position: relative
}

.social-textarea-wrap textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 17px;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #fafafa;
    outline: none
}

.social-textarea-wrap textarea:focus {
    border-color: #999;
    background: #fff
}

.social-textarea-wrap span {
    display: block;
    margin-top: 7px;
    color: #888;
    font-size: .72rem;
    text-align: right
}

.social-media-drop {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    border: 2px dashed #dedede;
    border-radius: 10px;
    color: #686868;
    cursor: pointer
}

.social-media-drop:hover {
    border-color: #aaa;
    background: #fafafa
}

.social-media-drop small {
    color: #aaa
}

.social-media-drop input {
    display: none
}

.social-add-icon {
    font-size: 1.3rem
}

.social-media-preview {
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 9px;
    color: #666;
    font-size: .78rem
}

.social-inline-fields, .social-schedule-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px
}

.social-inline-fields input, .social-inline-fields select, .social-schedule-fields input {
    width: 100%;
    padding: 0 11px
}

.social-settings {
    display: grid;
    gap: 10px;
    margin-top: 16px
}

.social-setting-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 9px
}

.social-setting-card h3 {
    grid-column: 1/-1;
    margin: 0;
    font-size: .85rem
}

.social-setting-card input, .social-setting-card select, .social-setting-card textarea {
    width: 100%;
    padding: 0 9px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff
}

.social-setting-card input, .social-setting-card select {
    height: 38px
}

.social-setting-card textarea {
    min-height: 68px;
    padding-top: 9px;
    padding-bottom: 9px;
    resize: vertical;
    font: inherit
}

.social-setting-wide {
    grid-column: 1/-1
}

.social-check {
    display: flex !important;
    align-items: center;
    gap: 7px;
    color: #555;
    font-size: .75rem
}

.social-check input {
    width: auto;
    height: auto
}

.social-composer-options fieldset {
    margin: 0;
    padding: 0;
    border: 0
}

.social-target-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px
}

.social-target-list label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 9px;
    cursor: pointer
}

.social-target-list label:has(input:checked) {
    border-color: #f17867;
    background: #fff7f5
}

.social-target-list input {
    accent-color: var(--social-accent)
}

.social-target-copy {
    min-width: 0
}

.social-target-copy strong, .social-target-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.social-target-copy small {
    margin-top: 2px;
    color: #888;
    font-size: .7rem
}

.social-publish-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 4px;
    border-radius: 9px;
    background: #f1f1f1
}

.social-publish-modes button {
    padding: 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #777;
    font-weight: 700;
    cursor: pointer
}

.social-publish-modes button.is-active {
    background: #fff;
    color: #111;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08)
}

.social-composer-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 22px;
    border-top: 1px solid #e5e5e5
}

.social-composer-footer .social-status {
    margin-right: auto
}

@media(max-width:1100px) {
    .social-metrics {
        grid-template-columns: repeat(2, 1fr)
    }

    .social-metric:nth-child(2) {
        border-right: 0
    }

    .social-metric:nth-child(-n+2) {
        border-bottom: 1px solid #dedede
    }

    .social-chart-grid {
        grid-template-columns: 1fr
    }

    .social-inbox-panel {
        grid-template-columns: 175px minmax(280px, 360px) minmax(330px, 1fr)
    }

    .social-composer-content {
        grid-template-columns: 1fr
    }

    .social-composer-editor {
        border-right: 0;
        border-bottom: 1px solid #e5e5e5
    }
}

@media(max-width:900px) {
    body[data-page="social-media"] .web-content {
        width: 100%
    }

    .social-api-loading {
        left: 0
    }

    .social-workspace-header {
        padding: 24px 22px
    }

    .social-tabs {
        padding: 0 18px
    }

    .social-entitlement-card {
        margin: 18px 22px 0
    }

    .social-main {
        padding: 22px
    }

    .social-inbox-panel {
        grid-template-columns: 175px minmax(260px, 1fr);
        margin: -22px -22px -100px
    }

    .social-detail {
        grid-column: 1/-1;
        min-height: 420px;
        border-top: 1px solid #ddd
    }

    .social-connections-toolbar, .social-post-toolbar {
        flex-wrap: wrap
    }

    .social-toolbar-spacer {
        display: none
    }

    .social-composer-modal {
        inset: 10px
    }
}

@media(max-width:650px) {
    .social-workspace-header {
        align-items: stretch;
        flex-direction: column
    }

    .social-header-actions {
        flex-wrap: wrap
    }

    .social-status {
        width: 100%
    }

    .social-tabs button {
        padding: 13px 10px;
        font-size: .78rem
    }

    .social-nav-icon {
        display: none
    }

    .social-entitlement-card {
        grid-template-columns: 1fr;
        margin: 14px 16px 0
    }

    .social-entitlement-actions {
        justify-content: flex-start
    }

    .social-entitlement-actions .social-button {
        flex: 1
    }

    .social-main {
        padding: 16px
    }

    .social-card-grid, .social-post-grid {
        grid-template-columns: 1fr
    }

    .social-connect-drawer {
        align-items: flex-start;
        flex-direction: column
    }

    .social-inbox-panel {
        display: block;
        margin: -16px -16px -100px
    }

    .social-inbox-sidebar {
        border-right: 0;
        border-bottom: 1px solid #ddd
    }

    .social-inbox-types {
        grid-template-columns: repeat(3, 1fr)
    }

    .social-inbox-types button {
        justify-content: center
    }

    .social-inbox-type-copy small {
        display: none
    }

    .social-inbox-list-column {
        border-right: 0
    }

    .social-inbox-filters {
        grid-template-columns: 1fr
    }

    .social-comment-post-summary {
        grid-template-columns: 76px minmax(0, 1fr);
        margin: 14px 16px 0
    }

    .social-comment-post-summary-media {
        width: 76px;
        height: 76px
    }

    .social-comment-thread-head {
        padding-right: 16px;
        padding-left: 16px
    }

    .social-comment-thread {
        padding-right: 16px;
        padding-left: 16px
    }

    .social-metrics {
        grid-template-columns: 1fr
    }

    .social-metric {
        border-right: 0 !important;
        border-bottom: 1px solid #dedede
    }

    .social-metric:last-child {
        border-bottom: 0
    }

    .social-analytics-toolbar {
        align-items: stretch;
        flex-direction: column
    }

    .social-select-wrap select, .social-date-filter {
        width: 100%
    }

    .social-composer-modal {
        inset: 0;
        border-radius: 0
    }

    .social-composer-header {
        padding: 18px
    }

    .social-composer-editor, .social-composer-options {
        padding: 20px
    }

    .social-inline-fields, .social-schedule-fields, .social-target-list {
        grid-template-columns: 1fr
    }

    .social-composer-footer {
        position: sticky;
        bottom: 0;
        background: #fff
    }
}

.social-callback-page {
    min-height: calc(100vh - 64px);
    display: grid;
    place-items: center;
    padding: 42px 24px;
    background: radial-gradient(circle at 50% 15%, rgba(239, 50, 24, .08), transparent 36%), #f7f7f7
}

.social-callback-card {
    width: min(100%, 620px);
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(20, 20, 20, .1)
}

.social-callback-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 20px;
    border-bottom: 1px solid #ececec;
    background: #fcfcfc
}

.social-callback-brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 9px;
    background: var(--social-accent);
    color: #fff;
    font-size: .9rem;
    font-weight: 850
}

.social-callback-brand>div {
    display: grid;
    gap: 2px
}

.social-callback-brand strong {
    font-size: .82rem
}

.social-callback-brand div span {
    color: #888;
    font-size: .68rem
}

.social-callback-secure {
    margin-left: auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #17834f;
    font-size: .65rem;
    font-weight: 750
}

.social-callback-content {
    padding: 38px 42px 34px;
    text-align: center
}

.social-callback-icon {
    position: relative;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff1ef;
    color: var(--social-accent);
    font-size: 1.55rem;
    font-weight: 850
}

.social-callback-icon::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid #ffd2cc;
    border-right-color: var(--social-accent);
    border-radius: 50%
}

.social-callback-card.is-connecting .social-callback-icon::after {
    animation: social-spin .85s linear infinite
}

.social-callback-card.is-success .social-callback-icon {
    background: #ecfdf3;
    color: #17834f
}

.social-callback-card.is-success .social-callback-icon::after {
    border-color: #86efac
}

.social-callback-card.is-error .social-callback-icon {
    background: #fff1f0;
    color: #b42318
}

.social-callback-card.is-error .social-callback-icon::after {
    border-color: #fda29b
}

.social-callback-content h1 {
    margin: 5px 0 9px;
    color: #171717;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    letter-spacing: -.04em
}

.social-callback-status {
    max-width: 460px;
    min-height: 42px;
    margin: 0 auto;
    color: #707070;
    font-size: .9rem;
    line-height: 1.55
}

.social-callback-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 28px;
    text-align: left
}

.social-callback-step {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px;
    border: 1px solid #e6e6e6;
    border-radius: 9px;
    background: #fafafa
}

.social-callback-step>span {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    flex: 0 0 21px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #777;
    font-size: .65rem;
    font-weight: 800
}

.social-callback-step div {
    display: grid;
    gap: 3px
}

.social-callback-step strong {
    font-size: .7rem
}

.social-callback-step small {
    color: #8a8a8a;
    font-size: .6rem;
    line-height: 1.35
}

.social-callback-step.is-active {
    border-color: #ffc4bc;
    background: #fff8f7
}

.social-callback-step.is-active>span {
    background: var(--social-accent);
    color: #fff
}

.social-callback-step.is-complete>span {
    background: #dcfce7;
    color: #17834f
}

.social-callback-step.is-error>span {
    background: #fee4e2;
    color: #b42318
}

.social-callback-redirect {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 16px;
    margin-top: 24px;
    padding: 13px 14px;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #fafafa;
    text-align: left
}

.social-callback-redirect>div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #666;
    font-size: .75rem
}

.social-callback-redirect>div:first-child strong {
    color: #222
}

.social-callback-countdown {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e5e5
}

.social-callback-countdown span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--social-accent);
    transform-origin: left
}

.social-callback-countdown span.is-running {
    animation: social-callback-countdown 5s linear forwards
}

@keyframes social-callback-countdown {
    to { transform: scaleX(0) }
}

.social-callback-redirect .social-button {
    grid-column: 2;
    grid-row: 1/3;
    min-height: 38px;
    padding: 9px 13px;
    font-size: .75rem
}

.social-callback-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 20px;
    border-top: 1px solid #ececec;
    background: #fcfcfc;
    color: #8a8a8a;
    font-size: .67rem;
    text-align: center
}

.social-facebook-selector {
    margin-top: 24px;
    text-align: left
}

.social-facebook-selector-head,
.social-facebook-selector-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.social-facebook-selector-head>div {
    display: grid;
    gap: 4px
}

.social-facebook-selector-head strong {
    color: #171717;
    font-size: .9rem
}

.social-facebook-selector-head>div span,
.social-facebook-selector-message {
    color: #777;
    font-size: .72rem
}

.social-facebook-page-list {
    display: grid;
    gap: 9px;
    max-height: 330px;
    margin: 16px 0 12px;
    overflow-y: auto
}

.social-facebook-page-option {
    display: grid;
    grid-template-columns: auto 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border: 1px solid #dedede;
    border-radius: 11px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease
}

.social-facebook-page-option:hover {
    border-color: #8bb9f8;
    transform: translateY(-1px)
}

.social-facebook-page-option.is-selected {
    border-color: #1877f2;
    background: #f3f8ff;
    box-shadow: 0 0 0 1px rgba(24, 119, 242, .1)
}

.social-facebook-page-option input {
    accent-color: #1877f2
}

.social-facebook-page-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: #1877f2;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800
}

.social-facebook-page-copy {
    display: grid;
    min-width: 0;
    gap: 3px
}

.social-facebook-page-copy strong,
.social-facebook-page-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.social-facebook-page-copy strong {
    color: #222;
    font-size: .8rem
}

.social-facebook-page-copy span,
.social-facebook-page-category {
    color: #888;
    font-size: .66rem
}

.social-facebook-page-category {
    max-width: 130px;
    text-align: right
}

.social-facebook-selector-message {
    min-height: 18px;
    margin: 0 0 12px
}

.social-facebook-selector-message.is-error {
    color: #b42318
}

.social-facebook-selector-actions {
    justify-content: flex-end
}

.social-facebook-selector-actions .social-button {
    text-decoration: none
}

@media(max-width:650px) {
    .social-callback-page {
        min-height: calc(100vh - 52px);
        padding: 18px 12px
    }

    .social-callback-card {
        border-radius: 13px
    }

    .social-callback-content {
        padding: 30px 18px 25px
    }

    .social-callback-steps {
        grid-template-columns: 1fr
    }

    .social-callback-redirect {
        grid-template-columns: 1fr;
        text-align: center
    }

    .social-callback-redirect .social-button {
        grid-column: 1;
        grid-row: auto
    }

    .social-facebook-page-option {
        grid-template-columns: auto 40px minmax(0, 1fr)
    }

    .social-facebook-page-category {
        display: none
    }

    .social-facebook-selector-head,
    .social-facebook-selector-actions {
        align-items: stretch;
        flex-direction: column
    }

    .social-facebook-selector-actions .social-button {
        width: 100%
    }
}
