:root {
    --bg: #0c1222;
    --surface: #151d32;
    --border: #243050;
    --text: #e8edf7;
    --muted: #8b9ab8;
    --accent: #3d9cf0;
    --accent-hover: #5eb0f7;
    --danger-bg: #3a1f28;
    --danger-text: #f0b4c4;
    --success-bg: #1a3328;
    --success-text: #a8e6c5;
    --radius: 10px;
    --font: system-ui, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: radial-gradient(ellipse 120% 80% at 50% -20%, #1a2850 0%, var(--bg) 55%);
    color: var(--text);
    line-height: 1.5;
}

.shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 520px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.shell-marketing {
    max-width: 520px;
}

.top {
    margin-bottom: 2rem;
}

/* ——— Logged-in app: light theme, sidebar + main ——— */
body.app-shell {
    --bg: #eef1f7;
    --surface: #ffffff;
    --border: #dde3ed;
    --text: #1a2233;
    --muted: #5c6b82;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.1);
    --danger-bg: #fef2f2;
    --danger-text: #b91c1c;
    --success-bg: #ecfdf5;
    --success-text: #047857;
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.app-frame {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

.app-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 12px rgba(15, 23, 42, 0.04);
}

.app-sidebar-brand {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    padding: 0 1rem 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.75rem;
}

.app-sidebar-brand:hover {
    color: var(--accent);
}

.app-nav-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0 0.65rem;
}

.app-nav-block--sub {
    padding-left: 1rem;
    border-left: 2px solid var(--border);
    margin-left: 1rem;
}

.app-nav-heading {
    margin: 1rem 1rem 0.4rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.app-side-link {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--muted);
    text-decoration: none;
}

.app-side-link:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.app-side-link.is-active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

.app-side-link--sub {
    font-size: 0.875rem;
}

.app-sidebar-spacer {
    flex: 1;
    min-height: 1rem;
}

.app-sidebar-logout {
    margin: 0.5rem 0.65rem 0;
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
}

.app-sidebar-logout:hover {
    color: var(--danger-text);
    background: var(--danger-bg);
}

.app-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
}

.app-main-inner {
    flex: 1;
    padding: 1.75rem clamp(1rem, 3vw, 2.5rem);
    max-width: 960px;
    width: 100%;
}

.app-main-foot {
    padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
    font-size: 0.8125rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    background: var(--surface);
}

body.app-shell .panel {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

body.app-shell .lead {
    color: var(--muted);
}

body.app-shell .lead a {
    color: var(--accent);
}

body.app-shell .field label {
    color: var(--muted);
}

body.app-shell .field input,
body.app-shell .field textarea {
    background: #fafbfc;
    border-color: var(--border);
    color: var(--text);
}

body.app-shell .info-box {
    background: #f8fafc;
    border-color: var(--border);
    color: var(--muted);
}

body.app-shell .badge {
    background: #f1f5f9;
    border-color: var(--border);
    color: var(--text);
}

body.app-shell .badge--ok {
    background: var(--success-bg);
    color: var(--success-text);
    border-color: #a7f3d0;
}

body.app-shell .flash-error {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid #fecaca;
}

body.app-shell .flash-success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #a7f3d0;
}

body.app-shell .btn-secondary {
    border-color: var(--border);
    color: var(--muted);
}

@media (max-width: 768px) {
    .app-frame {
        flex-direction: column;
    }

    .app-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 0.75rem 0;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    }

    .app-sidebar-brand {
        border-bottom: none;
        margin-bottom: 0;
        padding: 0.25rem 1rem;
        flex: 1 1 auto;
    }

    .app-nav-heading {
        width: 100%;
        margin: 0.5rem 1rem 0;
    }

    .app-nav-block {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .app-nav-block--sub {
        border-left: none;
        margin-left: 0;
        padding-left: 0.65rem;
        width: 100%;
    }

    .app-sidebar-spacer {
        display: none;
    }

    .app-sidebar-logout {
        margin-left: auto;
    }
}

.link-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--muted);
}

.link-list a {
    color: var(--accent);
}

.info-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.info-box p {
    margin: 0;
}

.meta-line {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.8125rem;
    text-transform: capitalize;
}

.muted-inline {
    font-size: 0.85rem;
}

.field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    resize: vertical;
    min-height: 6rem;
}

.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(61, 156, 240, 0.25);
}

.brand {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}

.brand:hover {
    color: var(--accent);
}

.main {
    flex: 1;
}

.foot {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--muted);
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.panel h1 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.lead {
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: 0.9375rem;
}

.field {
    margin-bottom: 1.25rem;
}

.field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--muted);
}

.field input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
}

.field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(61, 156, 240, 0.25);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.1rem;
    border-radius: 8px;
    border: none;
    background: var(--accent);
    color: #0a0f18;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-secondary {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    color: var(--text);
    border-color: var(--muted);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.flash-error {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid #5c2a3a;
}

.flash-success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #2a5c45;
}

.landing {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

.landing p {
    color: var(--muted);
    margin: 0 0 1.5rem;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.auth-switch {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--muted);
}

.auth-switch a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.customer-select-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.customer-select-item {
    margin: 0;
}

.customer-select-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--panel-bg, #121820);
    color: var(--text);
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.customer-select-card:hover {
    border-color: var(--accent);
}

.customer-select-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.customer-select-card__logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-select-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-select-card__initials {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.customer-select-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.customer-select-card__name {
    font-weight: 600;
}

.customer-select-card__role {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* Editorial calendar & form (app shell) */
body.app-shell .panel--flush {
    padding: 0;
    overflow: hidden;
}

body.app-shell .panel--flush .cal-toolbar,
body.app-shell .panel--flush .cal-lead,
body.app-shell .panel--flush .cal-footer-actions {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

body.app-shell .panel--flush .cal-lead {
    padding-bottom: 0;
    margin-top: 0;
}

.cal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.75rem 0.5rem;
    flex-wrap: wrap;
}

.cal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    flex: 1 1 auto;
    text-align: center;
}

.cal-nav-btn {
    flex: 0 0 auto;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: #f1f5f9;
}

.cal-weekday {
    padding: 0.5rem 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-align: center;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: none;
}

.cal-cell {
    background: var(--surface);
    min-height: 7.5rem;
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cal-cell--pad {
    background: #f8fafc;
    min-height: 4rem;
}

.cal-cell--today {
    background: #eff6ff;
    box-shadow: inset 0 0 0 2px var(--accent);
}

.cal-cell-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.cal-day-num {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.cal-add {
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    color: var(--accent);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.cal-add:hover {
    background: var(--accent-soft);
}

.cal-cell-items {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 0;
}

.cal-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.25rem 0.35rem;
    border-radius: 6px;
    font-size: 0.75rem;
    text-decoration: none;
    color: var(--text);
    border-left: 3px solid var(--border);
    background: #f8fafc;
}

.cal-item:hover {
    background: #f1f5f9;
}

.cal-item--post {
    border-left-color: #2563eb;
}

.cal-item--reel {
    border-left-color: #7c3aed;
}

.cal-item--story {
    border-left-color: #ea580c;
}

.cal-item-time {
    font-weight: 600;
    color: var(--muted);
}

.cal-item-type {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.cal-item-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: var(--text);
}

.cal-footer-actions {
    padding: 1rem 1.75rem 1.5rem;
}

.editorial-back {
    margin-bottom: 0.5rem;
}

.editorial-back a {
    color: var(--accent);
    text-decoration: none;
}

.editorial-back a:hover {
    text-decoration: underline;
}

.field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.field--half {
    flex: 1 1 140px;
    margin-bottom: 1.25rem;
}

body.app-shell select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fafbfc;
    color: var(--text);
    font: inherit;
}

body.app-shell select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

body.app-shell .btn-danger {
    background: #dc2626;
    color: #fff;
    margin-left: auto;
}

body.app-shell .btn-danger:hover {
    background: #b91c1c;
}

/* Instagram settings: OAuth connection card */
body.app-shell .ig-connect-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

body.app-shell .ig-connect-heading,
body.app-shell .ig-form-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

body.app-shell .ig-connect-lead {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

body.app-shell .ig-connect-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius, 10px);
    max-width: 32rem;
}

body.app-shell .ig-connect-card__avatar-wrap {
    flex-shrink: 0;
}

body.app-shell .ig-connect-card__avatar {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

body.app-shell .ig-connect-card__avatar--placeholder {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

body.app-shell .ig-connect-card__body {
    flex: 1;
    min-width: 0;
}

body.app-shell .ig-connect-card__name {
    font-weight: 600;
    font-size: 0.95rem;
}

body.app-shell .ig-connect-card__username {
    font-size: 0.875rem;
    color: var(--muted);
}

body.app-shell .ig-connect-card__actions {
    margin: 0;
    margin-left: auto;
}

body.app-shell .ig-connect-card__actions .btn-danger {
    margin-left: 0;
}

body.app-shell .ig-editorial-form {
    margin-top: 0.5rem;
}

/* Admin: customer groups */
body.app-shell--admin .admin-form-section {
    margin-bottom: 0.5rem;
}

body.app-shell--admin .admin-table-actions {
    white-space: nowrap;
    text-align: right;
}

body.app-shell--admin .admin-table-actions a {
    margin-right: 0.75rem;
}

body.app-shell--admin .admin-inline-form {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

body.app-shell--admin .admin-btn-compact {
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
}

.impersonation-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.65rem 1rem;
    margin: 0 0 1rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    color: #78350f;
    font-size: 0.9rem;
}

.impersonation-banner--danger {
    background: #fee2e2;
    border-color: #f87171;
    color: #7f1d1d;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge--active {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
}

.status-badge--pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fde68a;
}

.status-badge--suspended {
    background: rgba(248, 113, 113, 0.2);
    color: #fecaca;
}

.admin-actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
}

.admin-actions-cell--stack {
    flex-direction: column;
    align-items: stretch;
    min-width: 12rem;
}

.admin-inline-form {
    display: inline;
}

.admin-reject-form {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.admin-reject-textarea {
    width: 100%;
    max-width: 16rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--panel-bg, #121820);
    color: var(--text);
    font: inherit;
    font-size: 0.8125rem;
    resize: vertical;
}

.admin-back-link {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.admin-back-link a {
    color: var(--accent);
    text-decoration: none;
}

.admin-back-link a:hover {
    text-decoration: underline;
}

.admin-impersonate-form {
    margin-top: 0.75rem;
}

.impersonation-banner__btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
}

body.app-shell .impersonation-banner .btn-secondary {
    border-color: #d97706;
    color: #92400e;
}

body.app-shell .impersonation-banner .btn-secondary:hover {
    color: #451a03;
    border-color: #92400e;
}

@media (max-width: 900px) {
    .cal-cell {
        min-height: 5rem;
    }

    .cal-item-title {
        display: none;
    }
}

/* Planned posts list / grid */
.posts-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.posts-view-toggle {
    display: inline-flex;
    gap: 0.35rem;
}

body.app-shell .posts-view-toggle .btn-secondary.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.posts-table-wrap {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.posts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.posts-table th,
.posts-table td {
    padding: 0.6rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.posts-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.posts-table a {
    color: var(--accent);
}

.posts-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.posts-type--post {
    color: #2563eb;
}

.posts-type--reel {
    color: #7c3aed;
}

.posts-type--story {
    color: #ea580c;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.posts-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fafbfc;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.posts-card:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.posts-card-date {
    font-size: 0.8rem;
    color: var(--muted);
}

.posts-card-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.posts-card-title {
    font-weight: 600;
    line-height: 1.3;
}

.posts-card-status {
    font-size: 0.8rem;
    color: var(--muted);
}

body.app-shell code {
    font-size: 0.85em;
    background: #f1f5f9;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

/* Dashboard stats + quota (admin + customer) */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fafbfc;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.stat-card__value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.stat-card__label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.35rem;
}

.h2-spaced {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
}

.dashboard-project-list {
    margin: 0;
    padding-left: 1.15rem;
}

body.app-shell--admin .dashboard-project-list {
    color: var(--text);
}

.project-dashboard-card {
    margin-top: 1rem;
}

.dashboard-muted {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 0.5rem;
}

.dashboard-account-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dashboard-account-item {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
}

.dashboard-account-item:last-child {
    border-bottom: none;
}

.dashboard-account-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: baseline;
}

.dashboard-account-id {
    font-weight: 600;
}

.dashboard-account-meta {
    font-size: 0.85rem;
    color: var(--muted);
}

.dashboard-foot {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

.quota-bar {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    margin-top: 0.45rem;
    overflow: hidden;
}

.quota-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #2563eb);
    border-radius: 4px;
    min-width: 0;
    transition: width 0.2s ease;
}

.quota-bar--warning .quota-bar__fill {
    background: linear-gradient(90deg, #ea580c, #dc2626);
}

/* Customer account detail */
.account-detail-page {
    max-width: 960px;
}

.account-detail-back {
    margin: 0 0 1rem;
}

.account-detail-back a {
    color: var(--accent);
    text-decoration: none;
}

.account-detail-back a:hover {
    text-decoration: underline;
}

.account-profile-card__main {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-start;
}

.account-profile-card__avatar-wrap {
    flex-shrink: 0;
}

.account-profile-card__avatar,
.account-profile-card__avatar--ph {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    background: #f1f5f9;
}

.account-profile-card__avatar--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--muted);
}

.account-profile-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    line-height: 1.25;
}

.account-profile-card__handle {
    font-weight: 400;
    font-size: 0.95rem;
    margin-left: 0.35rem;
}

.account-badge {
    display: inline-block;
    margin: 0.35rem 0 0.5rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 6px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.account-profile-card__bio {
    margin: 0.5rem 0 0.75rem;
    max-width: 42rem;
}

.account-profile-card__links a {
    color: var(--accent);
}

.account-profile-card__sync {
    margin: 0.75rem 0 0;
}

.account-detail-sync-btn {
    margin-left: 0.75rem;
    vertical-align: middle;
}

.account-kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.account-kpi-card__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.account-kpi-card__value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.account-kpi-card__delta {
    font-size: 0.8rem;
    margin-top: 0.35rem;
    color: var(--muted);
}

.account-kpi-card__delta.is-up {
    color: #15803d;
}

.account-kpi-card__delta.is-down {
    color: #b91c1c;
}

.account-chart-section {
    margin-top: 1.25rem;
}

.account-chart-wrap {
    position: relative;
    height: 280px;
    margin-top: 0.5rem;
}

.account-posts-section {
    margin-top: 1.25rem;
}

/* ——— Follower insights dashboard ——— */
.follower-insights-page {
    max-width: 960px;
}

.follower-insights-header .lead {
    margin-bottom: 0;
}

.fi-account-badge {
    display: inline-block;
    margin-right: 0.5rem;
    padding: 0.15rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
}

.follower-insights-kpis {
    margin-top: 1rem;
}

.follower-insights-tabs-wrap {
    margin-top: 1.25rem;
}

.follower-insights-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.fi-tab {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.fi-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.fi-tab.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.follower-insights-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fi-days-filter {
    display: flex;
    gap: 0.35rem;
}

.fi-day-btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.fi-table-wrap {
    overflow-x: auto;
}

.fi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.fi-table th,
.fi-table td {
    padding: 0.6rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.fi-table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fi-th-avatar {
    width: 3.5rem;
}

.fi-cell-avatar {
    width: 3.5rem;
}

.fi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.fi-avatar--ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.fi-actions {
    white-space: nowrap;
}

.fi-actions .btn {
    margin-right: 0.25rem;
    margin-bottom: 0.15rem;
}

.btn-sm {
    padding: 0.25rem 0.55rem;
    font-size: 0.8rem;
}

.fi-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    vertical-align: middle;
}

.fi-badge--warn {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.fi-badge--alert {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid #fecaca;
}

/* ——— Media crop tool (Cropper.js) ——— */
.crop-tool-page {
    max-width: 1100px;
}

.crop-tool-layout {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 320px);
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 900px) {
    .crop-tool-layout {
        grid-template-columns: 1fr;
    }
}

.crop-tool-canvas-wrap {
    max-height: 70vh;
    overflow: hidden;
    background: #0f172a;
    border-radius: var(--radius);
}

body.app-shell .crop-tool-canvas-wrap {
    background: #e8ecf4;
}

.crop-tool-canvas-wrap img {
    max-width: 100%;
}

.crop-tool-aside-title {
    margin-top: 0;
}

.crop-tool-ratio-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.crop-ratio-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
    justify-content: flex-start;
}

.crop-ratio-btn.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft);
}

.crop-ratio-preview {
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
}

.crop-ratio-preview--1-1 {
    width: 28px;
    height: 28px;
}

.crop-ratio-preview--4-5 {
    width: 22px;
    height: 28px;
}

.crop-ratio-preview--191 {
    width: 34px;
    height: 18px;
}

.crop-tool-info.panel--inset,
.crop-tool-hint.panel--inset {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--accent-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.crop-tool-info-line {
    margin: 0.25rem 0 0;
}

.crop-tool-preview-block {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.crop-tool-ba {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.crop-tool-preview-img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    object-fit: contain;
    background: var(--accent-soft);
}

/* ——— Post history ——— */
.post-history-page {
    max-width: 1100px;
}

.post-history-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.post-history-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
}

.post-history-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.post-history-label input,
.post-history-label select {
    min-width: 10rem;
}

.post-history-label--grow {
    flex: 1 1 200px;
}

.post-history-label--grow input {
    width: 100%;
}

.post-history-toolbar .btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.post-history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 900px) {
    .post-history-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .post-history-grid {
        grid-template-columns: 1fr;
    }
}

.post-history-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}

.post-history-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #0f172a;
}

body.app-shell .post-history-card__media {
    background: #e2e8f0;
}

.post-history-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-history-card__overlay {
    position: absolute;
    inset: 0;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 55%);
    color: #f8fafc;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-size: 0.8rem;
}

.post-history-card__media:hover .post-history-card__overlay,
.post-history-card__media:focus .post-history-card__overlay {
    opacity: 1;
}

.post-history-card__cap {
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-history-card__meta,
.post-history-card__date {
    margin: 0;
}

.post-history-card__ph {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.post-history-table-wrap {
    overflow-x: auto;
}

.post-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.post-history-table th,
.post-history-table td {
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    text-align: left;
}

.post-history-table th {
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.post-history-th-thumb {
    width: 4.5rem;
}

.post-history-list-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.post-history-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--accent-soft);
    color: var(--accent);
}

.post-history-badge--published {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.post-history-badge--synced-from-platform {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.post-history-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* ——— Grid preview (Instagram planner) ——— */
.grid-preview-page .grid-preview-header {
    margin-bottom: 1rem;
}

.grid-preview-sub {
    margin: 0.25rem 0 0;
}

.grid-preview-hint {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.grid-preview-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 960px) {
    .grid-preview-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

.grid-preview-canvas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 420px;
}

.grid-preview-cell {
    position: relative;
    aspect-ratio: 1;
    min-width: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--border);
    border: 2px solid transparent;
}

.grid-preview-cell--grouped {
    border-color: var(--grid-group-color, var(--accent));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.grid-preview-cell--published {
    cursor: default;
}

.grid-preview-cell--scheduled {
    cursor: grab;
}

.grid-preview-cell--scheduled:active {
    cursor: grabbing;
}

.grid-preview-cell--ghost {
    opacity: 0.45;
}

.grid-preview-cell--empty {
    background: repeating-linear-gradient(
        -45deg,
        var(--surface),
        var(--surface) 6px,
        var(--border) 6px,
        var(--border) 7px
    );
    opacity: 0.85;
}

.grid-preview-cell__inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-preview-cell__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-preview-cell__ph {
    font-size: 0.7rem;
    color: var(--muted);
    padding: 0.5rem;
    text-align: center;
}

.grid-preview-cell__empty-label {
    color: var(--muted);
    font-size: 1.25rem;
}

.grid-preview-cell__clock {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.grid-preview-cell__clock svg {
    width: 16px;
    height: 16px;
}

.grid-preview-cell--placeholder .grid-preview-cell__placeholder-inner {
    border: 2px dashed var(--border);
    border-radius: calc(var(--radius) - 2px);
    background: var(--surface);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.grid-preview-cell__plus {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1;
}

.grid-preview-msg {
    min-height: 1.25rem;
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

.grid-preview-msg--ok {
    color: var(--success-text);
}

.grid-preview-msg--err {
    color: var(--danger-text);
}

.grid-preview-composer__size {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin: 0.75rem 0;
}

.grid-preview-composer__size label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.grid-preview-composer__name,
.grid-preview-composer__color {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.grid-preview-composer__name input,
.grid-preview-composer__color input {
    width: 100%;
    max-width: 100%;
}

.grid-preview-composer__color input[type="color"] {
    height: 40px;
    padding: 4px;
    cursor: pointer;
}

.grid-preview-mini {
    display: grid;
    gap: 4px;
    margin: 0.5rem 0 0;
    max-width: 180px;
}

.grid-preview-mini__cell {
    aspect-ratio: 1;
    min-width: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--border);
}

.grid-preview-mini__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-preview-library-heading {
    margin: 1.25rem 0 0.5rem;
    font-size: 1rem;
}

.grid-preview-library {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
    padding: 2px;
}

.grid-preview-lib-item {
    display: block;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--border);
    aspect-ratio: 1;
}

.grid-preview-lib-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-preview-lib-item:hover {
    border-color: var(--accent);
}

.grid-preview-lib-item.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft);
}

.grid-preview-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ——— Media library ——— */
.media-library-page .media-library-sub {
    margin: 0.25rem 0 0;
}

.media-library-upload {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 1rem;
}

.media-library-upload:hover,
.media-library-upload:focus-within {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.media-library-upload.is-dragover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.media-library-file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.media-library-upload__title {
    margin: 0 0 0.35rem;
}

.media-library-upload__formats,
.media-library-upload__rejected {
    font-size: 0.875rem;
    margin: 0.35rem 0 0;
}

.media-library-page .text-ok {
    color: var(--success-text);
}

.media-library-page .text-warn {
    color: #b45309;
}

.media-upload-queue {
    margin-bottom: 1rem;
}

.media-upload-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 0.5rem 0.75rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.media-upload-row__name {
    font-size: 0.85rem;
    grid-column: 1 / -1;
}

.media-upload-row__bar {
    grid-column: 1 / -1;
    height: 6px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.media-upload-row__fill {
    height: 100%;
    width: 0;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.media-upload-row__state {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: var(--muted);
}

.media-upload-row--ok .media-upload-row__fill {
    background: var(--success-text);
}

.media-upload-row--err .media-upload-row__fill {
    background: var(--danger-text);
}

.media-library-filters__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
}

.media-library-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.media-library-label input,
.media-library-label select {
    min-width: 10rem;
}

.media-library-masonry {
    column-count: 2;
    column-gap: 1rem;
}

@media (min-width: 720px) {
    .media-library-masonry {
        column-count: 3;
    }
}

@media (min-width: 1100px) {
    .media-library-masonry {
        column-count: 4;
    }
}

.media-library-card {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
}

.media-library-card__thumb-wrap {
    position: relative;
    background: var(--border);
}

.media-library-card__thumb {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.media-library-card__badges {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    pointer-events: none;
}

.media-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
}

.media-badge--ratio.media-badge--warn {
    background: rgba(180, 83, 9, 0.92);
}

.media-badge--ready {
    background: rgba(4, 120, 87, 0.92);
    padding: 4px 6px;
}

.media-badge--warnico {
    background: rgba(202, 138, 4, 0.95);
    color: #1a1a1a;
    padding: 4px 6px;
}

.media-badge__icon {
    display: block;
}

.media-library-card__body {
    padding: 0.65rem 0.75rem 0.75rem;
}

.media-library-card__name {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    word-break: break-word;
}

.media-library-card__meta {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
}

.media-library-card__usage {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
}

.media-library-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

body.app-shell .media-library-card__actions .btn-danger {
    margin-left: 0;
}

.media-library-toast {
    min-height: 1.25rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.media-library-toast--ok {
    color: var(--success-text);
}

.media-library-toast--err {
    color: var(--danger-text);
}
