/* Espace organisateur (application autonome). */
:root {
	--page: #193A38;
	--deep: #132525;
	--ink: #1D2022;
	--field: #102221;
	--line: rgba(255, 255, 255, .1);
	--line-strong: rgba(255, 255, 255, .2);
	--text: #DDE4E1;
	--muted: #A9B8B5;
	--brand: #B9F01A;
	--warn: #ffc850;
	--info: #6EC1E4;
	--danger: #ff7a6b;
	--radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
body.hubm-standalone { margin: 0; background: var(--page); color: var(--text); font: 15px/1.55 "Albert Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
body.hubm-standalone h1, body.hubm-standalone h2, body.hubm-standalone h3 { color: #fff; margin: 0 0 .5em; line-height: 1.15; }
body.hubm-standalone h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
body.hubm-standalone h2 { font-size: 1.15rem; font-weight: 700; }
body.hubm-standalone h3 { font-size: .92rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
body.hubm-standalone p { margin: 0 0 1em; }
body.hubm-standalone a { color: var(--brand); }
.app-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.app-narrow { max-width: 820px; }
.app-kicker { color: var(--brand) !important; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .5em !important; }
.app-help { color: var(--muted); font-size: .88rem; }

/* Barre du haut */
.app-top { background: var(--deep); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.app-top .app-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.app-brand { display: flex; align-items: center; gap: 14px; color: #fff !important; text-decoration: none; font-weight: 700; }
.app-brand img { height: 40px; width: auto; }
.app-brand span { padding-left: 14px; border-left: 1px solid var(--line-strong); font-size: .9rem; }
.app-nav { display: flex; align-items: center; gap: 22px; }
.app-nav a { color: var(--text) !important; text-decoration: none; font-weight: 600; font-size: .9rem; }
.app-nav a:hover { color: #fff !important; }
.app-nav a.app-nav-impression,
.app-nav a.app-nav-impression:hover {
	color: var(--ink) !important;
	font: inherit;
	font-weight: 700;
	font-size: .84rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.2;
}
.app-user { display: flex; align-items: center; gap: 8px; }
.app-avatar { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); font-weight: 800; font-size: .78rem; }
.app-avatar--lg { width: 60px; height: 60px; font-size: 1.1rem; }
.app-logout { color: var(--muted) !important; }
.app-main { flex: 1; padding-bottom: 64px; }
.app-foot { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: .84rem; }
.app-foot a { color: var(--text); }

/* Boutons et champs */
.app-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--brand); background: var(--brand); color: var(--ink) !important; font: inherit; font-weight: 700; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; padding: 12px 22px; border-radius: 999px; text-decoration: none; cursor: pointer; transition: filter .2s, background .2s, color .2s, border-color .2s; line-height: 1.2; white-space: nowrap; }
.app-btn:hover { filter: brightness(1.07); }
.app-btn--ghost { background: transparent; color: #fff !important; border-color: var(--line-strong); }
.app-btn--ghost:hover { border-color: var(--brand); color: var(--brand) !important; filter: none; }
.app-btn--danger { background: transparent; border-color: var(--danger); color: var(--danger) !important; }
.app-btn--danger:hover { background: var(--danger); color: var(--ink) !important; }
.app-btn--sm { padding: 8px 14px; font-size: .74rem; }
.app-btn--big { padding: 16px 30px; font-size: .95rem; }
.app-btn--block { width: 100%; }
.app-link { display: inline-block; margin-top: 16px; color: var(--muted) !important; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.app-link--danger { color: var(--danger) !important; }
.app-field { display: block; margin-bottom: 16px; }
.app-field > span { display: block; font-size: .84rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.app-field small { color: var(--muted); font-weight: 400; }
.hubm-standalone input[type=text], .hubm-standalone input[type=email], .hubm-standalone input[type=tel], .hubm-standalone input[type=number], .hubm-standalone input[type=password], .hubm-standalone input[type=date], .hubm-standalone input[type=url], .hubm-standalone input[type=search], .hubm-standalone input[type=file], .hubm-standalone textarea, .hubm-standalone select {
	width: 100%; background: var(--field); color: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: .95rem; margin: 0; transition: border-color .2s, box-shadow .2s;
}
.hubm-standalone input[type=date] { color-scheme: dark; }
.hubm-standalone input:focus, .hubm-standalone textarea:focus, .hubm-standalone select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185, 240, 26, .15); }
.hubm-standalone input[type=file]::file-selector-button { background: var(--brand); color: var(--ink); border: 0; border-radius: 999px; padding: 7px 14px; margin-right: 10px; font: inherit; font-weight: 700; font-size: .74rem; text-transform: uppercase; cursor: pointer; }
.app-check, .app-radio { display: flex; align-items: center; gap: 8px; margin: 6px 0; cursor: pointer; color: var(--text); font-size: .92rem; }
.app-check input, .app-radio input { accent-color: var(--brand); width: 17px; height: 17px; margin: 0; flex: none; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.app-grid--3 { grid-template-columns: repeat(3, 1fr); }
.app-span-2 { grid-column: span 2; }
.app-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--line); }
.app-sticky { position: sticky; bottom: 0; background: var(--deep); padding-bottom: 18px; margin: 8px -28px -28px; padding-left: 28px; padding-right: 28px; border-radius: 0 0 var(--radius) var(--radius); z-index: 5; }

/* Messages */
.app-flash { position: relative; margin: 20px 0 0; padding: 13px 52px 13px 18px; transition: opacity .18s, transform .18s; border-radius: 10px; border: 1px solid rgba(185, 240, 26, .45); background: rgba(185, 240, 26, .1); color: #fff; }
.app-flash.is-err { border-color: var(--danger); background: rgba(255, 122, 107, .1); }
.auth .app-flash { margin: 0 0 16px; }
.app-warn { display: block; color: var(--warn); font-size: .8rem; font-weight: 600; }
.app-quote { border-left: 3px solid var(--line-strong); padding-left: 12px; color: var(--muted); }

/* En-têtes */
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; padding: 32px 0 22px; }
body.hubm-standalone .app-head h1, body.hubm-standalone .app-head h2 { margin: 0; }
.app-head-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-back { display: inline-block; margin-top: 22px; color: var(--muted) !important; text-decoration: none; font-size: .88rem; }
.app-back:hover { color: #fff !important; }

/* Pastilles et statuts */
.app-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.app-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.app-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.app-pill.is-on { background: rgba(185, 240, 26, .14); color: var(--brand); }
.app-pill.is-off { background: rgba(255, 255, 255, .08); color: var(--muted); }
.app-pill.is-wait { background: rgba(255, 200, 80, .14); color: var(--warn); }
.app-status { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1.2; white-space: nowrap; text-align: center; }
.app-status--stack { white-space: normal; max-width: 7.2rem; border-radius: 12px; padding: 6px 10px; }
.app-status--stack small { display: block; font-size: .68rem; font-weight: 600; opacity: .9; line-height: 1.2; }
.app-status--en_attente { background: rgba(255, 200, 80, .14); color: var(--warn); }
.app-status--accepte { background: rgba(110, 193, 228, .15); color: var(--info); }
.app-status--paye { background: rgba(185, 240, 26, .14); color: var(--brand); }
.app-status--refuse { background: rgba(255, 122, 107, .12); color: var(--danger); }

/* Cartes */
.app-card { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 18px; }
.app-card > h2:not(:first-of-type) { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.app-card--flat { padding: 16px 20px; }
.app-card details summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.app-card details[open] summary { margin-bottom: 12px; color: #fff; }
.app-empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.app-empty strong { display: block; color: #fff; font-size: 1.1rem; text-align: center; }
body.hubm-standalone .app-empty p { display: block; color: var(--muted); margin: 8px auto 0; max-width: 520px; text-align: center; }

/* Accueil : mes montées */
.app-new { max-width: 640px; }
.app-montees { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.app-montee { display: flex; flex-direction: column; background: var(--deep); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit !important; transition: border-color .2s, transform .2s; }
.app-montee:hover { border-color: rgba(185, 240, 26, .5); transform: translateY(-2px); }
.app-montee-cover { display: block; aspect-ratio: 16 / 8; background: var(--ink) center / cover no-repeat; }
.app-montee-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.app-montee-body strong { color: #fff; font-size: 1.1rem; line-height: 1.25; }
.app-montee-body small { color: var(--muted); }
.app-montee-stats { display: flex; gap: 12px; margin-top: 6px; font-size: .86rem; }
.app-montee-stats .is-alert { color: var(--warn); }

/* Vue d'ensemble */
.app-publish { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.app-publish-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; border-left: 4px solid var(--line-strong); }
.app-publish-card.is-on { border-left-color: var(--brand); }
.app-publish-card > form { grid-column: 2; }
.app-publish-icon { font-size: 1.6rem; line-height: 1; color: var(--muted); padding-top: 2px; }
.app-publish-card.is-on .app-publish-icon { color: var(--brand); }
.app-publish-card p { color: var(--text); margin-bottom: 14px; }
.app-copy { display: flex; gap: 8px; margin-bottom: 14px; }
.app-copy input { font-size: .84rem !important; padding: 8px 12px !important; }
.app-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 18px; }
.app-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit !important; min-width: 0; }
.app-stat > span { color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.app-stat strong { color: #fff; font-size: 1.7rem; line-height: 1.1; white-space: nowrap; }
.app-stat strong em { font-style: normal; color: var(--muted); font-size: 1rem; }
.app-stat.is-alert { border-color: rgba(255, 200, 80, .5); }
.app-stat.is-alert strong { color: var(--warn); }
.app-state { font-weight: 700; color: var(--muted); }
.app-state.is-on { color: var(--brand); }
.app-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.app-links a { color: #fff !important; font-weight: 600; text-decoration: none; }
.app-links a:hover { color: var(--brand) !important; }

/* Listes éditables */
.app-repeater { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.app-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px; background: var(--field); border: 1px solid var(--line); border-radius: 10px; }
.app-row > input[type=text] { flex: 1 1 220px; }
.app-row select { width: auto !important; flex: 0 0 auto; }
.app-price { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.app-price input { width: 96px !important; }
.app-cats { display: flex; flex-wrap: wrap; gap: 2px 14px; flex: 1 1 100%; padding-left: 2px; }
.app-cats .app-check { margin: 2px 0; font-size: .86rem; }
.app-row-tools { display: inline-flex; gap: 4px; margin-left: auto; }
.app-row-tools button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: .9rem; }
.app-row-tools button:hover { color: #fff; border-color: var(--line-strong); }
.app-row-tools .is-danger:hover { color: var(--danger); border-color: var(--danger); }
.app-row--question .app-check { margin: 0; white-space: nowrap; }
.app-options { flex: 1 1 100%; }
.app-add { align-self: flex-start; background: none; border: 1px dashed var(--line-strong); color: var(--brand); border-radius: 10px; padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.app-add:hover { border-color: var(--brand); }

/* Apparence */
.app-colors { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.app-swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); cursor: pointer; border: 3px solid transparent; box-shadow: 0 0 0 1px var(--line-strong); }
.app-swatch:has(input:checked) { border-color: #fff; }
.app-swatch input { display: none; }
.app-colorpick { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; color: var(--text); cursor: pointer; }
.app-colorpick input { width: 40px !important; height: 34px; padding: 2px !important; border-radius: 10px !important; cursor: pointer; }
.app-cover { aspect-ratio: 21 / 8; border-radius: var(--radius); background: var(--ink) center / cover no-repeat; display: grid; place-items: center; color: var(--muted); margin-bottom: 14px; border: 1px solid var(--line); }
.app-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.app-gallery:empty { display: none; }
.app-gallery-item { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--ink) center / cover no-repeat; cursor: grab; border: 1px solid var(--line); }
.app-gallery-item.is-dragging { opacity: .4; }
.app-gallery-item span { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 6px; align-items: center; background: rgba(0, 0, 0, .65); color: #fff; padding: 4px 8px; border-radius: 6px; font-size: .74rem; }
.app-gallery-item:has(input[type=checkbox]:checked) { opacity: .35; }
.app-file { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Participants */
.app-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 12px; }
.app-filter { display: flex; gap: 4px; flex-wrap: wrap; }
.app-filter a { color: var(--muted) !important; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .86rem; }
.app-filter a span { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); text-align: center; font-size: .74rem; margin-left: 2px; }
.app-filter a.is-active { background: rgba(255, 255, 255, .08); color: #fff !important; }
.app-search { flex: 1 1 220px; max-width: 340px; }
.app-search--participants { flex: none; width: 100%; max-width: 420px; margin: 0 0 16px; }
.app-toolbar-actions { display: flex; gap: 8px; margin-left: auto; }
.app-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--deep); }
.app-table { width: 100%; border-collapse: collapse; font-size: .92rem; table-layout: auto; }
.app-table th:nth-child(5),
.app-table td:nth-child(5) { white-space: nowrap; }
.app-table th:nth-child(6),
.app-table td:nth-child(6) { width: 1%; white-space: normal; }
.app-table th { text-align: left; color: var(--muted); font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.app-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.app-table tr:last-child td { border-bottom: 0; }
.app-table tbody tr { cursor: pointer; transition: background .15s; }
.app-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.app-table tr.is-pending td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.app-table td:last-child { text-align: right; }
.app-table strong { color: #fff; }
.app-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-who strong, .app-who small { display: block; }
.app-who small { color: var(--muted); font-size: .8rem; }
.app-thumb { width: 52px; height: 38px; border-radius: 8px; object-fit: cover; flex: none; background: var(--ink); display: block; }
.app-person { display: flex; align-items: center; gap: 18px; padding: 22px 26px; margin: 14px 0 20px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: inset 4px 0 0 var(--muted); }
.app-person--en_attente { box-shadow: inset 4px 0 0 var(--warn); }
.app-person--accepte { box-shadow: inset 4px 0 0 var(--info); }
.app-person--paye { box-shadow: inset 4px 0 0 var(--brand); }
.app-person--refuse { box-shadow: inset 4px 0 0 var(--danger); }
.app-person-id { flex: 1; min-width: 0; }
.app-person-id h2 { font-size: 1.5rem; margin: 0 0 2px; text-transform: uppercase; }
.app-person-id p { margin: 0; color: var(--muted); }
.app-person-amount { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.app-person-amount strong { color: #fff; font-size: 1.7rem; line-height: 1; }
.app-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.app-detail-side { position: sticky; top: 88px; }
.app-photo img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--radius); display: block; margin-bottom: 18px; }
.app-dl dl { display: grid; grid-template-columns: 170px 1fr; gap: 9px 16px; margin: 0; }
.app-dl dt { color: var(--muted); font-size: .86rem; }
.app-dl dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.app-lines { width: 100%; border-collapse: collapse; }
.app-lines td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.app-lines td:last-child { text-align: right; white-space: nowrap; }
.app-lines .is-total td { color: var(--brand); font-weight: 800; border-bottom: 0; font-size: 1.1rem; }
.app-detail-side .app-radio { margin-bottom: 8px; }
.app-detail-side .app-btn { margin-top: 6px; }
.app-log ul { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; font-size: .86rem; }
.app-log ul::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.app-log li { position: relative; padding: 7px 0; }
.app-log li::before { content: ""; position: absolute; left: -18px; top: 13px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.app-log time { display: block; color: var(--muted); font-size: .76rem; }
.app-card--bare { text-align: center; }

/* Jour J */
.jj-head { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.jj-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; position: sticky; top: 68px; z-index: 10; background: var(--page); padding: 10px 0; }
.jj-tools input { flex: 1 1 240px; font-size: 1.05rem !important; padding: 14px 16px !important; }
.jj-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.jj-filter button {
	background: var(--deep);
	border: 1px solid var(--line-strong);
	color: var(--text);
	border-radius: 999px;
	padding: 10px 16px;
	font: inherit;
	font-weight: 700;
	font-size: .84rem;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.jj-filter button:hover { border-color: var(--brand); color: #fff; }
.jj-filter button.is-active { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.jj-list { display: flex; flex-direction: column; gap: 10px; }
.jj-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); }
.jj-item[hidden] { display: none !important; }
.jj-item.is-present { border-color: rgba(185, 240, 26, .5); }
.jj-thumb { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; background: var(--ink); display: block; }
.jj-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jj-info strong { color: #fff; font-size: 1.02rem; }
.jj-info span { color: var(--text); font-size: .92rem; }
.jj-info small { color: var(--muted); }
.jj-item.is-due .jj-pay { color: var(--warn); }
.jj-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.jj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--brand);
	background: var(--brand);
	color: var(--ink);
	font: inherit;
	font-weight: 700;
	font-size: .84rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter .15s, background .15s, color .15s, border-color .15s;
}
.jj-btn:hover { filter: brightness(1.07); }
.jj-btn--ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.jj-btn--ghost:hover { border-color: var(--brand); color: var(--brand); filter: none; }
.jj-item.is-present .jj-btn--present { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.jj-item:not(.is-present) .jj-btn--present { background: transparent; color: #fff; border-color: var(--line-strong); }
.jj-item:not(.is-present) .jj-btn--present:hover { border-color: var(--brand); color: var(--brand); }
.jj-btn.is-loading { opacity: .5; pointer-events: none; }
.jj-empty { display: none; padding: 28px 18px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.jj-empty.is-shown { display: block; }
.jj-confirm { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.jj-confirm p { flex: 1 1 180px; margin: 0; font-size: .88rem; color: var(--warn); }

/* Connexion */
.auth { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-side {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 64px clamp(24px, 6vw, 72px);
	overflow: hidden;
	background: var(--deep) var(--auth-photo, none) center 40% / cover no-repeat;
}
.auth-side::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(19, 37, 37, .55) 0%, rgba(19, 37, 37, .25) 35%, rgba(19, 37, 37, .72) 70%, rgba(19, 37, 37, .92) 100%),
		linear-gradient(90deg, rgba(25, 58, 56, .35), transparent 55%);
	pointer-events: none;
}
.auth-side-inner { position: relative; z-index: 1; max-width: 460px; }
.auth-logo { width: 220px; max-width: 70%; height: auto; margin-bottom: 40px; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .35)); }
.auth-side h1 { font-size: clamp(2rem, 4vw, 3.2rem) !important; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.auth-lead { color: rgba(221, 228, 225, .92); max-width: 420px; font-size: 1.05rem; line-height: 1.55; margin: 0 !important; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.auth-kicker { color: var(--brand); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px !important; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.auth-card { align-self: center; justify-self: center; width: 100%; max-width: 440px; padding: 40px; margin: 40px 24px; background: var(--deep); border: 1px solid var(--line); border-radius: 22px; }
.auth-card h2 { font-size: 1.5rem; margin-bottom: 18px; }
.auth-card .app-btn { margin-top: 8px; padding: 14px; }

@media (max-width: 1024px) {
	.app-detail { grid-template-columns: 1fr; }
	.app-detail-side { position: static; }
	.app-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.app-publish { grid-template-columns: 1fr; }
	.auth { grid-template-columns: 1fr; }
	.auth-side {
		min-height: 42vh;
		padding: 40px 24px 28px;
		border: 0;
		justify-content: flex-end;
		background-position: center 35%;
	}
	.auth-side::before {
		background: linear-gradient(180deg, rgba(19, 37, 37, .35) 0%, rgba(19, 37, 37, .55) 45%, rgba(25, 58, 56, .95) 100%);
	}
	.auth-logo { width: 150px; margin-bottom: 20px; }
	.auth-lead { font-size: .98rem; }
	.auth-card { margin: 24px 16px 40px; padding: 28px 22px; }
}
@media (max-width: 640px) {
	.app-wrap { padding: 0 16px; }
	.app-top .app-wrap { height: 60px; }
	.app-brand img { height: 32px; }
	.app-brand span, .app-user-name { display: none; }
	.app-nav { gap: 14px; }
	.app-grid, .app-grid--3 { grid-template-columns: 1fr; }
	.app-span-2 { grid-column: auto; }
	.app-card { padding: 18px 16px; }
	.app-sticky { margin: 8px -16px -18px; padding-left: 16px; padding-right: 16px; }
	.app-stat { padding: 14px; }
	.app-stat strong { font-size: 1.3rem; }
	.app-table thead { display: none; }
	.app-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
	.app-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 14px; text-align: right; }
	.app-table td::before { content: attr(data-label); color: var(--muted); font-size: .82rem; text-align: left; }
	.app-table td .app-who { justify-content: flex-end; }
	.app-table td .app-avatar, .app-table td .app-thumb { display: none; }
	.app-person { flex-wrap: wrap; padding: 16px; }
	.app-person-amount { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
	.app-dl dl { grid-template-columns: 1fr; gap: 2px; }
	.app-dl dd { margin-bottom: 8px; }
	.app-toolbar-actions { margin-left: 0; }
	.jj-item { flex-wrap: wrap; }
	.jj-thumb { width: 56px; height: 44px; }
	.jj-actions { width: 100%; }
	.jj-actions .jj-btn { flex: 1; }
	.jj-tools { top: 60px; }
	.app-publish-card { grid-template-columns: 1fr; }
	.app-publish-card > form { grid-column: auto; }
	.app-publish-icon { display: none; }
}

/* Pack impression.cool (réservé aux organisateurs) */
.app-impression { display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; background: linear-gradient(120deg, rgba(185, 240, 26, .14), rgba(185, 240, 26, .03)); border-color: rgba(185, 240, 26, .4); }
.app-impression > div { flex: 1 1 360px; }
.app-impression h2 { margin-bottom: 6px !important; }
.app-impression p:last-child { margin: 0; color: var(--text); }

/* Apparence : couleurs + aperçu en direct */
.app-theme-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; margin-bottom: 10px; }
.app-theme-label { margin: 4px 0 8px !important; font-weight: 700; color: #fff; font-size: .86rem; }
.app-theme-card .app-colors { margin-bottom: 16px; }
.app-theme-warn { color: var(--warn); font-size: .86rem; font-weight: 600; }
.app-pv-wrap { position: sticky; top: 88px; }
.app-preview { position: relative; border-radius: 16px; overflow: hidden; background: var(--page); border: 1px solid var(--line-strong); font-family: "Albert Sans", system-ui, sans-serif; }
.pv-tag { position: absolute; z-index: 2; right: 10px; top: 10px; margin: 0 !important; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pv-hero { position: relative; padding: 70px 20px 22px; background: linear-gradient(180deg, rgba(var(--page-rgb), .55) 0%, rgba(var(--page-rgb), .2) 35%, rgba(var(--page-rgb), .8) 75%, var(--page) 100%), var(--pv-cover, none) center / cover no-repeat, var(--deep); }
.pv-kicker { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 0 0 6px !important; padding: 4px 10px; border-radius: 999px; background: rgba(var(--deep-rgb), .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line-strong); color: var(--accent-text) !important; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.pv-kicker::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
.pv-title { margin: 0 0 10px !important; color: var(--title); font-size: 1.25rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.pv-chip { display: inline-flex; align-items: center; gap: 5px; margin: 0 14px 12px 0; color: var(--title); font-size: .7rem; text-shadow: 0 1px 8px rgba(var(--deep-rgb), .9); }
.pv-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.pv-btn { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pv-btn--block { display: block; text-align: center; margin-top: 12px; }
.pv-body { padding: 14px 20px 22px; }
.pv-text { margin: 0 0 12px !important; color: var(--text); font-size: .8rem; }
.pv-card { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pv-legend { display: flex; align-items: center; gap: 8px; margin: 0 0 10px !important; color: var(--title); font-weight: 800; font-size: .78rem; text-transform: uppercase; }
.pv-legend b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent-text) 18%, transparent); color: var(--accent-text); font-size: .6rem; }
.pv-label { margin: 0 0 4px !important; color: var(--title); font-size: .7rem; font-weight: 600; }
.pv-label em { color: var(--accent-text); font-style: normal; }
.pv-input { padding: 7px 10px; border-radius: 8px; background: var(--field); border: 1px solid var(--accent-text); color: var(--title); font-size: .76rem; margin-bottom: 10px; }
.pv-choice { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 6px; border-radius: 8px; background: var(--field); border: 1px solid var(--line); color: var(--title); font-size: .74rem; }
.pv-choice strong { margin-left: auto; }
.pv-choice i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); }
.pv-choice.is-on { border-color: var(--accent-text); background: color-mix(in srgb, var(--accent-text) 10%, var(--field)); }
.pv-choice.is-on i { border-color: var(--accent-text); background: var(--accent-text); }
.pv-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--title); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.pv-total strong { color: var(--accent-text); font-size: 1.2rem; }
@media (max-width: 900px) {
	.app-theme-card { grid-template-columns: 1fr; }
	.app-preview { position: static; }
}

/* =========================================================================
 * Édition d'une montée : menu latéral + contenu
 * ====================================================================== */
.app-mlayout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 28px; }
.app-mside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.app-mside .app-back { margin: 0; }
.app-mcard { display: flex; flex-direction: column; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.app-mcard-cover { display: block; aspect-ratio: 16 / 7; background: var(--ink) center / cover no-repeat; }
.app-mcard-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px 14px; }
.app-mcard-body strong { color: #fff; font-size: .98rem; line-height: 1.25; }
.app-mcard-body small { color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.app-mnav { display: flex; flex-direction: column; gap: 2px; }
.app-mnav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text) !important; text-decoration: none; font-weight: 600; font-size: .92rem; transition: background .15s, color .15s; }
.app-mnav a svg { flex: none; color: var(--muted); }
.app-mnav a:hover { background: rgba(255, 255, 255, .05); color: #fff !important; }
.app-mnav a.is-active { background: rgba(185, 240, 26, .12); color: var(--brand) !important; }
.app-mnav a.is-active svg { color: var(--brand); }
.app-mnav b { margin-left: auto; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--warn); color: var(--ink); font-size: .72rem; }
.app-mmain { min-width: 0; }
.app-mhead { margin-bottom: 22px; }
.app-mhead h1 { font-size: clamp(1.5rem, 2.6vw, 2rem) !important; margin-bottom: 6px !important; }
.app-mhead p { color: var(--muted); margin: 0; max-width: 640px; }
.app-admin-banner { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; margin-bottom: 22px; border-radius: 12px; border: 1px solid rgba(110, 193, 228, .45); background: rgba(110, 193, 228, .1); font-size: .9rem; }
.app-admin-banner strong { color: var(--info); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.app-head--sub { padding-top: 48px; }
.app-head--sub h2 { margin: 0; font-size: 1.4rem; }

/* Sections de formulaire : titre et aide à gauche, champs à droite */
.app-card--secs { padding: 0; }
.app-sec { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px 40px; padding: 28px 30px; border-top: 1px solid var(--line); }
.app-sec:first-child { border-top: 0; }
.app-sec-head h2 { font-size: 1rem !important; margin-bottom: 6px !important; }
.app-sec-head p { color: var(--muted); font-size: .84rem; line-height: 1.5; margin: 0; }
.app-sec-body > :last-child { margin-bottom: 0; }
.app-sec-body .app-repeater { margin-bottom: 0; }

/* Options en cartes (paiement) */
.app-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); cursor: pointer; transition: border-color .15s; }
.app-option:last-child { margin-bottom: 0; }
.app-option input { accent-color: var(--brand); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.app-option span { display: flex; flex-direction: column; gap: 2px; }
.app-option strong { color: #fff; }
.app-option small { color: var(--muted); font-size: .84rem; }
.app-option:has(input:checked) { border-color: rgba(185, 240, 26, .55); }

/* Pastilles à cocher (catégories, obligatoire) */
.app-tog { display: inline-flex; cursor: pointer; margin: 0; }
.app-tog input { position: absolute; opacity: 0; pointer-events: none; }
.app-tog span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: .8rem; font-weight: 600; transition: all .15s; }
.app-tog span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.app-tog input:checked + span { border-color: var(--brand); color: var(--brand); background: rgba(185, 240, 26, .1); }
.app-tog input:checked + span::before { background: currentColor; }
.app-tog input:focus-visible + span { box-shadow: 0 0 0 3px rgba(185, 240, 26, .25); }
.app-cats { gap: 6px; padding: 0; }
.app-cats:empty { display: none; }
.app-row--formule .app-cats::before { content: "Catégories :"; align-self: center; color: var(--muted); font-size: .8rem; margin-right: 2px; }
.app-qmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 100%; }
.app-qmeta select { padding: 8px 10px !important; font-size: .86rem !important; }
.app-req { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 8px; border-radius: 999px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: rgba(185, 240, 26, .1); border: 1px solid rgba(185, 240, 26, .3); }
.app-pdf { position: relative; }
.app-pdf-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.app-pdf-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: 14px; background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .2s, background .2s; }
.app-pdf-drop:hover, .app-pdf.is-over .app-pdf-drop { border-color: var(--brand); background: rgba(185, 240, 26, .06); }
.app-pdf-drop strong { color: #fff; font-size: .98rem; }
.app-pdf-drop small { color: var(--muted); font-size: .84rem; }
.app-pdf-drop-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; border-radius: 12px; color: var(--brand); background: rgba(185, 240, 26, .1); }
.app-pdf-card { display: none; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); transition: border-color .2s; }
.app-pdf.has-file .app-pdf-drop { display: none; }
.app-pdf.has-file .app-pdf-card { display: flex; }
.app-pdf.is-over .app-pdf-card, .app-pdf.is-new .app-pdf-card { border-color: var(--brand); }
.app-pdf-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; background: #c0392b; }
.app-pdf-meta { flex: 1; min-width: 0; }
.app-pdf-meta strong { display: block; color: #fff; font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-pdf-meta small { color: var(--muted); font-size: .8rem; }
.app-pdf.is-new .app-pdf-meta small { color: var(--brand); }
.app-pdf-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.app-pdf-actions label { cursor: pointer; }
.app-pdf-del { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.app-pdf-del:hover { color: var(--danger); border-color: var(--danger); background: rgba(228, 87, 46, .1); }
.app-pdf-del[hidden], .app-pdf-undo[hidden], .app-pdf-actions [hidden] { display: none; }
.app-pdf-restore { display: none; margin-top: 8px; font-size: .84rem; }
.app-pdf.is-removed .app-pdf-restore { display: inline-block; }
.app-pdf .app-hint { margin-top: 8px; }
@media (max-width: 560px) { .app-pdf-card { flex-wrap: wrap; } .app-pdf-actions { width: 100%; justify-content: flex-end; } }
.app-file-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 14px; background: var(--field); border: 1px solid var(--line); border-radius: 10px; }
.app-file-row a { color: #fff !important; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }

/* Barre d'enregistrement collée en bas */
.app-savebar { position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 12px 12px 12px 22px; border-radius: 999px; background: rgba(19, 37, 37, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.app-savebar-msg { color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.app-savebar-msg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.app-savebar.is-dirty { border-color: rgba(255, 200, 80, .6); }
.app-savebar.is-dirty .app-savebar-msg { color: #fff; }
.app-savebar.is-dirty .app-savebar-msg::before { background: var(--warn); }

/* Apparence */
.app-theme-card { padding: 28px 30px; }
.app-theme-controls h2 { margin-bottom: 6px; }
.app-theme-controls .app-help { margin-bottom: 18px; }
.pv-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--deep); border-bottom: 1px solid var(--line); }
.pv-top img { height: 18px; width: auto; }
.pv-top span { color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-left: 10px; border-left: 1px solid var(--line-strong); }
.pv-tag { top: 52px; }
.pv-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-bottom: 12px; }
.pv-cols .pv-text { margin: 0 !important; }
.pv-facts { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--deep); border: 1px solid var(--line); }
.pv-facts span { color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pv-facts strong { color: var(--title); font-size: .74rem; }

/* Historique de la montée */
.app-history { list-style: none; margin: 0; padding: 0; }
.app-history li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.app-history li:first-child { border-top: 0; }
.app-history time { color: var(--muted); }
.app-history span { color: #fff; }
.app-history em { color: var(--muted); font-style: normal; text-align: right; }

/* Jour J : lien bénévoles et page autonome */
.app-jj-share { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.app-jj-share > div { flex: 1 1 420px; }
.app-jj-share .app-copy { margin: 0 0 14px; }
.app-jj-renew { margin-top: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 200, 80, .45); background: rgba(255, 200, 80, .08); }
.app-jj-renew-warn { margin: 0 0 12px !important; color: var(--text); font-size: .92rem; line-height: 1.45; }
.app-jj-renew-warn strong { color: var(--warn); }
.app-jj-renew-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hubm-jj-page .app-top .app-wrap { max-width: 820px; }

@media (max-width: 960px) {
	.app-mlayout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 14px; }
	.app-mside { min-width: 0; }
	.app-mside { position: sticky; top: 60px; z-index: 30; gap: 8px; margin: 0 -24px 18px; padding: 8px 24px 0; background: var(--page); border-bottom: 1px solid var(--line); }
	.app-mcard, .app-mside > .app-btn { display: none; }
	.app-mside .app-back { font-size: .82rem; }
	.app-mnav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
	.app-mnav::-webkit-scrollbar { display: none; }
	.app-mnav a { flex: none; padding: 10px 12px; border-radius: 10px 10px 0 0; font-size: .86rem; }
	.app-mnav a svg { display: none; }
	.app-mnav a.is-active { background: none; box-shadow: inset 0 -2px 0 var(--brand); }
	.app-sec { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
}
@media (max-width: 640px) {
	.app-mside { margin: 0 -16px 16px; padding: 8px 16px 0; }
	.app-sec { padding: 20px 16px; }
	.app-theme-card { padding: 18px 16px; }
	.app-savebar { bottom: 10px; padding-left: 16px; }
	.app-history li { grid-template-columns: 1fr; gap: 0; }
	.app-history em { text-align: left; }
	.pv-cols { grid-template-columns: 1fr; }
}
.app-hint { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }
.app-field > .app-price { display: flex; margin: 0; }
.app-field > .app-price input { flex: 1; min-width: 0; width: auto !important; }
.app-price em { font-style: normal; }
@media (min-width: 961px) and (max-width: 1180px) {
	.app-mlayout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
	.app-sec { grid-template-columns: 190px minmax(0, 1fr); gap: 12px 28px; }
}
@media (max-width: 640px) {
	.app-row { gap: 8px; padding: 8px; }
	.app-row > input[type=text] { flex: 1 1 120px; min-width: 0; }
	.app-row-tools button { width: 28px; height: 28px; font-size: .8rem; }
	.app-price input { width: 80px !important; }
}
.app-mmain .app-publish { grid-template-columns: 1fr; gap: 0; }
.app-mmain .app-copy input { max-width: 460px; }
.app-montee.is-past { opacity: .55; }
.app-montee.is-past .app-montee-cover { filter: grayscale(1); }
.app-montee.is-past:hover { opacity: .85; }
/* Questions du bulletin */
.app-row--question { display: grid; gap: 12px; padding: 14px; }
.app-q-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-q-top > input { flex: 1; min-width: 0; font-weight: 600; }
.app-q-top .app-row-tools { margin-left: 0; }
.app-q-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.app-q-field { display: flex; flex-direction: column; gap: 5px; margin: 0; min-width: 0; }
.app-q-field > span { color: var(--muted); font-size: .76rem; font-weight: 600; }
.app-q-field > span small { font-weight: 400; }
.app-q-field select { padding: 9px 10px !important; font-size: .88rem !important; }
.app-q-field[hidden] { display: none; }
.app-q-req { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; color: var(--muted); font-size: .86rem; font-weight: 600; white-space: nowrap; margin: 0; }
.app-q-req input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
.app-q-req:has(input:checked) { color: #fff; border-color: rgba(185, 240, 26, .55); }
/* Réponses possibles d'une question à choix */
.app-q-hint { margin: -4px 0 0; color: var(--muted); font-size: .8rem; }
.app-q-hint:empty { display: none; }
.app-q-choices { display: grid; gap: 6px; }
.app-q-choice { display: flex; gap: 6px; align-items: center; }
.app-q-choice input { flex: 1; min-width: 0; padding: 9px 12px !important; font-size: .9rem !important; }
.app-q-choice button { width: 32px; height: 32px; flex: none; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: .85rem; }
.app-q-choice button:hover { color: var(--danger); border-color: var(--danger); }
.app-q-addchoice { justify-self: start; align-self: flex-start; margin-top: 2px; padding: 6px 0; border: 0; background: none; color: var(--brand); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.app-q-addchoice:hover { text-decoration: underline; }
@media (max-width: 640px) {
	.app-q-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.app-q-req { grid-column: 1 / -1; justify-self: start; }
}
.app-td-q { color: var(--text); font-size: .86rem; }
.jj-details { align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; text-align: left; }
.jj-details:hover { text-decoration: underline; }
.jj-info strong, .jj-item .jj-thumb { cursor: pointer; }
/* Fiche du pilote en fenêtre */
.app-dialog.jj-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
.jj-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.jj-card-photo { width: 132px; height: 96px; object-fit: cover; border-radius: 12px; flex: none; }
.jj-card-head h2 { margin: 0 0 2px !important; font-size: 1.25rem; }
.jj-card-head p { margin: 0 !important; color: var(--text); }
.jj-card-tel { display: inline-block; margin-top: 6px; color: var(--brand); font-weight: 700; text-decoration: none; }
.app-dialog.jj-dialog h3 { margin: 26px 0 10px !important; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jj-card-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.jj-card-dl dt { color: var(--muted); font-size: .86rem; }
.jj-card-dl dd { margin: 0; color: #fff; font-size: .92rem; }
.jj-card-dl dd b { color: var(--warn); }
.jj-card-ans { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0; }
.jj-card-ans > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.jj-card-ans dt { color: var(--muted); font-size: .78rem; margin-bottom: 2px; }
.jj-card-ans dd { margin: 0; color: #fff; font-size: .92rem; font-weight: 600; overflow-wrap: anywhere; line-height: 1.4; }
.jj-card-ans dt { line-height: 1.35; }
.jj-card-ans > div.is-wide { grid-column: 1 / -1; }
.jj-card-ans > div.is-wide dd { font-weight: 500; }
.jj-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.jj-card-tags li { padding: 3px 10px; border-radius: 999px; background: rgba(185, 240, 26, .12); color: var(--brand); font-size: .82rem; font-weight: 700; }
.jj-card-text { margin: 0 !important; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--text); font-size: .9rem; line-height: 1.6; }
.jj-dialog .app-dialog-actions { position: sticky; bottom: -22px; margin: 18px -26px -22px; padding: 14px 26px; background: #10201f; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
	.app-dialog.jj-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; border: 0; padding: 20px 18px; }
	.jj-dialog .app-dialog-actions { margin: 18px -18px -20px; padding: 12px 18px; bottom: -20px; }
	.jj-dialog .app-dialog-actions .app-btn { flex: 1; }
	.jj-card-photo { width: 96px; height: 72px; }
	.jj-card-dl { grid-template-columns: 1fr; gap: 0; }
	.jj-card-dl dd { margin-bottom: 8px; }
}

/* Carte (onglet Infos) */
.app-map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--field); }
.app-map iframe { display: block; width: 100%; height: 260px; border: 0; }
.app-map p { margin: 0; padding: 22px; color: var(--muted); text-align: center; font-size: .88rem; }

/* Sélecteur de dates */
.app-dp { position: relative; display: flex; align-items: center; }
.app-dp-btn { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 46px; text-align: left; background: var(--field); color: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 40px 11px 13px; font: inherit; font-size: .95rem; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.app-dp-btn::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2zm-2 8h14v10H5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2zm-2 8h14v10H5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.app-dp.has-value .app-dp-btn::before { background: var(--brand); }
.app-dp-btn b { font-weight: 600; }
.app-dp-btn b::first-letter { text-transform: uppercase; }
.app-dp-btn span { color: var(--muted); }
.app-dp-btn:hover, .app-dp.is-open .app-dp-btn { border-color: var(--brand); }
.app-dp.is-open .app-dp-btn { box-shadow: 0 0 0 3px rgba(185, 240, 26, .15); }
.app-dp.is-error .app-dp-btn { border-color: var(--danger); }
.app-dp-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.app-dp-clear:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.app-dp:not(.has-value) .app-dp-clear { display: none; }
.app-dp-pop { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; width: 310px; max-width: calc(100vw - 32px); padding: 14px; background: #10201f; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.app-dp-pop.is-right { left: auto; right: 0; }
.app-dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-dp-head strong { color: #fff; text-transform: capitalize; font-size: .98rem; }
.app-dp-head button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.app-dp-head button:hover { border-color: var(--brand); color: var(--brand); }
.app-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.app-dp-wd { text-align: center; color: var(--muted); font-size: .72rem; font-weight: 700; padding: 4px 0 6px; }
.app-dp-grid button { height: 38px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; border-radius: 10px; }
.app-dp-grid button:hover:not(:disabled) { background: rgba(255, 255, 255, .08); color: #fff; }
.app-dp-grid button:disabled { color: rgba(255, 255, 255, .2); cursor: not-allowed; }
.app-dp-grid button.is-today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.app-dp-grid button.in-range { background: rgba(185, 240, 26, .14); color: #fff; border-radius: 0; }
.app-dp-grid button.is-edge { background: rgba(185, 240, 26, .3); color: #fff; border-radius: 10px; }
.app-dp-grid button.is-sel { background: var(--brand) !important; color: var(--ink) !important; font-weight: 800; border-radius: 10px; }
.app-dp-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.app-dp-foot button { background: none; border: 0; color: var(--brand); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; padding: 4px 2px; }
.app-dp-foot [data-dp-clear] { color: var(--muted); }
.app-hint[hidden] { display: none; }
@media (max-width: 640px) {
	.app-nav { gap: 10px; }
	.app-nav-home, .app-hide-sm { display: none; }
	.app-nav a.app-nav-impression { padding: 8px 12px; font-size: .68rem; }
	.app-logout { font-size: .8rem !important; }
}

/* Liste publique des Hubrières : interrupteur réservé aux admins */
.app-montee { position: relative; display: flex; flex-direction: column; }
.app-montee-link { display: flex; flex-direction: column; flex: 1; color: inherit !important; text-decoration: none; }
.app-montee > .app-switch { margin: 0 20px 18px; }
.app-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 12px; border: 1px solid rgba(110, 193, 228, .35); background: rgba(110, 193, 228, .07); }
.app-switch-label { color: var(--info); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.app-switch-note { color: var(--muted); font-size: .78rem; }
.app-switch.is-disabled { border-color: var(--line); background: transparent; }
.app-switch.is-disabled .app-switch-label { color: var(--muted); }
.app-switch button { position: relative; width: 66px; height: 30px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .08); cursor: pointer; padding: 0; font: inherit; }
.app-switch button::before { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--muted); transition: left .2s, background .2s; }
.app-switch button span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.app-switch.is-on button { background: rgba(185, 240, 26, .2); border-color: var(--brand); }
.app-switch.is-on button::before { left: 39px; background: var(--brand); }
.app-switch.is-on button span { right: auto; left: 10px; color: var(--brand); }
.app-admin-list { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-color: rgba(110, 193, 228, .35); }
.app-admin-list .app-kicker { color: var(--info) !important; }
.app-admin-list h2 { margin-bottom: 4px; }
.app-admin-list .app-help { margin: 0; }
.app-admin-list .app-switch { min-width: 250px; }

/* Renouveler le lien Jour J + fenêtre de confirmation */
.app-renew { display: inline-flex; align-items: center; gap: 8px; flex: none; background: none; border: 0; color: var(--muted); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; padding: 8px 6px; }
.app-renew:hover { color: var(--warn); }
.app-renew:hover svg { transform: rotate(-200deg); }
.app-renew svg { transition: transform .45s ease; }
.app-dialog { width: min(440px, calc(100vw - 32px)); padding: 26px 26px 22px; border: 1px solid var(--line-strong); border-radius: 18px; background: #10201f; color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.app-dialog::backdrop { background: rgba(5, 15, 14, .65); backdrop-filter: blur(3px); }
.app-dialog h2 { margin: 0 0 8px; }
.app-dialog p { color: var(--text); margin: 0 0 20px !important; }
.app-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.app-dialog[open] { animation: app-pop .16s ease-out; }
@keyframes app-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.app-btn--danger-solid { background: var(--danger) !important; border-color: var(--danger) !important; color: #fff !important; }
@media (max-width: 640px) { .app-copy { flex-wrap: wrap; } .app-copy input { flex: 1 1 100%; } }

/* Croix des champs de recherche : remplace la croix bleue du navigateur */
.hubm-standalone input[type=search]::-webkit-search-cancel-button {
	-webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-left: 8px; cursor: pointer; border-radius: 50%;
	background: var(--muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 12px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 12px no-repeat;
	transition: background .15s;
}
.hubm-standalone input[type=search]::-webkit-search-cancel-button:hover { background: #fff; }

/* Lieu : recherche + épingle à placer */
.app-geo-frame { position: relative; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.app-geo-map { height: 360px; z-index: 0; cursor: crosshair; }
.app-geo-map .leaflet-control-attribution { font-size: 10px; }
.app-geo-map .leaflet-top.leaflet-left { top: 64px; }
.app-geo-search { position: absolute; z-index: 1000; top: 12px; left: 12px; right: 12px; max-width: 460px; }
.app-geo-search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.hubm-standalone .app-geo-search input[type=text] { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 999px; background: rgba(16, 32, 31, .94); border: 1px solid var(--line-strong); box-shadow: 0 10px 28px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.app-geo-search input::placeholder { color: var(--muted); }
.app-geo-spin { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); border-top-color: var(--brand); opacity: 0; pointer-events: none; transition: opacity .15s; }
.app-geo-search.is-loading .app-geo-spin { opacity: 1; animation: app-geo-spin .7s linear infinite; }
.hubm-standalone .app-geo-search.is-loading input[type=text] { padding-right: 42px; }
@keyframes app-geo-spin { to { transform: rotate(360deg); } }
.app-geo-search svg, .app-geo-spin { z-index: 2; }
.app-geo-results { position: absolute; z-index: 1001; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #10201f; border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); max-height: 240px; overflow: auto; }
.app-geo-results[hidden] { display: none; }
.app-geo-results button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text); font: inherit; font-size: .88rem; line-height: 1.35; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.app-geo-results button:hover { background: rgba(185, 240, 26, .12); color: #fff; }
.app-geo-results .is-empty { color: var(--muted); font-size: .86rem; padding: 9px 10px; }
.app-geo-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 8px; }
.app-geo-foot .app-hint { margin: 0; }
.app-geo-clear { flex: none; font-size: .84rem; white-space: nowrap; }
.app-geo-clear[hidden] { display: none; }
@media (max-width: 640px) { .app-geo-map { height: 300px; } .app-geo-foot { flex-direction: column; gap: 4px; } }
.app-geo-pin span { display: block; width: 30px; height: 30px; margin-top: 0; border-radius: 50% 50% 50% 0; background: var(--brand); border: 3px solid #10201f; transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.app-geo-pin span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #10201f; }
.app-event-dates { margin: 4px 0 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #fff; font-size: .88rem; }
.app-event-dates span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 200, 80, .14); color: var(--warn); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.app-dp-grid button.is-event { box-shadow: inset 0 -3px 0 var(--warn); color: var(--warn); font-weight: 700; }
.app-dp-legend { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; }
.app-dp-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--warn); }

/* Couverture : aperçu immédiat */
.app-cover { position: relative; background-size: cover; background-position: center; }
.app-cover-badge { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: var(--warn); font-size: .78rem; font-weight: 700; }
.app-cover-badge[hidden], .app-cover-empty[hidden] { display: none; }
.app-file-btn { position: relative; overflow: hidden; }
.app-file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Galerie */
.app-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.app-gal-item { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--ink); border: 1px solid var(--line); cursor: grab; }
.app-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.app-gal-item.is-dragging { opacity: .35; }
.app-gal-item.is-new { border-color: rgba(185, 240, 26, .6); }
.app-gal-num { position: absolute; left: 8px; top: 8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-items: center; }
.app-gal-new { position: absolute; right: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: var(--brand); color: var(--ink); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.app-gal-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 6px; padding: 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); opacity: 0; transition: opacity .15s; }
.app-gal-item:hover .app-gal-tools, .app-gal-item:focus-within .app-gal-tools { opacity: 1; }
.app-gal-tools button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; font-size: .9rem; }
.app-gal-tools button:hover { border-color: var(--brand); color: var(--brand); }
.app-gal-tools .is-danger:hover { border-color: var(--danger); color: var(--danger); }
.app-gal-add { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; border: 1.5px dashed var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--brand); font-weight: 700; font-size: .86rem; cursor: pointer; text-align: center; padding: 8px; }
.app-gal-add span { font-size: 1.8rem; line-height: 1; font-weight: 400; }
.app-gal-add:hover { border-color: var(--brand); background: rgba(185, 240, 26, .05); }
.app-gal-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
@media (hover: none) { .app-gal-tools { opacity: 1; } }
@media (max-width: 640px) { .app-gal { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Photos de couverture, sous les couleurs */
.app-theme-covers { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.app-theme-covers h2 { margin-bottom: 4px; }
.app-covers { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.app-cslot { min-width: 0; }
.app-cslot--desk { flex: 1; }
.app-cslot--mob { flex: none; width: 92px; }
.app-cslot-frame { position: relative; display: grid; place-items: center; height: 164px; margin: 0; border-radius: 12px; border: 1.5px dashed var(--line-strong); background: var(--ink) center / cover no-repeat; cursor: pointer; overflow: hidden; transition: border-color .2s; }
.app-cslot-frame:hover { border-color: var(--brand); }
.app-cslot.has-img .app-cslot-frame { border: 1px solid var(--line); }
.app-cslot-frame input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.app-cslot-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: .8rem; }
.app-cslot-empty b { color: #fff; }
.app-cslot-frame:hover .app-cslot-empty { color: var(--brand); }
.app-cslot.has-img .app-cslot-empty { display: none; }
.app-cslot-tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.app-cslot:not(.has-img) .app-cslot-tools { display: none; }
.app-cslot-tool { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(10, 20, 19, .78); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: background .15s, color .15s; }
.app-cslot-tool:hover { background: #fff; color: var(--ink); }
.app-cslot-tool--del:hover { background: var(--danger); color: #fff; }
.app-cslot--mob .app-cslot-tools { flex-direction: column; }
.app-cslot-badge { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 9px; border-radius: 999px; background: var(--brand); color: var(--ink); font-size: .7rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-cslot-badge[hidden] { display: none; }
.app-cslot.is-removed .app-cslot-frame { border: 1.5px dashed var(--danger); }
.app-cslot.is-removed .app-cslot-badge { position: static; background: none; color: var(--danger); padding: 0; }
.app-cslot.is-removed .app-cslot-empty { display: none; }
.app-cslot-undo { position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border: 0; border-radius: 999px; background: rgba(10, 20, 19, .85); color: #fff; font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; }
.app-cslot.is-removed .app-cslot-undo { position: static; margin-top: 6px; background: transparent; border: 1px solid var(--line-strong); }
.app-cslot.is-removed .app-cslot-frame { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.app-cslot-undo[hidden] { display: none; }
.app-cslot--mob .app-cslot-badge { font-size: .62rem; padding: 2px 7px; }
.app-cslot-label { margin: 6px 0 0 !important; color: #fff; font-size: .8rem; font-weight: 700; }
.app-cslot-label small { display: block; color: var(--muted); font-weight: 500; }

/* Aperçu : bascule ordinateur / téléphone, avec un cadre de navigateur ou de téléphone */
.app-pv-switch { display: flex; gap: 4px; width: fit-content; margin: 0 auto 12px; padding: 4px; border-radius: 999px; background: var(--ink); border: 1px solid var(--line); }
.app-pv-switch button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.app-pv-switch button.is-active { background: var(--brand); color: var(--ink); }
.app-preview { margin: 0 auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.pv-browser { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0d1716; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pv-browser i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.pv-browser span { flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .45); font-size: .62rem; }
.pv-status { display: none; }
.pv-tag { display: none !important; }
.app-preview.is-mob { width: 256px; border-radius: 36px; border: 9px solid #0b1211; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 60px rgba(0, 0, 0, .45); }
.app-preview.is-mob .pv-browser { display: none; }
.app-preview.is-mob .pv-status { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 18px; background: var(--deep); color: var(--title); font-size: .66rem; font-weight: 700; }
.app-preview.is-mob .pv-status i { width: 64px; height: 18px; border-radius: 999px; background: #0b1211; }
.app-preview.is-mob .pv-status-icons { letter-spacing: -2px; font-size: .5rem; opacity: .8; }
.app-preview.is-mob .pv-screen { height: 470px; overflow-y: auto; scrollbar-width: none; }
.app-preview.is-mob .pv-screen::-webkit-scrollbar { display: none; }
.app-preview.is-mob .pv-top { border-top: 0; }
.app-preview.is-mob .pv-hero { padding-top: 130px; background: linear-gradient(180deg, rgba(var(--page-rgb), .55) 0%, rgba(var(--page-rgb), .2) 35%, rgba(var(--page-rgb), .8) 75%, var(--page) 100%), var(--pv-cover-m, var(--pv-cover, none)) center / cover no-repeat, var(--deep); }
.app-preview.is-mob .pv-cols { grid-template-columns: 1fr; }
.app-preview.is-mob .pv-title { font-size: 1.1rem; }
@media (max-width: 640px) { .app-cslot-frame { height: 130px; } .app-cslot--mob { width: 74px; } }

/* Fenêtre ouverte : le fond ne défile plus */
html.app-noscroll, html.app-noscroll body { overflow: hidden; }
.app-dialog { overscroll-behavior: contain; }

/* Fiche Jour J : arrivée et encaissement dans la fenêtre */
.jj-dialog-actions { justify-content: flex-start; align-items: center; }
.jj-dialog-actions .jj-dialog-close { margin-left: auto; }
.jj-dialog-actions .jj-btn--present { background: transparent; color: #fff; border-color: var(--line-strong); }
.jj-dialog-actions .jj-btn--present:hover { border-color: var(--brand); color: var(--brand); filter: none; }
.jj-dialog-actions .jj-btn--present.is-on { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.jj-dialog-actions [hidden] { display: none !important; }
.jj-dialog-paid { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: .86rem; font-weight: 700; }
.jj-dialog-paid::before { content: "✓"; }
.jj-dialog-x { position: sticky; top: 0; float: right; z-index: 2; width: 36px; height: 36px; margin: -8px -10px 0 8px; border-radius: 50%; border: 1px solid var(--line-strong); background: #10201f; color: #fff; font-size: .95rem; cursor: pointer; }
.jj-dialog-x:hover { border-color: var(--brand); color: var(--brand); }
.jj-dialog-actions .jj-btn { white-space: nowrap; }
@media (max-width: 640px) {
	.jj-dialog-actions { flex-wrap: nowrap; gap: 8px; }
	.jj-dialog-actions .jj-dialog-close { display: none; }
	.jj-dialog-actions .jj-btn { flex: 1; min-width: 0; padding-left: 10px; padding-right: 10px; }
	.jj-dialog-paid { flex: 1; justify-content: center; }
}

/* Code d'accès du Jour J */
.app-pin { max-width: 560px; margin: 48px auto; padding: 40px 40px 32px; text-align: center; background: var(--deep); border: 1px solid var(--line); border-radius: 24px; }
.app-pin-lock { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: rgba(185, 240, 26, .12); color: var(--brand); }
.app-pin h1 { margin: 6px 0 12px; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.1; }
.app-pin .app-help { max-width: 380px; margin: 0 auto 26px !important; }
.app-pin-boxes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 320px; margin: 0 auto 18px; }
.app-pin-boxes input { position: absolute; inset: 0; z-index: 2; width: 100% !important; height: 100% !important; opacity: 0; cursor: text; border: 0 !important; padding: 0 !important; caret-color: transparent; }
.app-pin-boxes span { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--ink); border: 1.5px solid var(--line-strong); color: #fff; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s, transform .15s; }
.app-pin-boxes span.is-filled { border-color: rgba(185, 240, 26, .5); }
.app-pin-boxes span.is-active { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(185, 240, 26, .15); }
.app-pin-boxes span.is-active:empty::after { content: ""; width: 2px; height: 34%; background: var(--brand); animation: app-blink 1s steps(2) infinite; }
@keyframes app-blink { 50% { opacity: 0; } }
.app-pin-boxes.is-error span { border-color: var(--danger); }
.app-pin-boxes.is-error { animation: app-shake .3s; }
@keyframes app-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.app-pin-error { margin: -4px 0 16px !important; color: var(--danger); font-weight: 600; font-size: .9rem; }
.app-pin .app-btn { max-width: 320px; margin: 0 auto; }
.app-pin-note { margin-top: 16px !important; color: var(--muted); font-size: .82rem; }
@media (max-width: 640px) { .app-pin { margin: 20px auto; padding: 28px 18px 24px; border-radius: 20px; } .app-pin-boxes { gap: 10px; } }
.app-pin-show { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line); }
.app-pin-show > span { color: var(--muted); font-size: .84rem; font-weight: 600; }
.app-pin-show strong { color: #fff; font-size: 1.4rem; letter-spacing: .3em; font-variant-numeric: tabular-nums; }

/* Messages d'erreur des formulaires (à la place des bulles du navigateur) */
.v-msg { margin: 6px 0 0 !important; color: var(--danger); font-size: .82rem; font-weight: 600; text-align: left; }
.v-msg::before { content: "! "; font-weight: 800; }
.is-invalid input:not([type=radio]):not([type=checkbox]), .is-invalid select, .is-invalid textarea, input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(228, 87, 46, .15) !important; }
.app-pin-boxes.is-invalid span { border-color: var(--danger); }
.app-pin .v-msg { text-align: center; margin: -6px 0 14px !important; }

.app-pin-show em { font-style: normal; color: var(--warn); font-size: .86rem; font-weight: 600; }
.app-pin-show.is-off { border-color: rgba(242, 193, 78, .35); }
.app-pin-toggle { margin: 0 0 0 auto; display: flex; align-items: center; }
.app-pin-toggle .app-link, .app-pin-toggle .app-btn { margin: 0 !important; }
.app-pin-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; transition: color .15s, background .15s; }
.app-pin-btn:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.app-pin-toggle .app-link { color: var(--muted); font-size: .84rem; }
.app-pin-toggle .app-link:hover { color: var(--danger); }
.app-pin-edit { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.app-pin-edit.is-invalid { margin-bottom: 4px; }
.app-pin-edit + .v-msg { margin: 0 0 18px !important; }
.app-pin-edit.is-invalid input { border-color: var(--danger) !important; }
.app-pin-edit input { width: 150px !important; text-align: center; font-size: 1.6rem !important; font-weight: 800; letter-spacing: .4em; text-indent: .4em; padding: 10px !important; }

/* Annonces (administrateurs) */
.app-nav a.app-nav-annonces { display: inline-flex; align-items: center; gap: 8px; }
.app-nav-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--brand); font-size: .72rem; }
.an-add { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.an-add-field { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.an-add-field > span { color: #fff; font-weight: 700; font-size: .9rem; }
.an-add-field input { width: 100%; }
.an-add > .app-btn { height: 48px; }
.an-add-note { flex: 1 1 100%; margin: 0 !important; color: var(--muted); font-size: .8rem; }
.an-add .v-msg { flex: 1 1 100%; }
.app-btn.is-busy, .an-tool.is-busy { opacity: .6; pointer-events: none; }
.an-tool.is-busy svg { animation: an-spin 1s linear infinite; }
@keyframes an-spin { to { transform: rotate(360deg); } }
.an-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.an-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-size: .86rem; font-weight: 700; text-decoration: none; }
.an-tab b { color: var(--muted); font-weight: 700; }
.an-tab:hover { border-color: var(--brand); color: #fff; }
.an-tab.is-active { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.an-tab.is-active b { color: var(--ink); opacity: .7; }
.an-tab.is-warn:not(.is-active) b { color: var(--warn); }
.an-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.an-card { display: flex; flex-direction: column; background: var(--deep); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; scroll-margin-top: 90px; }
.an-card.is-warn { border-color: rgba(242, 193, 78, .45); }
.an-card.is-off .an-media { filter: grayscale(1); opacity: .6; }
.an-card.is-focus { box-shadow: 0 0 0 2px var(--brand); }
.an-media { position: relative; aspect-ratio: 16 / 10; background: var(--ink) center / cover no-repeat; display: grid; place-items: center; color: var(--muted); font-size: .84rem; }
.an-pill { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.an-pill--ok { background: var(--brand); color: var(--ink); }
.an-pill--warn { background: var(--warn); color: var(--ink); }
.an-pill--off { background: rgba(0, 0, 0, .7); color: #fff; }
.an-source { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, .72); color: #fff; font-size: .7rem; font-weight: 700; }
.an-body { flex: 1; padding: 14px 16px 4px; }
.an-body h3 { margin: 0 0 4px; color: #fff; font-size: 1rem; line-height: 1.3; }
.an-specs { margin: 0 0 8px !important; color: var(--text); font-size: .84rem; }
.an-sync { margin: 0 !important; color: var(--muted); font-size: .76rem; }
.an-sync.is-warn { color: var(--warn); }
.an-contact { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(242, 193, 78, .08); border: 1px solid rgba(242, 193, 78, .25); }
.an-contact summary { cursor: pointer; color: var(--warn); font-size: .8rem; font-weight: 700; }
.an-contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 10px 0 0; font-size: .82rem; }
.an-contact dt { color: var(--muted); }
.an-contact dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.an-contact a { color: var(--brand); }
.an-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; }
.an-actions form { margin: 0; }
.an-actions > form { flex: 1 1 150px; min-width: 0; }
.an-actions > form .app-btn { width: 100%; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.an-tools { display: flex; gap: 4px; flex: none; margin-left: auto; }
.an-tool { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s; }
.an-tool:hover { color: #fff; border-color: var(--line-strong); }
.an-tool--del:hover { color: var(--danger); border-color: var(--danger); }
@media (max-width: 640px) { .app-nav a.app-nav-annonces { padding: 8px 10px; gap: 6px; } }

/* Jour J : vérifier les paiements en ligne */
.jj-sync { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 16px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.jj-sync p { flex: 1 1 260px; margin: 0 !important; color: var(--muted); font-size: .86rem; }
.jj-sync .jj-btn { display: inline-flex; align-items: center; gap: 8px; }
.jj-sync .jj-btn.is-loading svg { animation: an-spin 1s linear infinite; }

/* Après la montée : paiements à régler */
.app-montee.is-todo { border-color: var(--danger) !important; box-shadow: 0 0 0 1px var(--danger); opacity: 1 !important; }
.app-montee.is-todo .app-montee-cover { filter: none; }
.app-montee-stats .is-danger { color: var(--danger); }
.app-settle { border-color: rgba(228, 87, 46, .55) !important; background: rgba(228, 87, 46, .06) !important; margin-bottom: 18px; }
.app-settle-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.app-settle-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--danger); color: #fff; font-weight: 900; }
.app-settle h2 { margin: 2px 0 4px; font-size: 1.05rem; }
.app-settle-head p { margin: 0 !important; color: var(--text); font-size: .9rem; }
.app-settle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.app-settle-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--deep); border: 1px solid var(--line); }
.app-settle-list li > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-settle-list strong { color: #fff; }
.app-settle-list small { color: var(--muted); }
.app-settle-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.app-settle-actions form { margin: 0; }
.app-settle-list li.is-done { opacity: .75; }
.app-settle-note { color: var(--warn); font-size: .84rem; font-weight: 600; }

/* Organisateurs (administrateurs) */
.app-head-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.app-dialog.app-invite { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
.app-invite form { display: grid; gap: 14px; }
.app-invite .app-field { margin: 0; }
.app-invite .app-field > span small { color: var(--muted); font-weight: 400; }
.app-invite .app-field em { color: var(--brand); font-style: normal; }
.app-invite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-invite-montees { display: flex; flex-wrap: wrap; gap: 8px; }
.app-invite-montees .app-q-req { height: auto; padding: 8px 12px; white-space: normal; }
.app-orgas { display: grid; gap: 10px; }
.app-orga { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; background: var(--deep); border: 1px solid var(--line); border-radius: 14px; }
.app-orga-who { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-orga-who strong { color: #fff; }
.app-orga-who small { color: var(--muted); overflow-wrap: anywhere; }
.app-orga form { margin: 0; }
.app-pill.is-wait { color: var(--warn); border-color: rgba(242, 193, 78, .4); }
@media (max-width: 640px) { .app-invite-grid { grid-template-columns: 1fr; } .app-head-actions { width: 100%; } .app-head-actions .app-btn { flex: 1; } }

/* Champs obligatoires et liste de ce qui manque avant la mise en ligne */
.app-field > span .app-req { margin-left: 6px; padding: 2px 7px; font-size: .58rem; vertical-align: 1px; }
.app-sec-head h2 .app-req { display: table; margin: 8px 0 2px; padding: 3px 9px; font-size: .6rem; }
.app-flash-list { margin: 8px 0 0; padding: 0 0 0 18px; }
.app-flash-list li { margin: 3px 0; }
.app-flash-list a { color: inherit !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.app-flash-list small { opacity: .7; margin-left: 4px; }
.app-missing-title { margin: 22px 0 10px !important; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.app-missing { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.app-missing a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 122, 107, .45); background: rgba(255, 122, 107, .1); color: var(--danger) !important; font-size: .84rem; font-weight: 600; text-decoration: none; }
.app-missing a:hover { background: rgba(255, 122, 107, .18); }

/* Suppression d'une montée (administrateurs) */
.app-danger { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: rgba(255, 122, 107, .35); }
.app-danger h2 { margin: 0 0 6px; }
.app-danger .app-help { margin: 0; }
.app-danger .app-btn { flex: none; }
.app-delete { width: min(520px, calc(100vw - 32px)); }
.app-delete-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: rgba(255, 122, 107, .14); border: 1px solid rgba(255, 122, 107, .45); color: var(--danger); font-weight: 800; font-size: 1.3rem; }
.app-delete h2 { overflow-wrap: anywhere; }
.app-delete-list { margin: 14px 0 12px; padding: 0 0 0 18px; color: var(--text); font-size: .92rem; line-height: 1.5; }
.app-delete-list li { margin: 6px 0; }
.app-delete-list b { color: #fff; }
.app-delete-note { margin: 0 0 18px !important; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--muted); font-size: .84rem; }
.app-delete .app-field b { color: var(--danger); letter-spacing: .06em; }
.hubm-standalone .app-delete input[type=text] { text-transform: uppercase; letter-spacing: .08em; }
.app-delete [data-delete-btn]:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 640px) { .app-danger { flex-direction: column; align-items: stretch; } }

/* Équipe d'une montée */
.app-team-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.app-team-head h2 { margin: 0 0 6px; }
.app-team-head .app-help { margin: 0; max-width: 560px; }
.app-team-head .app-btn { flex: none; }
.app-team-list { margin: 0; padding: 0; list-style: none; }
.app-team-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.app-team-avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(185, 240, 26, .12); color: var(--brand); font-weight: 800; }
.app-team-who { flex: 1; min-width: 0; }
.app-team-who strong { display: block; color: #fff; font-size: .95rem; }
.app-team-who small { display: block; color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-team-me { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); font-style: normal; font-size: .7rem; font-weight: 600; vertical-align: 1px; }
.app-team-state { flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: .78rem; white-space: nowrap; }
.app-team-state.is-on { border-color: rgba(185, 240, 26, .35); color: var(--brand); }
.app-team-state.is-owner { border-color: transparent; background: var(--brand); color: var(--ink); font-weight: 700; }
.app-team-actions { flex: none; display: flex; align-items: center; gap: 12px; }
.app-team-actions form { margin: 0; }
.app-team-actions .app-link { margin-top: 0; font-size: .84rem; }
.app-team-del { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.app-team-del:hover { color: var(--danger); border-color: var(--danger); }
@media (max-width: 640px) {
	.app-team-head { flex-direction: column; }
	.app-team-list li { flex-wrap: wrap; }
	.app-team-who { flex-basis: calc(100% - 52px); }
	.app-team-state { margin-left: 52px; }
	.app-team-actions { margin-left: auto; }
}

/* Suppression d'un compte organisateur */
.app-orga-del { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.app-orga-del:hover { color: var(--danger); border-color: var(--danger); background: rgba(255, 122, 107, .1); }
.app-delete-montees { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.app-delete-montees em { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; font-style: normal; font-size: .82rem; }

/* Croix de fermeture des messages */
.app-flash-close { position: absolute; top: 50%; right: 10px; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 1.4rem; line-height: 1; opacity: .6; cursor: pointer; transition: opacity .2s, background .2s; }
.app-flash-close:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.app-flash:has(.app-flash-list) .app-flash-close { top: 12px; margin-top: 0; }
.app-flash.is-closing { opacity: 0; transform: translateY(-4px); }

/* Acceptation des CGV */
.auth-cgv { margin: 6px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.auth-cgv .app-check { align-items: flex-start; margin: 0; line-height: 1.45; }
.auth-cgv .app-check input { margin-top: 2px; }
.auth-cgv a { color: var(--brand) !important; text-decoration: underline; text-underline-offset: 3px; }
.auth-cgv.is-invalid { border-color: var(--danger); }
.auth-cgv .v-msg { margin: 8px 0 0; }
.app-foot a { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }

/* Aide à la rédaction (présentation, infos pratiques) */
.app-ai { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: -6px 0 18px; }
.app-ai-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(185, 240, 26, .35); background: rgba(185, 240, 26, .08); color: var(--brand); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.app-ai-btn:hover:not(:disabled) { border-color: var(--brand); background: rgba(185, 240, 26, .14); }
.app-ai-btn:disabled { cursor: default; opacity: .45; }
.app-ai.is-busy .app-ai-btn:disabled { opacity: 1; }
.app-ai.is-busy .app-ai-btn svg { animation: app-ai-pulse 1s ease-in-out infinite; }
@keyframes app-ai-pulse { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(45deg); opacity: .55; } }
.app-ai-tip { color: var(--muted); font-size: .82rem; }
.app-ai-tip .app-link { margin: 0; font-size: inherit; }
.app-ai-card { margin: -8px 0 20px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(185, 240, 26, .4); background: rgba(185, 240, 26, .05); }
.app-ai-card[hidden] { display: none; }
.app-ai-head { display: flex; align-items: center; gap: 6px; margin: 0 0 8px !important; color: var(--brand); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.app-ai-text { margin: 0 0 14px; color: #fff; line-height: 1.6; white-space: pre-line; max-height: 360px; overflow: auto; }
.app-ai-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.app-ai-actions .app-link { margin: 0; }
.app-ai-err { margin: 0 !important; color: var(--muted); }
