/* Toniutti — Espace acquéreur (côté client) */

.tnea {
	--tn-ink: #2C2112;
	--tn-ink2: #3D3120;
	--tn-cream: #FAF8F3;
	--tn-white: #FFFFFF;
	--tn-gold: #C9A96E;
	--tn-gold-ink: #7A5A22;
	--tn-bar: #A88447;
	--tn-line: #E8E0D2;
	--tn-line2: #F0E9DD;
	--tn-muted: #6B5D48;
	--tn-muted2: #5C4E3A;
	--tn-sand: #F1EADD;
	--tn-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
	--tn-sans: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;

	box-sizing: border-box;
	max-width: 560px;
	margin: 0 auto;
	background: var(--tn-cream);
	color: var(--tn-ink);
	font-family: var(--tn-sans);
	font-size: 15px;
	line-height: 1.5;
	border-radius: 24px;
	overflow: hidden;
	position: relative;
	-webkit-font-smoothing: antialiased;
}
.tnea *, .tnea *::before, .tnea *::after { box-sizing: border-box; }
.tnea p { margin: 0; }
.tnea a { color: var(--tn-gold-ink); }
.tnea a:hover { color: var(--tn-ink); }
.tnea :focus-visible { outline: 2px solid var(--tn-gold-ink); outline-offset: 2px; }
.tnea .tnea-ico { flex: none; display: block; }
.tnea-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tnea-screen { display: flex; flex-direction: column; gap: 18px; padding: 28px 20px 24px; }

/* Typographie */
.tnea-eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--tn-gold-ink); }
.tnea-eyebrow--gold { color: var(--tn-gold); }
.tnea .tnea-h1 { margin: 2px 0 0; font-family: var(--tn-serif); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--tn-ink); letter-spacing: 0; text-transform: none; }
.tnea .tnea-h2 { margin: 0; font-family: var(--tn-serif); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--tn-ink); }
.tnea .tnea-cat { margin: 8px 4px -8px; font-family: var(--tn-sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tn-muted); }
.tnea-cat span { color: var(--tn-gold-ink); margin-right: 4px; }
.tnea-lead { color: var(--tn-muted2); font-size: 14px; }
.tnea-muted { color: var(--tn-muted); }
.tnea-small { font-size: 13px; }
.tnea-fine { font-size: 12px; color: var(--tn-muted); line-height: 1.55; padding: 0 4px; }
.tnea-center { text-align: center; }
.tnea-gold { color: var(--tn-gold-ink); font-size: 13px; }
.tnea-withico { display: flex; gap: 10px; align-items: flex-start; }
.tnea-withico .tnea-ico { margin-top: 1px; }

/* En-tête */
.tnea-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tnea-iconbtn { width: 44px; height: 44px; flex: none; border-radius: 22px; border: 1px solid #DDD3C2; background: var(--tn-white); display: inline-flex; align-items: center; justify-content: center; color: var(--tn-ink) !important; text-decoration: none; }
.tnea-iconbtn:hover { background: var(--tn-sand); }
.tnea-iconbtn--light { border: 0; }
.tnea-banner { margin: -28px -20px 0; height: 170px; overflow: hidden; }
.tnea-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Carte remise des clés */
.tnea-keycard { background: var(--tn-ink); color: var(--tn-cream); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.tnea-keycard a:not(.tnea-btn) { color: var(--tn-gold); }
.tnea-keycard__count { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 300; color: rgba(250, 248, 243, .85); }
.tnea-keycard__big { font-family: var(--tn-serif); font-size: 54px; line-height: 1; color: var(--tn-cream); font-weight: 400; }
.tnea-keycard__big--sm { font-size: 34px; }
.tnea-keycard__sub { font-size: 14px; font-weight: 300; color: rgba(250, 248, 243, .88); }
.tnea-keycard__rule { display: block; height: 1px; background: rgba(201, 169, 110, .4); }
.tnea-keycard__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; font-size: 14px; }
.tnea-keycard__grid div { display: flex; flex-direction: column; gap: 2px; }
.tnea-keycard__grid dt { font-size: 12px; color: rgba(250, 248, 243, .72); }
.tnea-keycard__grid dd { margin: 0; }

/* Boutons */
.tnea-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 0; font-family: var(--tn-sans); font-size: 14px; font-weight: 500; text-decoration: none !important; cursor: pointer; line-height: 1.2; }
.tnea-btn--gold { background: var(--tn-gold); color: var(--tn-ink) !important; }
.tnea-btn--gold:hover { background: #D6B984; }
.tnea-btn--dark { background: var(--tn-ink); color: var(--tn-cream) !important; min-height: 52px; font-size: 15px; letter-spacing: .02em; }
.tnea-btn--dark:hover { background: #3E3020; }
.tnea-btn--outline { background: #FBF6EC; border: 1px solid var(--tn-gold); color: var(--tn-ink) !important; }
.tnea-btn--ghost { background: transparent; border: 1px solid #CFC2AA; color: var(--tn-ink) !important; }
.tnea-btn--sm { min-height: 40px; padding: 0 14px; font-size: 13px; font-weight: 400; }
.tnea-btn--block { width: 100%; }
.tnea-btn[disabled] { opacity: .6; cursor: progress; }

/* Cartes et listes */
.tnea-card { background: var(--tn-white); border: 1px solid var(--tn-line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.tnea-card--link { text-decoration: none; color: var(--tn-ink) !important; }
.tnea-card--todo { border-left: 4px solid #D9A55A; }
.tnea-card--link:hover { border-color: #D8CBB2; }
.tnea-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tnea-card__title { font-size: 16px; font-weight: 500; }
.tnea-bar { display: block; height: 6px; border-radius: 3px; background: #EFE8DB; overflow: hidden; }
.tnea-bar > span { display: block; height: 6px; background: var(--tn-bar); transition: width .3s; }

.tnea-list { padding: 0; gap: 0; overflow: hidden; border-radius: 16px; }
.tnea-row { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; min-height: 60px; color: var(--tn-ink) !important; text-decoration: none; }
.tnea-row + .tnea-row { border-top: 1px solid var(--tn-line2); }
a.tnea-row:hover { background: #FBF8F2; }
.tnea-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tnea-row__title { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.tnea-row__ico { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex: none; }
.tnea-row.tnea-muted { font-size: 13px; gap: 10px; }
.tnea-ext { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #F4EEE3; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; letter-spacing: .06em; color: var(--tn-gold-ink); }
.tnea-new { display: inline-block; vertical-align: 1px; margin-left: 6px; font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; background: var(--tn-ink); color: #E9D6AE; border-radius: 6px; padding: 2px 6px; }
.tnea-garantie { font-size: 12px; font-weight: 500; color: var(--tn-gold-ink); white-space: nowrap; padding-right: 6px; }

/* Tuiles */
.tnea-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tnea-tile { background: var(--tn-white); border: 1px solid var(--tn-line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--tn-ink) !important; }
.tnea-tile .tnea-ico { color: var(--tn-gold-ink); }
.tnea-tile:hover { border-color: #D8CBB2; }
.tnea-tile__title { font-size: 15px; font-weight: 500; }

/* Contact */
.tnea-contact { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; border-radius: 16px; background: var(--tn-sand); }
.tnea-contact__avatar { width: 40px; height: 40px; flex: none; border-radius: 20px; background: var(--tn-ink); color: var(--tn-gold); display: flex; align-items: center; justify-content: center; font-family: var(--tn-serif); font-size: 18px; }
.tnea-contact__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: var(--tn-muted2); overflow-wrap: anywhere; }
.tnea-contact__title { font-size: 14px; font-weight: 500; color: var(--tn-ink); }

/* Notes et messages */
.tnea-note { background: var(--tn-sand); border-radius: 16px; padding: 14px 16px; font-size: 14px; color: var(--tn-ink2); display: flex; flex-direction: column; gap: 4px; }
.tnea-note__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tn-gold-ink); }
.tnea-flash { border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.tnea-flash--ok { background: #E2EFE6; color: #1F5A35; }
.tnea-flash--err { background: #FBE7DF; color: #8A2E12; }
.tnea-preview { background: #FFF6DE; color: #5B4300; font-size: 13px; padding: 10px 16px; border-bottom: 1px solid #EAD9A6; }
.tnea-preview a { color: #5B4300; font-weight: 500; }

/* Plusieurs lots */
.tnea-lots { display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px 0; }
.tnea-lots a { white-space: nowrap; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--tn-line); background: var(--tn-white); color: var(--tn-ink) !important; text-decoration: none; font-size: 13px; }
.tnea-lots a[aria-current="page"] { background: var(--tn-ink); color: var(--tn-cream) !important; border-color: var(--tn-ink); }

/* Checklist */
.tnea-progress { display: flex; flex-direction: column; gap: 8px; }
.tnea-progress__row { display: flex; justify-content: space-between; font-size: 13px; }
.tnea-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tnea-step { background: var(--tn-white); border: 1px solid var(--tn-line); border-radius: 16px; padding: 12px 14px 14px 8px; display: flex; gap: 6px; align-items: flex-start; scroll-margin-top: 90px; }
.tnea-step__form { margin: 0; }
.tnea-check { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 22px; }
.tnea-check:hover .tnea-check__box { border-color: var(--tn-gold-ink); }
.tnea-check__box { width: 26px; height: 26px; border-radius: 13px; border: 1.5px solid #A8987E; display: flex; align-items: center; justify-content: center; color: var(--tn-gold); }
.tnea-step.is-done .tnea-check__box { background: var(--tn-ink); border-color: var(--tn-ink); }
.tnea-step__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.tnea-step__title { font-size: 15px; font-weight: 500; }
.tnea-step.is-done .tnea-step__title { color: var(--tn-muted); text-decoration: line-through; }
.tnea-step.is-na { opacity: .6; }
.tnea-step.is-na .tnea-step__title { color: var(--tn-muted); text-decoration: line-through; }
.tnea-step.is-na .tnea-check { cursor: default; border-style: dashed; }
.tnea-step__detail { font-size: 13px; color: var(--tn-muted); line-height: 1.45; }
.tnea-upload { margin: 6px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tnea-upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tnea-upload__input:focus-visible + label { outline: 2px solid var(--tn-gold-ink); outline-offset: 2px; }
.tnea.js .tnea-upload__submit { display: none; }
.tnea-sent { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #1F5A35 !important; text-decoration: none; margin-top: 2px; overflow-wrap: anywhere; }

/* Formulaire réserve */
.tnea-form { gap: 14px; }
.tnea-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tnea-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.tnea-field label, .tnea-label { font-size: 12px; color: var(--tn-muted2); }
.tnea select, .tnea textarea, .tnea input[type="text"], .tnea input[type="email"], .tnea input[type="password"] {
	width: 100%; min-height: 46px; border: 1px solid #DDD3C2; border-radius: 10px; padding: 10px 12px;
	font-family: var(--tn-sans); font-size: 16px; background: var(--tn-white); color: var(--tn-ink); box-shadow: none;
}
.tnea textarea { resize: vertical; min-height: 96px; }
.tnea select:focus, .tnea textarea:focus, .tnea input:focus { border-color: var(--tn-gold-ink); outline: none; box-shadow: 0 0 0 3px rgba(201, 169, 110, .25); }
.tnea-photo-add { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 16px; border-radius: 12px; border: 1.5px dashed #B8A684; background: #FBF8F2; color: var(--tn-gold-ink); cursor: pointer; font-size: 14px !important; }
.tnea-photo-add:hover { background: #F7F1E6; }
#tnea-photos:focus-visible + * , .tnea-photo-add:focus-within { outline: 2px solid var(--tn-gold-ink); }
.tnea-res { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 10px; white-space: nowrap; }
.tnea-res--ouverte { background: #EEE9E0; color: #4A4033; }
.tnea-res--en_cours { background: #FBEBD4; color: #7A420C; }
.tnea-res--levee { background: #E2EFE6; color: #1F5A35; }
.tnea-badge { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 10px; white-space: nowrap; }
.tnea-badge--a_planifier { background: #EEE9E0; color: #4A4033; }
.tnea-badge--planifie { background: #E3ECF5; color: #1D4569; }
.tnea-badge--pret { background: #FBEBD4; color: #7A420C; }
.tnea-badge--livre { background: #E2EFE6; color: #1F5A35; }

/* Connexion */
.tnea-hero { min-height: 300px; background: var(--tn-ink); background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.tnea-hero__in { padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.tnea .tnea-hero__title { margin: 0; font-family: var(--tn-serif); font-weight: 400; font-size: 40px; line-height: 1.05; color: var(--tn-cream); }
.tnea-hero__sub { font-size: 14px; font-weight: 300; color: rgba(250, 248, 243, .88); }
.tnea-rule { display: block; width: 32px; height: 1px; background: var(--tn-gold); }
.tnea-login__body { padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 16px; }
.tnea #tnea-loginform { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.tnea #tnea-loginform p { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.tnea #tnea-loginform label { font-size: 13px; color: var(--tn-muted2); }
.tnea #tnea-loginform .login-remember label { flex-direction: row; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tnea #tnea-loginform input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--tn-ink); }
.tnea #tnea-loginform input[type="submit"] { width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: var(--tn-ink); color: var(--tn-cream); font-family: var(--tn-sans); font-size: 15px; font-weight: 500; letter-spacing: .04em; cursor: pointer; }
.tnea #tnea-loginform input[type="submit"]:hover { background: #3E3020; }

/* Navigation basse */
.tnea-nav { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--tn-white); border-top: 1px solid var(--tn-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tnea-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; font-size: 11px; color: var(--tn-muted) !important; text-decoration: none; border-radius: 12px; }
.tnea-nav a[aria-current="page"] { color: var(--tn-ink) !important; font-weight: 500; }
.tnea-nav a[aria-current="page"] .tnea-ico { color: var(--tn-gold-ink); }
.tnea-nav a:hover { background: #FBF8F2; }

@media (max-width: 600px) {
	.tnea { border-radius: 16px; }
	.tnea-screen { padding: 24px 16px 20px; }
	.tnea-banner { margin: -24px -16px 0; }
}
@media (max-width: 360px) {
	.tnea-grid2, .tnea-tiles { grid-template-columns: minmax(0, 1fr); }
	.tnea-keycard__big { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.tnea-bar > span { transition: none; }
}

/* Solde du prix */
.tnea-solde__amount { font-family: var(--tn-serif); font-size: 34px; line-height: 1.05; color: var(--tn-ink); }
.tnea-solde.is-paid .tnea-solde__amount { color: var(--tn-muted); }
.tnea-step__amount { font-size: 13px; color: var(--tn-ink2); margin-top: 2px; }

/* Taxe foncière / déclaration H2 */
.tnea-fiscal { border-color: #E2CF9F; background: #FFFBF2; }
.tnea-fiscal.is-done { background: var(--tn-white); border-color: var(--tn-line); }
.tnea-fiscal-box { margin-top: 8px; background: var(--tn-white); border: 1px solid #E2CF9F; border-radius: 18px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.tnea-fiscal-box .tnea-eyebrow--gold { color: var(--tn-gold-ink); }
.tnea .tnea-fiscal-box__title { margin: 0; font-family: var(--tn-serif); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--tn-ink); }
.tnea-fiscal-box__txt { font-size: 14px; color: var(--tn-ink2); }
.tnea-fiscal-box__date { display: flex; flex-direction: column; gap: 2px; background: var(--tn-ink); color: var(--tn-cream); border-radius: 14px; padding: 14px 16px; font-size: 12px; }
.tnea-fiscal-box__date strong { font-family: var(--tn-serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--tn-cream); }
.tnea-fiscal-box__date span { color: rgba(250, 248, 243, .78); }
.tnea-fiscal-box__steps { margin: 4px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--tn-ink2); }
.tnea-fiscal-box__form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 0; }
.tnea-fiscal-box__legal { font-size: 11.5px; line-height: 1.5; color: var(--tn-muted); border-top: 1px solid var(--tn-line2); padding-top: 10px; }

/* PV de livraison (tablette) */
.tnea.tnea--wide { max-width: 920px; }
.tnea-nav--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tnea-pv { display: flex; flex-direction: column; gap: 16px; }
.tnea-pv__sec { margin: 0; border: 1px solid var(--tn-line); border-radius: 18px; background: var(--tn-white); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tnea-pv__sec legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; font-family: var(--tn-serif); font-size: 24px; color: var(--tn-ink); display: flex; align-items: center; gap: 10px; }
.tnea-pv__sec legend span { width: 30px; height: 30px; border-radius: 15px; background: var(--tn-ink); color: var(--tn-gold); font-family: var(--tn-sans); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.tnea-pv__sec legend + * { clear: both; }
.tnea-pv__static { font-size: 15px; line-height: 1.6; }
.tnea-pv__check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.tnea-pv__check input { width: 22px; height: 22px; accent-color: var(--tn-ink); flex: none; }
.tnea-pv__row { display: grid; gap: 10px; align-items: end; padding: 10px 0; border-top: 1px solid var(--tn-line2); }
.tnea-pv__row--3 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.tnea-pv__lbl { font-weight: 500; font-size: 15px; align-self: center; }
.tnea-pv__photo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; min-width: 96px; padding: 0 14px; border-radius: 10px; border: 1.5px dashed #B8A684; background: #FBF8F2; color: var(--tn-gold-ink); font-size: 13px; cursor: pointer; position: relative; overflow: hidden; }
.tnea-pv__photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tnea-pv__photo.has-photo { border-style: solid; background: #E2EFE6; color: #1F5A35; border-color: #9CC3A7; }
.tnea-pv__photo--wide { width: 100%; }
.tnea-pv__keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tnea-pv__key { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--tn-line2); border-radius: 12px; }
.tnea-pv__key label { font-size: 14px; }
.tnea-pv__key { flex-wrap: wrap; }
.tnea .tnea-pv__key-ref { flex: 1 1 100%; min-height: 40px; font-size: 14px; }
.tnea-stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.tnea-stepper button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #DDD3C2; background: var(--tn-white); font-size: 22px; color: var(--tn-ink); cursor: pointer; }
.tnea .tnea-stepper input { width: 56px; text-align: center; padding: 8px 4px; }
.tnea-pv__reserves { display: flex; flex-direction: column; gap: 12px; }
.tnea-pv__reserve { border: 1px solid #E2CF9F; background: #FFFBF2; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.tnea-pv__reserve-head { display: flex; justify-content: space-between; align-items: center; }
.tnea-pv__del { background: none; border: 0; color: #8A2E12; font-size: 13px; min-height: 44px; padding: 0 6px; cursor: pointer; font-family: var(--tn-sans); }
.tnea-pv__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.tnea-pv__thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; }
.tnea-pv__decl { font-size: 14px; color: var(--tn-ink2); background: var(--tn-sand); border-radius: 12px; padding: 12px 14px; }
.tnea-pv__decl p { margin: 0 0 8px; }
.tnea-pv__decl p:last-child { margin: 0; }
.tnea-pv__sigs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tnea-sig { border: 1px solid #DDD3C2; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; background: #FDFCF9; }
.tnea-sig[hidden] { display: none; }
.tnea-sig.is-signed { border-color: #9CC3A7; }
.tnea-sig__top { display: flex; justify-content: space-between; align-items: center; }
.tnea-sig__label { font-size: 14px; font-weight: 500; }
.tnea-sig__pad { width: 100%; height: 190px; background: #FFFFFF; border-radius: 10px; border: 1px dashed #CFC2AA; touch-action: none; display: block; }
.tnea-sig__hint { font-size: 12px; color: var(--tn-muted); }
.tnea-pv__submit { display: flex; flex-direction: column; gap: 10px; position: sticky; bottom: 0; background: var(--tn-cream); padding: 10px 0 4px; }
@media (max-width: 640px) {
	.tnea-pv__row--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.tnea-pv__lbl { grid-column: 1 / -1; }
}

/* Boutons : protection contre les styles du thème / Elementor */
.tnea button, .tnea .tnea-btn { text-transform: none !important; letter-spacing: normal; box-shadow: none !important; font-family: var(--tn-sans) !important; }
.tnea .tnea-btn--dark, .tnea .tnea-btn--dark:hover, .tnea .tnea-btn--dark:focus { background: var(--tn-ink) !important; color: var(--tn-cream) !important; border: 0 !important; }
.tnea .tnea-btn--dark:hover { background: #3E3020 !important; }
.tnea .tnea-btn--gold, .tnea .tnea-btn--gold:hover, .tnea .tnea-btn--gold:focus { background: var(--tn-gold) !important; color: var(--tn-ink) !important; border: 0 !important; }
.tnea .tnea-btn--outline, .tnea .tnea-btn--outline:hover, .tnea .tnea-btn--outline:focus { background: #FBF6EC !important; color: var(--tn-ink) !important; border: 1px solid var(--tn-gold) !important; }
.tnea .tnea-btn--ghost, .tnea .tnea-btn--ghost:hover { background: transparent !important; color: var(--tn-ink) !important; border: 1px solid #CFC2AA !important; }
.tnea .tnea-stepper button, .tnea .tnea-stepper button:hover { background: var(--tn-white) !important; color: var(--tn-ink) !important; border: 1px solid #DDD3C2 !important; padding: 0 !important; }
.tnea .tnea-pv__del, .tnea .tnea-pv__del:hover { background: none !important; border: 0 !important; color: #8A2E12 !important; }
.tnea .tnea-check, .tnea .tnea-check:hover { background: transparent !important; border: 0 !important; padding: 0 !important; }
.tnea .tnea-btn[disabled] { opacity: .6; }
.tnea-pv__na { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tn-muted); min-height: 44px; white-space: nowrap; }
.tnea-pv__na input { width: 20px; height: 20px; accent-color: var(--tn-ink); }
.tnea-pv__row--3 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto auto; }
.tnea-pv__row.is-na > *:not(.tnea-pv__lbl):not(.tnea-pv__na) { opacity: .35; pointer-events: none; }
@media (max-width: 640px) {
	.tnea-pv__row--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* PV : documents remis */
.tnea-pv__docs { display: flex; flex-direction: column; }
.tnea-pv__doc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 0; border-top: 1px solid var(--tn-line2); }
.tnea-pv__doc-lbl { flex: 1 1 260px; font-size: 14px; }
.tnea-pv__doc-hint { display: block; margin-top: 2px; font-size: 12px; color: #7A420C; }
.tnea-pv__doc-hint--ok { color: #1F5A35; }
.tnea-pv__doc:has(input[value="na"]:checked) .tnea-pv__doc-hint { display: none; }
.tnea-note.tnea-avenir { flex-direction: row; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.tnea-avenir .tnea-ico { flex: none; color: var(--tn-gold-ink); margin-top: 1px; }
.tnea-seg { display: inline-flex; border: 1px solid #DDD3C2; border-radius: 12px; overflow: hidden; flex: none; }
.tnea-seg label { position: relative; }
.tnea-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tnea-seg span { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 13px; color: var(--tn-muted2); background: var(--tn-white); border-left: 1px solid #EFE8DB; cursor: pointer; white-space: nowrap; }
.tnea-seg label:first-child span { border-left: 0; }
.tnea-seg input:checked + span { background: var(--tn-ink); color: var(--tn-cream); }
.tnea-seg input:focus-visible + span { outline: 2px solid var(--tn-gold-ink); outline-offset: -2px; }
.tnea-seg input[value="na"]:checked + span { background: #EEE9E0; color: var(--tn-muted2); }
.tnea-pv__doc:has(input[value="na"]:checked) .tnea-pv__doc-lbl { color: var(--tn-muted); text-decoration: line-through; }
.tnea-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tnea #tnea-loginform input[type="submit"], .tnea #tnea-loginform input[type="submit"]:hover, .tnea #tnea-loginform input[type="submit"]:focus { background: var(--tn-ink) !important; color: var(--tn-cream) !important; border: 0 !important; text-transform: none !important; }

/* Solde réglé : encadré réduit */
.tnea-solde-ok { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; padding: 12px 16px; border-radius: 14px; background: #EEF5F0; color: #1F5A35; font-size: 14px; }
.tnea-solde-ok .tnea-muted { margin-left: auto; font-size: 12px; }
.tnea-solde-ok > span:first-of-type { flex: 1; min-width: 0; } .tnea-solde-ok .tnea-muted { white-space: nowrap; margin-left: 0; }

/* Contrats à ouvrir (électricité / eau) */
.tnea-contract { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: #FBF8F2; border: 1px solid var(--tn-line2); }
.tnea-contract__row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.tnea-contract__row strong { font-weight: 500; letter-spacing: .02em; overflow-wrap: anywhere; }
.tnea-contract .tnea-btn { align-self: flex-start; margin-top: 4px; }
.tnea-step__link { align-self: flex-start; margin-top: 6px; }

/* Copropriété */
.tnea-copro { gap: 12px; }
.tnea-copro__ag { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--tn-sand); font-size: 14px; }
.tnea-copro__ag .tnea-ico { color: var(--tn-gold-ink); margin-top: 2px; }
.tnea-copro__syndic { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.tnea-copro__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Formulaire de réserve replié */
.tnea-disclose { display: flex; flex-direction: column; gap: 12px; }
.tnea-disclose > summary { list-style: none; cursor: pointer; }
.tnea-disclose > summary::-webkit-details-marker { display: none; }
.tnea-disclose[open] > summary { margin-bottom: 12px; }
.tnea-keycard .tnea-btn--gold { align-self: flex-start; }

/* Carnet d'information du logement */
.tnea-cil__rub { margin: 0; padding: 12px 16px 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tn-gold-ink); border-top: 1px solid var(--tn-line2); }
.tnea-cil__rub:first-child { border-top: 0; }
.tnea-cil__num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--tn-sand); color: var(--tn-ink); font-size: 11px; letter-spacing: 0; }
.tnea-cil .tnea-row.tnea-muted { gap: 8px; padding-top: 4px; padding-bottom: 10px; }
.tnea-cil__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 4px; }
.tnea-pv__sub { margin: 18px 0 6px; font-weight: 600; font-size: 15px; }

/* PV : procuration d'un acquéreur absent */
.tnea-pv__proc { display: block; margin: 0 0 12px 30px; padding: 12px 14px; border: 1px dashed #D9A55A; border-radius: 12px; background: #FFFBF3; }
.tnea-pv__check:has(input:checked) + .tnea-pv__proc { display: none; }
.tnea-pv__proc-title { margin: 0 0 8px; font-weight: 600; font-size: 14px; }
.tnea-pv__proc .tnea-pv__photo { align-self: end; }
.tnea-pv__doc-desc { display: block; margin-top: 2px; font-size: 12px; color: var(--tn-muted); }
.tnea .tnea-pv__mand[hidden] { display: none !important; }
.tnea-gl-upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.tnea-gl-upload input[type=file] { max-width: 100%; font-size: 14px; }

/* Liens de liste : jamais soulignés, même si le thème souligne les liens */
.tnea a.tnea-row, .tnea a.tnea-row:hover, .tnea a.tnea-row *, .tnea summary.tnea-row * { text-decoration: none !important; }

/* À faire (demandes au locataire) */
.tnea-afaire { margin-bottom: 14px; }
.tnea-afaire .tnea-eyebrow { margin: 0 0 8px; }
.tnea-af { border-left: 4px solid var(--tn-gold); }
.tnea-af--done { border-left-color: #6C9A6F; opacity: .9; }
.tnea-af p { margin: 6px 0 0; }
.tnea-af .tnea-disclose { margin-top: 10px; }
.tnea-af .tnea-disclose[open] > summary { display: none; }
.tnea-af__rem { background: #FBF0D9; border-radius: 8px; padding: 8px 10px; }
.tnea-af__form { display: grid; gap: 10px; margin-top: 4px; }
.tnea-af__form label { display: grid; gap: 4px; }
.tnea-af__form textarea { width: 100%; border: 1px solid var(--tn-line); border-radius: 10px; padding: 8px 10px; font: inherit; background: var(--tn-white); }

/* Quittances : archives par année */
.tnea-years details.tnea-year + details.tnea-year { border-top: 1px solid var(--tn-line2); }
.tnea-year > summary { list-style: none; cursor: pointer; }
.tnea-year > summary::-webkit-details-marker { display: none; }
.tnea-year__chev { font-size: 22px; line-height: 1; transition: transform .15s; color: var(--tn-muted); }
.tnea-year[open] .tnea-year__chev { transform: rotate(90deg); }
.tnea-year[open] > summary { background: var(--tn-sand); }
.tnea-year .tnea-row--sub, .tnea-year > .tnea-row:not(summary) { padding-left: 26px; }
.tnea-ext--folder { display: inline-flex; align-items: center; justify-content: center; }
.tnea details.tnea-year, .tnea details.tnea-year > summary { border: 0 !important; margin: 0; padding-top: 12px; padding-bottom: 12px; }
.tnea details.tnea-year > summary { padding-left: 14px; padding-right: 10px; }
.tnea details.tnea-year > summary:focus { outline: none; }
.tnea details.tnea-year > summary:focus-visible { outline: 2px solid var(--tn-gold); outline-offset: -2px; }

/* Carte « Mon loyer » sobre (locataires) */
.tnea-keycard--soft { background: var(--tn-white); color: var(--tn-ink); border: 1px solid var(--tn-line); padding: 18px 20px; gap: 10px; }
.tnea-keycard--soft .tnea-eyebrow { color: var(--tn-gold-ink); margin: 0; }
.tnea-keycard--soft .tnea-keycard__big { color: var(--tn-ink); font-size: 34px; }
.tnea-keycard--soft .tnea-keycard__sub { color: var(--tn-muted); }
.tnea-keycard--soft .tnea-keycard__sub strong { color: #9B2C1F; font-weight: 600; }
.tnea-keycard--soft .tnea-keycard__rule { background: var(--tn-line2); }
.tnea-keycard--soft .tnea-btn--gold { background: var(--tn-sand) !important; }
.tnea a.tnea-tile, .tnea a.tnea-tile:hover, .tnea a.tnea-tile * { text-decoration: none !important; }
