/* Espace propriétaire : même présentation que l'espace gestion et les pages « Suivi de commande » :
 * bandeau marine, onglets soulignés d'orange, cartes blanches arrondies, bordure de couleur pour l'état,
 * icônes au trait, orange pour ce qui demande une action. */
@import url("https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300;400;500;600;700&display=swap");

/* Le titre de la page est déjà dans l'en-tête de l'espace. */
body.lva-espace-page article.page > .entry-header, body.lva-espace-page .entry-header .entry-title { display: none; }

/* Page servie seule, comme une application (sans le thème du site). */
html, body.lva-espace-app { margin: 0; padding: 0; background: #EEF4F6; }
body.lva-espace-app { min-height: 100vh; -webkit-text-size-adjust: 100%; }
.lva-espace-app-corps { padding: max(16px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom)); }
.lva-espace-app .lva-espace { margin-bottom: 0; }
.lva-espace-app .lva-espace.lva-connexion { margin-top: 8vh; padding: 0 16px; }
.lva-espace-app img { max-width: 100%; height: auto; }

.lva-espace { --lva-marine: #003E4F; --lva-sarcelle: #00899A; --lva-cyan: #00BBD2; --lva-orange: #F59C00; --lva-gris: #4F6B75; --lva-trait: #E1EBEF; --lva-fond: #EEF4F6;
	--lva-l: min(1180px, calc(100vw - 32px)); width: var(--lva-l); max-width: none; margin: 0 0 40px calc((100% - var(--lva-l)) / 2); box-sizing: border-box;
	font-family: "Spline Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #12303A; line-height: 1.5; font-size: 16px; }
.lva-espace *, .lva-espace *::before, .lva-espace *::after { box-sizing: border-box; }
.lva-espace button, .lva-espace input, .lva-espace select, .lva-espace textarea { font-family: inherit; }
.lva-espace h2, .lva-espace h3, .lva-espace h4 { font-family: inherit; color: var(--lva-marine); letter-spacing: 0; text-transform: none; }
.lva-espace p { margin: 6px 0; }
.lva-espace a { color: var(--lva-sarcelle); }
.lva-ic { width: 20px; height: 20px; display: block; flex: none; }

/* En-tête : bandeau marine, puis la barre blanche des onglets */
.lva-tete { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(0, 30, 40, .16); margin: 0 0 18px; }
.lva-tete-haut { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 22px; background: linear-gradient(90deg, #003E4F, #00566C); color: #fff; }
.lva-tete-marque { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.lva-tete-icone { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--lva-cyan); }
.lva-tete-icone .lva-ic { width: 26px; height: 26px; }
.lva-sur { margin: 0 !important; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lva-cyan); }
.lva-espace .lva-tete h2 { margin: 0; color: #fff; font-size: 1.5em; line-height: 1.2; }
.lva-tete-detail { margin: 2px 0 0 !important; font-size: .9em; opacity: .85; }
.lva-tete-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lva-espace a.lva-sortir { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; font-size: .9em; text-decoration: none; }
.lva-espace a.lva-sortir:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.lva-sortir .lva-ic { width: 17px; height: 17px; }
.lva-apercu { display: flex; align-items: center; gap: 8px; padding: 8px 22px; background: #FFF7E8; border-bottom: 1px solid #F6D49A; color: #8A5600; font-weight: 600; font-size: .9em; }
.lva-apercu .lva-ic { width: 17px; height: 17px; }
.lva-apercu { padding: 6px 22px; }
.lva-apercu > span { flex: 1; min-width: 0; }
.lva-apercu small { font-weight: 400; margin-left: 4px; }
.lva-apercu-fermer { flex: none; border: 1px solid #E0B25C; background: #fff; color: #8A5600; border-radius: 6px; padding: 3px 10px; font: inherit; font-size: .95em; cursor: pointer; }
.lva-apercu-fermer:hover { background: #FFEFD2; }

/* Choix du bateau (propriétaire de plusieurs bateaux) */
.lva-bateaux { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 100%; }
.lva-bateaux button, .lva-bateaux span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.lva-bateaux span { cursor: default; }
.lva-bateaux button:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.lva-bateaux .lva-actif { background: #fff; border-color: #fff; color: var(--lva-marine); box-shadow: inset 0 -3px 0 var(--lva-orange); }
.lva-bateaux small { font-weight: 500; opacity: .75; }
.lva-bateaux .lva-ic { width: 19px; height: 19px; color: var(--lva-cyan); }
.lva-bateaux .lva-actif .lva-ic { color: var(--lva-sarcelle); }

.lva-onglets { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 12px; background: #fff; }
.lva-onglets::-webkit-scrollbar { display: none; }
.lva-onglets button { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; margin: 0; padding: 14px 14px 11px; background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
	color: var(--lva-gris); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.lva-onglets button:hover { color: var(--lva-marine); background: #F4FAFB; }
.lva-onglets button.lva-actif { color: var(--lva-marine); border-bottom-color: var(--lva-orange); font-weight: 700; background: transparent; }
.lva-onglets .lva-ic { width: 18px; height: 18px; color: var(--lva-sarcelle); }
.lva-onglets .lva-actif .lva-ic { color: var(--lva-marine); }
.lva-compteur { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--lva-orange); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

/* Cartes */
.lva-bloc { background: #fff; border-radius: 16px; padding: 20px 22px; margin: 0 0 16px; box-shadow: 0 1px 6px rgba(0, 62, 79, .1); }
.lva-espace .lva-bloc > h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.2em; }
.lva-bloc > h3 .lva-ic { width: 22px; height: 22px; color: var(--lva-sarcelle); }
.lva-espace h4 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; font-size: 1.05em; }
.lva-deux { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; align-items: start; }
@media (min-width: 960px) { .lva-deux { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.lva-bloc.lva-afaire { border-left: 6px solid var(--lva-orange); }
.lva-bloc.lva-ok { border-left: 6px solid var(--lva-cyan); }
.lva-note, .lva-maj { font-size: .88em; color: var(--lva-gris); margin: 12px 0 0 !important; }
.lva-maj { text-align: center; }
.lva-chargement { padding: 30px; text-align: center; color: var(--lva-gris); }
.lva-erreur { color: #B32D2E; font-weight: 600; }
.lva-vide-txt { color: var(--lva-gris); }

/* Liste numérotée « à faire » */
.lva-liste-afaire { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: afaire; }
.lva-liste-afaire li { counter-increment: afaire; position: relative; min-height: 24px; margin: 10px 0; padding-left: 36px; font-weight: 500; }
.lva-liste-afaire li::before { content: counter(afaire); position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lva-orange); color: #fff; font-weight: 700; font-size: .85em; }
.lva-liste-afaire a { color: var(--lva-marine); font-weight: 700; }

/* Montants : une case par saison */
.lva-tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.lva-tuile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: #F0FBFD; border-top: 6px solid var(--lva-cyan); }
.lva-tuile.lva-tuile-neutre { background: #F4F7F8; border-top-color: #C9D4D8; }
.lva-tuile-titre { font-weight: 700; color: var(--lva-gris); text-transform: uppercase; letter-spacing: .04em; font-size: .78em; }
.lva-tuile-titre small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.lva-tuile-valeur { font-size: 1.7em; font-weight: 700; color: var(--lva-marine); font-variant-numeric: tabular-nums; line-height: 1.2; }
.lva-tuile-detail { font-size: .9em; color: var(--lva-gris); }
.lva-option-texte { color: #8A5600 !important; font-weight: 600; }

/* Frise des dates */
.lva-frise { list-style: none; margin: 0; padding: 0; }
.lva-frise li { display: flex; gap: 16px; align-items: center; padding: 10px 0; margin: 0; border-top: 1px solid #E6EEF1; }
.lva-frise li:first-child { border-top: 0; }
.lva-quand { flex: 0 0 210px; font-weight: 700; color: var(--lva-sarcelle); font-variant-numeric: tabular-nums; }
.lva-frise .lva-pastille { margin-right: 6px; }

/* Lignes (bilans, factures, documents, demandes) */
.lva-lignes { list-style: none; margin: 0; padding: 0; }
.lva-lignes li { display: flex; gap: 8px 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 0; margin: 0; border-top: 1px solid #E6EEF1; }
.lva-lignes li:first-child { border-top: 0; padding-top: 4px; }
.lva-ligne-txt { flex: 1 1 280px; min-width: 0; }
.lva-ligne-txt strong { color: var(--lva-marine); }
.lva-ligne-txt small, .lva-petit { display: block; color: var(--lva-gris); font-size: .88em; }
.lva-ligne-droite { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.lva-montant { font-size: 1.1em; font-weight: 700; color: var(--lva-marine); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lva-ligne-icone { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: #E3F6F9; color: var(--lva-sarcelle); }

/* Décompte : postes puis solde */
.lva-decompte { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--lva-trait); }
.lva-decompte + .lva-decompte { margin-top: 12px; }
.lva-postes { list-style: none; margin: 8px 0 0; padding: 0; }
.lva-postes li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; margin: 0; border-top: 1px solid #F0F5F7; }
.lva-postes li:first-child { border-top: 0; }
.lva-postes span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lva-solde { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px -18px -16px; padding: 12px 18px; border-radius: 0 0 14px 14px; background: #F0FBFD; font-weight: 700; color: var(--lva-marine); }
.lva-solde span:last-child { font-size: 1.25em; font-variant-numeric: tabular-nums; }

/* Tableaux */
.lva-tableau { overflow-x: auto; }
.lva-espace table { width: 100%; border-collapse: collapse; font-size: .95em; margin: 0; border: 0; }
.lva-espace th, .lva-espace td { padding: 10px; border: 0; border-bottom: 1px solid #E6EEF1; text-align: left; vertical-align: top; background: transparent; }
.lva-espace thead th { font-size: .78em; font-weight: 700; color: var(--lva-gris); text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--lva-trait); }
.lva-espace tfoot th { border-bottom: 0; background: #F0FBFD; color: var(--lva-marine); }
.lva-espace td small { color: var(--lva-gris); }
.lva-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lva-saison { margin: 0 0 10px; border: 1px solid var(--lva-trait); border-radius: 12px; padding: 0 14px; }
.lva-saison summary { cursor: pointer; font-weight: 700; color: var(--lva-marine); padding: 12px 0; }
.lva-saison[open] summary { border-bottom: 1px solid var(--lva-trait); }

/* Badges */
.lva-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .8em; font-weight: 700; background: #E6EEF1; color: var(--lva-gris); white-space: nowrap; }
.lva-badge.lva-confirmee { background: #D6F4F8; color: #00697A; }
.lva-badge.lva-encours { background: #E3F6F9; color: #00697A; }
.lva-badge.lva-option { background: #FDEBC8; color: #8A5600; }
.lva-badge.lva-surveiller { background: #FFF4CC; color: #7A5E00; }
.lva-badge.lva-refusee { background: #FBE3E3; color: #B32D2E; }
.lva-badge.lva-annulee { background: #EEF2F3; color: #7D949C; }

/* Boutons et champs */
.lva-espace .lva-bouton, .lva-connexion .lva-bouton, .lva-inst .lva-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--lva-orange); color: #fff; border: 0; border-radius: 10px; padding: 11px 20px;
	font-weight: 700; font-size: 1em; line-height: 1.2; text-decoration: none; cursor: pointer; }
.lva-espace .lva-bouton:hover, .lva-connexion .lva-bouton:hover { background: #D48100; color: #fff; }
.lva-espace .lva-bouton:disabled { opacity: .6; cursor: wait; }
.lva-espace .lva-bouton .lva-ic { width: 18px; height: 18px; }
.lva-espace .lva-bouton-clair, .lva-espace .lva-bouton-clair:hover { background: #fff; color: var(--lva-marine); border: 2px solid var(--lva-cyan); padding: 7px 14px; font-size: .92em; }
.lva-espace .lva-bouton-clair:hover { background: #E3F6F9; }
.lva-espace .lva-bouton-clair .lva-ic { color: var(--lva-sarcelle); width: 17px; height: 17px; }
.lva-lien { background: none; border: 0; padding: 0; color: var(--lva-sarcelle); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.lva-lien:hover { text-decoration: underline; }
.lva-espace label { font-weight: 600; font-size: .92em; color: var(--lva-marine); }
.lva-espace input[type="email"], .lva-espace input[type="date"], .lva-espace input[type="text"], .lva-espace input[type="password"], .lva-espace textarea, .lva-espace select {
	width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid #B9C9CF; border-radius: 8px; background: #fff; color: #12303A; font-size: 1em; font-weight: 400; }
.lva-espace input:focus, .lva-espace textarea:focus { outline: 2px solid var(--lva-cyan); outline-offset: 0; border-color: var(--lva-cyan); }
.lva-champs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 12px 0; }
.lva-champs label { flex: 1 1 200px; }
.lva-nuits { flex: none; padding: 0 0 12px; color: var(--lva-sarcelle); font-weight: 700; }
.lva-message { margin: 10px 0 0 !important; font-weight: 600; min-height: 1.2em; }
.lva-succes { color: #00697A; }
.lva-lien-partage { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 !important; }
.lva-espace .lva-lien-partage input { flex: 1 1 260px; width: auto; margin: 0; background: #F4FAFB; }
.lva-form-ligne { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--lva-trait); }

/* Calendrier des semaines propriétaire */
.lva-cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: 10px; text-transform: capitalize; }
.lva-cal-nav strong { color: var(--lva-marine); font-size: 1.1em; }
.lva-cal-nav button { display: flex; align-items: center; justify-content: center; border: 1px solid #9FD9E2; background: #fff; color: var(--lva-marine); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; font-size: 1.2em; }
.lva-cal-nav button:hover { background: #E3F6F9; }
.lva-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.lva-jour-nom { text-align: center; font-size: .75em; color: var(--lva-gris); font-weight: 700; text-transform: uppercase; padding-bottom: 2px; }
.lva-jour { text-align: center; padding: 10px 0; border-radius: 8px; background: #F4F7F8; font-variant-numeric: tabular-nums; font-size: .95em; font-weight: 600; }
.lva-jour.lva-vide { background: transparent; }
button.lva-jour { border: 0; color: #12303A; cursor: pointer; width: 100%; }
button.lva-jour:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--lva-cyan); }
button.lva-jour:disabled { cursor: default; }
.lva-jour.lva-passe { opacity: .4; }
.lva-jour.lva-location, .lva-pastille.lva-location { background: var(--lva-sarcelle); color: #fff; }
.lva-jour.lva-option, .lva-pastille.lva-option { background: #FDEBC8; color: #8A5600; box-shadow: inset 0 0 0 2px var(--lva-orange); }
.lva-jour.lva-proprietaire, .lva-pastille.lva-proprietaire { background: var(--lva-marine); color: #fff; }
.lva-jour.lva-demande, .lva-pastille.lva-demande { background: #E3F6F9; color: #00697A; box-shadow: inset 0 0 0 2px var(--lva-cyan); }
.lva-jour.lva-indisponible, .lva-pastille.lva-indisponible { background: #D5DFE3; color: var(--lva-gris); }
.lva-jour.lva-choisi { background: var(--lva-orange) !important; color: #fff !important; box-shadow: none; }
.lva-legende { font-size: .85em; color: var(--lva-gris); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 12px 0 0 !important; }
.lva-legende span.lva-leg { display: inline-flex; align-items: center; gap: 6px; }
.lva-pastille { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 4px; vertical-align: middle; }

/* Connexion */
.lva-espace.lva-connexion { width: auto; max-width: 480px; margin: 30px auto 40px; font-family: "Spline Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #12303A; }
.lva-connexion .lva-bloc { padding: 26px 26px 22px; }
.lva-connexion-tete { text-align: center; margin-bottom: 6px; }
.lva-connexion-tete .lva-tete-icone { margin: 0 auto 10px; width: 56px; height: 56px; background: #E3F6F9; color: var(--lva-sarcelle); }
.lva-connexion h2 { margin: 0 0 4px; color: var(--lva-marine); font-size: 1.5em; }
.lva-connexion .lva-bouton { width: 100%; padding: 13px 20px; }
.lva-connexion #lva-cnx-code { font-size: 1.5em; letter-spacing: .35em; text-align: center; font-weight: 700; }
.lva-connexion input[type="checkbox"] { width: auto; margin: 0 6px 0 0; }
.lva-connexion .lva-lien { display: block; margin: 12px auto 0; }
.lva-mdp { margin: 14px 0 0; font-size: .92em; text-align: center; }
.lva-mdp summary { cursor: pointer; color: var(--lva-gris); }
.lva-mdp form { text-align: left; margin-top: 10px; }
.lva-mdp input[type="submit"] { background: #fff; color: var(--lva-marine); border: 2px solid var(--lva-cyan); border-radius: 10px; padding: 9px 16px; font-weight: 700; cursor: pointer; }

@media (max-width: 700px) {
	.lva-tete-haut { padding: 16px; }
	.lva-espace .lva-tete h2 { font-size: 1.25em; }
	.lva-tete-icone { width: 40px; height: 40px; }
	.lva-onglets { padding: 0 4px; }
	.lva-onglets button { padding: 12px 10px 9px; font-size: 14px; }
	.lva-bloc { padding: 16px; }
	.lva-jour { padding: 8px 0; font-size: .85em; }
	.lva-tuile-valeur { font-size: 1.45em; }
	.lva-frise li { flex-direction: column; align-items: flex-start; gap: 2px; }
	.lva-quand { flex: none; }
	.lva-ligne-droite { justify-content: flex-start; }
	.lva-espace .lva-form-semaine .lva-bouton { width: 100%; }
}

/* ---------- Application sur le téléphone ---------- */
.lva-espace button.lva-sortir { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-weight: 600; font-size: .9em; cursor: pointer; }
.lva-espace button.lva-installer { background: var(--lva-orange); border-color: var(--lva-orange); }
.lva-espace .lva-tete-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lva-astuce { display: flex; align-items: flex-start; gap: 10px; padding: 12px 18px; background: #FFF6E5; color: #6B4300; font-size: .93em; }
.lva-astuce .lva-ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--lva-orange); }

/* ---------- Finances : saisons, étapes du décompte, estimations ---------- */
.lva-pilules { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.lva-pilules button { padding: 8px 16px; border-radius: 999px; border: 1px solid #9FD9E2; background: #fff; color: var(--lva-marine); font: inherit; font-weight: 700; cursor: pointer; }
.lva-pilules button small { font-weight: 500; opacity: .8; }
.lva-pilules button.lva-actif { background: var(--lva-marine); border-color: var(--lva-marine); color: #fff; box-shadow: inset 0 -3px 0 var(--lva-orange); }
.lva-sous-saison { margin: 0 0 16px !important; color: var(--lva-gris); font-size: .92em; }
.lva-sous { margin: 0 0 10px !important; color: var(--lva-gris); font-weight: 600; }
.lva-badge.lva-estim { background: #FFF1D6; color: #8A5600; border: 1px dashed #F5B748; margin-left: 6px; vertical-align: middle; }
.lva-etapes { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 4px 0 20px !important; padding: 0 !important; }
.lva-etapes li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; margin: 0; position: relative; color: var(--lva-gris); font-size: .86em; line-height: 1.3; }
.lva-etapes li + li::before { content: ""; position: absolute; top: 15px; right: calc(50% + 17px); width: calc(100% - 26px); height: 2px; background: var(--lva-trait); }
.lva-etapes li.lva-fait + li::before { background: var(--lva-sarcelle); }
.lva-etape-rond { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--lva-trait); background: #fff; font-weight: 700; position: relative; z-index: 1; }
.lva-etapes li.lva-fait .lva-etape-rond { background: var(--lva-sarcelle); border-color: var(--lva-sarcelle); color: #fff; }
.lva-etapes li.lva-ici { color: var(--lva-marine); }
.lva-etapes li.lva-ici .lva-etape-rond { border-color: var(--lva-orange); color: var(--lva-orange); box-shadow: 0 0 0 4px #FFF1D6; }
.lva-etape-titre { font-weight: 700; }
.lva-etape-detail { font-size: .9em; opacity: .85; }
.lva-decompte h4 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; color: var(--lva-marine); }
.lva-h4-suite { margin-top: 14px !important; }
.lva-retro { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--lva-trait); background: linear-gradient(180deg, #F0FBFD, #fff); }
.lva-retro-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.lva-retro-tete > div { display: flex; flex-direction: column; gap: 4px; }
.lva-retro-montant { font-size: 1.7em; color: var(--lva-marine); font-variant-numeric: tabular-nums; }
.lva-validation { list-style: none; margin: 14px 0 0 !important; padding: 0 !important; }
.lva-validation li { position: relative; margin: 0; padding: 5px 0 5px 28px; color: var(--lva-gris); }
.lva-validation li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--lva-trait); background: #fff; }
.lva-validation li.lva-fait { color: var(--lva-marine); font-weight: 600; }
.lva-validation li.lva-fait::before { background: var(--lva-sarcelle); border-color: var(--lva-sarcelle); }
.lva-rapport { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--lva-trait); }
.lva-rapport > .lva-ic { flex: none; width: 26px; height: 26px; color: var(--lva-sarcelle); }
.lva-rapport > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lva-rapport small { color: var(--lva-gris); }
.lva-rapport-attente { border-style: dashed; background: #F7FAFB; }
.lva-rapport-attente > .lva-ic { color: #9FB4BB; }
@media (max-width: 700px) {
	.lva-etapes { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.lva-etapes li { flex-direction: row; align-items: flex-start; text-align: left; gap: 10px; padding: 0 0 12px; display: grid; grid-template-columns: 32px minmax(0, 1fr); }
	.lva-etapes li + li::before { top: -12px; left: 15px; right: auto; width: 2px; height: 12px; }
	.lva-etape-rond { grid-row: span 2; }
	.lva-retro-montant { font-size: 1.45em; }
}
.lva-bloc .lva-deux { gap: 12px 16px; }

/* ---------- Travaux et bilans, documents du bateau ---------- */
.lva-pilules + .lva-bloc, .lva-pilules + section { margin-top: 12px; }
.lva-etapes.lva-etapes-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.lva-etapes-8 .lva-etape-titre { font-size: .95em; }
.lva-tuiles-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 12px; }
.lva-espace .lva-h4 { margin: 14px 0 6px; color: var(--lva-marine); font-size: 1em; }
.lva-doc-manque .lva-ligne-icone { background: #FFF1D6; color: var(--lva-orange); }
.lva-form-doc { margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px dashed #9FD9E2; background: #F7FCFD; }
.lva-form-doc .lva-h4 { margin-top: 0; }
.lva-form-doc select, .lva-form-doc input[type="date"], .lva-form-doc input[type="file"] { display: block; width: 100%; margin-top: 4px; }
.lva-champ-large { flex: 2 1 260px !important; }
@media (max-width: 960px) {
	.lva-etapes.lva-etapes-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
	.lva-etapes-8 li:nth-child(5)::before { display: none; }
}
@media (max-width: 700px) {
	.lva-etapes.lva-etapes-8 { grid-template-columns: minmax(0, 1fr); }
	.lva-etapes-8 li:nth-child(5)::before { display: block; }
}

/* 0.6.0 : boutons-liens à l'abri des styles du thème (majuscules, fond, marges), estimation de la saison, réservations */
.lva-espace button.lva-lien { display: inline; width: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none; color: var(--lva-sarcelle) !important; font: inherit; font-size: inherit; font-weight: 600; line-height: inherit; letter-spacing: 0; text-transform: none !important; text-decoration: none; cursor: pointer; }
.lva-espace button.lva-lien:hover { text-decoration: underline; background: none; }
.lva-espace button.lva-lien-danger { color: #B3261E !important; }
.lva-espace button, .lva-espace .lva-bouton { text-transform: none !important; letter-spacing: 0; }
.lva-espace .lva-bouton-petit { padding: 7px 14px; font-size: .9em; }
.lva-estimation .lva-decompte h4 { margin-top: 0; }
.lva-sous-total { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 0; margin-top: 4px; border-top: 1px solid var(--lva-trait); font-weight: 700; color: var(--lva-marine); }
.lva-dernier { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--lva-trait); color: var(--lva-gris); font-size: .95em; }
.lva-menage { color: var(--lva-gris); }
.lva-menage-oui { color: #1F7A4D; font-weight: 600; }
.lva-ligne-txt small + small { margin-top: 2px; }
.lva-case { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 500; }
.lva-espace .lva-case input { width: auto; margin: 4px 0 0; flex: none; }
.lva-ligne-droite .lva-lien { font-size: .9em; }
.lva-estimation .lva-decompte { margin: 0; align-self: start; }

/* Explication d'installation de l'application (première ouverture dans le navigateur). */
.lva-inst-fond { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 30, 40, .55); display: flex; align-items: flex-end; justify-content: center; padding: 16px; font-family: "Spline Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #12303A; line-height: 1.5; }
@media (min-width: 700px) { .lva-inst-fond { align-items: center; } }
.lva-inst { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 18px; padding: 24px 22px 14px; box-shadow: 0 18px 50px rgba(0, 30, 40, .3); margin-bottom: env(safe-area-inset-bottom); }
.lva-inst h2 { margin: 0 0 6px; font-size: 1.25em; color: #003E4F; line-height: 1.25; }
.lva-inst p { margin: 0 0 12px; }
.lva-inst-sur { color: #00BBD2; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .78em; margin: 0 0 4px !important; }
.lva-inst-fermer { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none !important; color: #4F6B75; font-size: 26px; line-height: 1; cursor: pointer; padding: 0; }
.lva-inst-etapes { list-style: none; margin: 4px 0 8px; padding: 0; }
.lva-inst-etapes li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #E1EBEF; }
.lva-inst-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #EEF4F6; color: #00899A; display: flex; align-items: center; justify-content: center; }
.lva-inst-ic svg { width: 22px; height: 22px; }
.lva-inst-logo { background-size: cover; background-position: center; background-color: #003E4F; }
.lva-inst-note { background: #FFF7E6; border-radius: 10px; padding: 8px 12px; font-size: .92em; }
.lva-inst-action .lva-bouton { width: 100%; }
.lva-inst-pied { text-align: center; margin: 4px 0 0 !important; }
.lva-inst-plus-tard { border: 0; background: none !important; color: #4F6B75; font: inherit; text-decoration: underline; cursor: pointer; padding: 8px; }
.lva-inst-lien { text-align: center; margin: 0; padding: 0 16px 24px; font-family: "Spline Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.lva-inst-lien button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none !important; color: #00899A; font: inherit; font-size: .92em; cursor: pointer; padding: 6px; }
.lva-inst-lien svg { width: 18px; height: 18px; }

/* Accueil : nouveautés depuis la dernière visite. */
.lva-nouveautes { list-style: none; margin: 0; padding: 0; }
.lva-nouveautes li { padding: 8px 0 8px 18px; border-top: 1px solid var(--lva-trait); position: relative; }
.lva-nouveautes li:first-child { border-top: 0; }
.lva-nouveautes li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--lva-cyan); }

/* Bilan technique complet. */
.lva-tuile.lva-tuile-alerte { background: #FFF6E6; border-top-color: var(--lva-orange); }
.lva-bilan-complet .lva-pilules { align-items: center; margin: 14px 0 4px; }
.lva-bilan-complet .lva-pilules .lva-bouton { margin-left: auto; }
.lva-observations { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #F4F7F8; }
.lva-observations p { margin: 0; }
.lva-rubrique { margin-top: 10px; }
.lva-rubrique .lva-h4 small { font-weight: 500; color: var(--lva-gris); }
.lva-espace tr.lva-probleme td { background: #FFF8EC; }
.lva-rubrique table { table-layout: fixed; width: 100%; }
.lva-rubrique th:nth-child(1) { width: 44%; }
.lva-rubrique th:nth-child(2) { width: 130px; }
.lva-unites { margin: 4px 0 0; padding-left: 18px; font-size: .88em; color: var(--lva-gris); }

/* Devis : détail en TTC et réponse du propriétaire. */
.lva-montant small { font-size: .7em; font-weight: 600; color: var(--lva-gris); }
.lva-lignes li.lva-devis-detail { display: block; padding: 14px 16px; margin: 0 0 10px; border: 1px solid var(--lva-trait); border-radius: 12px; background: #F7FBFC; }
.lva-espace tr.lva-section th { background: #EEF4F6; color: var(--lva-marine); text-align: left; }
.lva-espace tr.lva-tva td { color: var(--lva-gris); font-size: .9em; }
.lva-devis-reponse { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border-left: 6px solid var(--lva-orange); }
.lva-devis-reponse p { margin: 0 auto 0 0; font-weight: 700; color: var(--lva-marine); }
.lva-espace .lva-bouton-danger, .lva-espace .lva-bouton-danger:hover { color: #B32D2E; border-color: #E8A5A5; }

/* PDF du bilan : l'impression ne garde que le bilan complet. */
@media print {
	body.lva-imprime-bilan * { visibility: hidden; }
	body.lva-imprime-bilan .lva-bilan-complet, body.lva-imprime-bilan .lva-bilan-complet * { visibility: visible; }
	body.lva-imprime-bilan .lva-bilan-complet { position: absolute; left: 0; top: 0; width: 100%; margin: 0; border: 0; box-shadow: none; }
	body.lva-imprime-bilan .lva-sans-impression, body.lva-imprime-bilan .lva-inst-lien { display: none !important; }
	body.lva-imprime-bilan .lva-tableau { overflow: visible; }
	body.lva-imprime-bilan tr { break-inside: avoid; }
	body.lva-imprime-bilan .lva-espace tr.lva-probleme td, body.lva-imprime-bilan .lva-badge, body.lva-imprime-bilan .lva-tuile { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Date « bateau prêt » souhaitée par le propriétaire */
.lva-pret { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lva-pret input[type="date"] { padding: 6px 8px; border: 1px solid #C9DCE2; border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }

/* Entretien : six étapes cliquables, du bilan technique annuel à la Division 240 */
.lva-etapes.lva-etapes-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lva-etapes-clic li button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 6px 4px 8px; border-radius: 10px; cursor: pointer; text-align: center; font: inherit; color: inherit; }
.lva-etapes-clic li button:hover { background: #F2F7F8; }
.lva-etapes-clic li button:focus-visible { outline: 2px solid var(--lva-sarcelle); outline-offset: 2px; }
.lva-etapes-clic li.lva-choisie button { background: #E8F3F4; box-shadow: inset 0 0 0 1px var(--lva-sarcelle); }
.lva-etapes-clic .lva-badge { margin: 2px 0 0; }
.lva-etape-panneau { border-left: 4px solid var(--lva-sarcelle); }
.lva-date-hiver { margin: 0; }
@media (max-width: 900px) {
	.lva-etapes.lva-etapes-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
	.lva-etapes-6 li:nth-child(4)::before { display: none; }
}
@media (max-width: 600px) {
	.lva-etapes.lva-etapes-6 { grid-template-columns: minmax(0, 1fr); }
	.lva-etapes-6 li:nth-child(4)::before { display: block; }
	.lva-etapes-clic li { display: block; padding: 0 0 6px; }
	.lva-etapes-clic li + li::before { display: none !important; }
	.lva-etapes-clic li button { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; text-align: left; column-gap: 10px; }
	.lva-etapes-clic .lva-etape-detail { grid-column: 2 / 4; }
}

/* 0.7.3 : Vos dates importantes, petit calendrier aux couleurs de Loc Voile Armor avec les dates à côté */
.lva-intro { margin: 0 0 14px !important; color: var(--lva-gris); }
.lva-cal-duo { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 24px; align-items: start; }
.lva-minical { border-radius: 16px; overflow: hidden; border: 1px solid var(--lva-trait); background: #fff; box-shadow: 0 6px 18px rgba(0, 62, 79, .08); }
.lva-minical .lva-cal-nav { margin: 0; padding: 10px 12px; background: var(--lva-marine); }
.lva-minical .lva-cal-nav strong { color: #fff; font-size: 1em; }
.lva-minical .lva-cal-nav button { width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; }
.lva-minical .lva-cal-nav button:hover { background: rgba(255, 255, 255, .12); }
.lva-minical .lva-cal { gap: 3px; padding: 10px 10px 12px; }
.lva-minical .lva-jour-nom { color: var(--lva-sarcelle); font-size: .7em; padding-bottom: 4px; }
.lva-minical .lva-jour { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 0; border-radius: 50%; background: transparent; font-size: .82em; }
.lva-minical button.lva-jour:hover:not(:disabled) { background: #E3F6F9; box-shadow: none; }
.lva-minical .lva-jour.lva-passe { opacity: .35; }
.lva-minical button.lva-jour:disabled { color: #8FA3AA; }
.lva-minical .lva-jour.lva-location, .lva-minical .lva-jour.lva-proprietaire, .lva-minical .lva-jour.lva-indisponible, .lva-minical .lva-jour.lva-option, .lva-minical .lva-jour.lva-demande { border-radius: 8px; }
.lva-jour.lva-hiver, .lva-pastille.lva-hiver { background: #D9F1F5 !important; color: var(--lva-marine); border-radius: 8px; }
.lva-jour.lva-hiver-debut, .lva-pastille.lva-hiver-debut { background: var(--lva-marine) !important; color: #fff !important; }
.lva-pastille.lva-choisi { background: var(--lva-orange); }
.lva-minical .lva-jour.lva-choisi { border-radius: 50%; box-shadow: 0 2px 6px rgba(245, 156, 0, .45); }
.lva-cal-duo .lva-legende { margin-top: 10px !important; font-size: .8em; gap: 4px 12px; }
.lva-cal-cote { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lva-date-carte { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: #F0FBFD; border-left: 5px solid var(--lva-cyan); }
.lva-date-carte small { color: var(--lva-gris); font-size: .86em; }
.lva-date-desh { background: #FFF8EB; border-left-color: var(--lva-orange); }
.lva-date-valeur { font-size: 1.35em; font-weight: 700; color: var(--lva-marine); }
.lva-date-carte .lva-pret { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.lva-cal-cote .lva-form-semaine { margin: 0; }
.lva-cal-cote .lva-champs { margin-top: 0; }
@media (max-width: 760px) {
	.lva-cal-duo { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.lva-minical { max-width: 380px; margin: 0 auto; }
}

/* 0.8.0 : aux couleurs de Loc Voile Armor, bandeau blanc au logo, bandeau marine aux voiles du logo */
.lva-tete-logo { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding: 14px 22px; background: #fff; border-bottom: 4px solid var(--lva-orange); }
.lva-logo { display: block; width: auto; height: 42px; max-width: 100%; }
.lva-tete-espace { margin-right: auto; padding: 4px 12px; border-radius: 999px; background: #E3F6F9; color: var(--lva-sarcelle); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.lva-tete-logo .lva-tete-actions { gap: 8px; }
.lva-espace .lva-tete-logo a.lva-sortir, .lva-espace .lva-tete-logo button.lva-sortir { border: 1px solid #9FD9E2; background: #fff; color: var(--lva-marine); }
.lva-espace .lva-tete-logo a.lva-sortir:hover, .lva-espace .lva-tete-logo button.lva-sortir:hover { background: #E3F6F9; color: var(--lva-marine); }
.lva-tete-logo .lva-sortir .lva-ic { color: var(--lva-sarcelle); }
.lva-tete-haut { position: relative; overflow: hidden; padding: 22px 22px 24px; background: linear-gradient(115deg, #003E4F 0%, #00566C 55%, #00899A 100%); }
.lva-tete-haut > *:not(.lva-voiles) { position: relative; z-index: 1; }
.lva-voiles { position: absolute; right: 18px; bottom: 0; width: 220px; height: 120px; pointer-events: none; opacity: .9; }
.lva-tete-haut .lva-tete-icone { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 2px rgba(0, 187, 210, .6); }
.lva-espace .lva-tete-haut h2 { font-size: 1.65em; }
.lva-tete-haut .lva-sur { color: #7FE3F0; }
.lva-onglets { border-top: 1px solid var(--lva-trait); }
.lva-espace .lva-bloc > h3 { position: relative; padding-bottom: 10px; }
.lva-espace .lva-bloc > h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--lva-orange); }
.lva-connexion-tete .lva-logo { height: 46px; margin: 4px auto 14px; }
@media (max-width: 700px) {
	.lva-tete-logo { padding: 12px 16px; }
	.lva-logo { height: 32px; }
	.lva-tete-espace { order: 3; flex: 0 0 auto; font-size: 11px; }
	.lva-tete-logo .lva-sortir span { display: none; }
	.lva-tete-logo .lva-tete-actions { margin-left: auto; }
	.lva-voiles { width: 130px; height: 72px; right: 0; opacity: .35; }
	.lva-espace .lva-tete-haut h2 { font-size: 1.3em; }
}

/* 0.8.1 : Entretien en sept étapes (Validation des devis), étapes en cartes cliquables, bulles des actions demandées */
.lva-etapes.lva-etapes-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 14px !important; }
.lva-etapes-7 li + li::before { display: none; }
.lva-etapes-clic li { overflow: visible; }
.lva-etapes-clic li button { position: relative; padding: 14px 6px 10px; border: 1px solid #C9DCE2; background: #fff; box-shadow: 0 1px 3px rgba(11, 61, 84, .08); transition: transform .12s, box-shadow .12s, border-color .12s; min-height: 100%; }
.lva-etapes-clic li button:hover { background: #fff; border-color: var(--lva-sarcelle); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(11, 61, 84, .14); }
.lva-etapes-clic li.lva-choisie button { background: #E8F3F4; border-color: var(--lva-sarcelle); box-shadow: inset 0 -3px 0 var(--lva-orange), 0 1px 3px rgba(11, 61, 84, .08); }
.lva-etapes-clic li.lva-a-agir button { border-color: #F5B748; }
.lva-etapes-7 .lva-etape-titre { font-size: 1.02em; color: var(--lva-marine); }
.lva-etape-voir { margin-top: auto; padding-top: 4px; font-size: .86em; font-weight: 700; color: var(--lva-sarcelle); }
.lva-a-agir .lva-etape-voir { color: #B86E00; }
.lva-choisie .lva-etape-voir { color: var(--lva-marine); }
.lva-bulle { position: absolute; top: -10px; right: -6px; z-index: 2; min-width: 24px; height: 24px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: var(--lva-orange); color: #fff; font-weight: 800; font-size: 13px; line-height: 24px; text-align: center; box-shadow: 0 0 0 3px #fff; }
.lva-bulle.lva-bulle-texte { position: static; display: inline-block; min-width: 20px; height: 20px; line-height: 20px; font-size: 12px; box-shadow: none; vertical-align: 1px; }
.lva-etapes-aide { display: flex; gap: 8px; align-items: flex-start; }
@media (max-width: 1000px) {
	.lva-etapes.lva-etapes-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; }
}
@media (max-width: 600px) {
	.lva-etapes.lva-etapes-7 { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
	.lva-etapes-clic li button { grid-template-columns: 32px minmax(0, 1fr) auto; }
	.lva-etapes-clic .lva-etape-voir { grid-column: 2 / 4; margin: 0; padding: 0; }
	.lva-bulle { top: -8px; right: 8px; }
}

/* 0.8.2 : lignes compactes de l'Entretien (détail au survol ou sur « i »), catégories mieux séparées */
.lva-lignes li.lva-compacte { padding: 5px 2px; gap: 6px 12px; flex-wrap: nowrap; border-top-color: #EEF3F5; }
.lva-lignes li.lva-compacte:first-child { padding-top: 2px; }
.lva-lignes li.lva-compacte:hover { background: #F7FBFC; }
.lva-compacte .lva-ligne-txt { flex: 1 1 auto; display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.lva-compacte .lva-ligne-txt strong { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 26px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .95em; }
.lva-info { flex: none; width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 1px solid #9FD9E2; background: #fff; color: var(--lva-sarcelle); font: italic 700 11px/16px Georgia, serif; text-align: center; cursor: help; }
.lva-ligne-info { display: none !important; flex-basis: 100%; }
.lva-info-ouverte .lva-ligne-info { display: block !important; }
.lva-info-ouverte .lva-ligne-txt strong { white-space: normal; }
.lva-compacte .lva-ligne-droite { flex: none; gap: 6px; flex-wrap: nowrap; }
.lva-compacte .lva-badge { font-size: .78em; padding: 2px 8px; }
.lva-compacte .lva-bouton { padding: 4px 10px; font-size: .82em; min-height: 0; }
.lva-etape-panneau .lva-h4 { margin: 18px 0 4px !important; padding: 6px 10px; background: #EEF6F8; border-left: 3px solid var(--lva-sarcelle); border-radius: 6px; font-size: .95em; }
.lva-bloc.lva-cat { padding-top: 14px; padding-bottom: 12px; border-left: 5px solid var(--lva-sarcelle); }
.lva-bloc.lva-cat > h3 { font-size: 1.05em; }
.lva-cat-renouvellement { border-left-color: var(--lva-orange) !important; }
.lva-cat-lva { border-left-color: var(--lva-marine) !important; }
.lva-cat-entretien { border-left-color: var(--lva-sarcelle) !important; }
.lva-cat-amelioration { border-left-color: #9FB4BC !important; }
.lva-bloc.lva-cat .lva-note { margin-top: 6px; font-size: .85em; }
@media (max-width: 600px) {
	.lva-lignes li.lva-compacte { flex-wrap: wrap; }
	.lva-compacte .lva-ligne-droite { flex-wrap: wrap; }
}
/* Devis envoyé, pas encore validé : mis en évidence sur la ligne de la tâche */
.lva-lignes li.lva-ligne-a-valider { background: #FFF6E5; box-shadow: inset 3px 0 0 var(--lva-orange); padding-left: 8px; border-radius: 4px; }
.lva-compacte .lva-bouton.lva-a-valider { background: var(--lva-orange); border-color: var(--lva-orange); color: #fff; font-weight: 700; }

/* 0.8.7 : plus sobre (Vincent 23/10) : angles droits, typographie plus légère, orange réservé à ce qui
 * attend une action du propriétaire (bulles, compteurs, devis à valider, choix à faire). Le reste en marine et gris. */
.lva-espace { --lva-r: 4px; color: #2A4650; font-weight: 400; font-size: 15.5px; }
.lva-espace strong, .lva-espace b { font-weight: 600; }
.lva-espace h2, .lva-espace h3, .lva-espace h4, .lva-espace .lva-h4 { font-weight: 600; }
.lva-espace .lva-tete h2 { font-weight: 600; }
.lva-tete, .lva-bloc, .lva-tuile, .lva-decompte, .lva-retro, .lva-rapport, .lva-saison, .lva-minical, .lva-date-carte, .lva-form-doc,
.lva-observations, .lva-lignes li.lva-devis-detail, .lva-devis-reponse, .lva-ligne-icone, .lva-etape-panneau .lva-h4 { border-radius: var(--lva-r); }
.lva-tete { box-shadow: 0 1px 4px rgba(0, 30, 40, .12); }
.lva-bloc { box-shadow: none; border: 1px solid #DCE6EA; }
.lva-solde { border-radius: 0 0 var(--lva-r) var(--lva-r); }
.lva-espace .lva-bouton, .lva-connexion .lva-bouton, .lva-inst .lva-bouton { border-radius: var(--lva-r); background: var(--lva-marine); font-weight: 600; }
.lva-espace a.lva-sortir, .lva-espace button.lva-sortir, .lva-bateaux button, .lva-bateaux span, .lva-pilules button, .lva-cal-nav button { border-radius: var(--lva-r); }
.lva-espace button.lva-installer { background: var(--lva-marine); border-color: var(--lva-marine); color: #fff; }
.lva-badge, .lva-compteur, .lva-tete-espace { border-radius: 3px; }
.lva-badge { font-weight: 500; }
.lva-lien, .lva-espace button.lva-lien { font-weight: 500; }
.lva-tuile-titre, .lva-espace thead th { font-weight: 600; }
.lva-tuile-valeur, .lva-date-valeur, .lva-montant { font-weight: 600; }
.lva-tuile { border-top-width: 3px; }
.lva-tuile.lva-tuile-alerte { background: #F4F7F8; border-top-color: #9FB4BC; }
.lva-onglets button { font-weight: 500; }
.lva-onglets button.lva-actif { border-bottom-color: var(--lva-marine); font-weight: 600; }
.lva-bateaux button, .lva-bateaux span { font-weight: 600; }
.lva-bateaux .lva-actif, .lva-pilules button.lva-actif { box-shadow: none; }
.lva-pilules button { font-weight: 500; }
.lva-tete-logo { border-bottom: 1px solid var(--lva-trait); }
.lva-espace .lva-bloc > h3::after { display: none; }
.lva-espace .lva-bloc > h3 { padding-bottom: 6px; border-bottom: 1px solid var(--lva-trait); }
.lva-bloc.lva-afaire { border-left: 3px solid var(--lva-orange); }
.lva-bloc.lva-ok { border-left: 3px solid var(--lva-sarcelle); }
.lva-liste-afaire li::before { border-radius: 3px; width: 22px; height: 22px; font-weight: 600; }
.lva-liste-afaire a { font-weight: 600; }
.lva-espace tr.lva-probleme td { background: #F7F9FA; }
.lva-date-desh { background: #F4F7F8; border-left-color: #9FB4BC; }
.lva-date-carte { border-left-width: 3px; }
.lva-jour.lva-choisi { border-radius: 3px; }
.lva-minical .lva-jour.lva-choisi { border-radius: 3px; box-shadow: none; }

/* Étapes de l'entretien : cartes carrées et plates ; seule la bulle orange signale une action. */
.lva-etapes.lva-etapes-7 { gap: 6px; }
.lva-etapes-clic li button { border-radius: var(--lva-r); border-color: #DCE6EA; box-shadow: none; transition: border-color .12s, background .12s; }
.lva-etapes-clic li button:hover { transform: none; box-shadow: none; background: #F7FAFB; border-color: #9FB4BC; }
.lva-etapes-clic li.lva-choisie button { background: #F2F6F7; border-color: var(--lva-marine); box-shadow: inset 0 -2px 0 var(--lva-marine); }
.lva-etapes-clic li.lva-a-agir button { border-color: #DCE6EA; }
.lva-etapes-7 .lva-etape-titre { font-weight: 600; font-size: .98em; }
.lva-etape-rond { border-radius: 3px; width: 28px; height: 28px; border-width: 1px; font-weight: 500; }
.lva-etapes li.lva-ici .lva-etape-rond { border-color: var(--lva-marine); color: var(--lva-marine); box-shadow: none; }
.lva-etape-voir, .lva-a-agir .lva-etape-voir { font-weight: 500; color: var(--lva-gris); }
.lva-choisie .lva-etape-voir { color: var(--lva-marine); }
.lva-bulle { border-radius: 3px; font-weight: 600; height: 20px; line-height: 20px; min-width: 20px; font-size: 12px; top: -8px; right: -4px; box-shadow: 0 0 0 2px #fff; }
.lva-etape-panneau { border-left: 1px solid #DCE6EA; }
.lva-etape-panneau .lva-h4 { background: transparent; border-left: 0; border-bottom: 1px solid var(--lva-trait); padding: 4px 0; color: var(--lva-gris); font-size: .82em; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* Listes de tâches : discrètes ; une ligne qui attend le propriétaire (choix, devis à valider) ressort. */
.lva-compacte .lva-ligne-txt strong { font-weight: 400; }
.lva-compacte .lva-badge, .lva-compacte .lva-badge.lva-option, .lva-compacte .lva-badge.lva-encours, .lva-compacte .lva-badge.lva-confirmee { background: transparent; color: var(--lva-gris); padding: 0; font-weight: 400; font-size: .82em; }
.lva-compacte .lva-badge.lva-confirmee { color: var(--lva-sarcelle); }
.lva-compacte .lva-badge.lva-annulee { background: transparent; color: #9FB4BC; padding: 0; }
.lva-lignes li.lva-compacte:has(button.lva-bouton:not(:disabled)) { background: #FFF9EE; box-shadow: inset 2px 0 0 var(--lva-orange); padding-left: 8px; }
.lva-lignes li.lva-compacte:has(button.lva-bouton:not(:disabled)) .lva-ligne-txt strong { font-weight: 600; color: var(--lva-marine); }
.lva-compacte .lva-bouton { border-radius: 3px; font-weight: 500; }
.lva-compacte .lva-bouton.lva-bouton-petit { background: var(--lva-orange); border-color: var(--lva-orange); }
.lva-lignes li.lva-ligne-a-valider { background: #FFF9EE; box-shadow: inset 2px 0 0 var(--lva-orange); border-radius: 0; }
.lva-lignes li.lva-ligne-a-valider .lva-ligne-txt strong { font-weight: 600; color: var(--lva-marine); }
.lva-compacte .lva-bouton.lva-a-valider { font-weight: 600; }
.lva-info { border-radius: 3px; font: 500 11px/16px "Spline Sans", sans-serif; font-style: normal; }
.lva-bloc.lva-cat { border-left: 1px solid #DCE6EA; }
.lva-cat-renouvellement, .lva-cat-lva, .lva-cat-entretien, .lva-cat-amelioration { border-left-color: #DCE6EA !important; }
.lva-bloc.lva-cat > h3 { font-size: 1em; }
.lva-espace .lva-bouton.lva-bouton-clair, .lva-espace .lva-bouton-clair { background: #fff; color: var(--lva-marine); border: 1px solid #9FB4BC; }
.lva-espace .lva-bouton.lva-bouton-clair:hover, .lva-espace .lva-bouton-clair:hover { background: #F2F6F7; }
.lva-espace .lva-bouton-danger, .lva-espace .lva-bouton-danger:hover { color: #B32D2E; border-color: #E8A5A5; }
.lva-bloc.lva-cat > h3 .lva-badge, .lva-bloc.lva-cat > h3 .lva-badge.lva-option { background: #EEF2F3; color: var(--lva-gris); }
.lva-etape-panneau .lva-tuile, .lva-tuile { background: #fff; border: 1px solid #DCE6EA; border-top: 3px solid #9FB4BC; }
.lva-etapes-clic .lva-badge { background: transparent; padding: 0; color: var(--lva-gris); font-size: .8em; }
.lva-etapes-clic .lva-badge.lva-confirmee { color: var(--lva-sarcelle); }
.lva-sous { font-weight: 500; }
/* Intitulé complet sur plusieurs lignes si besoin ; l'état reste aligné à droite (aussi sur téléphone). */
.lva-lignes li.lva-compacte { flex-wrap: nowrap; align-items: flex-start; }
.lva-compacte .lva-ligne-txt { flex: 1 1 0; }
.lva-compacte .lva-ligne-txt strong { white-space: normal; overflow: visible; text-overflow: clip; max-width: 100%; }
.lva-compacte .lva-ligne-droite { flex: 0 0 auto; max-width: 45%; justify-content: flex-end; text-align: right; padding-top: 2px; }
@media (max-width: 600px) {
	.lva-lignes li.lva-compacte { flex-wrap: nowrap; }
	.lva-lignes li.lva-compacte:has(button.lva-bouton) { flex-wrap: wrap; }
	.lva-lignes li.lva-compacte:has(button.lva-bouton) .lva-ligne-droite { max-width: none; flex-basis: 100%; justify-content: flex-start; }
}
/* Choix du propriétaire : deux petites cases « LVA | Moi », texte complet au survol. */
.lva-choix { display: inline-flex; flex: none; border: 1px solid var(--lva-orange); border-radius: 3px; overflow: hidden; vertical-align: middle; }
.lva-espace .lva-choix .lva-choix-case { min-height: 0; margin: 0; padding: 3px 12px; border: 0; border-radius: 0; background: #fff; color: #8A5600; font-size: .82em; font-weight: 600; line-height: 1.4; }
.lva-espace .lva-choix .lva-choix-case + .lva-choix-case { border-left: 1px solid var(--lva-orange); }
.lva-espace .lva-choix .lva-choix-case:hover:not(:disabled) { background: var(--lva-orange); color: #fff; }
.lva-espace .lva-choix .lva-choix-case:disabled { opacity: .5; cursor: default; }
.lva-choix { border-color: var(--lva-orange); }
@media (max-width: 600px) {
	.lva-lignes li.lva-compacte:has(.lva-choix) { flex-wrap: nowrap; }
	.lva-lignes li.lva-compacte:has(.lva-choix) .lva-ligne-droite { max-width: 45%; flex-basis: auto; justify-content: flex-end; }
}
@media (max-width: 600px) {
	.lva-lignes li.lva-compacte:has(button.lva-bouton) { flex-wrap: nowrap; }
	.lva-lignes li.lva-compacte:has(button.lva-bouton) .lva-ligne-droite { max-width: 50%; flex-basis: auto; justify-content: flex-end; }
}

/* 0.8.12 : sélecteur de langue Weglot (case à cocher + point de liste, sans sa feuille de style) jamais dans l'espace
 * (aussi retiré côté serveur, filtre weglot_button_html). Déconnexion : libellé visible sur téléphone et confirmation. */
body.lva-espace-app aside.country-selector, body.lva-espace-app .country-selector, body.lva-espace-app .weglot-container, body.lva-espace-app .wg-default { display: none !important; }
.lva-confirmer-sortir { flex-wrap: wrap; align-items: center; }
.lva-confirmer-sortir > span:nth-of-type(1) { flex: 1 1 240px; }
.lva-confirmer-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lva-confirmer-actions .lva-bouton { padding: 8px 16px; text-decoration: none; }
@media (max-width: 700px) {
	.lva-tete-logo .lva-sortir span { display: inline; font-size: .85em; }
	.lva-espace .lva-tete-logo a.lva-sortir, .lva-espace .lva-tete-logo button.lva-sortir { padding: 7px 10px; }
}

/* Photos du bilan sur les tâches (0.8.13) : petites vignettes dans la ligne, agrandies au clic. */
.lva-ph { display: inline-flex; gap: 3px; align-items: center; }
.lva-ph:empty { display: none; }
.lva-espace .lva-ph button { padding: 0 !important; margin: 0; min-height: 0; border: 1px solid #D6E3E8; border-radius: 4px; background: #fff !important; box-shadow: none; width: 28px; height: 21px; overflow: hidden; cursor: zoom-in; line-height: 0; }
.lva-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lva-espace .lva-ph .lva-ph-plus { width: auto; padding: 0 5px !important; font-size: 11px; line-height: 19px; color: #2A5A68; cursor: pointer; }
.lva-zoom { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lva-zoom::backdrop { background: rgba(10, 30, 40, .82); }
.lva-zoom img { display: block; max-width: 94vw; max-height: 90vh; border-radius: 6px; background: #fff; }
.lva-zoom button { position: absolute; min-height: 0; margin: 0; box-shadow: none; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0E3B4A; font-size: 22px; width: 36px; height: 36px; line-height: 34px; cursor: pointer; padding: 0; }
.lva-zoom-x { top: -14px; right: -14px; }
.lva-zoom-p { left: 8px; top: 50%; transform: translateY(-50%); }
.lva-zoom-s { right: 8px; top: 50%; transform: translateY(-50%); }
.lva-zoom.lva-seule .lva-zoom-p, .lva-zoom.lva-seule .lva-zoom-s { display: none; }
.lva-zoom-n { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.lva-zoom-n:empty { display: none; }
@media (max-width: 600px) { .lva-zoom-x { top: 6px; right: 6px; } }

/* Choix du solde en votre faveur : virement ou garder en compte (0.9.0). */
.lva-choix-solde { margin-top: 26px; padding: 12px 16px; border-radius: var(--lva-r); border-left: 4px solid var(--lva-orange); background: #FFF8EC; }
.lva-choix-solde p { margin: 0 0 8px; }
.lva-choix-solde p:last-child { margin-bottom: 0; }
.lva-choix-solde small { display: block; margin-top: 2px; font-weight: 400; }
.lva-choix-solde .lva-form-ligne { display: flex; flex-wrap: wrap; gap: 8px; }
.lva-validation { display: block; font-size: .8em; color: var(--lva-gris); margin-top: 2px; }

/* Demandes de devis : devis des prestataires reçus sur le nombre attendu (0.9.5-0.9.6). */
.lva-recus { font-size: .85em; font-weight: 600; color: var(--lva-gris); white-space: nowrap; }
