.push-premium-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.push-premium-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.push-premium-subtitle {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.9375rem;
    max-width: 42rem;
}

.push-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    min-width: 360px;
}

@media (max-width: 640px) {
    .push-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.push-stat-card {
    border-radius: 16px;
    padding: 0.875rem 1rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.push-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.push-stat-value {
    font-size: 1.375rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.2;
}

.push-compose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .push-compose-grid {
        grid-template-columns: 1fr;
    }
}

.push-compose-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.push-compose-head {
    border-radius: 16px 16px 0 0;
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: #101828;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.push-compose-body {
    padding: 1.25rem;
}

.push-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

:is(#push-ui, #push-audience-modal) .push-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: none;
    border-radius: 999px;
    padding: 0 1.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    background: #7c3aed;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

:is(#push-ui, #push-audience-modal) .push-btn-primary:hover:not(:disabled) {
    background: #6d28d9;
}

.push-btn-ghost {
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #344054;
    cursor: pointer;
}

.push-history-card {
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.push-segment-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f2f4f7;
    color: #344054;
}

.push-status-sent {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.push-status-draft {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

html.dark .push-stat-card,
html.dark .push-compose-card,
html.dark .push-history-card {
    background: #111827;
}

html.dark .push-stat-value,
html.dark .push-compose-head {
    color: #f9fafb;
}

.push-status-scheduled {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
}

.push-status-failed {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.push-birthday-card {
    border-radius: 20px;
    background: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.push-birthday-head {
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 100%);
}

.push-birthday-heading {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 0;
}

.push-birthday-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    color: #fff;
    background: linear-gradient(135deg, #ec4899 0%, #7c3aed 100%);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.28);
}

.push-birthday-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    color: #101828;
}

.push-birthday-sub {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    max-width: 38rem;
}

.push-switch-form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.375rem;
    margin: 0;
}

#push-ui .push-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

#push-ui .push-switch:hover,
#push-ui .push-switch:focus {
    background: transparent;
    box-shadow: none;
}

#push-ui .push-switch:focus-visible {
    outline: none;
}

#push-ui .push-switch:focus-visible .push-switch-track {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

#push-ui .push-switch:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#push-ui .push-switch-form.is-busy .push-switch {
    opacity: 1;
    cursor: progress;
}

.push-switch-form.is-busy .push-switch-knob {
    opacity: 0.75;
}

.push-switch-error {
    margin: 0;
    max-width: 18rem;
    font-size: 0.75rem;
    line-height: 1.3;
    color: #dc2626;
    text-align: right;
}

.push-switch-error[hidden] {
    display: none;
}

.push-switch-track {
    position: relative;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.push-switch-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease;
}

.push-switch-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.push-switch-text strong {
    font-size: 0.9375rem;
    color: #475569;
}

.push-switch-text small {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.push-switch.is-on .push-switch-track {
    background: #10b981;
}

.push-switch.is-on .push-switch-knob {
    transform: translateX(22px);
}

.push-switch.is-on .push-switch-text strong {
    color: #047857;
}

.push-birthday-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem 1.5rem 0;
}

@media (max-width: 720px) {
    .push-birthday-stats {
        grid-template-columns: 1fr;
    }
}

.push-birthday-stat {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
}

.push-birthday-stat-label {
    font-size: 0.75rem;
    color: #64748b;
}

.push-birthday-stat strong {
    font-size: 1.375rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.2;
}

.push-birthday-stat small {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.push-birthday-errors {
    margin: 1rem 1.5rem 0;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.8125rem;
}

.push-birthday-errors[hidden] {
    display: none;
}

#push-ui .push-btn-primary[data-bd-save]:disabled {
    opacity: 0.7;
    cursor: progress;
}

.push-birthday-body {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 1.5rem;
    padding: 1.25rem 1.5rem 1.5rem;
}

@media (max-width: 1024px) {
    .push-birthday-body {
        grid-template-columns: 1fr;
    }
}

.push-birthday-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.push-birthday-row {
    display: grid;
    grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .push-birthday-row {
        grid-template-columns: 1fr;
    }
}

.push-birthday-vars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

:is(#push-ui, #push-audience-modal) .push-var-chip {
    display: inline-flex;
    align-items: center;
    height: auto;
    border: none;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    background: #ede9fe;
    color: #6d28d9;
    cursor: pointer;
}

:is(#push-ui, #push-audience-modal) .push-var-chip:hover {
    background: #ddd6fe;
}

.push-promo-box {
    border-radius: 16px;
    background: #faf5ff;
    padding: 1rem 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.push-promo-toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.push-promo-toggle input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #7c3aed;
    flex-shrink: 0;
}

.push-promo-toggle-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.push-promo-toggle-text strong {
    font-size: 0.9375rem;
    color: #101828;
}

.push-promo-toggle-text small {
    font-size: 0.75rem;
    color: #64748b;
}

.push-promo-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    transition: opacity 0.15s ease;
}

@media (max-width: 640px) {
    .push-promo-fields {
        grid-template-columns: 1fr;
    }
}

.push-promo-box.is-off .push-promo-fields {
    opacity: 0.45;
}

.push-birthday-preview {
    align-self: start;
    position: sticky;
    top: 1rem;
}

.push-birthday-preview-note {
    text-align: center;
    margin-top: 1rem;
}

html.dark .push-birthday-card {
    background: #111827;
}

html.dark .push-birthday-head {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(124, 58, 237, 0.14) 100%);
}

html.dark .push-birthday-title,
html.dark .push-birthday-stat strong,
html.dark .push-promo-toggle-text strong {
    color: #f9fafb;
}

html.dark .push-birthday-stat {
    background: #1f2937;
}

html.dark .push-promo-box {
    background: rgba(124, 58, 237, 0.1);
}

html.dark .push-switch-text strong {
    color: #cbd5e1;
}

html.dark .push-switch.is-on .push-switch-text strong {
    color: #34d399;
}

html.dark .push-switch-error {
    color: #f87171;
}

html.dark .push-birthday-errors {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

/* ===== Shared ===== */
.push-hint {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

.push-hint[hidden] {
    display: none;
}

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

.push-ico {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    display: inline-block;
}

.push-root [data-tip],
.push-modal [data-tip] {
    position: relative;
}

.push-root [data-tip]::after,
.push-modal [data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 7px);
    transform: translate(-50%, 3px);
    padding: 5px 9px;
    border-radius: 8px;
    background: #101828;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s ease, transform 0.12s ease;
    z-index: 40;
}

.push-root [data-tip]:hover::after,
.push-modal [data-tip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ===== Chips (segment + send mode,
no native controls) ===== */
.push-chip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
}

.push-chip-row--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

:is(#push-ui, #push-audience-modal) .push-chip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 46px;
    padding: 0 1rem;
    border-radius: 14px;
    background: #f2f4f7;
    color: #475467;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease, color 0.15s ease;
}

:is(#push-ui, #push-audience-modal) .push-chip .push-ico {
    font-size: 1rem;
}

:is(#push-ui, #push-audience-modal) .push-chip:hover {
    background: #eaecf0;
}

:is(#push-ui, #push-audience-modal) .push-chip.is-checked,
:is(#push-ui, #push-audience-modal) .push-chip.is-checked * {
    color: #fff !important;
}

:is(#push-ui, #push-audience-modal) .push-chip.is-checked {
    background: #7c3aed;
}

:is(#push-ui, #push-audience-modal) .push-chip:has(input:focus-visible) {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

/* ===== Schedule ===== */
.push-schedule {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.push-schedule-panel {
    display: grid;
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: #f8f7ff;
}

.push-schedule-panel[hidden] {
    display: none;
}

@media (max-width: 640px) {
    .push-schedule-panel {
        grid-template-columns: 1fr;
    }
}

.push-dt-field {
    position: relative;
}

.push-dt-ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #7c3aed;
    pointer-events: none;
    z-index: 1;
}

#push-ui .push-dt-field .ta-input.push-dt-input {
    padding-left: 2.4rem !important;
    background: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.push-dt-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

:is(#push-ui, #push-audience-modal) .push-dt-preset {
    border: 0;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    background: #ede9fe;
    color: #6d28d9;
    cursor: pointer;
}

:is(#push-ui, #push-audience-modal) .push-dt-preset:hover {
    background: #ddd6fe;
}

.push-countdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border-radius: 14px;
    background: #fff;
}

.push-countdown-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #667085;
}

.push-countdown.is-error .push-countdown-label {
    color: #d92d20;
}

.push-countdown-units {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.push-countdown-units[hidden],
.push-cd-unit[hidden] {
    display: none;
}

.push-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    padding: 0.45rem 0.5rem 0.4rem;
    border-radius: 12px;
    background: #f5f3ff;
}

.push-cd-unit b {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.1;
    color: #5b21b6;
    font-variant-numeric: tabular-nums;
}

.push-cd-unit small {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #7c3aed;
}

.push-countdown-at {
    font-size: 0.75rem;
    color: #98a2b3;
}

.push-form-error {
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: #fef3f2;
    color: #d92d20;
    font-size: 0.8125rem;
    font-weight: 600;
}

.push-form-error[hidden] {
    display: none;
}

:is(#push-ui, #push-audience-modal) .push-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== iOS lock screen preview ===== */
.push-preview-body-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.push-preview-segment {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.8125rem;
    color: #667085;
}

.ios-phone {
    width: 300px;
    max-width: 100%;
    aspect-ratio: 300 / 620;
    margin: 0 auto;
    padding: 10px;
    border-radius: 52px;
    background: #1c1c1e;
    box-shadow: inset 0 0 0 2px #3a3a3c, 0 16px 36px rgba(15, 23, 42, 0.16);
}

.ios-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 42px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Outfit, system-ui, sans-serif;
    background:
        radial-gradient(120% 70% at 15% 0%, #c4b5fd 0%, rgba(196, 181, 253, 0) 55%),
        radial-gradient(90% 60% at 100% 100%, #f0abfc 0%, rgba(240, 171, 252, 0) 60%),
        linear-gradient(170deg, #3b0f8c 0%, #6d28d9 48%, #a78bfa 100%);
}

.ios-island {
    position: absolute;
    top: 11px;
    left: 50%;
    width: 92px;
    height: 27px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: #000;
    z-index: 2;
}

.ios-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 6px 24px 0 32px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ios-status-icons {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ios-status-ico {
    width: 14px;
    height: 14px;
}

.ios-status-battery {
    width: 20px;
    height: 20px;
}

.ios-lock {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    text-align: center;
}

.ios-lock-ico {
    width: 13px;
    height: 13px;
    margin-bottom: 6px;
    opacity: 0.92;
}

.ios-lock-date {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

.ios-lock-clock {
    margin-top: 2px;
    font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "SF Pro Display", Outfit, system-ui, sans-serif;
    font-size: 68px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.ios-stack {
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 96px;
}

.ios-notif {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 11px 10px 9px;
    border-radius: 18px;
    background: rgba(246, 246, 248, 0.74);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    color: #000;
}

.ios-notif-icon {
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    border-radius: 7px;
    object-fit: cover;
}

.ios-notif-content {
    flex: 1;
    min-width: 0;
}

.ios-notif-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ios-notif-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ios-notif-time {
    flex-shrink: 0;
    font-size: 11px;
    color: rgba(60, 60, 67, 0.6);
}

.ios-notif-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 16px;
    letter-spacing: -0.01em;
    word-break: break-word;
    white-space: pre-line;
}

.ios-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    display: flex;
    justify-content: space-between;
    padding: 0 38px;
}

.ios-round-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.ios-round-ico {
    width: 19px;
    height: 19px;
}

.ios-home-indicator {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 118px;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 3px;
    background: #fff;
}

/* ===== History feed ===== */
.push-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f2f4f7;
}

@keyframes push-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.push-history-body {
    padding: 1.25rem;
    background: linear-gradient(180deg, #f7f5ff 0%, #f4f6fb 100%);
}

.push-feed {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

@media (max-width: 1080px) {
    .push-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
    .push-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .push-feed { grid-template-columns: 1fr; }
}

.push-feed-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

:is(#push-ui, #push-audience-modal) .push-feed-notif {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    width: 100%;
    padding: 10px 12px 11px 10px;
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 4px 14px rgba(16, 24, 40, 0.06);
    color: #000;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

:is(#push-ui, #push-audience-modal) .push-feed-notif:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(16, 24, 40, 0.06), 0 10px 24px rgba(16, 24, 40, 0.08);
}

:is(#push-ui, #push-audience-modal) .push-feed-notif:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

:is(#push-ui, #push-audience-modal) .push-feed-item.is-open .push-feed-notif {
    box-shadow: 0 0 0 2px #7c3aed, 0 10px 24px rgba(16, 24, 40, 0.08);
}

.push-feed-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

.push-feed-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Outfit, system-ui, sans-serif;
}

.push-feed-top {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.push-feed-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.push-feed-time {
    flex-shrink: 0;
    font-size: 12px;
    color: rgba(60, 60, 67, 0.6);
    font-variant-numeric: tabular-nums;
}

.push-feed-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 18px;
    color: #1d1d1f;
    word-break: break-word;
}

.push-feed-item.is-open .push-feed-body {
    display: block;
    white-space: pre-line;
}

.push-feed-item.is-open .push-feed-title {
    white-space: normal;
}

.push-feed-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: #667085;
}

.push-feed-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.push-feed-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #98a2b3;
}

.push-feed-item.is-sent .push-feed-status { color: #067647; }
.push-feed-item.is-sent .push-feed-dot { background: #17b26a; }
.push-feed-item.is-scheduled .push-feed-status { color: #6d28d9; }
.push-feed-item.is-scheduled .push-feed-dot { background: #7c3aed; }
.push-feed-item.is-pending .push-feed-status { color: #b54708; }
.push-feed-item.is-pending .push-feed-dot { background: #f79009; animation: push-pulse 1.2s ease-in-out infinite; }
.push-feed-item.is-failed .push-feed-status { color: #b42318; }
.push-feed-item.is-failed .push-feed-dot { background: #f04438; }

.push-feed-date,
.push-feed-countdown {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.push-feed-countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6d28d9;
}

.push-feed-countdown .push-ico {
    font-size: 11px;
}

.push-feed-countdown.is-due {
    color: #b54708;
}

.push-feed-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 5px 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
}

.push-feed-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 5px 0 4px;
    border-radius: 10px;
    cursor: default;
    transition: background 0.12s ease;
}

.push-feed-stat .push-ico {
    font-size: 15px;
}

.push-feed-stat b {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    color: #101828;
    font-variant-numeric: tabular-nums;
}

.push-feed-stat:hover {
    background: #fff;
}

.push-feed-stat:nth-child(1) .push-ico { color: #7c3aed; }
.push-feed-stat:nth-child(2) .push-ico { color: #0ba5ec; }
.push-feed-stat:nth-child(3) .push-ico { color: #f79009; }
.push-feed-stat:nth-child(4) .push-ico { color: #17b26a; }
.push-feed-stat:nth-child(5) .push-ico { color: #ee46bc; }

.push-feed-detail {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0.75rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 4px 14px rgba(16, 24, 40, 0.06);
    animation: push-drop 0.18s ease-out;
}

.push-feed-detail[hidden] {
    display: none;
}

@keyframes push-drop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.push-feed-detail-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.push-feed-detail-rows div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.push-feed-detail-rows span {
    color: #667085;
}

.push-feed-detail-rows strong {
    color: #101828;
    font-weight: 600;
    text-align: right;
}

.push-feed-audience {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

:is(#push-ui, #push-audience-modal) .push-aud-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: #f8f7ff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

:is(#push-ui, #push-audience-modal) .push-aud-btn:hover:not(:disabled) {
    background: #ede9fe;
}

:is(#push-ui, #push-audience-modal) .push-aud-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.push-aud-ico {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    background: #fff;
    font-size: 14px;
}

:is(#push-ui, #push-audience-modal) .push-aud-btn[data-audience-open="received"] .push-aud-ico { color: #0ba5ec; }
:is(#push-ui, #push-audience-modal) .push-aud-btn[data-audience-open="opened"] .push-aud-ico { color: #f79009; }

.push-aud-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.push-aud-text small {
    font-size: 11px;
    color: #667085;
}

.push-aud-text strong {
    font-size: 15px;
    font-weight: 800;
    color: #101828;
    font-variant-numeric: tabular-nums;
}

.push-aud-arrow {
    font-size: 14px;
    color: #98a2b3;
}

.push-feed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.push-feed-actions form {
    flex: 1 1 auto;
    margin: 0;
}

:is(#push-ui, #push-audience-modal) .push-feed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease;
}

:is(#push-ui, #push-audience-modal) .push-feed-btn .push-ico {
    font-size: 12px;
}

:is(#push-ui, #push-audience-modal) .push-feed-btn.is-primary {
    background: #7c3aed;
    color: #fff;
}

:is(#push-ui, #push-audience-modal) .push-feed-btn.is-primary:hover {
    background: #6d28d9;
}

:is(#push-ui, #push-audience-modal) .push-feed-btn.is-danger {
    background: #fef3f2;
    color: #d92d20;
}

:is(#push-ui, #push-audience-modal) .push-feed-btn.is-danger:hover {
    background: #fee4e2;
}

.push-feed-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 3rem 1rem;
    font-size: 0.875rem;
    color: #98a2b3;
}

.push-feed-empty-ico {
    font-size: 28px;
    color: #c4b5fd;
}

.push-feed-pager {
    margin-top: 1.25rem;
}

/* ===== History source tabs + summary ===== */
.push-history-head {
    flex-wrap: wrap;
}

.push-history-head .ta-card-title {
    white-space: nowrap;
}

.push-src-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
    padding: 4px;
    border-radius: 14px;
    background: #f2f4f7;
    overflow-x: auto;
    scrollbar-width: none;
}

.push-src-tabs::-webkit-scrollbar {
    display: none;
}

#push-ui .push-src-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 12px 0 14px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #475467;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s ease, color 0.15s ease;
}

#push-ui .push-src-tab .push-ico {
    font-size: 14px;
}

#push-ui .push-src-tab em {
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

#push-ui .push-src-tab:hover {
    background: #eaecf0;
    color: #101828;
}

#push-ui .push-src-tab.is-active,
#push-ui .push-src-tab.is-active * {
    color: #fff !important;
}

#push-ui .push-src-tab.is-active {
    background: #7c3aed;
}

#push-ui .push-src-tab.is-active em {
    background: rgba(255, 255, 255, 0.22);
}

#push-ui .push-src-tab:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.push-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 1080px) {
    .push-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .push-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.push-summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.75rem 0.875rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.push-summary-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 16px;
}

.push-summary-ico.is-count { background: #f4f3ff; color: #6d28d9; }
.push-summary-ico.is-sent { background: #f4f3ff; color: #7c3aed; }
.push-summary-ico.is-received { background: #f0f9ff; color: #0ba5ec; }
.push-summary-ico.is-opened { background: #fffaeb; color: #f79009; }
.push-summary-ico.is-ctr { background: #ecfdf3; color: #17b26a; }
.push-summary-ico.is-orders { background: #fdf2fa; color: #ee46bc; }

.push-summary-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.push-summary-text small {
    font-size: 11.5px;
    font-weight: 600;
    color: #667085;
}

.push-summary-text strong {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 6px;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.2;
    color: #101828;
    font-variant-numeric: tabular-nums;
}

.push-summary-text em {
    font-size: 11.5px;
    font-style: normal;
    font-weight: 600;
    color: #667085;
}

.push-history-body.is-loading .push-summary,
.push-history-body.is-loading .push-feed,
.push-history-body.is-loading .push-feed-pager {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

.push-feed-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0 4px;
    font-size: 11.5px;
    font-weight: 600;
}

.push-feed-type {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f4f3ff;
    color: #6d28d9;
    white-space: nowrap;
}

.push-feed-who {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: #475467;
    text-decoration: none;
}

.push-feed-who span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.push-feed-who .push-ico {
    flex-shrink: 0;
    font-size: 12px;
    color: #98a2b3;
}

a.push-feed-who:hover {
    color: #7c3aed;
}

.push-feed-detail-rows strong a {
    color: #7c3aed;
    text-decoration: none;
}

.push-feed-detail-rows strong a:hover {
    text-decoration: underline;
}

/* ===== Audience modal ===== */
html.push-modal-open {
    overflow: hidden;
}

.push-modal {
    position: fixed;
    inset: 0;
    z-index: 1000050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.push-modal[hidden] {
    display: none;
}

.push-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.push-modal-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1040px, 100%);
    max-height: min(760px, calc(100vh - 3rem));
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.25);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.push-modal.is-visible .push-modal-backdrop {
    opacity: 1;
}

.push-modal.is-visible .push-modal-dialog {
    opacity: 1;
    transform: none;
}

.push-modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f2f4f7;
}

.push-modal-ico {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 13px;
    font-size: 18px;
    background: #f0f9ff;
    color: #0ba5ec;
}

.push-modal-ico[data-kind="opened"] {
    background: #fffaeb;
    color: #f79009;
}

.push-modal-heading {
    flex: 1;
    min-width: 0;
}

.push-modal-heading h3 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    color: #101828;
}

.push-modal-heading p {
    margin: 2px 0 0;
    overflow: hidden;
    font-size: 0.8125rem;
    color: #667085;
    white-space: nowrap;
    text-overflow: ellipsis;
}

:is(#push-ui, #push-audience-modal) .push-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 0;
    border-radius: 10px;
    background: #f2f4f7;
    color: #475467;
    font-size: 20px;
    cursor: pointer;
}

:is(#push-ui, #push-audience-modal) .push-modal-close:hover {
    background: #eaecf0;
}

.push-modal-body {
    flex: 1;
    min-height: 200px;
    overflow-y: auto;
    padding: 1.25rem;
    background: #fafafb;
}

.push-people {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 960px) {
    .push-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .push-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .push-people { grid-template-columns: 1fr; }
}

.push-person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0.75rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.push-person:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}

.push-person-avatar {
    --av-h: 262;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    color: hsl(var(--av-h) 55% 38%);
    background: hsl(var(--av-h) 80% 94%);
}

.push-person-main {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.push-person-name,
.push-person-phone {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.push-person-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #101828;
}

.push-person-phone {
    font-size: 12px;
    color: #475467;
    font-variant-numeric: tabular-nums;
}

.push-person-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 11px;
    color: #98a2b3;
}

.push-person-platform {
    display: inline-flex;
    font-size: 12px;
    color: #667085;
}

.push-person-at {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.push-person-at .push-ico {
    font-size: 10px;
}

.push-person.is-skeleton .push-person-avatar,
.push-person.is-skeleton .push-person-main span {
    background: #f2f4f7;
    animation: push-pulse 1.2s ease-in-out infinite;
}

.push-person.is-skeleton .push-person-main span {
    display: block;
    width: 110px;
    height: 10px;
    margin: 3px 0;
    border-radius: 6px;
}

.push-person.is-skeleton .push-person-main span + span {
    width: 70px;
}

.push-modal-empty {
    padding: 3rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #98a2b3;
}

.push-modal-empty[hidden],
.push-modal-foot[hidden] {
    display: none;
}

.push-modal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    border-top: 1px solid #f2f4f7;
}

.push-modal-range {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #667085;
    font-variant-numeric: tabular-nums;
}

.push-pager {
    display: flex;
    align-items: center;
    gap: 4px;
}

:is(#push-ui, #push-audience-modal) .push-pager-btn {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    background: #f2f4f7;
    color: #344054;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

:is(#push-ui, #push-audience-modal) .push-pager-btn:hover:not(:disabled):not(.is-active) {
    background: #ede9fe;
    color: #6d28d9;
}

:is(#push-ui, #push-audience-modal) .push-pager-btn.is-active {
    background: #7c3aed;
    color: #fff;
}

:is(#push-ui, #push-audience-modal) .push-pager-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.push-pager-gap {
    padding: 0 4px;
    color: #98a2b3;
}

/* ===== Dark mode ===== */
html.dark :is(#push-ui, #push-audience-modal) .push-chip { background: #1f2937; color: #d0d5dd; }
html.dark :is(#push-ui, #push-audience-modal) .push-chip:hover { background: #273244; }
html.dark :is(#push-ui, #push-audience-modal) .push-chip.is-checked { background: #7c3aed; color: #fff; }
html.dark .push-schedule-panel { background: rgba(124, 58, 237, 0.08); }
html.dark .push-countdown,
html.dark #push-ui .push-dt-field .ta-input.push-dt-input { background: #111827; }
html.dark .push-cd-unit { background: rgba(124, 58, 237, 0.16); }
html.dark .push-cd-unit b { color: #ddd6fe; }
html.dark .push-history-head,
html.dark .push-modal-head,
html.dark .push-modal-foot { border-color: #1f2937; }
html.dark .push-history-body { background: #0b1220; }
html.dark :is(#push-ui, #push-audience-modal) .push-feed-notif { background: rgba(37, 37, 41, 0.92); color: #fff; }
html.dark .push-feed-body { color: rgba(255, 255, 255, 0.85); }
html.dark .push-feed-time { color: rgba(235, 235, 245, 0.6); }
html.dark .push-feed-stats { background: rgba(255, 255, 255, 0.04); }
html.dark .push-feed-stat:hover { background: rgba(255, 255, 255, 0.06); }
html.dark .push-feed-stat b,
html.dark .push-feed-detail-rows strong,
html.dark .push-aud-text strong,
html.dark .push-modal-heading h3,
html.dark .push-person-name { color: #f9fafb; }
html.dark .push-feed-detail,
html.dark .push-modal-dialog,
html.dark .push-person { background: #111827; }
html.dark :is(#push-ui, #push-audience-modal) .push-aud-btn { background: rgba(124, 58, 237, 0.1); }
html.dark .push-aud-ico { background: #1f2937; }
html.dark .push-modal-body { background: #0b1220; }
html.dark :is(#push-ui, #push-audience-modal) .push-modal-close,
html.dark :is(#push-ui, #push-audience-modal) .push-pager-btn { background: #1f2937; color: #d0d5dd; }
html.dark .push-person-phone { color: #98a2b3; }
html.dark .push-src-tabs { background: #1f2937; }
html.dark #push-ui .push-src-tab { color: #d0d5dd; }
html.dark #push-ui .push-src-tab:hover { background: #273244; color: #fff; }
html.dark #push-ui .push-src-tab em { background: #111827; color: #d0d5dd; }
html.dark .push-summary-item { background: #111827; }
html.dark .push-summary-text strong { color: #f9fafb; }
html.dark .push-feed-type { background: rgba(124, 58, 237, 0.16); color: #ddd6fe; }
html.dark .push-feed-who { color: #d0d5dd; }

/* ===== Custom dropdown (replaces native selects) ===== */
.push-dd {
    position: relative;
}

#push-ui .push-dd-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 44px;
    padding: 0 12px 0 14px;
    border: 0;
    border-radius: 12px;
    background: #f2f4f7;
    color: #101828;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

#push-ui .push-dd-btn:hover {
    background: #eaecf0;
}

#push-ui .push-dd.is-open .push-dd-btn {
    background: #ede9fe;
    color: #5b21b6;
}

#push-ui .push-dd-btn:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.push-dd-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.push-dd-chevron {
    font-size: 16px;
    color: #98a2b3;
    transition: transform 0.15s ease;
}

.push-dd.is-open .push-dd-chevron {
    transform: rotate(180deg);
    color: #7c3aed;
}

.push-dd-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 180px;
    max-height: 264px;
    overflow-y: auto;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.14), 0 2px 6px rgba(16, 24, 40, 0.06);
    z-index: 60;
    animation: push-drop 0.14s ease-out;
}

.push-dd-panel[hidden] {
    display: none;
}

.push-dd-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 8px 0 10px;
    border-radius: 10px;
    color: #344054;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.push-dd-option:hover,
.push-dd-option.is-active {
    background: #f5f3ff;
}

.push-dd-option.is-selected {
    color: #5b21b6;
    font-weight: 700;
}

.push-dd-option-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.push-dd-check {
    font-size: 13px;
    color: #7c3aed;
    visibility: hidden;
}

.push-dd-option.is-selected .push-dd-check {
    visibility: visible;
}

#push-ui .push-dd-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ede9fe;
    color: #7c3aed;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

#push-ui .push-dd-play:hover {
    background: #ddd6fe;
}

#push-ui .push-dd-play.is-playing {
    background: #7c3aed;
    color: #fff;
}

.push-dd-play svg {
    width: 10px;
    height: 10px;
}

html.dark #push-ui .push-dd-btn { background: #1f2937; color: #f9fafb; }
html.dark #push-ui .push-dd.is-open .push-dd-btn { background: rgba(124, 58, 237, 0.18); color: #ddd6fe; }
html.dark .push-dd-panel { background: #111827; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); }
html.dark .push-dd-option { color: #d0d5dd; }
html.dark .push-dd-option:hover,
html.dark .push-dd-option.is-active { background: rgba(124, 58, 237, 0.14); }
html.dark .push-dd-option.is-selected { color: #ddd6fe; }
