.tp-registration-table{
    border-collapse:collapse;
}

.tp-registration-table th,
.tp-registration-table td{
    border:1px solid rgba(201, 168, 101, .30);
}

.tp-registration-table th,
.tp-registration-table td{
    padding:.8rem 1rem;
}

.tp-registration-table th{
    text-transform:uppercase;
}

.tp-registration-table th small{
    font-weight: normal;
}

/* ==========================================================================
   Alignements
   ========================================================================== */
.tp-center{
    text-align:center;
}

.tp-right{
    text-align:right;
}

.tp-middle{
    vertical-align:middle;
}

/* ==========================================================================
   Tarifs
   ========================================================================== */
.tp-price{
    text-align:center;
}

.tp-price.tp-center del{
    opacity:.75;
    padding-right:0.85rem;
}

.tp-center del{
    opacity:.75;
    padding-right:0.20rem;
}

.tp-price strong{
    margin-top:.15rem;
    font-size:var(--fs-md);
    font-weight:700;
}

.tp-price small{
    display:block;
    margin-top:.25rem;
    font-size:var(--fs-sm);
    line-height:1.35;
    font-style:italic;
    opacity:.85;
}

/* ==========================================================================
   Note "Part spectacle"
   ========================================================================== */
.tp-spectacle-note td{
    font-size:var(--fs-sm);
    font-style:italic;
    opacity:.85;
}

.tp-spectacle-note strong{
    font-style:normal;
}

/* ==========================================================================
   Budget global
   ========================================================================== */
.tp-budget-spectacle td{
    padding-top:1rem;
    text-align:right;
    font-size:var(--fs-base);
    font-weight:700;
}

/* ==========================================================================
   Bandeau promo
   ========================================================================== */
.tp-promo{
    display:grid;
    grid-template-columns:140px 1fr;
    gap:2rem;
    align-items:center;
    margin:2rem 0;
    padding:1.5rem 2rem;
    border:1px dashed var(--color-redlogo);
    border-radius:10px;
    background:var(--color-footerbg);
}

.tp-promo-badge{
    width:110px;
    height:75px;
    background:var(--color-redlogo);
    border-radius:8px;
    transform:rotate(-14deg);
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow: 0 8px 20px rgba(0,0,0,.45);
}

.tp-promo-badge span{
    color:var(--color-white);
    font-size:var(--fs-xl);
    font-weight:700;
}

.tp-promo-content h3{
    margin:0;
    color:var(--color-redlogo);
    font-size:var(--fs-h4);
    text-transform:uppercase;
    letter-spacing:.08em;
}

.tp-promo-content p{
    margin:.4rem 0 0;
    color:var(--color-textdarker, #ddd);
    /* --font-body-size, pas --fs-base : compense le x-height d'Ubuntu */
    font-size:var(--font-body-size, 1.125rem);
    line-height:1.5;
}


/* ==========================================================================
   Avant table
   ========================================================================== */
.tp-registration-intro{
    font-family:var(--font-script);
}

.tp-registration-features{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
    gap:2rem;
    border:1px solid rgba(212,175,55,.20);
    padding:2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tp-registration-feature{
    text-align:center;
}

/* ==========================================================================
   Bas de page
   ========================================================================== */
.tp-footer{
    display:grid;
    grid-template-columns:2fr 1.3fr 1fr;
    gap:4rem;
    margin:4rem 0;
}

.tp-footer h3{
    margin:0 0 2rem;
    color:var(--color-crown);
}

/* ==========================================================================
   Comment s'inscrire
   ========================================================================== */
.tp-how{
    padding-right:3rem;
    border-right:1px solid rgba(212,175,55,.25);
}

.tp-step{
    display:flex;
    align-items:flex-start;
    gap:1.5rem;
    margin-bottom:2rem;
}

.tp-step-number{
    width:56px;
    height:56px;
    flex-shrink:0;
    border:2px solid var(--color-redlogo);
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:var(--color-redlogo);
    font-size:2rem;
    font-weight:700;
}

.tp-step p{
    margin:0;
}

.tp-payment{
    display:flex;
    gap:1rem;
    align-items:flex-start;
    margin-top:3rem;
}

.tp-payment img{
    width:48px;
    height:auto;
}

.tp-payment p{
    margin:0;
    font-size:.9rem;
    opacity:.9;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.tp-contact-item{
    display:flex;
    gap:1.5rem;
    align-items:flex-start;
    margin-bottom:2.5rem;
}

.tp-contact-item img{
    width:42px;
    height:auto;
}

.tp-contact-item strong{
    display:block;
    margin-bottom:.3rem;
    color:var(--color-crown);
}

/* ==========================================================================
   Citation
   ========================================================================== */
.tp-quote{
    position:relative;
    padding:2rem;
    /* Même carte claire que les champs de formulaire, pour rester cohérent */
    background:var(--color-surface-light, #f4ead3);
    color:var(--color-surface-light-text, #241d13);
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.tp-quote-mark{
    display:block;
    margin-bottom:.5rem;
    color:var(--color-redlogo);
    font-size:4rem;
    line-height:1;
}

.tp-quote blockquote{
    margin:0 0 2rem;
    font-family:var(--font-script);
    font-size:2rem;
    line-height:1.35;
}

.tp-quote cite{
    font-family:var(--font-script);
    font-size:1.5rem;
    font-style:normal;
}
/* ==========================================================================
   Formulaire de pré-inscription

   Le thème peut être clair ou sombre : les couleurs ci-dessous ne supposent
   ni l'un ni l'autre. Les séparateurs utilisent un gris semi-transparent,
   visible sur les deux fonds, et les champs de saisie fixent EXPLICITEMENT
   leur fond ET leur texte — sans quoi le texte hérite de la couleur claire
   du thème et devient illisible sur fond blanc.
   ========================================================================== */

.tp-form {
	max-width: 46rem;
	margin: 2rem 0;
}

.tp-fieldset {
	border: 1px solid rgba(127, 127, 127, .35);
	border-radius: 8px;
	padding: 1.5rem;
	margin: 0 0 1.5rem;
}

.tp-fieldset > legend {
	padding: 0 .5rem;
	font-weight: 700;
	font-size: 1.05rem;
}

.tp-optional {
	font-weight: 400;
	opacity: .65;
}

.tp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0 1.25rem;
}

.tp-field {
	margin: 0 0 1.15rem;
}

.tp-field label {
	display: block;
	font-weight: 600;
	font-size: .9375rem;
}

/* --------------------------------------------------------- Champs de saisie */

.tp-registration .tp-form input[type="text"],
.tp-registration .tp-form input[type="email"],
.tp-registration .tp-form input[type="tel"],
.tp-registration .tp-form input[type="date"],
.tp-registration .tp-form input[type="number"],
.tp-registration .tp-form select,
.tp-registration .tp-form textarea {
	display: block;
	width: 100%;
	margin-top: .35rem;
	padding: .6rem .75rem;

	font: inherit;
	font-weight: 400;
	line-height: 1.4;

	/*
	| Reprend --color-surface-light du thème : c'est le même traitement
	| que tous les autres champs du site (page de contact, newsletter...),
	| plutôt qu'un blanc propre au plugin.
	*/
	background-color: var(--color-surface-light, #f4ead3);
	color: var(--color-surface-light-text, #241d13);

	border: 1px solid var(--color-surface-light-border, rgba(127, 127, 127, .55));
	border-radius: 6px;

	/* Indique au navigateur de dessiner les contrôles natifs en clair :
	   sans cela, la flèche des <select> et l'icône de date restent claires
	   sur fond blanc. */
	color-scheme: light;
}

/* IMPORTANT : appearance:none uniquement sur les <select>.
   Appliqué aux champs date et heure, il supprime le contrôle segmenté natif
   — et avec lui le passage automatique jour → mois → année pendant la
   saisie, ce qui rend ces champs pénibles à remplir. */
.tp-registration .tp-form select {
	-webkit-appearance: none;
	appearance: none;
}

/* Les champs date et heure gardent leur comportement natif, et un peu de
   place pour l'icône du sélecteur. */
.tp-registration .tp-form input[type="date"],
.tp-registration .tp-form input[type="time"] {
	min-height: 2.75rem;
}

.tp-registration .tp-form select {
	/* La flèche native ayant été retirée, on la redessine */
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .75rem center;
	background-size: .7rem;
	padding-right: 2.25rem;
}

.tp-registration .tp-form option {
	background-color: var(--color-surface-light, #f4ead3);
	color: var(--color-surface-light-text, #241d13);
}

.tp-registration .tp-form ::placeholder {
	color: var(--color-surface-light-placeholder, #8a7d61);
	opacity: 1;
}

.tp-registration .tp-form input:focus,
.tp-registration .tp-form select:focus,
.tp-registration .tp-form textarea:focus {
	/*
	| Même logique que le reste du site : le doré (--color-primary) est
	| trop clair pour servir d'indicateur de focus sur un champ déjà
	| clair. Le rouge de la marque tranche nettement mieux.
	*/
	outline: 2px solid var(--color-redlogo, #a6171a);
	outline-offset: 1px;
	border-color: var(--color-redlogo, #a6171a);
}

/* Un champ obligatoire laissé vide, une fois le formulaire soumis */
.tp-registration .tp-form :user-invalid {
	border-color: var(--color-danger, #a6171a);
}

/* ------------------------------------------------------------- Annotations */

.tp-required {
	color: var(--color-danger, #a6171a);
}

.tp-help {
	display: block;
	margin-top: .3rem;
	font-size: .8125rem;
	font-weight: 400;
	opacity: .75;
}

.tp-checkbox,
.tp-radio {
	margin: 0 0 .75rem;
	font-size: .9375rem;
}

.tp-registration .tp-checkbox > label,
.tp-registration .tp-radio > label {

	/*
	| Contrôles dessinés par la feuille de style plutôt que par le
	| navigateur.
	|
	| Deux tentatives ont échoué avant celle-ci : aligner la case en flex,
	| puis la positionner en absolu. Toutes deux plaçaient correctement la
	| BOÎTE de la case, mais le contrôle natif se dessinait ailleurs à
	| l'intérieur de cette boîte, selon des règles propres au navigateur et
	| à ce que le thème lui a appliqué.
	|
	| « appearance: none » supprime le contrôle natif : la case devient une
	| boîte ordinaire, dont la position et l'apparence ne dépendent plus de
	| personne. C'est la seule façon d'obtenir le même rendu partout.
	|
	| Les sélecteurs sont préfixés de .tp-registration pour passer devant
	| toute règle du thème, quel que soit l'ordre de chargement.
	*/

	display: block;
	position: relative;
	margin: 0;
	padding-left: 1.9rem;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.tp-registration .tp-checkbox > label > input,
.tp-registration .tp-radio > label > input {

	/* font: inherit rend « em » prévisible : sans lui, un champ conserve
	| la taille de police par défaut du navigateur, différente de celle du
	| texte qui l'entoure. */
	font: inherit;

	appearance: none;
	-webkit-appearance: none;

	position: absolute;
	left: 0;

	/* Centre la case sur la PREMIÈRE ligne du libellé, quelle que soit
	| la longueur du texte. */
	top: calc((1.5em - 1.15rem) / 2);

	width: 1.15rem;
	height: 1.15rem;
	min-height: 0;
	min-width: 0;
	margin: 0;
	padding: 0;
	flex: none;

	border: 2px solid var(--color-crown, #c9a865);
	border-radius: 4px;
	background: transparent;
	box-shadow: none;
	transition: background-color .15s ease, border-color .15s ease;
}

.tp-registration .tp-radio > label > input {
	border-radius: 50%;
}

/* Coche : un chevron tracé avec deux bordures, sans image ni police. */
.tp-registration .tp-checkbox > label > input:checked {
	border-color: var(--color-redlogo, #a6171a);
	background: var(--color-redlogo, #a6171a);
}

.tp-registration .tp-checkbox > label > input:checked::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: .3rem;
	height: .6rem;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -50%) rotate(45deg);
}

/* Radio : pastille centrale. */
.tp-registration .tp-radio > label > input:checked {
	border-color: var(--color-redlogo, #a6171a);
}

.tp-registration .tp-radio > label > input:checked::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: .55rem;
	height: .55rem;
	border-radius: 50%;
	background: var(--color-redlogo, #a6171a);
	transform: translate(-50%, -50%);
}

.tp-registration .tp-checkbox > label > input:focus-visible,
.tp-registration .tp-radio > label > input:focus-visible {
	outline: 2px solid var(--color-redlogo, #a6171a);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------- Enfants */

.tp-child {
	padding: 1.25rem;
	margin: 0 0 1rem;
	background: rgba(127, 127, 127, .12);
	border: 1px solid rgba(127, 127, 127, .2);
	border-radius: 6px;
}

.tp-child-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: .9rem;
}

.tp-child-header h3 {
	margin: 0;
	font-size: 1rem;
}

.tp-remove-child {
	border: none;
	background: none;
	padding: 0;
	font: inherit;
	font-size: .8125rem;
	color: #e06c6c;
	text-decoration: underline;
	cursor: pointer;
}

.tp-remove-child:hover {
	opacity: .8;
}

/* ------------------------------------------------------------ Consentement */

.tp-consent {
	padding: 1rem 1.15rem;
	margin: 1.25rem 0;
	border-left: 3px solid rgba(127, 127, 127, .5);
	background: rgba(127, 127, 127, .1);
	border-radius: 0 6px 6px 0;
}

.tp-submit {
	margin: 1.75rem 0 0;
}

/* ---------------------------------------------------------------- Messages */

.tp-notice {
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	border-left: 4px solid;
	border-radius: 0 4px 4px 0;
	background: rgba(127, 127, 127, .12);
}

.tp-notice p:first-child { margin-top: 0; }
.tp-notice p:last-child  { margin-bottom: 0; }

.tp-notice ul {
	margin: .5rem 0 0;
	padding-left: 1.25rem;
}

.tp-notice--error   { border-color: #e06c6c; }
.tp-notice--warning { border-color: #e0b04a; }
.tp-notice--success { border-color: #4caf6d; }

/*
| Récapitulatif de confirmation : un enfant et son atelier par ligne.
*/

.tp-recap {

    list-style: none;

    margin: 0 0 1.2em;

    padding: 0;

}

.tp-recap li {

    padding: 0.35em 0;

}

.tp-recap li + li {

    border-top: 1px solid rgba(255, 255, 255, 0.12);

}

.tp-recap em {

    opacity: 0.75;

}

/* Champ piège : caché aux humains, pas aux robots */
.tp-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ==========================================================================
   Montant estimé
   ========================================================================== */

.tp-montant {
	padding: 1rem 1.15rem;
	margin: 0 0 1.25rem;
	background: rgba(127, 127, 127, .12);
	border-left: 3px solid rgba(127, 127, 127, .5);
	border-radius: 0 6px 6px 0;
	transition: opacity .15s ease;
}

/* Pendant le calcul : on garde le montant précédent lisible plutôt que de
   le faire disparaître, ce qui ferait sauter la mise en page. */
.tp-montant--calcul {
	opacity: .5;
}

.tp-montant p {
	margin: 0 0 .35rem;
}

.tp-montant p:last-child {
	margin-bottom: 0;
}

.tp-montant-vide {
	opacity: .75;
	font-size: .9375rem;
}

.tp-montant-total {
	font-size: 1.0625rem;
	line-height: 1.5;
}

.tp-montant-detail {
	font-size: .875rem;
	opacity: .8;
}

/*
| Prix horaire indicatif, sous le total.
*/

.tp-montant-horaire {

    margin: 0.3em 0 0;

    font-size: 0.92em;

    opacity: 0.75;

}

/*
| Stages : plusieurs tarifs présentés côte à côte, sans choix à faire.
*/

.tp-montant-tarifs {

    list-style: none;

    margin: 0;

    padding: 0;

}

.tp-montant-tarifs li {

    padding: 0.5em 0;

}

.tp-montant-tarifs li + li {

    border-top: 1px solid rgba(255, 255, 255, 0.12);

}

.tp-montant-tarifs small {

    opacity: 0.75;

}

.tp-montant-barre {
	text-decoration: line-through;
	opacity: .7;
}

/* Montant rappelé à côté de chaque mode de règlement */
.tp-radio .tp-montant-annuel,
.tp-radio .tp-montant-mensuel {
	font-weight: 700;
	white-space: nowrap;
}

/* ==========================================================================
   Liste des stages
   ========================================================================== */

.tp-stages {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0;
}

.tp-stage {
	padding: 1.25rem;
	background: rgba(127, 127, 127, .12);
	border: 1px solid rgba(127, 127, 127, .25);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
}

.tp-stage-titre {
	margin: 0 0 .35rem;
	font-size: 1.1rem;
}

.tp-stage-dates {
	margin: 0 0 .25rem;
	font-weight: 600;
}

.tp-stage-classes,
.tp-stage-description {
	margin: 0 0 .5rem;
	font-size: .9rem;
	opacity: .8;
}

.tp-stage-prix {
	margin: auto 0 .75rem;
	font-size: 1.05rem;
}

.tp-stage-complet {
	display: inline-block;
	margin-left: .5rem;
	font-size: .8125rem;
	opacity: .75;
}

.tp-stage-restantes {
	display: inline-block;
	margin-left: .5rem;
	font-size: .8125rem;
	color: #e0b04a;
}

/* ==========================================================================
   Champs date / heure masqués (voir assets/js/date-mask.js)
   ========================================================================== */

.tp-registration .tp-form .tp-mask-date,
.tp-registration .tp-form .tp-mask-time {
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
}


/* ---------------------------------------------------- Détail par enfant */

/*
| Une ligne par enfant, libellé à gauche et prix à droite. Le tout dans une
| grille plutôt qu'en flex : les prix restent alignés entre eux même quand
| les noms d'atelier n'ont pas la même longueur.
*/

.tp-montant-lignes {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.tp-montant-lignes li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .25rem 1rem;
	padding: .45rem 0;
	border-bottom: 1px solid rgba(127, 127, 127, .18);
}

.tp-montant-lignes li:last-child {
	border-bottom: 0;
}

.tp-montant-ligne-prix {
	text-align: right;
	white-space: nowrap;
}

.tp-montant-lignes small {
	grid-column: 1 / -1;
	opacity: .7;
}

.tp-montant-ligne-fratrie {
	font-weight: 600;
	color: var(--color-redlogo, #a6171a);
}

.tp-montant-question {
	margin-bottom: .5rem;
}

@media (max-width: 480px) {

	/*
	| Sous 480 px, un nom d'atelier et son prix ne tiennent plus sur une
	| ligne sans césure hasardeuse : le prix passe dessous, aligné à droite.
	*/
	.tp-montant-lignes li {
		grid-template-columns: 1fr;
	}

	.tp-montant-ligne-prix {
		text-align: left;
	}

}

/* ==========================================================================
   Mobile
   --------------------------------------------------------------------------
   Le tableau devient une pile de fiches. Le balisage reste le même : un
   second tableau écrit en <div> aurait signifié tout le contenu en double
   dans la page — deux fois à maintenir, et un lecteur d'écran qui lit
   l'ensemble deux fois. Ici, ce sont les attributs data-label qui prennent
   le relais de l'en-tête, lequel disparaît.
   ========================================================================== */

@media (max-width: 768px) {

    /* --- Bandeau promo --------------------------------------------------- */

    /*
    | La pastille gardait 140 px sur un écran de 375 : plus du tiers de la
    | largeur pour trois caractères, et le texte réduit à une colonne de
    | deux mots.
    */
    .tp-promo{
        grid-template-columns:95px 1fr;
        gap:1rem;
        padding:1.25rem;
    }

    .tp-promo-badge{
        width:88px;
        height:60px;
        transform:rotate(-10deg);
    }

    .tp-promo-badge span{
        font-size:var(--fs-lg, 1.25rem);
    }

    .tp-promo-content h3{
        font-size:var(--fs-h5, 1.15rem);
        letter-spacing:.04em;
    }


    /* --- Bloc de bas de page --------------------------------------------- */

    /*
    | Sur trois colonnes serrées, les coordonnées et la citation devenaient
    | illisibles avant d'être utiles. Seule la marche à suivre est conservée,
    | et elle occupe toute la largeur.
    |
    | display:none plutôt qu'une largeur nulle : les deux blocs sortent aussi
    | de la lecture des lecteurs d'écran, ce qui est cohérent — un contenu
    | qu'on juge superflu à l'écran ne devient pas essentiel à l'oreille.
    */

    .tp-footer{
        grid-template-columns:1fr;
        gap:0;
    }

    .tp-footer .tp-contact,
    .tp-footer .tp-quote{
        display:none;
    }

    .tp-footer .tp-how{
        width:100%;
    }

    /* --- Tableau des ateliers -------------------------------------------- */

    .tp-registration-table,
    .tp-registration-table tbody,
    .tp-registration-table tr,
    .tp-registration-table td{
        display:block;
        width:100%;
    }

    /*
    | L'en-tête n'est pas simplement masqué : « display:none » le retire
    | aussi des lecteurs d'écran, ce qui est voulu, puisque chaque cellule
    | porte désormais son propre intitulé.
    */
    .tp-registration-table thead{
        display:none;
    }

    .tp-registration-table tr{
        margin-bottom:1.25rem;
        border:1px solid rgba(201, 168, 101, .30);
        border-radius:10px;
        overflow:hidden;
    }

    .tp-registration-table td{
        display:flex;
        justify-content:space-between;
        align-items:baseline;
        gap:1rem;
        border:0;
        border-top:1px solid rgba(201, 168, 101, .18);
        padding:.7rem 1rem;
        text-align:right;
    }

    /*
    | Tout le contenu de la cellule tient dans un seul conteneur : la
    | disposition en flex ne compte donc que deux colonnes, l'intitulé et
    | la valeur. À l'intérieur, le texte reprend son flux normal — c'est
    | ce qui permet au <br> de renvoyer « dont part spectacle » à la ligne.
    */
    .tp-registration-table .tp-cell-value{
        flex:1 1 auto;
        min-width:0;
    }

    .tp-registration-table td::before{
        content:attr(data-label);
        flex:0 0 auto;
        max-width:45%;
        text-align:left;
        font-weight:700;
        font-size:var(--fs-sm, .875rem);
        text-transform:uppercase;
        letter-spacing:.04em;
        opacity:.75;
    }

    /*
    | Cellules sans intitulé : le groupe d'âge sert de titre à la fiche, le
    | bouton se suffit à lui-même.
    */
    .tp-registration-table td:not([data-label])::before{
        content:none;
    }

    /* --- Repli des fiches ------------------------------------------------ */

    .tp-registration-table .tp-cell-groupe{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:1rem;
        border-top:0;
        background:rgba(201, 168, 101, .10);
        text-align:left;
        font-size:var(--fs-lg, 1.15rem);
        cursor:pointer;
        user-select:none;
    }

    .tp-registration-table .tp-cell-groupe:focus-visible{
        outline:2px solid var(--color-crown, #c9a865);
        outline-offset:-2px;
    }

    .tp-cell-chevron{
        flex:0 0 auto;
        width:.6rem;
        height:.6rem;
        border-right:2px solid currentColor;
        border-bottom:2px solid currentColor;
        transform:rotate(45deg) translateY(-25%);
        opacity:.7;
        transition:transform .2s ease;
    }

    .tp-registration-table tr.is-open .tp-cell-chevron{
        transform:rotate(-135deg) translateY(-25%);
    }

    /*
    | Fiche repliée : seul le groupe d'âge reste visible. La note de bas de
    | tableau est exclue, elle n'a pas d'en-tête à replier.
    */
    .tp-registration-table tr:not(.is-open):not(.tp-spectacle-note) td{
        display:none;
    }

    /*
    | « td.tp-cell-groupe » et non « .tp-cell-groupe » seul : la règle qui
    | masque les cellules ci-dessus se termine par un sélecteur d'élément
    | (td), ce qui la rend plus spécifique qu'une simple classe. Sans ce
    | td, cette règle-ci perdait le conflit et le titre restait masqué —
    | l'ordre d'écriture n'y change rien.
    */
    .tp-registration-table tr:not(.is-open) td.tp-cell-groupe{
        display:flex;
    }

    .tp-registration-table .tp-cell-action{
        display:block;
        text-align:center;
    }

    /*
    | display:flex plutôt que block : le bouton du thème centre son libellé
    | par alignement interne, que « display:block » supprimait — d'où le
    | texte collé en haut.
    */
    .tp-registration-table .tp-cell-action .button{
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        min-height:3rem;
    }

    /* Les prix sont alignés à droite comme les autres valeurs. */
    .tp-registration-table .tp-center{
        text-align:right;
    }

    /*
    | Note de bas de tableau : sa cellule vide de calage n'a plus de sens
    | hors d'une grille en colonnes.
    */
    .tp-registration-table .tp-spectacle-note{
        border:0;
    }

    .tp-registration-table .tp-spectacle-note td:first-child{
        display:none;
    }

    .tp-registration-table .tp-spectacle-note td{
        border-top:0;
        padding:0;
        text-align:left;
    }

}
