.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #fffaf3;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #1db4ac;
    color: #0f2f2d;
    border: 1px solid #128b88;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
}

.edit-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
}
.edit-modal .edit-panel {
    background: #fffaf3;
    border: 1px solid #e3d4bd;
    border-radius: 12px;
    width: min(960px, 94vw);
    max-height: 92vh;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}
.edit-modal .edit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.edit-modal .edit-body {
    overflow: auto;
    max-height: 70vh;
}
.edit-modal .delete-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.preview-card {
    pointer-events: none;
}

.faq-panel .faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.45;
}
.faq-intro {
    margin-top: 0;
    margin-bottom: 12px;
    color: #5b4a32;
}
.faq-content h2 {
    font-size: 20px;
    margin: 8px 0 4px;
}
.faq-content h3 {
    font-size: 18px;
    margin: 10px 0 6px;
    color: #0f6d6d;
    border-bottom: 2px solid #c7e4df;
    padding-bottom: 4px;
}
.faq-content h4 {
    font-size: 15px;
    margin: 6px 0 2px;
    color: #184c4a;
    font-weight: 700;
}
.faq-content p {
    margin: 0 0 8px;
    margin-left: 18px;
}
.faq-content ul {
    margin: 0 0 10px 18px;
    margin-left: 18px;
    padding: 0;
    list-style: disc;
}
.faq-content code {
    background: #f1e6d6;
    border-radius: 4px;
    padding: 1px 4px;
    font-size: 0.95em;
}
.faq-content ul li {
    padding-left: 4px;
    margin-left: 18px;
}
.faq-divider {
    border: 0;
    border-top: 1px solid #e3d4bd;
    margin: 10px 0;
}
.faq-section {
    border: 1px solid #e3d4bd;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff7ec;
}
.faq-section > summary {
    font-weight: 700;
    cursor: pointer;
}
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 6px;
    margin-left: 6px;
}
.faq-item {
    border: 1px solid #eedec3;
    border-radius: 8px;
    padding: 6px 8px;
    background: #ffffff;
}
.faq-item > summary {
    font-weight: 600;
    cursor: pointer;
}
