/* ==========================================================================
   SIMPLE Trombi — feuille de style
   Tout est encapsulé sous .strombi. Les couleurs arrivent en variables CSS
   posées par le plugin sur l'enveloppe (onglet Apparence) ; les valeurs
   ci-dessous ne servent que de repli.
   ========================================================================== */

.strombi {
	--st-accent: #0b6ec7;
	--st-accent-dark: #09569b;
	--st-accent-soft: #e2eef9;
	--st-accent-ring: #aacdee;
	--st-on-accent: #ffffff;
	--st-head: #0b6ec7;
	--st-head-dark: #074780;
	--st-head-light: #549ad8;
	--st-on-head: #ffffff;
	--st-page: #f4f8fb;
	--st-card: #ffffff;
	--st-zone: #f3f8fc;
	--st-text: #12212e;
	--st-muted: #5d6f7f;
	--st-line: #dde3e8;
	--st-danger: #d6394a;
	--st-ok: #16a56b;

	--st-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--st-t1: clamp(1.6em, 1.1em + 1.6vw, 2.3em);
	--st-t2: 1.32em;
	--st-t3: 1.05em;
	--st-small: .94em;
	--st-mini: .86em;
	--st-bold: 800;
	/* Courbure des coins (onglet Apparence) : blocs, petits éléments, boutons. */
	--st-radius: 18px;
	--st-radius-s: 12px;
	--st-pill: 999px;
	--st-pad-x: 28px;
	--st-shadow: 0 1px 2px rgba(10, 30, 50, .06), 0 8px 24px rgba(10, 30, 50, .08);
	--st-shadow-strong: 0 2px 4px rgba(10, 30, 50, .08), 0 18px 44px rgba(10, 30, 50, .16);

	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding: 8px 16px 56px;
	color: var(--st-text);
	/* On hérite de la taille de texte du thème (tout est en em), avec un plancher. */
	/* Taille de référence posée en ligne par le plugin (réglage « Taille du
	   texte ») ; en mode « hériter du thème », celle du thème. */
	font-size: max(14px, 1em);
	font-weight: 400;
	line-height: 1.55;
	font-family: var(--st-font);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

.strombi *,
.strombi *::before,
.strombi *::after { box-sizing: border-box; }

/* Aucune puce : certains thèmes en ajoutent à toutes les listes du contenu,
   y compris par ::before. */
.strombi ul,
.strombi ol,
.strombi li {
	list-style: none !important;
	margin-left: 0;
	padding-left: 0;
}
.strombi li::marker { content: none; }
.strombi .st-grid > li::before,
.strombi .st-card__details > li::before { content: none !important; display: none !important; }

/* Neutralise capitales et centrage imposés par certains thèmes. */
.strombi h2, .strombi h3, .strombi h4, .strombi p, .strombi span, .strombi a,
.strombi label, .strombi input, .strombi button, .strombi select, .strombi textarea,
.strombi figcaption, .strombi legend, .strombi li {
	text-transform: none;
	font-variant: normal;
	letter-spacing: normal;
	font-family: var(--st-font);
}

.strombi h2, .strombi h3, .strombi h4, .strombi p, .strombi label, .strombi legend,
.strombi figcaption, .strombi li { text-align: left; }

.strombi .st-card__badge,
.strombi .st-person__role,
.strombi .st-tag,
.strombi .st-block legend { text-transform: uppercase; }

.strombi img { max-width: 100%; display: block; }

.strombi .st-sr {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------------ En-tête */

.st-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	padding: 26px var(--st-pad-x);
	margin-bottom: 22px;
	border-radius: var(--st-radius);
	background: var(--st-head);
	color: var(--st-on-head);
	box-shadow: var(--st-shadow);
}

.strombi--gradient .st-header,
.strombi--gradient .st-card__head {
	background: linear-gradient(135deg, var(--st-head-dark), var(--st-head) 55%, var(--st-head-light));
}

.strombi .st-title {
	margin: 0;
	font-size: var(--st-t1);
	font-weight: var(--st-bold);
	line-height: 1.15;
	letter-spacing: -.02em;
	color: var(--st-on-head);
}

.strombi .st-subtitle {
	margin: 6px 0 0;
	font-size: var(--st-t3);
	font-weight: 500;
	color: var(--st-on-head);
	opacity: .9;
}

.strombi .st-title + .st-subtitle { margin-top: 6px; }
.strombi .st-header__text > .st-subtitle:first-child { margin-top: 0; }

.st-header__text { flex: 1 1 auto; min-width: 0; }
.st-header__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.st-header--logo { align-items: center; }

.st-logo {
	flex: 0 0 auto;
	width: 62px;
	height: 62px;
	display: grid;
	place-items: center;
	font-size: 1.9em;
	border-radius: var(--st-radius);
	background: rgba(255, 255, 255, .18);
	border: 1px solid rgba(255, 255, 255, .32);
}

/* ------------------------------------------------------------------ Boutons */

.strombi .st-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-pill);
	background: var(--st-card);
	color: var(--st-text);
	font-size: var(--st-small);
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .14s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	box-shadow: 0 1px 2px rgba(10, 30, 50, .08);
}

.strombi .st-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(10, 30, 50, .16); }
.strombi .st-btn:focus-visible { outline: 3px solid var(--st-accent-ring); outline-offset: 2px; }

.strombi .st-btn--primary {
	border-color: transparent;
	background: var(--st-accent) !important;
	color: var(--st-on-accent) !important;
}
.strombi .st-btn--primary:hover { background: var(--st-accent-dark) !important; }
/* Dans le bandeau, le bouton principal passe en inverse : il reste visible
   même quand le bandeau et l'accent ont la même couleur. */
.strombi .st-header .st-btn--primary,
.strombi--theme .st-header .st-btn--primary { background: var(--st-on-head) !important; color: var(--st-head) !important; }
.strombi .st-header .st-btn--primary:hover { background: var(--st-on-head) !important; opacity: .92; }
/* Les couleurs des liens du thème (y compris au survol) ne touchent pas aux boutons. */
.strombi a.st-btn,
.strombi a.st-btn:hover,
.strombi a.st-btn:focus,
.strombi a.st-btn:visited { text-decoration: none !important; }
.strombi a.st-btn:not(.st-btn--primary):not(.st-btn--danger):not(.st-btn--ghost):not(.st-btn--soft) { color: var(--st-text) !important; background: var(--st-card) !important; }

.strombi .st-btn--soft { background: var(--st-accent-soft); border-color: transparent; color: var(--st-accent-dark); }

.strombi .st-btn--ghost { background: transparent; border-color: currentColor; color: inherit; box-shadow: none; opacity: .85; }
.st-header .st-btn--ghost { color: var(--st-on-head); }
.st-panel .st-btn--ghost, .st-actions .st-btn--ghost { color: var(--st-muted); border-color: var(--st-line); }

.strombi .st-btn--danger { color: var(--st-danger); border-color: color-mix(in srgb, var(--st-danger) 35%, transparent); }
.strombi .st-btn--danger:hover { background: var(--st-danger); border-color: var(--st-danger); color: #fff; }

.strombi .st-btn--block { width: 100%; }
.strombi .st-btn--big { padding: 14px 30px; font-size: 1.05em; }
.strombi .st-btn[hidden] { display: none; }

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

.st-notice {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 18px;
	margin: 0 0 20px;
	border-radius: var(--st-radius-s);
	border: 1px solid var(--st-line);
	background: var(--st-card);
	box-shadow: var(--st-shadow);
	font-size: .96em;
}
.strombi .st-notice p { margin: 0; }

.st-notice__ico {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--st-muted);
}
.st-notice__ico::after {
	content: "i";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	font-weight: 800;
	font-size: .8em;
}
.st-notice--ok { border-color: #b9e6d1; background: #f2fbf7; color: #12212e; }
.st-notice--ok .st-notice__ico { background: var(--st-ok); }
.st-notice--ok .st-notice__ico::after { content: "✓"; }
.st-notice--error { border-color: #f5cad0; background: #fef5f6; color: #12212e; }
.st-notice--error .st-notice__ico { background: var(--st-danger); }
.st-notice--error .st-notice__ico::after { content: "!"; }

/* ------------------------------------------------------------------ Recherche */

.st-toolbar { display: flex; gap: 12px; align-items: center; margin: 0 0 26px; }
.st-toolbar .st-search { flex: 1 1 auto; min-width: 0; margin: 0; }
.st-toolbar__btn { flex: 0 0 auto; white-space: nowrap; }
.st-toolbar--no-search { justify-content: flex-end; }
.strombi .st-toolbar__btn { padding: 14px 22px; }

/* Barre sans bandeau (espace membre, en-tête désactivé). */
.st-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--st-line);
}
.strombi .st-bar .st-subtitle { margin: 0; color: var(--st-muted); opacity: 1; font-size: 1em; }
.strombi .st-panel__title--login { margin-bottom: 18px; text-align: center; }

.st-search { margin: 0 0 26px; }

.st-search__box {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 8px 7px 16px;
	background: var(--st-card);
	border: 1px solid var(--st-line);
	border-radius: var(--st-pill);
	box-shadow: var(--st-shadow);
}
.st-search__box:focus-within { border-color: var(--st-accent); box-shadow: 0 0 0 4px var(--st-accent-soft), var(--st-shadow); }

.st-search__icon { display: flex; color: var(--st-muted); }

.strombi .st-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 8px 4px;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--st-text);
	font-size: 1em;
}
.strombi .st-search input::placeholder { color: var(--st-muted); opacity: .75; }

.strombi .st-search__clear { padding: 0 6px; color: var(--st-muted); font-size: 1.4em; line-height: 1; text-decoration: none; }
.strombi .st-search__clear:hover { color: var(--st-danger); }

/* ------------------------------------------------------------------ Mosaïque */

.strombi .st-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 22px;
}
.strombi .st-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.strombi .st-grid--solo { grid-template-columns: minmax(0, 380px); }
.strombi .st-grid--solo.st-grid--wide { grid-template-columns: minmax(0, 720px); }

.strombi .st-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--st-card);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
	transition: transform .18s ease, box-shadow .22s ease;
}
.strombi .st-card:hover { transform: translateY(-4px); box-shadow: var(--st-shadow-strong); }

.st-card__head {
	padding: 20px 20px 18px;
	background: var(--st-head);
	color: var(--st-on-head);
}

.st-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.strombi .st-card__badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: var(--st-pill);
	background: rgba(255, 255, 255, .18);
	border: 1px solid rgba(255, 255, 255, .32);
	font-size: .76em;
	font-weight: 800;
	letter-spacing: .06em;
}

.strombi .st-card__title {
	margin: 0;
	font-size: var(--st-t2);
	font-weight: var(--st-bold);
	line-height: 1.2;
	color: var(--st-on-head);
	overflow-wrap: anywhere;
}

.strombi .st-card__subtitle {
	margin: 3px 0 0;
	font-size: var(--st-small);
	color: var(--st-on-head);
	opacity: .88;
}

.strombi .st-card__details { list-style: none; margin: 10px 0 0; padding: 0; font-size: var(--st-small); }
.strombi .st-card__details li { margin: 2px 0; color: var(--st-on-head); }
.strombi .st-card__label { opacity: .78; font-weight: 600; }
.strombi .st-card__details .st-contact { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: var(--st-on-head); }

/* Personnes : grille qui s'adapte au nombre d'emplacements.
   Les filets entre personnes sont les interstices de la grille. */
.st-persons {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
	gap: 1px;
	background: var(--st-line);
	border-top: 1px solid var(--st-line);
}
.st-card > .st-persons:first-child { border-top: 0; }
.st-persons--1 { grid-template-columns: 1fr; }

.strombi .st-person {
	margin: 0;
	padding: 18px 12px 20px;
	background: var(--st-zone);
	text-align: center;
}
.strombi--theme .st-persons { background: transparent; gap: 0; }
.strombi--theme .st-person { background: transparent; }

.strombi .st-person figcaption,
.strombi .st-person figcaption * { text-align: center; }

.strombi .st-person__photo {
	display: block;
	width: 96px;
	height: 96px;
	margin: 0 auto 10px;
	padding: 0;
	overflow: hidden;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 2px var(--st-accent), 0 4px 14px rgba(10, 30, 50, .18);
	cursor: zoom-in;
	transition: transform .18s ease;
	-webkit-appearance: none;
	appearance: none;
}
.st-persons--1 .st-person__photo { width: 120px; height: 120px; }
.strombi .st-person__photo:hover { transform: scale(1.06); }
.strombi .st-person__photo:focus-visible { outline: 3px solid var(--st-accent-ring); outline-offset: 3px; }
.strombi .st-person__photo img { width: 100%; height: 100%; object-fit: cover; }

.strombi .st-person__role {
	display: block;
	font-size: .74em;
	font-weight: 800;
	letter-spacing: .1em;
	color: var(--st-accent);
}

.strombi .st-person__name {
	display: block;
	margin-top: 2px;
	font-size: 1.02em;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.strombi .st-person__line {
	display: block;
	margin-top: 1px;
	font-size: var(--st-small);
	color: var(--st-muted);
	overflow-wrap: anywhere;
}

.st-person__contacts {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	margin-top: 7px;
}

.strombi .st-contact,
.strombi .st-person__contact {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	padding: 3px 9px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-pill);
	background: var(--st-card);
	color: var(--st-muted);
	font-size: var(--st-mini);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}
.strombi .st-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strombi .st-contact svg { flex: 0 0 auto; }
.strombi a.st-contact:hover { color: var(--st-accent-dark); border-color: var(--st-accent); background: var(--st-accent-soft); }

/* ------------------------------------------------------------------ Loupe */

.st-zoom {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding: 24px;
	background: rgba(6, 20, 34, .84);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	cursor: zoom-out;
	opacity: 0;
	transition: opacity .2s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.st-zoom.is-open { opacity: 1; pointer-events: auto; }
.st-zoom:not(.is-open) { pointer-events: none; }
/* Sans cette ligne, « display:flex » l'emporterait sur l'attribut hidden. */
.st-zoom[hidden] { display: none !important; }

.st-zoom__circle {
	width: min(74vmin, 560px);
	height: min(74vmin, 560px);
	overflow: hidden;
	border: 6px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
	transform: scale(.9);
	transition: transform .22s cubic-bezier(.2, .8, .3, 1);
}
.st-zoom.is-open .st-zoom__circle { transform: scale(1); }
.st-zoom__circle img { display: block; width: 100%; height: 100%; object-fit: cover; }

.st-zoom__caption { max-width: 90vw; margin: 0; text-align: center; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.st-zoom__role { display: block; font-size: .82em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.st-zoom__name { display: block; margin-top: 3px; font-size: 1.35em; font-weight: 800; overflow-wrap: anywhere; }
.st-zoom__entity { display: block; margin-top: 2px; font-size: .92em; opacity: .8; }

.st-zoom__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
}
.st-zoom__close:hover { background: rgba(255, 255, 255, .28); }

@media (max-width: 600px) {
	.st-zoom__circle { width: min(84vmin, 420px); height: min(84vmin, 420px); border-width: 4px; }
	.st-zoom__close { top: 10px; right: 10px; }
}

/* ------------------------------------------------------------------ Pagination */

.st-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 32px; }

.strombi .st-page {
	min-width: 42px;
	padding: 9px 12px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius-s);
	background: var(--st-card);
	color: var(--st-text);
	font-weight: 650;
	text-align: center;
	text-decoration: none;
}
.strombi .st-page:hover { border-color: var(--st-accent); color: var(--st-accent); }
.strombi .st-page.is-active { background: var(--st-accent); border-color: transparent; color: var(--st-on-accent); }

/* ------------------------------------------------------------------ État vide */

.st-empty {
	padding: 64px 24px;
	background: var(--st-card);
	border: 1px dashed var(--st-line);
	border-radius: var(--st-radius);
	text-align: center;
}
.strombi .st-empty * { text-align: center; }
.st-empty__icon { margin-bottom: 12px; font-size: 3em; line-height: 1; }
.strombi .st-empty h3 { margin: 0 0 6px; font-size: var(--st-t2); font-weight: var(--st-bold); }
.strombi .st-empty p { margin: 0 0 20px; color: var(--st-muted); font-size: var(--st-small); }

/* ------------------------------------------------------------------ Panneaux */

.st-panel {
	max-width: 480px;
	margin: 0 auto;
	padding: 30px 30px 26px;
	background: var(--st-card);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow-strong);
}
.st-panel--wide { max-width: 100%; }
.strombi .st-panel__title { margin: 0 0 4px; font-size: var(--st-t2); font-weight: var(--st-bold); }
.strombi .st-panel__help { margin: 0 0 22px; color: var(--st-muted); font-size: var(--st-small); }

.st-tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	margin-bottom: 22px;
	background: var(--st-zone);
	border: 1px solid var(--st-line);
	border-radius: var(--st-pill);
}
.strombi .st-tab {
	flex: 1;
	padding: 10px 12px;
	border-radius: var(--st-pill);
	color: var(--st-muted);
	font-size: var(--st-small);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}
.strombi .st-tab:hover { color: var(--st-accent); }
.strombi .st-tab.is-active { background: var(--st-card); color: var(--st-accent-dark); box-shadow: 0 2px 8px rgba(10, 30, 50, .12); }

/* ------------------------------------------------------------------ Formulaires */

.st-block {
	margin: 0 0 22px;
	padding: 20px 22px 8px;
	background: var(--st-zone);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
}
.strombi .st-block legend {
	padding: 3px 12px;
	border-radius: var(--st-pill);
	background: var(--st-accent-soft);
	color: var(--st-accent-dark);
	font-size: .78em;
	font-weight: 800;
	letter-spacing: .08em;
}

.st-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 20px; }
.st-cols--tight { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 14px; }
.st-cols .st-field--textarea { grid-column: 1 / -1; }

.st-field { margin-bottom: 18px; }

.strombi .st-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--st-text);
	font-size: var(--st-mini);
	font-weight: 700;
}

.strombi .st-field input[type="text"],
.strombi .st-field input[type="email"],
.strombi .st-field input[type="password"],
.strombi .st-field input[type="tel"],
.strombi .st-field input[type="url"],
.strombi .st-field select,
.strombi .st-field textarea {
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius-s);
	background: var(--st-card);
	color: var(--st-text);
	font-size: 1em;
	line-height: 1.4;
	box-shadow: none;
}
.strombi .st-field textarea { min-height: 90px; resize: vertical; }
.strombi .st-field input:focus,
.strombi .st-field select:focus,
.strombi .st-field textarea:focus { outline: 0; border-color: var(--st-accent); box-shadow: 0 0 0 4px var(--st-accent-soft); }
.strombi .st-field input::placeholder,
.strombi .st-field textarea::placeholder { color: var(--st-muted); opacity: .7; }
.strombi .st-field small { display: block; margin-top: 6px; color: var(--st-muted); font-size: var(--st-mini); }

.strombi .st-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: var(--st-pill);
	background: var(--st-accent-soft);
	color: var(--st-accent-dark);
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .04em;
	vertical-align: 1px;
}
.strombi .st-tag--members { background: #fff4d6; color: #7a5600; }
.strombi .st-tag--private { background: #fde4e6; color: #8f1d2c; }

.st-check { display: flex; align-items: center; gap: 9px; margin: -4px 0 20px; color: var(--st-muted); font-size: .94em; cursor: pointer; }
.st-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--st-accent); }
.st-check--remove { margin: 0 0 14px; font-size: var(--st-mini); }

.st-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 8px 26px; }
.st-slots--single { grid-template-columns: 1fr; }
.st-slot { padding-top: 4px; }
.st-slot.is-hidden { display: none; }
.strombi .st-slot h4 { margin: 6px 0 14px; color: var(--st-accent-dark); font-size: var(--st-t3); font-weight: var(--st-bold); }
.st-add-slot { margin: 0 0 16px; }
/* Personne cochée « Retirer » : grisée, avec un rappel. */
.st-slot__removing { display: none; margin: -8px 0 14px; color: #b32d2e; font-size: var(--st-mini); font-weight: 600; }
.st-slot.is-removing .st-slot__removing { display: block; }
.st-slot.is-removing > .st-cols,
.st-slot.is-removing > .st-field--photo,
.st-slot.is-removing > h4 { opacity: .35; }
.st-photo__kept { color: #007a3d; font-weight: 600; }

/* Couleur propre à une fiche (administration). */
.st-block--color .st-check { margin: 0 0 10px; color: var(--st-text); }
.st-block--color input[type="color"] { width: 56px; height: 34px; padding: 2px; border: 1px solid var(--st-line); border-radius: 6px; cursor: pointer; }
.st-swatch { display: inline-block; width: 18px; height: 18px; margin-left: 6px; border-radius: 4px; vertical-align: -4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }

/* Photo */
.st-photo { display: flex; align-items: center; gap: 16px; }
.st-photo__preview {
	flex: 0 0 84px;
	width: 84px;
	height: 84px;
	overflow: hidden;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 2px var(--st-line), 0 4px 12px rgba(10, 30, 50, .12);
}
.st-photo__preview img { width: 100%; height: 100%; object-fit: cover; }
.st-photo__ctrl { position: relative; flex: 1 1 auto; }
.strombi .st-photo__ctrl input[type="file"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 44px;
	opacity: 0;
	cursor: pointer;
}
.st-photo__btn { pointer-events: none; }
.st-photo__ctrl input[type="file"]:focus-visible + .st-photo__btn { outline: 3px solid var(--st-accent-ring); outline-offset: 2px; }

.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.st-panel .st-grid + .st-actions { margin-top: 22px; }
.st-inline { margin: 0; }

.strombi .st-links { margin: 20px 0 0; color: var(--st-muted); font-size: var(--st-mini); text-align: center; }
.strombi .st-links a { color: var(--st-accent); text-decoration: none; }
.strombi .st-links a:hover { text-decoration: underline; }
.strombi .st-links span { margin: 0 6px; opacity: .5; }

/* ==================================================================
   Mode « hériter du thème » : police, texte et fond viennent du thème ;
   le plugin ne garde que la mise en page, l'accent et le bandeau.
   ================================================================= */

.strombi--theme {
	--st-font: inherit;
	--st-card: transparent;
	--st-zone: rgba(128, 128, 128, .07);
	--st-line: rgba(128, 128, 128, .28);
	--st-text: inherit;
	--st-muted: inherit;
	--st-shadow: none;
	--st-shadow-strong: none;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}
.strombi--theme .st-field small,
.strombi--theme .st-panel__help,
.strombi--theme .st-person__line,
.strombi--theme .st-empty p,
.strombi--theme .st-links { opacity: .72; }
.strombi--theme .st-card:hover { transform: none; }
.strombi--theme .st-field input,
.strombi--theme .st-field select,
.strombi--theme .st-field textarea { background: transparent; color: inherit; }
.strombi--theme .st-search__box { background: transparent; }
.strombi--theme .st-tab.is-active { background: rgba(128, 128, 128, .16); color: inherit; }
.strombi--theme .st-btn { color: inherit; background: transparent; }
.strombi--theme .st-btn--primary { color: var(--st-on-accent); background: var(--st-accent); }
.strombi--theme .st-header .st-btn { color: var(--st-on-head); }
.strombi--theme .st-person__photo { border-color: transparent; }

/* ------------------------------------------------------------------ Mobile */

@media (max-width: 600px) {
	.strombi { padding: 4px 12px 40px; --st-pad-x: 20px; }
	.st-header { padding: 20px var(--st-pad-x); }
	.st-header__actions { width: 100%; }
	.st-header__actions .st-btn { flex: 1; }
	.st-panel { padding: 24px 20px; border-radius: var(--st-radius); }
	.strombi .st-grid,
	.strombi .st-grid--wide { grid-template-columns: 1fr; }
	.st-photo { flex-wrap: wrap; }
	.strombi .st-search__btn { padding: 10px 14px; }
	.st-toolbar--with-btn { flex-direction: column; align-items: stretch; }
	.strombi .st-toolbar__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.strombi *, .strombi *::before, .strombi *::after, .st-zoom, .st-zoom * { transition: none !important; animation: none !important; }
}
