/* ======================================
   RELANCE DE DEVIS - complete demonstration.css (zone de depot, etat,
   resultat, etapes, appel final), chargee avant celle-ci.
   ====================================== */

/* ---------- LES CHAMPS ---------- */
.champ {
    display: grid;
    gap: .45rem;
}

.champ-libelle {
    font-weight: 500;
    color: var(--ink);
}

.champ-facultatif {
    font-weight: 400;
    color: var(--muted);
}

.champ-liste,
.champ-texte {
    width: 100%;
    border: var(--epaisseur-trait) solid var(--trait);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

.champ-liste {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.6;
    padding: .85rem 1rem;
    resize: vertical;
    min-height: 12rem;
}

.champ-texte {
    max-width: 28rem;
    padding: .7rem 1rem;
}

.champ-liste::placeholder,
.champ-texte::placeholder {
    color: var(--muted);
}

.champ-liste:focus-visible,
.champ-texte:focus-visible {
    outline: var(--epaisseur-trait) solid var(--focus);
    outline-offset: 2px;
}

.champ-aide {
    font-size: var(--text-sm);
    color: var(--muted);
    margin: 0;
}

.depot-compact {
    padding: 1.1rem 1.5rem;
}

.relance-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ---------- LE RESULTAT ---------- */
.relance-groupe {
    margin-bottom: 2.75rem;
    max-width: 52rem;
}

.relance-groupe h3 {
    font-size: var(--text-lg);
    margin: 0 0 .35rem;
}

.relance-aide {
    font-size: var(--text-sm);
    color: var(--muted);
    margin: 0 0 1rem;
}

/* Une Entree par devis : un filet en haut, pas de carte. */
.relance-devis {
    border-top: 1px solid var(--rule);
    padding: 1.25rem 0 1.5rem;
}

.relance-client {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 .3rem;
}

.relance-meta {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: .03em;
    color: var(--muted);
    margin: 0 0 1rem;
}

/* Le mail : un bloc qui s'ouvre par le trait de 2 px. */
.relance-mail {
    background: var(--paper-2);
    border-top: var(--epaisseur-trait) solid var(--trait);
    padding: 1rem 1.25rem 1.15rem;
    margin-bottom: 1rem;
    max-width: 64ch;
}

.relance-mail-objet {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 .65rem;
}

.relance-mail-corps {
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--ink);
    white-space: pre-wrap;
    margin: 0;
}

.relance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.relance-courte {
    list-style: none;
    margin: 0;
    padding: 0;
}

.relance-courte li {
    border-top: 1px solid var(--rule);
    padding: .6rem 0;
    font-size: var(--text-sm);
    color: var(--ink-2);
}

/* ---------- LE TABLEAU EXCEL ---------- */
.relance-tableau {
    background: var(--paper-2);
    border-top: 1px solid var(--rule);
}

.relance-tableau h2 {
    max-width: 22ch;
    margin-bottom: 1rem;
}

.relance-tableau p {
    max-width: 60ch;
    color: var(--ink-2);
    margin: 0 0 1.75rem;
}

/* ---------- TELEPHONE ---------- */
@media (max-width: 560px) {
    .relance-boutons .btn,
    .relance-actions .btn {
        width: 100%;
    }
}
