/* Shared publication-time presentation for the public site and newsroom. */
.pm-time {
    color: inherit;
    font: inherit;
    line-height: inherit;
    vertical-align: baseline;
}

.pm-time.is-dual,
.pm-time.is-admin-single {
    display: inline-flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.16rem;
    vertical-align: middle;
}

.pm-time-local,
.pm-time-ist {
    display: block;
    min-width: 0;
}

.pm-time-ist {
    color: var(--text-muted, #64748b);
    font-size: 0.78em;
    font-weight: 500;
    line-height: 1.25;
}

.pm-time.time-converted {
    animation: pm-time-ready 120ms ease-out;
}

.pm-schedule-zone-label {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    margin: 0 0 0.5rem;
    color: var(--text-muted, #64748b);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
}

.pm-schedule-zone-label .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 1rem;
}

.pm-schedule-preview {
    display: block;
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.58rem 0.68rem;
    border: 1px solid color-mix(in srgb, var(--accent, #e11d48) 18%, transparent);
    border-radius: 0.55rem;
    background: color-mix(in srgb, var(--accent, #e11d48) 7%, transparent);
    color: var(--text-muted, #475569);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.4;
}

.pm-schedule-preview.is-same-zone {
    border-color: color-mix(in srgb, #16a34a 22%, transparent);
    background: color-mix(in srgb, #16a34a 7%, transparent);
}

.date-group > .pm-schedule-zone-label,
.date-group > .pm-schedule-preview {
    grid-column: 1 / -1;
}

#publish-now small {
    color: var(--text-muted, #64748b);
    font: inherit;
    font-size: 0.78em;
    font-weight: 500;
}

@supports not (background: color-mix(in srgb, red 10%, transparent)) {
    .pm-schedule-preview {
        border-color: rgba(225, 29, 72, 0.2);
        background: rgba(225, 29, 72, 0.06);
    }
    .pm-schedule-preview.is-same-zone {
        border-color: rgba(22, 163, 74, 0.22);
        background: rgba(22, 163, 74, 0.06);
    }
}

@keyframes pm-time-ready {
    from { opacity: 0.72; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .pm-time.time-converted { animation: none; }
}

@media (max-width: 560px) {
    .pm-time.is-dual { gap: 0.1rem; }
    .pm-time-ist { font-size: 0.74em; }
}
