.export-engine-box {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #334155;
}
.export-engine-title {
    color: #f8fafc;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.btn-download-png {
    display: block;
    width: 100%;
    background-color: #0ea5e9;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-bottom: 16px;
}
.btn-download-png:hover {
    background-color: #0284c7;
}
.btn-download-html {
    display: block;
    width: 100%;
    background-color: #8b5cf6;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-bottom: 16px;
}
.btn-download-html:hover {
    background-color: #7c3aed;
}
.pwa-guide-box {
    display: flex;
    align-items: flex-start;
    background-color: #0f172a;
    border: 1px solid #38bdf8;
    border-radius: 8px;
    padding: 16px;
    gap: 12px;
}
.pwa-guide-icon {
    font-size: 24px;
    line-height: 1;
}
.pwa-guide-text {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}
.pwa-guide-text strong {
    color: #e2e8f0;
    display: block;
    margin-bottom: 4px;
}
.pwa-guide-text b {
    color: #38bdf8;
}
.card-footer-watermark {
    text-align: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #334155;
}
.watermark-link {
    color: #64748b;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
}
.watermark-link:hover {
    color: #94a3b8;
}
.card-links-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}
.pro-card-link-btn {
    display: block;
    padding: 10px;
    border: 1px solid #38bdf8;
    border-radius: 8px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}
.pro-card-link-btn:hover {
    background-color: #38bdf8;
    color: #0f172a;
}
.live-status-bar {
    background-color: #ef4444 !important;
    color: #ffffff;
    padding: 10px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.free-card-header-spacer {
    padding-top: 24px;
    display: block;
    text-align: center;
    width: 100%;
}
.preview-panel-scrollable .horizontal-brochure {
    flex-shrink: 0 !important;
    min-width: 800px !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.horizontal-brochure .h-footer {
    border-top: none !important;
}

/* Bulletproof Global Dark Theme Sync (Covers all common theme class names) */
body.dark-theme .horizontal-brochure,
body.dark-mode .horizontal-brochure,
[data-theme="dark"] .horizontal-brochure,
html.dark .horizontal-brochure {
    background-color: #0f172a !important;
}
body.dark-theme .horizontal-brochure .h-name,
body.dark-mode .horizontal-brochure .h-name,
[data-theme="dark"] .horizontal-brochure .h-name,
html.dark .horizontal-brochure .h-name {
    color: #f8fafc !important;
}
body.dark-theme .horizontal-brochure .h-block,
body.dark-theme .horizontal-brochure .h-full-block,
body.dark-mode .horizontal-brochure .h-block,
body.dark-mode .horizontal-brochure .h-full-block,
[data-theme="dark"] .horizontal-brochure .h-block,
[data-theme="dark"] .horizontal-brochure .h-full-block,
html.dark .horizontal-brochure .h-block,
html.dark .horizontal-brochure .h-full-block {
    background-color: #1e293b !important;
}
body.dark-theme .horizontal-brochure .h-block-text,
body.dark-mode .horizontal-brochure .h-block-text,
[data-theme="dark"] .horizontal-brochure .h-block-text,
html.dark .horizontal-brochure .h-block-text {
    color: #cbd5e1 !important;
}
body.dark-theme .horizontal-brochure .h-contact-text,
body.dark-theme .horizontal-brochure .h-qr-brand-label span,
body.dark-mode .horizontal-brochure .h-contact-text,
body.dark-mode .horizontal-brochure .h-qr-brand-label span,
[data-theme="dark"] .horizontal-brochure .h-contact-text,
[data-theme="dark"] .horizontal-brochure .h-qr-brand-label span,
html.dark .horizontal-brochure .h-contact-text,
html.dark .horizontal-brochure .h-qr-brand-label span {
    color: #94a3b8 !important;
}
