/* Asso Couteau Suisse — styles publics. Couleur principale modifiable : --acs-accent. */
:root {
	--acs-accent: #1f3a5f;
	--acs-accent-soft: #e6edf6;
	--acs-border: rgba(0, 0, 0, .12);
	--acs-muted: #6b6b6b;
	--acs-radius: 10px;
}

.acs-hidden { display: none !important; }
.acs-muted { color: var(--acs-muted); }
.acs-empty { color: var(--acs-muted); font-style: italic; }
.acs-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

/* ---------- Agenda : grille ---------- */
.acs-agenda-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 1.5em 0; }
.acs-card-event { border: 1px solid var(--acs-border); border-radius: var(--acs-radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; color: #1d1d1d; }
.acs-card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--acs-accent-soft); overflow: hidden; }
.acs-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.acs-card-event:hover .acs-card-media img { transform: scale(1.03); }
.acs-card-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--acs-accent-soft), #f5f5f0); }
.acs-date-badge { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 8px; padding: 6px 10px; text-align: center; line-height: 1.1; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.acs-date-badge .acs-d { display: block; font-size: 1.4em; font-weight: 700; color: var(--acs-accent); }
.acs-date-badge .acs-m { display: block; font-size: .75em; text-transform: uppercase; letter-spacing: .05em; color: #333; }
.acs-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.acs-card-title { font-size: 1.15em; margin: 0 0 .35em; line-height: 1.3; }
.acs-card-title a { color: inherit; text-decoration: none; }
.acs-card-title a:hover { color: var(--acs-accent); }
.acs-card-meta { font-size: .9em; color: var(--acs-muted); margin: 0 0 .8em; }
.acs-card-excerpt { margin: 0 0 .8em; }
.acs-card-foot { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .92em; }
.acs-price { font-weight: 600; }
.acs-more { margin-left: auto; font-weight: 600; color: var(--acs-accent); text-decoration: none; }

/* ---------- Agenda : liste ---------- */
.acs-agenda-liste { margin: 1.5em 0; display: flex; flex-direction: column; gap: 16px; }
.acs-agenda-liste .acs-card-event { flex-direction: row; }
.acs-agenda-liste .acs-card-media { flex: 0 0 200px; aspect-ratio: auto; min-height: 140px; }
@media (max-width: 600px) {
	.acs-agenda-liste .acs-card-event { flex-direction: column; }
	.acs-agenda-liste .acs-card-media { flex-basis: auto; aspect-ratio: 16 / 9; }
}

/* ---------- Badges, notices ---------- */
.acs-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .8em; font-weight: 600; background: #eee; color: #333; }
.acs-badge-warn { background: #fdecea; color: #a12a1e; }
.acs-badge-ok { background: #e7f5ec; color: #1e6b3a; }
.acs-notice { border-left: 4px solid var(--acs-accent); background: var(--acs-accent-soft); padding: 12px 16px; border-radius: 6px; margin: 0 0 1em; }
.acs-notice ul { margin: .5em 0 0 1.2em; }
.acs-notice-ok { border-color: #2e8b57; background: #e7f5ec; }
.acs-notice-err { border-color: #c0392b; background: #fdecea; }
.acs-box { border: 1px solid var(--acs-border); border-radius: var(--acs-radius); padding: 16px 18px; }

/* ---------- Formulaires ---------- */
.acs-form .acs-field { margin: 0 0 14px; }
.acs-form .acs-label { display: block; font-weight: 600; margin-bottom: 4px; }
.acs-form input[type="text"], .acs-form input[type="email"], .acs-form input[type="tel"], .acs-form input[type="number"],
.acs-form input[type="date"], .acs-form input[type="url"], .acs-form input[type="datetime-local"], .acs-form select, .acs-form textarea {
	width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #c7c7c7; border-radius: 6px; font: inherit; background: #fff;
}
.acs-form textarea { min-height: 80px; }
.acs-req { color: #c0392b; }
.acs-help { font-size: .85em; color: var(--acs-muted); margin: 4px 0 0; }
.acs-choices { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.acs-choices label, .acs-check { font-weight: normal; display: inline-flex; align-items: flex-start; gap: 6px; }
.acs-section-title { margin: 1.2em 0 .4em; font-size: 1.1em; border-bottom: 1px solid var(--acs-border); padding-bottom: 4px; }
.acs-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.acs-repeat-item { display: flex; gap: 6px; margin-bottom: 6px; align-items: flex-start; }
.acs-repeat-item > :first-child { flex: 1; }
.acs-repeat-del, .acs-repeat-add { border: 1px solid #c7c7c7; background: #fafafa; border-radius: 6px; cursor: pointer; padding: 6px 10px; font: inherit; line-height: 1; }
.acs-repeat-add { font-size: .9em; }
.acs-inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.acs-inline input { flex: 1 1 110px; }
.acs-btn { display: inline-block; background: var(--acs-accent); color: #fff !important; border: 0; border-radius: 8px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.acs-btn:hover { filter: brightness(1.1); }

/* ---------- Réservation ---------- */
.acs-booking { border: 1px solid var(--acs-border); border-radius: var(--acs-radius); padding: 18px 20px; margin: 2em 0; background: #fff; color: #1d1d1d; }
.acs-booking-title { margin-top: 0; }
.acs-who { background: var(--acs-accent-soft); padding: 8px 12px; border-radius: 6px; }
.acs-participants { margin: 0 0 14px; }
.acs-participants .acs-participant { margin-bottom: 6px; }
.acs-total { font-size: 1.1em; }
.acs-ha-widget { width: 100%; height: 760px; border: 0; }
.acs-infos-box { border-left: 4px solid var(--acs-accent); padding: 8px 14px; margin: 0 0 1.5em; background: var(--acs-accent-soft); border-radius: 0 6px 6px 0; }
.acs-infos-box p { margin: .25em 0; }

/* ---------- Carte ---------- */
.acs-mapwrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 20px; margin: 1.5em 0; }
@media (max-width: 760px) { .acs-mapwrap { grid-template-columns: 1fr; } }
.acs-map { border-radius: var(--acs-radius); overflow: hidden; border: 1px solid var(--acs-border); z-index: 0; }
.acs-map-list h3 { margin-top: 0; }
.acs-map-list ul { list-style: none; margin: 0; padding: 0; }
.acs-map-list li { padding: 10px 0; border-bottom: 1px solid var(--acs-border); line-height: 1.4; }
.acs-logo-marker span { display: flex; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid var(--acs-accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); align-items: center; justify-content: center; overflow: hidden; box-sizing: border-box; }
.acs-logo-marker img { width: 70% !important; height: 70% !important; max-width: none !important; object-fit: contain; margin: 0 !important; }

/* ---------- Tableaux (espace bénévoles, profil) ---------- */
.acs-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.acs-table th, .acs-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--acs-border); vertical-align: top; }
.acs-publication p { margin: 0 0 6px; }
.acs-publication .button { display: inline-block; padding: 4px 10px; border: 1px solid var(--acs-accent); border-radius: 6px; color: var(--acs-accent); text-decoration: none; font-size: .9em; }
.acs-publication .button-primary { background: var(--acs-accent); color: #fff; }
.acs-counter-n { display: inline-block; min-width: 1.6em; text-align: center; font-weight: 700; background: var(--acs-accent); color: #fff; border-radius: 999px; padding: 0 6px; }
.acs-rappels { margin: 4px 0 0 1.2em; font-size: .9em; }
.acs-my-tickets li { margin-bottom: 6px; }

/* ---------- Espace artistes ---------- */
.acs-choices-col { flex-direction: column; }
.acs-venue ul { margin: .5em 0 0 1.2em; }
.acs-venue { margin-bottom: 1.5em; }
.acs-setlist .acs-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.acs-setlist .acs-row { display: grid; grid-template-columns: 1fr 1fr 36px; grid-template-areas: "t a x" "d r x"; gap: 6px; align-items: center; padding: 8px; border: 1px solid var(--acs-border); border-radius: 8px; }
.acs-setlist .acs-row-title { grid-area: t; } .acs-setlist .acs-row-authors { grid-area: a; } .acs-setlist .acs-row-duration { grid-area: d; } .acs-setlist .acs-row-rights { grid-area: r; } .acs-setlist .acs-rows-del { grid-area: x; align-self: stretch; }
@media (max-width: 560px) { .acs-setlist .acs-row { grid-template-columns: 1fr 36px; grid-template-areas: "t x" "a x" "d x" "r x"; } }
.acs-model-choice .acs-model-option { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--acs-border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.acs-model-choice .acs-model-option:has(input:checked) { border-color: var(--acs-accent); background: var(--acs-accent-soft); }
.acs-model-choice input { margin-top: 4px; }
.acs-terms-dialog { max-width: 640px; width: calc(100% - 32px); border: 0; border-radius: 12px; padding: 24px 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); color: #1d1d1d; background: #fff; }
.acs-terms-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.acs-terms-dialog h3 { margin-top: 0; color: var(--acs-accent); }
.acs-terms-text { max-height: 50vh; overflow: auto; padding: 12px 14px; background: #f7f6f1; border-radius: 8px; line-height: 1.55; margin-bottom: 14px; }
.acs-terms-accept { font-weight: 600; margin-bottom: 14px; }
.acs-terms-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.acs-terms-continue:disabled { opacity: .45; cursor: not-allowed; }
.acs-terms-done { color: #1e6b3a; font-weight: 600; }
/* Boutons de la fenêtre de conditions : lisibles quel que soit le thème. */
.acs-terms-dialog .acs-terms-continue { background: #1e7d3c !important; color: #fff !important; border: 0 !important; border-radius: 8px; padding: 11px 22px; font-weight: 700; cursor: pointer; }
.acs-terms-dialog .acs-terms-continue:hover:not(:disabled) { background: #166530 !important; }
.acs-terms-dialog .acs-terms-continue:disabled { background: #1e7d3c !important; opacity: .4; }
.acs-terms-dialog .acs-terms-cancel { background: #111 !important; color: #fff !important; border: 0 !important; border-radius: 8px; padding: 11px 22px; font-weight: 600; cursor: pointer; font: inherit; }
.acs-terms-dialog .acs-terms-cancel:hover { background: #333 !important; }

/* ---------- Partenaires ---------- */
.acs-encart { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.15; border: 1px solid rgba(0,0,0,.25); border-radius: 4px; overflow: hidden; box-sizing: border-box; padding: 2px; vertical-align: top; font-family: Helvetica, Arial, sans-serif; }
.acs-encart strong { line-height: 1.05; }
.acs-encart > span { display: block; white-space: nowrap; }
.acs-encart-img { background: #fff; padding: 0 !important; }
.acs-encart-img img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0; }
.acs-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 1.5em 0; }
.acs-partner { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--acs-border); border-radius: var(--acs-radius); padding: 14px; background: #fff; color: #1d1d1d; }
.acs-partner h3 { margin: 0 0 .2em; font-size: 1.05em; }
.acs-partner p { margin: .2em 0; font-size: .92em; }
.acs-partner-encart { flex: 0 0 auto; }
.acs-event-partners { margin: 1.5em 0; }
.acs-encarts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Covoiturage ---------- */
.acs-carpool-box { border: 1px dashed var(--acs-accent); border-radius: 8px; padding: 10px 14px; margin: 1.2em 0; }
.acs-cv-filter { margin: 0 0 1em; }
.acs-cv-filter select { max-width: 100%; }
.acs-cv-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 1.5em; }
.acs-cv-col h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.acs-cv-count { background: var(--acs-accent); color: #fff; border-radius: 999px; font-size: .75em; padding: 0 9px; }
.acs-cv-card { border: 1px solid var(--acs-border); border-left: 4px solid #2e8b57; border-radius: 8px; padding: 10px 14px; margin: 10px 0; background: #fff; color: #1d1d1d; }
.acs-cv-demande .acs-cv-card { border-left-color: #c77d12; }
.acs-cv-card p { margin: .25em 0; }
.acs-cv-full { opacity: .6; }
.acs-cv-badge { display: inline-block; font-size: .8em; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #e7f5ec; color: #1e6b3a; }
.acs-cv-badge-demande { background: #fdf0dc; color: #8a5300; }
.acs-cv-comment { font-style: italic; }
.acs-cv-who { font-size: .9em; color: var(--acs-muted); }
.acs-cv-contact summary, .acs-cv-new summary { cursor: pointer; color: var(--acs-accent); font-weight: 600; }
.acs-cv-contact form { margin-top: 8px; }
.acs-cv-new { margin-top: 1em; }
.acs-draw { margin: .6em 0 0; padding: .5em .8em; background: #fff7e0; border-left: 4px solid #e0a526; border-radius: 4px; }

/* ---------- Bénévolat ---------- */
.acs-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid #e2e2e2; margin: 0 0 1.2em; }
.acs-tabs a { padding: .55em 1em; text-decoration: none; border-radius: 6px 6px 0 0; color: inherit; margin-bottom: -2px; border-bottom: 2px solid transparent; }
.acs-tabs a.is-active { border-bottom-color: #1f3a5f; font-weight: 700; color: #1f3a5f; }
.acs-bv-day { margin: 1.4em 0 .5em; font-size: 1.1em; padding-bottom: .3em; border-bottom: 1px solid #e6e6e6; }
.acs-bv-task { display: grid; grid-template-columns: 8.5em 1fr auto; gap: 1em; align-items: start; padding: .9em 1em; border: 1px solid #e3e3e3; border-left: 4px solid #e0a526; border-radius: 6px; margin-bottom: .7em; background: #fff; }
.acs-bv-task.is-full { border-left-color: #2e7d4f; }
.acs-bv-task.is-mine { background: #f2f8f4; }
.acs-bv-time { font-weight: 700; color: #1f3a5f; white-space: nowrap; }
.acs-bv-main h4 { margin: 0 0 .25em; font-size: 1.05em; }
.acs-bv-main p { margin: .25em 0; }
.acs-bv-act { display: flex; flex-direction: column; align-items: flex-end; gap: .4em; }
.acs-inline-form { display: inline; margin: 0; }
.acs-btn.acs-btn-light { background: #fff !important; color: #1f3a5f !important; border: 1px solid #1f3a5f !important; }
.acs-btn.acs-btn-danger { background: #b03a2e !important; color: #fff !important; }
.acs-small { font-size: .85em; }
.acs-nowrap { white-space: nowrap; }
.acs-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1em; }
.acs-bv-tools { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-bottom: .6em; flex-wrap: wrap; }
.acs-bv-sum { font-weight: 600; }
.acs-planning-day th { background: #1f3a5f; color: #fff; text-align: left; }
.acs-bv-danger { margin-top: 2em; }
.acs-form input[type="time"], .acs-form input[type="number"] { width: 100%; box-sizing: border-box; padding: .5em; }
@media (max-width: 640px) {
	.acs-bv-task { grid-template-columns: 1fr; }
	.acs-bv-act { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
	.acs-grid3 { grid-template-columns: 1fr 1fr; }
}
@media print {
	.acs-tabs, .acs-bv-tools, .acs-notice, header, footer, .wp-block-template-part { display: none !important; }
	.acs-planning { font-size: 10pt; }
}

/* ---------- Actions ouvertes, sondages ---------- */
.acs-badge-open { background: #e3f0fb; color: #1d5b8f; font-size: .75em; vertical-align: middle; }
.acs-bv-ext { grid-column: 1 / -1; border-top: 1px dashed #ddd; padding-top: .6em; }
.acs-bv-ext summary { cursor: pointer; font-weight: 600; color: #1f3a5f; }
.acs-poll { border: 1px solid #e3e3e3; border-radius: 8px; padding: 1em 1.2em; margin-bottom: 1.2em; background: #fff; }
.acs-poll.is-closed { background: #fafafa; }
.acs-poll h3 { margin: 0 0 .2em; }
.acs-poll-results { margin-top: .8em; }
.acs-poll-row { margin: .5em 0; }
.acs-poll-label { display: flex; justify-content: space-between; gap: 1em; font-size: .95em; }
.acs-poll-bar { height: 10px; background: #eef1f5; border-radius: 6px; overflow: hidden; margin-top: 3px; }
.acs-poll-bar span { display: block; height: 100%; background: #8fa9c8; border-radius: 6px; }
.acs-poll-row.is-top .acs-poll-bar span { background: #1f3a5f; }
.acs-poll-row.is-top .acs-poll-label { font-weight: 700; }

/* ---------- Adhésion ---------- */
.acs-adh-formulas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 1em; }
.acs-adh-formula { position: relative; display: flex; flex-direction: column; gap: 4px; border: 2px solid #e1e1e1; border-radius: 10px; padding: 14px 14px 12px 40px; cursor: pointer; background: #fff; }
.acs-adh-formula input { position: absolute; left: 14px; top: 17px; }
.acs-adh-formula:has(input:checked) { border-color: #1f3a5f; background: #f3f6fa; }
.acs-adh-name { font-weight: 700; }
.acs-adh-price { font-size: 1.25em; font-weight: 700; color: #1f3a5f; }
.acs-adh-desc { font-size: .9em; color: #555; }
.acs-adh-valid { font-size: .8em; color: #2e7d4f; }
.acs-adh-form h3 { margin-top: 1.4em; }
.acs-adh-amount.acs-hidden { display: none; }

/* ---------- Application ---------- */
.acs-app { max-width: 640px; margin: 0 auto; }
.acs-app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 1.2em; }
.acs-app-head img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.acs-app-head h2 { margin: 0; font-size: 1.35em; line-height: 1.2; }
.acs-app-hello { margin: 0; color: #666; }
.acs-app-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 1.4em; }
@media (min-width: 560px) { .acs-app-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.acs-app-tile { display: flex; flex-direction: column; gap: 2px; padding: 16px 14px; border-radius: 16px; background: #fff; border: 1px solid #e6e8ec; box-shadow: 0 1px 3px rgba(0,0,0,.06); text-decoration: none !important; color: #1d1d1d !important; min-height: 108px; }
.acs-app-tile:active { transform: scale(.98); }
.acs-app-ico { font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.acs-app-tile strong { font-size: 1.02em; }
.acs-app-tile small { color: #777; font-size: .8em; line-height: 1.25; }
.acs-app-box { background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; padding: 14px 18px; margin-bottom: 1.2em; }
.acs-app-box h3 { margin: .2em 0 .6em; font-size: 1.1em; }
.acs-app-next { list-style: none; margin: 0; padding: 0; }
.acs-app-next li + li { border-top: 1px solid #eee; }
.acs-app-next a { display: flex; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none !important; color: inherit !important; }
.acs-app-date { flex: 0 0 48px; text-align: center; border-radius: 10px; background: #1f3a5f; color: #fff; padding: 4px 0; font-size: .75em; text-transform: uppercase; line-height: 1.1; }
.acs-app-date b { display: block; font-size: 1.6em; }
.acs-app-steps { padding-left: 1.3em; }
.acs-app-steps li { margin: .35em 0; }
.acs-app-qr svg { display: block; margin: .5em auto; border-radius: 8px; }
.acs-app-status:empty { display: none; }
.acs-app-status { font-weight: 600; color: #1f3a5f; }
.acs-app-push[data-state="ios"] .acs-app-status, .acs-app-push[data-state="unsupported"] .acs-app-status, .acs-app-push[data-state="denied"] .acs-app-status { color: #8a5a00; font-weight: 400; }
.acs-app-install [hidden], .acs-app-push [hidden] { display: none !important; }
.acs-standalone .acs-app-install { display: none; }
/* Carte plein écran */
.acs-mcard { border-radius: 18px; overflow: hidden; box-shadow: 0 6px 22px rgba(0,0,0,.18); background: #fff; aspect-ratio: 85.6 / 54; display: flex; flex-direction: column; max-width: 460px; margin: 0 auto; }
.acs-mcard-band { background: #1f3a5f; color: #fff; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 3px solid #c9a54a; }
.acs-mcard-band img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; padding: 2px; }
.acs-mcard-band b { display: block; font-size: .95em; letter-spacing: .02em; }
.acs-mcard-band span { font-size: .78em; opacity: .85; }
.acs-mcard-body { padding: 10px 16px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.acs-mcard-body p { margin: 0 0 6px; }
.acs-mcard-name { font-size: 1.35em; font-weight: 800; }
.acs-mcard-status { background: #e6edf6; color: #1f3a5f; font-weight: 700; border-radius: 6px; padding: 2px 10px; font-size: .9em; }
.acs-mcard dl { display: flex; gap: 24px; margin: 6px 0 0; }
.acs-mcard dt { font-size: .65em; text-transform: uppercase; color: #888; font-weight: 700; }
.acs-mcard dd { margin: 0; font-weight: 700; }
.acs-mcard-qr svg { display: block; margin: 18px auto 6px; border-radius: 10px; box-shadow: 0 0 0 1px #e3e3e3; }
.acs-mcard-help { text-align: center; color: #555; font-size: .9em; }
.acs-mcard-actions { text-align: center; }

/* ---------- Moi j'y vais… et toi ? ---------- */
.acs-jv { border: 2px solid #1f3a5f; border-radius: 16px; padding: 16px 18px; margin: 1.4em 0; background: linear-gradient(135deg, #f4f7fb 0%, #fff 60%); }
.acs-jv.is-going { border-color: #2e7d4f; background: linear-gradient(135deg, #eef8f1 0%, #fff 60%); }
.acs-jv-head { display: flex; gap: 14px; align-items: center; }
.acs-jv-count { flex: 0 0 auto; width: 74px; height: 74px; border-radius: 50%; background: #1f3a5f; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.is-going .acs-jv-count { background: #2e7d4f; }
.acs-jv-count b { font-size: 1.7em; }
.acs-jv-count small { font-size: .72em; margin-top: 3px; }
.acs-jv-title { font-size: 1.25em; font-weight: 800; margin: 0; }
.acs-jv-people { margin: .15em 0 0; color: #555; }
.acs-jv-invited { background: #fff7e0; border-radius: 10px; padding: .55em .8em; margin: .9em 0 0; }
.acs-jv-form { margin-top: .9em; }
.acs-jv-row { display: flex; gap: 8px; flex-wrap: wrap; }
.acs-jv-row input[type="text"] { flex: 1 1 180px; padding: .7em .8em; border: 1px solid #c9ced6; border-radius: 10px; font: inherit; }
.acs-btn.acs-jv-btn { font-size: 1.1em; padding: 12px 22px; }
.acs-jv-show { display: block; margin-top: .5em; font-size: .92em; }
.acs-jv-show[hidden] { display: none; }
.acs-jv-conv, .acs-jv-book { margin: .8em 0 0; }
.acs-jv-title2 { font-weight: 700; margin: 1em 0 .5em; }
.acs-jv-preview img { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.15); margin-bottom: .8em; }
.acs-jv-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.acs-jv-net { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 999px; border: 0; font: inherit; font-size: .92em; font-weight: 600; cursor: pointer; text-decoration: none !important; color: #fff !important; background: #555; line-height: 1.2; }
.acs-jv-net[hidden] { display: none; }
.acs-jv-native { background: #1f3a5f; }
.acs-jv-whatsapp { background: #1fa855; }
.acs-jv-facebook { background: #1877f2; }
.acs-jv-x { background: #111; }
.acs-jv-bluesky { background: #1185fe; }
.acs-jv-telegram { background: #229ed9; }
.acs-jv-linkedin { background: #0a66c2; }
.acs-jv-email { background: #6b6b6b; }
.acs-jv-sms { background: #34a853; }
.acs-jv-copy { background: #fff; color: #1f3a5f !important; border: 1px solid #1f3a5f; }
.acs-jv-copy.is-done { background: #2e7d4f; color: #fff !important; border-color: #2e7d4f; }
.acs-jv-dl { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.acs-jv-tip { margin-top: .5em; }
.acs-jv-invite { margin-top: .8em; }
.acs-jv-invite summary { cursor: pointer; font-weight: 600; color: #1f3a5f; }
.acs-jv-invite input[type="email"] { display: block; width: 100%; margin-bottom: 6px; }
.acs-jv-leave { margin: .9em 0 0; }
.acs-linkbtn { background: none; border: 0; padding: 0; color: #777; text-decoration: underline; cursor: pointer; font: inherit; font-size: .88em; }
.acs-jv-mini { display: inline-block; font-size: .85em; color: #1f3a5f; font-weight: 600; white-space: nowrap; }
.acs-jv-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 1.2em; padding: 11px 16px; border-radius: 12px; background: #1f3a5f; color: #fff !important; text-decoration: none !important; box-shadow: 0 2px 8px rgba(31,58,95,.25); line-height: 1.35; }
.acs-jv-banner:hover { filter: brightness(1.08); }
.acs-jv-banner.is-soon { background: linear-gradient(90deg, #b03a2e, #e0a526); }
.acs-jv-banner-ico { font-size: 1.6em; flex: 0 0 auto; }
.acs-jv-banner-txt { flex: 1; }
.acs-jv-banner-txt strong { color: #ffc93c; }
.acs-jv-banner.is-soon .acs-jv-banner-txt strong { color: #fff; }
.acs-jv-banner-txt em { font-style: normal; opacity: .85; font-size: .92em; }
.acs-jv-banner-go { font-size: 1.4em; font-weight: 700; flex: 0 0 auto; }
#acs-jv-partage { scroll-margin-top: 90px; }
/* Pastille « J'y vais » sur les cartes de l'agenda (même gabarit que la date). */
.acs-jv-badge { position: absolute; top: 12px; right: 12px; min-width: 46px; background: #1f3a5f; color: #fff; border-radius: 8px; padding: 6px 10px; text-align: center; line-height: 1.1; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); cursor: pointer; }
.acs-jv-badge-n { display: block; font-size: 1.15em; font-weight: 700; white-space: nowrap; }
.acs-jv-badge-l { display: block; font-size: .74em; font-weight: 600; white-space: nowrap; line-height: 1.15; margin-top: 2px; }
.acs-jv-badge:not(.is-mine) .acs-jv-badge-l { color: #ffc93c; }
.acs-jv-badge.is-mine { background: #2e7d4f; }
.acs-jv-badge.is-mine .acs-jv-badge-n { font-size: 1.4em; }
.acs-jv-badge.is-soon { background: #e0761f; }
.acs-jv-badge.is-soon .acs-jv-badge-n { font-size: 1.05em; }
.acs-jv-badge:hover, .acs-jv-badge:focus { filter: brightness(1.1); outline: none; }

/* ---------- Vidéos et photos du public ---------- */
.acs-media-event { margin: 1.4em 0; }
.acs-media-cta { border: 2px dashed #c0392b; border-radius: 14px; padding: 14px 18px; background: #fff6f4; }
.acs-media-cta-title { font-weight: 800; font-size: 1.1em; margin: 0 0 .3em; }
.acs-media-embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; margin: .5em 0 1em; }
.acs-media-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.acs-up { border: 1px solid #e3e3e3; border-radius: 14px; padding: 16px 18px; background: #fff; }
.acs-up h3 { margin-top: 0; }
.acs-up-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.acs-up-btn { flex: 1 1 140px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 18px 12px; border: 2px dashed #1f3a5f; border-radius: 14px; font-weight: 700; font-size: 1.1em; color: #1f3a5f; cursor: pointer; background: #f4f7fb; }
.acs-up-btn:hover { background: #e9eff7; }
.acs-up-list { list-style: none; margin: .8em 0; padding: 0; }
.acs-up-item { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid #eee; border-radius: 10px; margin-bottom: 6px; }
.acs-up-item.is-error { border-color: #e7b3ad; background: #fdf3f2; }
.acs-up-item.is-done { border-color: #b7dcc4; background: #f1faf4; }
.acs-up-thumb { flex: 0 0 52px; height: 52px; border-radius: 8px; background: #f0f2f5; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 24px; }
.acs-up-thumb img { width: 100%; height: 100%; object-fit: cover; }
.acs-up-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acs-up-meta b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92em; }
.acs-up-meta small { color: #666; }
.acs-up-bar { height: 6px; background: #eef1f5; border-radius: 4px; overflow: hidden; }
.acs-up-bar i { display: block; height: 100%; width: 0; background: #1f3a5f; transition: width .3s; }
.is-done .acs-up-bar i { background: #2e7d4f; }
.acs-up-del { border: 0; background: none; font-size: 1.1em; cursor: pointer; color: #999; }
.acs-up-consents .acs-check { display: block; margin: .35em 0; }
.acs-up-msg.is-ok { color: #2e7d4f; font-weight: 600; }
.acs-up-msg.is-error { color: #b03a2e; font-weight: 600; }
.acs-mt-send { margin-bottom: 1.6em; }
.acs-mt-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 1em; }
.acs-mt-filter select { padding: .5em; border-radius: 8px; }
.acs-mt-official h3 { margin-bottom: .3em; }
.acs-mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.acs-mt-item { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid #e6e8ec; border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.acs-mt-item:hover { box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.acs-mt-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: #1d1d1d; }
.acs-mt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acs-mt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 3px; box-sizing: border-box; }
.acs-mt-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: .78em; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.acs-mt-info { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px 11px; }
.acs-mt-info strong { font-size: .95em; line-height: 1.25; }
.acs-mt-info small { font-size: .8em; color: #555; }
.acs-mt-pages { margin: 1.2em 0; text-align: center; }
.acs-mt-pages a, .acs-mt-pages strong { display: inline-block; padding: 4px 10px; }
.acs-mt-dialog { width: min(960px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #111; color: #eee; overflow: hidden; }
.acs-mt-dialog::backdrop { background: rgba(0,0,0,.8); }
.acs-mt-stage img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; }
.acs-mt-stage iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.acs-mt-caption { padding: 10px 16px 14px; margin: 0; font-size: .9em; }
.acs-mt-caption a { color: #ffc93c; }
.acs-mt-close { position: absolute; top: 8px; right: 10px; z-index: 2; border: 0; background: rgba(0,0,0,.6); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.acs-up .acs-choices label { display: block; margin: .3em 0; line-height: 1.4; }
.acs-up .acs-choices label strong { display: inline; }
/* Page « Envoyer une vidéo » */
.acs-send-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 1.2em; }
.acs-send-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 2px solid #e1e4ea; border-radius: 14px; background: #fff; text-decoration: none !important; color: #1d1d1d !important; }
.acs-send-card:hover { border-color: #8fa9c8; }
.acs-send-card.is-active { border-color: #1f3a5f; background: #f3f6fa; box-shadow: 0 2px 8px rgba(31,58,95,.12); }
.acs-send-ico { font-size: 30px; }
.acs-send-card strong { font-size: 1.08em; }
.acs-send-card small { color: #555; line-height: 1.35; }
.acs-send-events { display: flex; flex-direction: column; gap: 8px; }
.acs-send-ev { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #e6e8ec; border-radius: 12px; background: #fff; text-decoration: none !important; color: inherit !important; }
.acs-send-ev:hover { border-color: #1f3a5f; }
.acs-up-summary { margin: 0 0 1em; background: #f6f7f9; border-radius: 10px; padding: 8px 12px; }
.acs-up-summary summary { cursor: pointer; font-weight: 600; color: #1f3a5f; }
.acs-mt-comment { display: inline-block; margin-top: 4px; color: #ddd; }
.acs-mt-sendlink { margin-bottom: 1.2em; }
