.meeting-list-section {
    background: #e8f6fc;
}

.meeting-board-card,
.meeting-detail-card,
.meeting-poll-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #d4eaf5;
}

.meeting-attachments {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #d4eaf5;
}

.meeting-attachment-item {
    margin: 0;
}

.meeting-attachment-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.meeting-board-card {
    overflow: hidden;
}

.meeting-board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #d4eaf5;
}

.meeting-board-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #004a99;
}

.meeting-table-wrap {
    overflow-x: auto;
}

.meeting-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.meeting-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #64748b;
    background: #f0f9fc;
    border-bottom: 1px solid #d4eaf5;
    white-space: nowrap;
}

.meeting-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e8f4fa;
    vertical-align: top;
}

.meeting-table tbody tr:hover {
    background: #f8fcfe;
}

.meeting-empty {
    text-align: center;
    color: #94a3b8;
    padding: 2.5rem 1rem !important;
}

.meeting-title-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: #004a99;
    text-decoration: none;
    font-weight: 600;
}

.meeting-title-link:hover .meeting-title-text {
    text-decoration: underline;
}

.meeting-location-hint {
    display: block;
    width: 100%;
    font-size: 0.75rem;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.meeting-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    background: #fef3c7;
    color: #92400e;
}

.meeting-status {
    display: inline-block;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.meeting-status--open {
    background: #dcfce7;
    color: #166534;
}

.meeting-status--closed {
    background: #f1f5f9;
    color: #64748b;
}

.meeting-back-link {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #0077cc;
    text-decoration: none;
}

.meeting-back-link:hover {
    text-decoration: underline;
}

.meeting-post-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.meeting-post-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #004a99;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.meeting-post-meta {
    font-size: 0.875rem;
    color: #64748b;
}

.meeting-meta-sep {
    margin: 0 0.375rem;
}

.meeting-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.meeting-info-row {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0.75rem 1rem;
}

.meeting-info-row dt {
    font-weight: 700;
    color: #004a99;
    font-size: 0.9375rem;
}

.meeting-info-row dd {
    color: #334155;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.meeting-address {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #64748b;
}

.meeting-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0077cc;
    background: #e8f6fc;
    border: 1px solid #b8e0f5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.meeting-map-link:hover {
    background: #0077cc;
    color: #fff;
    border-color: #0077cc;
}

.meeting-program {
    white-space: pre-line;
    line-height: 1.45;
}

.meeting-poll-header {
    margin-bottom: 1.5rem;
}

.meeting-poll-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004a99;
    margin-bottom: 0.375rem;
}

.meeting-poll-deadline {
    font-size: 0.875rem;
    color: #64748b;
}

.meeting-vote-form {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8f4fa;
}

.meeting-vote-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.meeting-vote-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    color: #475569;
}

.meeting-vote-option:hover {
    border-color: #00aeef;
    background: #f0f9fc;
}

.meeting-vote-option:has(input:checked) {
    border-color: #0077cc;
    background: #e8f6fc;
    color: #004a99;
}

.meeting-vote-option input {
    accent-color: #0077cc;
}

.meeting-note-field {
    margin-bottom: 1rem;
}

.meeting-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.375rem;
}

.meeting-input,
.meeting-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d4eaf5;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: #334155;
    background: #fff;
    transition: border-color 0.2s ease;
}

.meeting-input:focus,
.meeting-textarea:focus {
    outline: none;
    border-color: #0077cc;
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
}

.meeting-textarea {
    resize: vertical;
    min-height: 5rem;
}

.meeting-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #004a99, #0077cc);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.meeting-submit-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 74, 153, 0.25);
}

.meeting-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.meeting-form-status {
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.meeting-form-status.is-error {
    color: #dc2626;
}

.meeting-form-status.is-success {
    color: #16a34a;
}

.meeting-login-hint,
.meeting-voted-hint,
.meeting-permission-hint {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e8f4fa;
}

.meeting-login-link {
    color: #0077cc;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.meeting-results-title,
.meeting-voters-title {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 1rem;
}

.meeting-result-item {
    margin-bottom: 0.875rem;
}

.meeting-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

.meeting-result-label {
    font-weight: 600;
    color: #334155;
}

.meeting-result-count {
    color: #64748b;
}

.meeting-result-bar {
    height: 0.5rem;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}

.meeting-result-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.4s ease;
}

.meeting-result-fill--attend {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.meeting-result-fill--absent {
    background: #94a3b8;
}

.meeting-result-fill--other {
    background: #60a5fa;
}

.meeting-result-total {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    text-align: right;
}

.meeting-voters-list {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8f4fa;
}

.meeting-voters {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.meeting-voter-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
    background: #f8fcfe;
    border-radius: 0.5rem;
}

.meeting-voter-name {
    font-weight: 600;
    color: #334155;
}

.meeting-voter-choice {
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.meeting-voter-choice--attend {
    background: #fef3c7;
    color: #92400e;
}

.meeting-voter-choice--absent {
    background: #f1f5f9;
    color: #64748b;
}

.meeting-voter-choice--other {
    background: #dbeafe;
    color: #1d4ed8;
}

.meeting-voter-note {
    width: 100%;
    font-size: 0.8125rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .meeting-info-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .meeting-table .col-host,
    .meeting-table .col-views {
        display: none;
    }

    .meeting-vote-options {
        flex-direction: column;
    }

    .meeting-vote-option {
        width: 100%;
    }
}

/* Meeting photo gallery */
.meeting-photos-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #d4eaf5;
}

.meeting-photos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.meeting-photos-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004a99;
}

.meeting-photos-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    background: #f0f9fc;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.meeting-photos-locked,
.meeting-photos-empty {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    padding: 1.5rem;
    background: #f8fcfe;
    border-radius: 0.75rem;
    border: 1px dashed #d4eaf5;
    text-align: center;
}

.meeting-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .meeting-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .meeting-gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.meeting-gallery-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    background: #e8f4fa;
}

.meeting-gallery-thumb:hover,
.meeting-gallery-thumb:focus-visible {
    outline: 2px solid #004a99;
    outline-offset: 2px;
}

.meeting-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.meeting-gallery-thumb img.is-error {
    object-fit: contain;
    background: #f1f5f9;
    padding: 1rem;
}

.meeting-gallery-thumb:hover img {
    transform: scale(1.03);
}

.meeting-gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 74, 153, 0.35);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.meeting-gallery-thumb:hover .meeting-gallery-thumb-overlay {
    opacity: 1;
}

.meeting-gallery-thumb-num {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 74, 153, 0.75);
    border-radius: 9999px;
}

.meeting-gallery-lightbox[hidden] {
    display: none;
}

.meeting-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meeting-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
}

.meeting-gallery-lightbox-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(96vw, 1100px);
    max-height: 92vh;
    padding: 3rem 1rem;
}

.meeting-gallery-lightbox-figure {
    margin: 0;
    max-width: 100%;
    max-height: 80vh;
    text-align: center;
}

.meeting-gallery-lightbox-figure img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.meeting-gallery-lightbox-figure img.is-loading {
    opacity: 0.5;
}

.meeting-gallery-lightbox-caption {
    margin-top: 0.75rem;
    color: #e2e8f0;
    font-size: 0.875rem;
}

.meeting-gallery-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.meeting-gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.meeting-gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.meeting-gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.meeting-gallery-lightbox-prev {
    left: 0.5rem;
}

.meeting-gallery-lightbox-next {
    right: 0.5rem;
}

body.meeting-gallery-open {
    overflow: hidden;
}

.meeting-comments-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #d4eaf5;
    scroll-margin-top: 5rem;
}

.meeting-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.meeting-comments-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #004a99;
}

.meeting-comments-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00aeef;
}

.meeting-comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.meeting-comments-empty {
    margin: 0;
    padding: 1.5rem;
    text-align: center;
    color: #94a3b8;
    background: #f8fcfe;
    border: 1px dashed #d4eaf5;
    border-radius: 0.75rem;
}

.meeting-comment-item {
    padding: 1rem 1.125rem;
    background: #f8fcfe;
    border: 1px solid #d4eaf5;
    border-radius: 0.75rem;
}

.meeting-comment-item--reply {
    background: #f0f9fc;
}

.meeting-comment-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.meeting-comment-thread-icon {
    color: #00aeef;
    font-weight: 700;
}

.meeting-comment-author {
    font-weight: 600;
    color: #334155;
}

.meeting-comment-date {
    margin-left: auto;
    font-size: 0.8125rem;
    color: #94a3b8;
}

.meeting-comment-body {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #334155;
    word-break: break-word;
}

.meeting-comment-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.meeting-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid #d4eaf5;
    border-radius: 9999px;
    background: #fff;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.meeting-like-btn:hover {
    border-color: #00aeef;
    color: #004a99;
}

.meeting-like-btn.is-liked {
    border-color: #f43f5e;
    background: #fff1f2;
    color: #e11d48;
}

.meeting-like-btn.is-liked svg {
    fill: #e11d48;
    stroke: #e11d48;
}

.meeting-reply-toggle-btn {
    padding: 0.35rem 0.65rem;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.meeting-reply-toggle-btn:hover {
    color: #004a99;
    background: rgba(0, 174, 239, 0.08);
}

.meeting-comment-edit-btn,
.meeting-comment-delete-btn {
    padding: 0.35rem 0.65rem;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.meeting-comment-edit-btn {
    color: #64748b;
}

.meeting-comment-edit-btn:hover {
    color: #004a99;
    background: rgba(0, 174, 239, 0.08);
}

.meeting-comment-delete-btn {
    color: #dc2626;
}

.meeting-comment-delete-btn:hover {
    background: #fef2f2;
}

.meeting-comment-body-wrap {
    margin-top: 0.25rem;
}

.meeting-comment-edit-form {
    margin-top: 0.5rem;
}

.meeting-comment-replies {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 0.875rem;
    padding-left: 0.75rem;
    border-left: 2px solid #d4eaf5;
}

.meeting-reply-form {
    margin-top: 0.75rem;
}

.meeting-reply-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.meeting-reply-cancel-btn,
.meeting-reply-submit-btn {
    padding: 0.45rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.meeting-reply-cancel-btn {
    border: 1px solid #d4eaf5;
    background: #fff;
    color: #64748b;
}

.meeting-reply-submit-btn {
    border: none;
    background: #004a99;
    color: #fff;
}

.meeting-reply-submit-btn:hover {
    background: #003d7a;
}

.meeting-comment-form {
    padding-top: 1.25rem;
    border-top: 1px solid #d4eaf5;
}

.meeting-comment-form .meeting-submit-btn {
    margin-top: 0.75rem;
}
