/* =========================================================
   MODAL SCHEDULE — Event Master Experience Card
========================================================= */

#schedule-modal {
    --em-modal-accent: #b89a72;
    --em-modal-ink: #24211f;
    --em-modal-muted: #6f6660;
    --em-modal-line: rgba(184,154,114,.22);
}

#schedule-modal .app-modal-panel {
    background: #fffdf9;
    padding: 22px 24px calc(24px + env(safe-area-inset-bottom));
}

#schedule-modal .app-modal-close {
    background: rgba(36,33,31,.05);
    color: var(--em-modal-ink);
}

#schedule-modal .app-modal-header {
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center;
}

#schedule-modal .app-modal-header::before {
    content: "EVENT MASTER";
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    padding: 0 42px;
    color: var(--em-modal-accent);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .34em;
    text-transform: uppercase;
    background:
        linear-gradient(var(--em-modal-accent),var(--em-modal-accent)) left center/30px 1px no-repeat,
        linear-gradient(var(--em-modal-accent),var(--em-modal-accent)) right center/30px 1px no-repeat;
}

#schedule-modal .app-modal-header h2 {
    margin: 0 0 8px;
    color: var(--em-modal-ink);
    font-family: var(--font-title);
    font-size: 2.15rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.045em;
}

#schedule-modal .app-modal-header p {
    margin: 0 auto;
    color: var(--em-modal-muted);
    font-size: .94rem;
    line-height: 1.45;
}

#schedule-modal .modal-schedule-list {
    position: relative;
    display: grid;
    gap: 14px;
}

#schedule-modal .modal-schedule-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--em-modal-line);
    border-radius: 24px;
    background: #fff;
}

#schedule-modal .modal-schedule-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    align-self: center;
}

#schedule-modal .modal-schedule-icon .em-icon,
#schedule-modal .modal-schedule-icon .em-icon svg {
    width: 34px;
    height: 34px;
    color: var(--em-modal-accent);
    stroke: var(--em-modal-accent);
}

#schedule-modal .modal-schedule-content span {
    display: block;
    margin-bottom: 8px;
    color: var(--em-modal-accent);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

#schedule-modal .modal-schedule-content h3 {
    margin: 0 0 6px;
    color: var(--em-modal-ink);
    font-size: 1.42rem;
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

#schedule-modal .modal-schedule-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--em-modal-accent);
    font-size: .94rem;
    font-weight: 850;
}

#schedule-modal .modal-schedule-content p {
    margin: 0;
    color: var(--em-modal-muted);
    font-size: .92rem;
    line-height: 1.45;
}

#schedule-modal .modal-schedule-divider {
    display: none;
}

@media (max-width: 480px) {
    #schedule-modal .app-modal-panel {
        padding: 20px 22px calc(24px + env(safe-area-inset-bottom));
    }

    #schedule-modal .app-modal-header::before {
        padding: 0 38px;
        font-size: .58rem;
        letter-spacing: .28em;
        background-size: 28px 1px, 28px 1px;
    }

    #schedule-modal .app-modal-header h2 {
        font-size: 2rem;
    }

    #schedule-modal .modal-schedule-card {
        grid-template-columns: 46px 1fr;
        gap: 12px;
        padding: 16px;
    }

    #schedule-modal .modal-schedule-icon {
        width: 38px;
        height: 38px;
    }

    #schedule-modal .modal-schedule-icon .em-icon,
    #schedule-modal .modal-schedule-icon .em-icon svg {
        width: 30px;
        height: 30px;
    }

    #schedule-modal .modal-schedule-content h3 {
        font-size: 1.24rem;
    }
}

/* Schedule — cierre visual timeline */
#schedule-modal .modal-schedule-card {
    position: relative;
    grid-template-columns: 44px 1fr;
    padding: 16px 18px;
}

#schedule-modal .modal-schedule-icon {
    align-self: start;
    margin-top: 24px;
}

#schedule-modal .modal-schedule-card::before {
    content: "";
    position: absolute;
    left: 39px;
    top: 64px;
    bottom: -15px;
    width: 1px;
    background: var(--em-modal-line);
}

#schedule-modal .modal-schedule-card:last-child::before {
    display: none;
}

#schedule-modal .modal-schedule-content span {
    margin-bottom: 6px;
}

#schedule-modal .modal-schedule-content h3 {
    font-size: 1.32rem;
}

#schedule-modal .modal-schedule-content strong {
    color: var(--em-modal-accent);
}

@media (max-width: 480px) {
    #schedule-modal .modal-schedule-card {
        grid-template-columns: 40px 1fr;
        padding: 15px 16px;
    }

    #schedule-modal .modal-schedule-icon {
        margin-top: 24px;
    }

    #schedule-modal .modal-schedule-card::before {
        left: 35px;
    }
}

/* Schedule — microajuste línea timeline */
#schedule-modal .modal-schedule-card::before {
    top: 72px;
}

@media (max-width: 480px) {
    #schedule-modal .modal-schedule-card::before {
        top: 70px;
    }
}

/* Schedule — eliminar línea vertical */
#schedule-modal .modal-schedule-card::before {
    display: none;
}