/* Couleur de l'interface Web Vitrine, indépendante de la palette du site. */
.wv-site-variable {
    display: inline;
    padding: 0.1em 0.3em;
    border-radius: 0.3em;
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.13) !important;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    overflow-wrap: anywhere;
}
.wv-site-variable:hover {
    background: rgba(13, 110, 253, 0.22) !important;
}
.wv-variable-input {
    position: relative;
    display: block;
    min-width: 0;
}
.wv-variable-input-preview {
    position: absolute;
    inset: 0;
    display: none;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
}
.wv-variable-raw-input:not(:focus) {
    color: transparent !important;
}
.wv-variable-raw-input:not(:focus) + .wv-variable-input-preview {
    display: block;
}
.wv-variable-input-preview.wv-variable-multiline {
    white-space: pre-wrap;
}
.wv-variable-suggestions {
    position: fixed;
    z-index: 1090;
    padding: 0.35rem;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid #dbe5f3;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 0.5rem 1.5rem rgba(8, 14, 44, 0.15);
}
.wv-variable-suggestion {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    text-align: left;
}
.wv-variable-suggestion strong {
    color: #0d6efd;
    font-size: 0.85rem;
}
.wv-variable-suggestion span {
    overflow: hidden;
    color: #64748b;
    font-size: 0.8rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.wv-variable-suggestion:hover,
.wv-variable-suggestion[aria-selected="true"] {
    background: rgba(13, 110, 253, 0.1);
}
