.fic-export-overlay {
    position: fixed;
    inset: 0;
    z-index: 2300;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 11, 18, 0.72);
}

.fic-export-dialog {
    width: min(100%, 480px);
    max-height: min(82vh, 680px);
    overflow: auto;
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.fic-export-dialog h2 { margin: 0 0 14px; font-size: 20px; }
.fic-export-dialog p { margin: 10px 0; color: var(--text-2); line-height: 1.55; }

.fic-export-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.fic-export-actions button {
    min-height: 42px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.fic-export-actions button:disabled { cursor: wait; opacity: 0.55; }
.fic-export-primary { border: 1px solid var(--accent-color); background: var(--accent-color); color: #fff; }
.fic-export-secondary { border: 1px solid var(--border); background: transparent; color: var(--text-2); }

#fic-export-btn {
    min-width: 34px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (max-width: 520px) {
    .fic-export-overlay { padding: 12px; }
    .fic-export-dialog { padding: 18px; }
    .fic-export-actions { flex-direction: column; }
    .fic-export-actions button { width: 100%; }
}
