/* ==========================================================================
   Section: #schedule - Editorial Event Program (Agenda do Evento)
   Variante Home: Fundo com Cor Secundária do Backoffice
   Variante Dedicada: Fundo Branco (#ffffff), sem cores e com padding padronizado
   ========================================================================== */

#schedule.schedule-section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
}

/* ==========================================================================
   Background Grid Overlay (Matching Hero Section Design)
   ========================================================================== */

.schedule-grid-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-size: 80px 80px;
    background-image: 
        linear-gradient(to right, rgba(245, 245, 247, .3) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(245, 245, 247, .3) 1px, transparent 1px);
    mix-blend-mode: overlay;
    mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, #000 65%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, #000 65%, transparent 100%);
}

#schedule .container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   1. Contentor da Secção (Respeita a Mesma Largura dos Demais Containers)
   ========================================================================== */

.schedule-container-constrained {
    max-width: 100%;
    margin: 0;
    width: 100%;
}

/* ==========================================================================
   2. Cabeçalho Editorial Alinhado à Esquerda
   ========================================================================== */

.schedule-header {
    text-align: left;
    margin-bottom: 28px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.schedule-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--colors-primary, #0066cc);
    margin-bottom: 8px;
    background: transparent;
    padding: 0;
    border: none;
    text-align: left;
}

.schedule-headline {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", sans-serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #111113;
    margin: 0 0 10px 0;
    text-align: left;
}

.schedule-subhead {
    font-size: 15.5px;
    line-height: 1.55;
    letter-spacing: -0.15px;
    color: #555761;
    margin: 0;
    max-width: 720px;
    text-align: left;
}

/* ==========================================================================
   3. Botões de Navegação Segmentados
   ========================================================================== */

.schedule-nav-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

.schedule-nav-segmented {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f2f3f5;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 5px;
    border-radius: 9999px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    box-sizing: border-box;
}

.schedule-nav-segmented::-webkit-scrollbar {
    display: none;
}

.btn-dia-apple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #555761;
    border: none;
    border-radius: 9999px !important;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.15px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-dia-apple:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: #111113;
}

.btn-dia-apple.active {
    background-color: #111113 !important;
    color: #ffffff !important;
    font-weight: 700;
}

/* ==========================================================================
   4. Cartão da Agenda (Canvas Branco Imaculado)
   ========================================================================== */

.schedule-content-wrap {
    position: relative;
    width: 100%;
}

.agenda-module-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 40px 48px;
    box-shadow: 0 10px 32px -10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    width: 100%;
}

/* Barra Superior do Cartão com Título do Dia e Data */
.agenda-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.agenda-day-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 750;
    color: #111113;
    letter-spacing: -0.2px;
}

.agenda-day-badge svg {
    color: var(--colors-primary, #0066cc);
    flex-shrink: 0;
}

.agenda-date-chip {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #4b4d55;
    background-color: #f2f3f6;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 4px 12px;
    border-radius: 9999px;
}

/* Corpo do Conteúdo da Agenda */
.agenda-module-body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    color: #373a40;
    line-height: 1.65;
    font-size: 15.5px;
}

.agenda-module-body p {
    margin-bottom: 16px;
    font-size: 15.5px;
    line-height: 1.65;
    color: #373a40;
}

.agenda-module-body p:last-child {
    margin-bottom: 0;
}

.agenda-module-body strong,
.agenda-module-body b {
    color: #111113;
    font-weight: 650;
}

.agenda-module-body h1,
.agenda-module-body h2,
.agenda-module-body h3,
.agenda-module-body h4,
.agenda-module-body h5 {
    color: #111113;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 24px;
    margin-bottom: 12px;
}

.agenda-module-body h1:first-child,
.agenda-module-body h2:first-child,
.agenda-module-body h3:first-child,
.agenda-module-body h4:first-child {
    margin-top: 0;
}

.agenda-module-body ul {
    list-style: none;
    padding-left: 0;
    margin: 16px 0 22px 0;
}

.agenda-module-body li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.55;
    color: #43454c;
}

.agenda-module-body li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--colors-primary, #0066cc);
}

.agenda-module-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

.agenda-module-body th {
    background-color: #f8f9fa;
    color: #111113;
    font-weight: 650;
    font-size: 13.5px;
    padding: 12px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.agenda-module-body td {
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14.5px;
    color: #43454c;
}

.agenda-module-body hr {
    border: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 24px 0;
}

/* ==========================================================================
   5. Empty State
   ========================================================================== */

.schedule-empty-state {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    padding: 48px 24px;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 10px 32px -10px rgba(0, 0, 0, 0.05);
}

.schedule-empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f4f5f7;
    color: #8c8e96;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
}

.schedule-empty-text {
    font-size: 15.5px;
    color: #555761;
    margin: 0;
}

/* ==========================================================================
   6. VARIANTE PÁGINA DEDICADA (.schedule-dedicated-page)
   Fundo 100% Branco, sem cores, com padding padronizado de topo (72px)
   ========================================================================== */

#schedule.schedule-dedicated-page {
    background-color: #ffffff !important;
    color: var(--colors-ink, #111113);
    padding: 72px 0 96px 0 !important;
    min-height: 75vh;
}

.schedule-dedicated-page .schedule-grid-overlay {
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    mix-blend-mode: normal;
}

.schedule-dedicated-page .schedule-header {
    margin-bottom: 40px;
}

.schedule-dedicated-page .schedule-eyebrow {
    color: var(--colors-primary, #0066cc);
    background: transparent;
    padding: 0;
    border: none;
}

.schedule-dedicated-page .schedule-headline {
    color: #111113;
}

.schedule-dedicated-page .schedule-subhead {
    color: #555761;
}

.schedule-dedicated-page .schedule-nav-segmented {
    background-color: #f2f3f5;
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.schedule-dedicated-page .btn-dia-apple {
    color: #555761;
}

.schedule-dedicated-page .btn-dia-apple:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: #111113;
}

.schedule-dedicated-page .btn-dia-apple.active {
    background-color: #111113 !important;
    color: #ffffff !important;
}

.schedule-dedicated-page .agenda-module-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 32px -10px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   7. VARIANTE HOMEPAGE (.schedule-home-theme)
   Fundo com a Cor Secundária do Backoffice e Alto Contraste
   ========================================================================== */

#schedule.schedule-home-theme {
    background-color: var(--colors-secondary, #0066cc) !important;
    color: #ffffff;
    padding: clamp(56px, 7vw, 92px) 0;
}

.schedule-home-theme .schedule-eyebrow {
    color: #ffffff;
    background: transparent;
    padding: 0;
    border: none;
    opacity: 0.92;
}

.schedule-home-theme .schedule-headline {
    color: #ffffff;
}

.schedule-home-theme .schedule-subhead {
    color: rgba(255, 255, 255, 0.88);
}

.schedule-home-theme .schedule-nav-segmented {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.schedule-home-theme .btn-dia-apple {
    color: rgba(255, 255, 255, 0.88);
}

.schedule-home-theme .btn-dia-apple:hover {
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.schedule-home-theme .btn-dia-apple.active {
    background-color: #ffffff !important;
    color: #111113 !important;
    font-weight: 700;
}

.schedule-home-theme .agenda-module-card {
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.22);
}

.schedule-home-theme .schedule-custom-select {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.schedule-home-theme .btn-my-schedule {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.schedule-home-theme .agenda-day-badge svg {
    color: var(--colors-secondary, #0066cc);
}

.schedule-home-theme .agenda-module-body li::before {
    background-color: var(--colors-secondary, #0066cc);
}

.schedule-home-theme .schedule-empty-state {
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   8. Responsividade
   ========================================================================== */

@media (max-width: 991.98px) {
    #schedule.schedule-section {
        padding: 50px 0;
    }

    #schedule.schedule-dedicated-page {
        padding: 60px 0 80px 0 !important;
    }

    .agenda-module-card {
        padding: 30px 28px;
    }
}

@media (max-width: 767.98px) {
    #schedule.schedule-section {
        padding: 42px 0;
    }

    #schedule.schedule-dedicated-page {
        padding: 52px 0 64px 0 !important;
    }

    .schedule-header {
        margin-bottom: 24px;
    }

    .schedule-nav-wrapper {
        margin-bottom: 22px;
    }

    .schedule-nav-segmented {
        width: 100%;
        border-radius: 12px;
        padding: 4px;
    }

    .btn-dia-apple {
        flex: 1;
        padding: 8px 12px;
        font-size: 13px;
    }

    .agenda-module-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .agenda-card-topbar {
        padding-bottom: 14px;
        margin-bottom: 18px;
    }

    .agenda-module-body {
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .schedule-headline {
        font-size: 26px;
    }

    .schedule-subhead {
        font-size: 14.5px;
    }

    .agenda-module-card {
        padding: 20px 16px;
    }
}

/* ==========================================================================
   9. Barra de Controlos (Toolbar: Abas, Selectbox de Categorias & Minha Agenda)
   ========================================================================== */

.schedule-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    width: 100%;
}

.schedule-toolbar-spacer {
    display: block;
    flex-grow: 1;
}

.schedule-actions-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Selectbox Customizada de Categorias com o mesmo estilo dos botões */
.schedule-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.schedule-custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    height: 42px;
    padding: 0 42px 0 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    min-width: 230px;
    box-sizing: border-box;
    display: inline-block;
}

.schedule-custom-select:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    color: #0f172a;
}

.schedule-custom-select:focus {
    border-color: var(--colors-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.schedule-select-icon {
    position: absolute;
    right: 16px;
    pointer-events: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botão A Minha Agenda */
.btn-my-schedule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-my-schedule:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    color: #0f172a;
}

.btn-my-schedule .my-sched-badge {
    background: var(--colors-primary, #2563eb);
    color: #ffffff;
    border-radius: 9999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

/* Em mobile: Botão A Minha Agenda abaixo da selectbox e ambos com 100% de largura */
@media (max-width: 767.98px) {
    .schedule-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .schedule-nav-segmented {
        width: 100%;
        display: flex;
    }

    .btn-dia-apple {
        flex: 1;
        text-align: center;
    }

    .schedule-actions-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .schedule-select-wrapper {
        width: 100%;
    }

    .schedule-custom-select {
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    .btn-my-schedule {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   10. GRELHA DE BLOCOS DA AGENDA (Até 4 cards por linha em Desktop)
   ========================================================================== */

.schedule-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 1399.98px) {
    .schedule-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 991.98px) {
    .schedule-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .schedule-grid-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Cartão Individual de Momento em Bloco */
.schedule-card-block {
    background: #ffffff;
    border: 1px solid #e8ecf2;
    border-radius: 20px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.schedule-card-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.schedule-card-block.is-live-moment {
    border-color: #ef4444 !important;
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.15) !important;
}

.schedule-live-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 9px;
    border-radius: 9999px;
}

.schedule-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
    animation: pulse-live 1.6s infinite ease-in-out;
}

/* Faixa de Destaque Superior */
.schedule-card-accent-bar {
    height: 5px;
    width: 100%;
    flex-shrink: 0;
}

/* Corpo Interno do Cartão */
.schedule-card-content {
    padding: 18px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Topo do Bloco: Badges e Botão Bookmark */
.schedule-card-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.schedule-card-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex-grow: 1;
}

.schedule-time-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: -0.2px;
}

.schedule-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

/* Botão de Marcador / Bookmark Redondo */
.schedule-bookmark-toggle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    padding: 0;
    flex-shrink: 0;
}

.schedule-bookmark-toggle:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.schedule-bookmark-toggle.bookmarked {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb;
}

.schedule-bookmark-toggle svg {
    width: 15px;
    height: 15px;
    transition: fill 0.2s ease;
}

/* Título e Descrição do Bloco */
.schedule-card-heading {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.015em;
}

.schedule-card-summary-box,
html body .schedule-card-summary-box,
html body section .schedule-card-summary-box,
html body div.schedule-card-summary-box,
html body [class*="schedule-card-summary-box"] {
    margin: 0 0 14px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
}

.schedule-card-summary,
html body .schedule-card-summary,
html body section .schedule-card-summary,
html body div.schedule-card-summary,
html body [class*="schedule-card-summary"] {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    border-radius: 0 !important;
}

.schedule-btn-ver-mais {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 5px 0 0 0;
    color: var(--colors-primary, #2563eb);
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.15s ease;
}

.schedule-btn-ver-mais:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Oradores e Pessoas Associadas no Rodapé do Bloco */
.schedule-card-people-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: auto;
}

.schedule-people-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.schedule-person-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 4px 8px 4px 4px;
    transition: background 0.15s ease;
}

.schedule-person-pill:hover {
    background: #f1f5f9;
}

.schedule-person-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 5px 10px 5px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.schedule-person-more-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.schedule-more-left-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
    flex-grow: 1;
}

.schedule-more-avatars-stack {
    display: inline-flex;
    align-items: center;
    padding-left: 2px;
    flex-shrink: 0;
}

.schedule-more-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    margin-left: -7px;
    background: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #334155;
    flex-shrink: 0;
}

.schedule-more-avatars-stack .schedule-more-avatar:first-child {
    margin-left: 0;
}

.schedule-more-avatar-initial {
    background: #e2e8f0;
    color: #1e293b;
}

.schedule-more-avatar-dots {
    background: #0f172a;
    color: #ffffff;
    font-size: 10px;
    letter-spacing: -1px;
    font-weight: 800;
    line-height: 1;
    padding-bottom: 2px;
}

.schedule-person-more-label {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-more-chevron {
    flex-shrink: 0;
    color: #64748b;
    transition: transform 0.15s ease, color 0.15s ease;
}

.schedule-person-more-btn:hover .schedule-more-chevron {
    color: #1d4ed8;
    transform: translateX(2px);
}

.schedule-person-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    flex-shrink: 0;
}

.schedule-person-text {
    overflow: hidden;
    min-width: 0;
}

.schedule-person-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.schedule-person-role {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-top: 2px;
}

/* Estado Vazio de Filtro */
.schedule-filter-empty {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
}

/* Modal Minha Agenda */
#modalMySchedule .modal-content {
    border-radius: 20px;
    overflow: hidden;
}
.my-schedule-item-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: box-shadow 0.15s ease;
}
.my-schedule-item-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Modal Detalhes Completos do Momento */
#modalMomentDetails .modal-content {
    border-radius: 20px;
    overflow: hidden;
}

.modal-moment-accent-bar {
    height: 6px;
    width: 100%;
    flex-shrink: 0;
}

.modal-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.modal-person-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    transition: background 0.15s ease;
}

.modal-person-item:hover {
    background: #f1f5f9;
}

.modal-person-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.modal-person-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
}

.modal-person-info {
    min-width: 0;
    flex-grow: 1;
}

.modal-person-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.modal-person-sub {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    margin-top: 2px;
}


