/* Smart RW - Public Agenda */
.agenda-list-page,
.agenda-detail-page {
    background: #f6f8fb;
    min-height: 68vh;
    padding: 54px 0 72px;
}

.agenda-list-shell,
.agenda-detail-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.agenda-detail-shell {
    width: min(820px, calc(100% - 32px));
}

.agenda-list-header {
    margin-bottom: 26px;
}

.agenda-eyebrow {
    display: inline-block;
    color: #0f4c81;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 8px;
}

.agenda-list-header h1,
.agenda-invite-card h1 {
    margin: 0 0 8px;
    color: #0f172a;
}

.agenda-list-header h1 {
    font-size: clamp(30px, 4vw, 42px);
}

.agenda-list-header p {
    margin: 0;
    color: #64748b;
}

.agenda-list-grid {
    display: grid;
    gap: 16px;
}

.agenda-list-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.agenda-date-block {
    width: 68px;
    height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eef5fb;
    color: #0f4c81;
}

.agenda-date-block strong {
    font-size: 27px;
    line-height: 1;
}

.agenda-date-block span {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.agenda-list-time {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.agenda-list-card h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 21px;
}

.agenda-list-card p {
    margin: 0 0 10px;
    color: #64748b;
    line-height: 1.6;
}

.agenda-list-location {
    margin: 10px 0 16px;
    color: #334155;
    font-size: 14px;
}

.agenda-list-actions,
.agenda-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agenda-action {
    appearance: none;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #dbe3ec;
    border-radius: 9px;
    background: #fff;
    color: #0f3d67;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agenda-action:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.agenda-action-primary {
    background: #0f4c81;
    border-color: #0f4c81;
    color: #fff;
}

.agenda-action-primary:hover {
    background: #0b3d69;
    border-color: #0b3d69;
    color: #fff;
}

.agenda-empty-state {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 36px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #fff;
    color: #64748b;
    text-align: center;
}

.agenda-empty-state strong {
    color: #0f172a;
}

.agenda-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: #475569;
    font-weight: 700;
    text-decoration: none;
}

.agenda-invite-card {
    padding: clamp(24px, 5vw, 46px);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(15, 23, 42, .08);
}

.agenda-invite-card h1 {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    margin-bottom: 14px;
}

.agenda-detail-description {
    color: #64748b;
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 28px;
}

.agenda-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.agenda-meta-box {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
}

.agenda-meta-box span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.agenda-meta-box strong {
    color: #0f172a;
}

.agenda-calendar-note {
    margin: 14px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .agenda-list-page,
    .agenda-detail-page {
        padding: 38px 0 54px;
    }

    .agenda-list-shell,
    .agenda-detail-shell {
        width: min(100% - 24px, 1120px);
    }

    .agenda-list-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .agenda-date-block {
        width: 54px;
        height: 64px;
    }

    .agenda-date-block strong {
        font-size: 22px;
    }

    .agenda-detail-meta {
        grid-template-columns: 1fr;
    }

    .agenda-detail-actions {
        flex-direction: column;
    }

    .agenda-detail-actions .agenda-action {
        width: 100%;
    }
}
