.fsa-overlay[hidden] { display: none !important; }
.fsa-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.48);
    box-sizing: border-box;
}
.fsa-dialog {
    width: min(92vw, 500px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    box-sizing: border-box;
    background: #fff;
    color: #1d2327;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 18px 55px rgba(0,0,0,.28);
    font-family: inherit;
    text-align: left;
}
.fsa-title {
    margin: 0 0 12px;
    padding: 0;
    color: inherit;
    font: inherit;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}
.fsa-message {
    margin: 0 0 22px;
    color: inherit;
    font: inherit;
    font-size: 20px;
    line-height: 1.45;
    text-align: center;
}
.fsa-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.fsa-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #2271b1;
    border-radius: 8px;
    padding: 11px 18px;
    min-height: 44px;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}
.fsa-stay {
    background: #2271b1;
    color: #fff;
}
.fsa-call {
    background: #fff;
    color: #135e96;
    border-color: #2271b1;
}
.fsa-call[hidden] { display: none !important; }
.fsa-leave {
    background: #fff;
    color: #1d2327;
    border-color: #8c8f94;
}
.fsa-button:focus-visible {
    outline: 3px solid rgba(34, 113, 177, .32);
    outline-offset: 2px;
}
html.fsa-modal-open,
html.fsa-modal-open body {
    overflow: hidden;
}
.fsa-debug-badge {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2147483001;
    max-width: 310px;
    padding: 9px 11px;
    border-radius: 7px;
    background: rgba(20, 20, 20, .92);
    color: #fff;
    font: 12px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
    pointer-events: none;
}
@media (max-width: 700px) {
    .fsa-overlay { padding: 14px; }
    .fsa-dialog { padding: 22px 18px; border-radius: 12px; }
    .fsa-actions { flex-direction: column; }
    .fsa-button { width: 100%; }
}
