.to-billing { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.to-billing-feedback { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.to-billing-feedback--success { background: #ecfdf5; color: #065f46; }
.to-billing-feedback--error { background: #fef2f2; color: #991b1b; }

.to-billing-intro { max-width: 760px; margin: 0 0 20px; }
.to-billing-intro h2 { font-family: 'Fraunces', Georgia, serif; font-size: 22px; color: #064e3b; margin: 0 0 8px; }
.to-billing-intro p { font-size: 14px; line-height: 1.7; color: #44403c; margin: 0; }
.to-billing-lock-note {
	font-size: 13px;
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #fde68a;
	border-radius: 8px;
	padding: 10px 14px;
	margin: 0 0 18px;
}

.to-billing-plans {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 20px;
	align-items: stretch;
}
@media (max-width: 1100px) { .to-billing-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .to-billing-plans { grid-template-columns: 1fr; } }

.to-billing-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid #e7e5e4;
	border-radius: 18px;
	padding: 26px 22px 22px;
	background: #fff;
	text-align: left;
	box-shadow: 0 1px 2px rgba(28,25,23,0.03);
	transition: transform .18s, box-shadow .18s;
}
.to-billing-plan::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 5px;
	border-radius: 18px 18px 0 0;
	background: #d6d3d1;
}
.to-billing-plan--visibilite::before { background: linear-gradient(90deg,#1d4ed8,#38bdf8); }
.to-billing-plan--premium::before { background: linear-gradient(90deg,#d4af37,#059669); }
.to-billing-plan--premium_plus::before { background: linear-gradient(90deg,#064e3b,#0a0a0a); }
.to-billing-plan.is-current {
	border-color: #a7f3d0;
	background: linear-gradient(180deg,#ecfdf5 0%,#fff 40%);
	box-shadow: 0 10px 28px -12px rgba(6,95,70,0.3);
}
.to-billing-plan.is-popular {
	border-color: #d4af37;
	box-shadow: 0 12px 32px -14px rgba(212,175,55,0.4);
	transform: translateY(-4px);
}
.to-billing-plan.is-popular:hover,
.to-billing-plan:not(.is-popular):hover { transform: translateY(-6px); box-shadow: 0 14px 34px -14px rgba(28,25,23,0.18); }
.to-billing-popular-tag {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #d4af37;
	color: #422f00;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	padding: 4px 14px;
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(212,175,55,0.4);
}

.to-billing-plan-head { text-align: center; margin-bottom: 14px; }
.to-billing-plan h3 { font-family: 'Fraunces', Georgia, serif; font-size: 19px; margin: 0; color: #1c1917; }
.to-billing-plan-subtitle { font-size: 12px; color: #78716c; margin: 2px 0 0; }
.to-billing-price { font-size: 24px; font-weight: 700; color: #064e3b; margin: 8px 0 0; font-family: 'Fraunces', Georgia, serif; }

.to-billing-tagline {
	font-style: italic;
	font-size: 12.5px;
	line-height: 1.55;
	color: #065f46;
	background: #ecfdf5;
	border-radius: 10px;
	padding: 12px 14px;
	margin: 0 0 18px;
}
.to-billing-plan--visibilite .to-billing-tagline { background: #eff6ff; color: #1e3a8a; }
.to-billing-plan--premium .to-billing-tagline { background: #fdf6e3; color: #7c5e10; }
.to-billing-plan--premium_plus .to-billing-tagline { background: #f0fdf4; color: #052e1c; }

.to-billing-feature-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }

/* Lien "Voir une annonce Premium/Premium+" (19/08) — exemple concret
   d'annonce à ce palier, sur les colonnes Premium et Premium+ */
.to-billing-example-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 4px 0 18px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid var(--to-green-700, #065f46);
	color: var(--to-green-700, #065f46);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.to-billing-example-link::after { content: "↗"; font-size: 12px; }
.to-billing-example-link:hover { background: var(--to-green-700, #065f46); color: #fff; }

.to-billing-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #292524; line-height: 1.4; }
.to-billing-check { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: #059669; }
.to-billing-feature span { flex: 1 1 auto; }
.to-billing-feature--ota { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 6px 8px; margin: 0 -8px; }
.to-billing-feature--ota .to-billing-check { color: #1d4ed8; }
.to-billing-feature--ota span { color: #1e3a8a; font-weight: 600; }
.to-billing-feature--video { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 6px 8px; margin: 0 -8px; }
.to-billing-feature--video .to-billing-check { color: #dc2626; }
.to-billing-feature--video span { color: #991b1b; font-weight: 600; }

/* "Référencement local optimisé" (20/08) — mis en avant en violet, pour
   rester distinct des autres surlignages (bleu OTA, rouge vidéo, vert
   Super hôte). */
.to-billing-feature--local-seo { background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 8px; padding: 6px 8px; margin: 0 -8px; }
.to-billing-feature--local-seo .to-billing-check { color: #7c3aed; }
.to-billing-feature--local-seo span { color: #5b21b6; font-weight: 600; }

/* "Badge Super hôte" (19/08) — en tête de liste Premium+, effet pulse
   vert pour attirer l'œil, en écho au badge doré désormais installé sur
   les fiches annonces des hôtes Premium+. */
.to-billing-feature--super-host {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	padding: 6px 8px;
	margin: 0 -8px;
	animation: to-billing-super-host-pulse 2.2s ease-in-out infinite;
}
.to-billing-feature--super-host .to-billing-check { color: #059669; }
.to-billing-feature--super-host span { color: #065f46; font-weight: 600; }
@keyframes to-billing-super-host-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(5,150,105,.35); }
	50%      { box-shadow: 0 0 0 5px rgba(5,150,105,0); }
}

.to-billing-info-btn {
	flex-shrink: 0;
	width: 16px; height: 16px;
	border-radius: 50%;
	border: 1px solid #a8a29e;
	background: #fff;
	color: #78716c;
	font-size: 10px;
	font-style: italic;
	font-family: Georgia, serif;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.to-billing-info-btn:hover { background: #065f46; border-color: #065f46; color: #fff; }

.to-billing-plan-action { margin-top: auto; }
.to-billing-action-note { font-size: 11.5px; color: #a8a29e; margin: 6px 0 0; text-align: center; }
.to-billing-badge {
	display: block;
	text-align: center;
	background: #065f46;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 10px;
	border-radius: 999px;
}
.to-billing .to-btn--disabled {
	display: block;
	width: 100%;
	background: #f5f5f4;
	color: #a8a29e;
	border: 1px solid #e7e5e4;
	cursor: not-allowed;
	text-align: center;
	padding: 11px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 13px;
}

.to-billing-info-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
/* Piège déjà documenté sur ce projet : [hidden] et ".to-billing-info-modal"
   ont la même spécificité CSS (0,0,1,0) — comme cette règle charge après le
   style navigateur par défaut, elle gagnait et la popup restait affichée
   (vide) en permanence dès le chargement de la page. */
.to-billing-info-modal[hidden] { display: none; }
.to-billing-info-modal-backdrop { position: absolute; inset: 0; background: rgba(28,25,23,0.55); }
.to-billing-info-modal-inner {
	position: relative;
	background: #fff;
	border-radius: 14px;
	padding: 26px 24px 24px;
	max-width: 420px;
	width: 100%;
	box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.to-billing-info-modal-inner h4 { font-family: 'Fraunces', Georgia, serif; font-size: 17px; color: #064e3b; margin: 0 0 10px; }
.to-billing-info-modal-inner p { font-size: 13.5px; line-height: 1.6; color: #44403c; margin: 0; }
.to-billing-info-modal-close {
	position: absolute; top: 10px; right: 12px;
	background: none; border: none; font-size: 22px; line-height: 1;
	color: #a8a29e; cursor: pointer;
}
.to-billing-info-modal-close:hover { color: #1c1917; }

.to-billing-help { font-size: 13px; color: #57534e; line-height: 1.6; margin: 8px 0 20px; }

.to-billing-listing-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.to-billing-listing-tab {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	border: 1px solid #e7e5e4;
	background: #fff;
	color: #57534e;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
}
.to-billing-listing-tab.is-active { background: #065f46; color: #fff; border-color: #065f46; }
.to-billing-listing-tab:not(.is-active):hover { background: #f5f5f4; }

.to-billing-portal { margin-top: 8px; }
.to-billing-status { font-size: 13px; color: #57534e; margin-top: 8px; }

/* Page "Mes abonnements" (sidebar hôte) — un bien par ligne. */
.to-billing-sub-list { display: flex; flex-direction: column; gap: 10px; }
.to-billing-sub-row {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid #e7e5e4;
	border-radius: 12px;
	padding: 12px 16px;
}
.to-billing-sub-thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
	background: #f5f5f4;
}
.to-billing-sub-thumb--empty { display: inline-block; }
.to-billing-sub-main { flex: 1 1 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.to-billing-sub-main strong { font-family: 'Fraunces', Georgia, serif; font-size: 14.5px; color: #1c1917; margin-right: 2px; }
.to-billing-sub-plan {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	color: #fff;
	background: #065f46;
}
.to-billing-sub-plan--visibilite { background: linear-gradient(90deg,#1d4ed8,#38bdf8); }
.to-billing-sub-plan--premium { background: linear-gradient(90deg,#b45309,#059669); }
.to-billing-sub-plan--premium_plus { background: linear-gradient(90deg,#064e3b,#0a0a0a); }
.to-billing-sub-dates { font-size: 12.5px; color: #78716c; }
.to-billing-sub-row .to-btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) {
	.to-billing-sub-row { flex-wrap: wrap; }
	.to-billing-sub-row .to-btn { width: 100%; text-align: center; }
}

.to-billing .to-btn {
	display: inline-block;
	text-align: center;
	border-radius: 999px;
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
}
.to-billing .to-btn--primary { background: #065f46; color: #fff; }
.to-billing .to-btn--primary:hover { background: #064e3b; color: #fff; }
.to-billing .to-btn--outline { background: #fff; color: #047857; border-color: #047857; }
.to-billing .to-btn--outline:hover { background: #ecfdf5; }
.to-billing .to-btn--full { display: block; width: 100%; box-sizing: border-box; }

.to-invoices h2 { font-family: Georgia, serif; font-size: 18px; margin: 0 0 16px; }
.to-invoices-empty { color: #78716c; font-size: 14px; }
.to-invoices-table { width: 100%; border-collapse: collapse; }
.to-invoices-table th, .to-invoices-table td {
	text-align: left;
	padding: 10px;
	border-bottom: 1px solid #e7e5e4;
	font-size: 13px;
}

/* Sélection de l'annonce en liste (étape 1, plusieurs annonces) */
.to-billing-back-link { font-size: 13px; margin: 0 0 16px; }
.to-billing-back-link a { color: #065f46; font-weight: 600; text-decoration: none; }
.to-billing-listing-rows { display: flex; flex-direction: column; gap: 10px; }
.to-billing-listing-row {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid #e7e5e4;
	border-radius: 12px;
	padding: 12px 16px;
	text-decoration: none;
	color: inherit;
	transition: transform .15s ease, box-shadow .15s ease;
}
.to-billing-listing-row:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(0,0,0,0.12); border-color: #a7f3d0; }
.to-billing-listing-row-thumb { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #f5f5f4; }
.to-billing-listing-row-thumb--empty { display: inline-block; }
.to-billing-listing-row-main { flex: 1 1 auto; }
.to-billing-listing-row-main strong { font-family: 'Fraunces', Georgia, serif; font-size: 14.5px; }

/* Facturation manuelle (admin > Factures) — design premium */
.to-billing-manual-invoice {
	background: #fff;
	border: 1px solid #e7e5e4;
	border-radius: 14px;
	margin: 16px 0 24px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(28,25,23,0.04);
}
.to-billing-manual-invoice > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	user-select: none;
}
.to-billing-manual-invoice > summary::-webkit-details-marker { display: none; }
.to-billing-manual-invoice > summary::marker { content: ''; }
.to-billing-manual-invoice-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ecfdf5;
	color: #065f46;
	flex-shrink: 0;
}
.to-billing-manual-invoice-title {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 700;
	font-size: 16px;
	color: #064e3b;
	flex: 1 1 auto;
}
.to-billing-manual-invoice-chevron {
	color: #a8a29e;
	transition: transform .18s ease;
	flex-shrink: 0;
}
.to-billing-manual-invoice[open] .to-billing-manual-invoice-chevron { transform: rotate(90deg); }
.to-billing-manual-invoice[open] > summary {
	border-bottom: 1px solid #e7e5e4;
	background: #fafaf9;
}

.to-billing-manual-invoice-body { padding: 22px 24px 26px; }

.to-billing-step { display: flex; gap: 16px; padding: 4px 0 22px; }
.to-billing-step:last-child { padding-bottom: 4px; }
.to-billing-step-num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #065f46;
	color: #fff;
	font-weight: 700;
	font-family: 'Fraunces', Georgia, serif;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.to-billing-step-body { flex: 1 1 auto; min-width: 0; }
.to-billing-step-body h3 { margin: 2px 0 4px; font-size: 15px; }

.to-billing-add-client { margin-top: 12px; }
.to-billing-add-client summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	font-size: 13px;
	color: #047857;
	padding: 6px 12px;
	border: 1px dashed #a7f3d0;
	border-radius: 999px;
}
.to-billing-add-client summary::-webkit-details-marker { display: none; }
.to-billing-add-client summary::marker { content: ''; }
.to-billing-add-client[open] summary { border-style: solid; background: #ecfdf5; }
.to-billing-add-client-form {
	margin-top: 12px;
	padding: 16px 18px;
	background: #fafaf9;
	border: 1px solid #e7e5e4;
	border-radius: 10px;
}

.to-billing-client-select { max-width: 360px; margin-bottom: 18px; }
.to-billing-client-select select {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #e7e5e4;
	border-radius: 8px;
	font-size: 13.5px;
	background: #fff;
}

.to-billing-manual-invoice .to-admin-form.to-billing-invoice-form { width:100%; max-width:none; min-width:0; }
.to-billing-manual-invoice .to-billing-step-body { min-width:0; flex:1; }
.to-billing-client-panel { padding:20px; border:1px solid #dbe8e1; border-radius:14px; background:#f5faf7; display:grid; grid-template-columns:1fr 1fr; gap:14px 20px; }
.to-billing-client-panel .to-billing-client-select { max-width:none; margin:0; }
.to-billing-client-panel p,.to-billing-client-panel details { grid-column:1/-1; margin:0; }
.to-billing-manual-invoice [hidden] { display:none !important; }
.to-billing-manual-invoice select[multiple] { min-height:130px; }
.to-billing-client-panel[data-to-billing-catalogue-panel] > label:first-child,.to-billing-client-panel [data-to-billing-listings-wrap] { grid-column:1/-1; }
.to-billing-manual-invoice input[readonly] { background:#f1f7f3 !important; }
.to-billing-manual-invoice .to-billing-invoice-form label { min-width:0; color:#34534a; font-size:13px; text-transform:none; letter-spacing:normal; }
.to-billing-manual-invoice .to-billing-invoice-form input:not([type=radio]),.to-billing-manual-invoice .to-billing-invoice-form select { width:100%; min-width:0; min-height:44px; box-sizing:border-box; border:1px solid #ccdcd4; border-radius:9px; padding:10px 12px; font-size:14px; background:white; color:#173d30; }
.to-billing-manual-invoice .to-billing-invoice-form input:focus,.to-billing-manual-invoice .to-billing-invoice-form select:focus { outline:2px solid #85c4ae; outline-offset:2px; }
.to-billing-manual-invoice .to-billing-invoice-form .to-billing-payment-option,.to-billing-manual-invoice .to-billing-invoice-form .to-billing-payment-method-wrap label { display:flex; flex-direction:row; align-items:center; gap:10px; }
.to-billing-manual-invoice .to-billing-invoice-form input[type=radio] { width:18px; height:18px; min-height:0; padding:0; margin:0; flex:0 0 18px; accent-color:#00674d; }
.to-billing-manual-invoice .to-billing-payment-option > span { flex-wrap:wrap; }
.to-billing-manual-invoice .to-billing-payment-option input[type=date] { width:175px; }
.to-billing-manual-invoice .to-billing-payment-status { padding:20px; border-radius:14px; gap:16px; }

.to-billing-items { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 12px; }
.to-billing-item-row {
	display: grid;
	grid-template-columns: minmax(240px,2.5fr) minmax(145px,1fr) minmax(145px,1fr) minmax(120px,1fr) 32px;
	gap: 12px;
	align-items: end;
	background: #fafaf9;
	border: 1px solid #f0efed;
	border-radius: 10px;
	padding: 12px 14px;
}
.to-billing-item-row label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #a8a29e;
}
.to-billing-item-row input {
	padding: 8px 10px;
	border: 1px solid #e7e5e4;
	border-radius: 7px;
	font-size: 13.5px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
	color: #1c1917;
	background: #fff;
}
.to-billing-remove-row {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #e7e5e4;
	background: #fff;
	color: #a8a29e;
	cursor: pointer;
}
.to-billing-remove-row:hover { border-color: #fecaca; color: #b91c1c; background: #fef2f2; }

.to-billing-add-row {
	align-self: flex-start;
	background: none;
	border: 1px dashed #d6d3d1;
	border-radius: 8px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #57534e;
	cursor: pointer;
}
.to-billing-add-row:hover { border-color: #065f46; color: #065f46; background: #ecfdf5; }

.to-billing-submit {
	margin-top: 18px;
	align-self: flex-start;
	padding: 11px 26px;
	font-size: 14px;
}

@media (max-width: 760px) {
	.to-billing-item-row { grid-template-columns: 1fr 1fr; }
	.to-billing-remove-row { justify-self: flex-end; }
}
@media (max-width:1150px) {
 .to-billing-manual-invoice .to-billing-item-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .to-billing-manual-invoice .to-billing-item-row label:first-child { grid-column:1/-1; }
}
@media (max-width:600px) {
 .to-billing-client-panel { grid-template-columns:minmax(0,1fr); padding:14px; }
 .to-billing-manual-invoice .to-billing-item-row { grid-template-columns:minmax(0,1fr); }
 .to-billing-manual-invoice-body { padding:14px; }
 .to-billing-manual-invoice .to-billing-payment-method-wrap { flex-wrap:wrap; margin-left:0; }
}

/* Statut d'envoi/lecture des factures (page admin Factures) */
.to-billing-status-badge {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f5f5f4;
	color: #78716c;
}
.to-billing-status-badge--read { background: #ecfdf5; color: #065f46; }
.to-billing-status-badge--paid { background: #ecfdf5; color: #065f46; }
.to-billing-status-badge--pending { background: #fef3c7; color: #92400e; }

/* Bloc "Règlement" du formulaire de création de facture manuelle */
.to-billing-payment-status {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 14px;
	padding: 12px 14px;
	background: #fafaf9;
	border: 1px solid #e7e5e4;
	border-radius: 8px;
}
.to-billing-payment-status-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 700;
	color: #78716c;
}
.to-billing-payment-option {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #44403c;
}
.to-billing-payment-option input[type="date"] {
	width: 150px;
	flex: 0 0 auto;
	margin-left: 4px;
	padding: 3px 6px;
	border: 1px solid #d6d3d1;
	border-radius: 6px;
	font-size: 13px;
}
.to-billing-payment-option input[type="date"]:disabled { opacity: 0.4; }
.to-billing-payment-option > span { display: inline-flex; align-items: center; gap: 4px; }

/* Choix du mode de paiement (CB / SEPA), visible seulement si "En attente
   de règlement" est coché — voir data-to-billing-payment-method-wrap. */
.to-billing-payment-method-wrap {
	margin: 6px 0 0 26px;
	display: flex;
	gap: 16px;
}
.to-billing-payment-method-wrap label { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #57534e; font-weight: 500; }

/* Checkbox "Identique à l'adresse postale" (21/08, section "Mon compte"
   > Informations de facturation) — même esprit que
   .to-billing-payment-method-wrap ci-dessus. */
.to-billing-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 2px;
	font-size: 13px;
	font-weight: 500;
	color: #44403c;
	text-transform: none;
	letter-spacing: normal;
}
.to-billing-checkbox-label input[type="checkbox"] { width: auto; margin: 0; }

.to-incontournables-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; }
@media (max-width: 780px) {
	.to-incontournables-months { grid-template-columns: 1fr; }
}
.to-incontournables-month-block {
	background: linear-gradient(180deg, #fdfcf9 0%, #f9f7f1 100%);
	border: 1px solid #e9e4d6;
	border-radius: 16px;
	padding: 18px 16px;
	box-shadow: 0 8px 20px -12px rgba(0,0,0,0.15);
}
.to-incontournables-month-title {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 700;
	font-size: 16px;
	color: #1e3a5f;
	text-align: center;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1.5px solid #c9a227;
}
.to-incontournables-calendar { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.to-incontournables-calendar li { padding: 8px 10px; border: 1px solid #e7e5e4; border-radius: 8px; background: #fff; }
.to-incontournables-calendar li.is-full { opacity: 0.55; }
.to-incontournables-calendar label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }
.to-incontournables-calendar li.is-full label { cursor: not-allowed; }
.to-incontournables-total { font-size: 15px; margin: 0 0 14px; }
.to-incontournables-my-bookings { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.to-incontournables-my-bookings li { padding: 10px 14px; border: 1px solid #e7e5e4; border-radius: 8px; font-size: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.to-billing-btn-small { font-size: 12px; padding: 4px 10px; border: 1px solid #e7e5e4; border-radius: 6px; background: #fff; cursor: pointer; }
.to-billing-listing-picker { list-style: none; margin: 0; padding: 0; }
.to-billing-listing-picker li { margin-bottom: 8px; }

.to-billing-advantages { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.to-billing-advantages li { font-size: 14px; color: #292524; }

/* Documents PDF ajoutés : partagé par le compte hôte et la console. */
.to-imported-invoices { background:#fff; border:1px solid #e2e8e4; border-radius:16px; padding:22px; margin:18px 0 24px; box-shadow:0 3px 14px rgba(6,78,59,.035); }
.to-imported-invoices h3 { margin:0 0 18px; color:#064e3b; font-size:19px; }
.to-imported-table { width:100%; border-collapse:collapse; table-layout:fixed; }
.to-imported-table th { background:#f0f7f3; color:#64756c; text-align:left; font-size:11px; letter-spacing:.05em; text-transform:uppercase; }
.to-imported-table th,.to-imported-table td { padding:16px 14px; border-bottom:1px solid #e7eee9; vertical-align:middle; }
.to-imported-table td { font-size:14px; color:#263c31; overflow-wrap:anywhere; }
.to-imported-table th:first-child { width:30%; }
.to-imported-table th:nth-child(2) { width:19%; }
.to-imported-table th:nth-child(3) { width:20%; text-align:right; }
.to-imported-table th:last-child { width:31%; text-align:right; }
.to-imported-table td.to-imported-amount { text-align:right; font-weight:700; white-space:nowrap; font-variant-numeric:tabular-nums; }
.to-imported-table td:last-child { text-align:right; }
.to-imported-table tbody tr:last-child td { border-bottom:0; }
.to-imported-download { display:inline-flex; justify-content:center; align-items:center; padding:10px 16px; border:1px solid #06745d; border-radius:10px; color:#065f46; font-size:13px; font-weight:600; text-decoration:none; line-height:1.4; }
.to-imported-download:hover { background:#ecfdf5; }
.to-imported-download:focus-visible { outline:3px solid #e2ad40; outline-offset:3px; }
.to-imported-admin { margin:24px 0; }
.to-imported-admin>h2 { color:#064e3b; margin:0 0 16px; }
.to-imported-group>h3 { margin:16px 0 8px; font-size:17px; }
.to-imported-group>h3 a { color:#065f46; text-decoration:none; }
@media(max-width:700px) {
 .to-imported-invoices { padding:16px; }
 .to-imported-table,.to-imported-table tbody,.to-imported-table tr,.to-imported-table td { display:block; width:auto; }
 .to-imported-table thead { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); }
 .to-imported-table tr { border:1px solid #e7eee9; border-radius:12px; padding:8px; margin:12px 0; }
 .to-imported-table td,.to-imported-table td.to-imported-amount,.to-imported-table td:last-child { display:flex; justify-content:space-between; align-items:center; gap:16px; text-align:right; padding:10px 8px; border:0; }
 .to-imported-table td:before { content:attr(data-label); color:#64756c; font-size:12px; font-weight:500; text-align:left; flex:0 0 105px; }
 .to-imported-table td strong { overflow-wrap:anywhere; min-width:0; }
 .to-imported-download { padding:9px 12px; }
}

.to-billing-plan {min-width:0;}
.to-billing-illustration {display:block;flex:0 0 auto;background:#f4f7fb;border:1px solid #e4eaf1;border-radius:12px;padding:8px;margin:0 0 20px;overflow:hidden;}
.to-billing-illustration img {display:block;width:100%;max-width:100%;height:auto;}
.to-billing-illustration:focus-visible {outline:3px solid #2563eb;outline-offset:3px;}
