/* Liste de courses (ELC) : styles, phase 1.
 * Couleur d'action modifiable via --elc-accent (à aligner sur l'identité du site). */
.elc-app {
	--elc-accent: #f4662f;
	--elc-accent-text: #fff;
	--elc-border: rgba(0, 0, 0, 0.15);
	--elc-muted: rgba(0, 0, 0, 0.6);
	--elc-soft: rgba(0, 0, 0, 0.05);
	--elc-tint: rgba(244, 102, 47, 0.10);
	--elc-tint-border: rgba(244, 102, 47, 0.45);
	--elc-accent-dark: #b4380d;
	max-width: 640px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.4;
}
.elc-app *, .elc-app *::before, .elc-app *::after { box-sizing: border-box; }

/* Rendu serveur remplacé par le JavaScript */
.elc-app.elc-ready .elc-static { display: none; }

.elc-add { position: relative; margin: 0 0 1.25rem; }
.elc-add-row { display: flex; gap: 0.5rem; }
.elc-input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 0.9rem;
	font-size: 1rem;
	border: 1px solid var(--elc-border);
	border-radius: 8px;
	background: #fff;
	color: inherit;
}
.elc-input:focus { outline: 2px solid var(--elc-accent); outline-offset: 1px; }

.elc-btn {
	min-height: 44px;
	padding: 0 1rem;
	font-size: 1rem;
	border: 1px solid var(--elc-border);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	cursor: pointer;
}
.elc-btn-primary {
	background: var(--elc-accent);
	border-color: var(--elc-accent);
	color: var(--elc-accent-text);
}
.elc-btn:hover { filter: brightness(0.96); }

.elc-drop {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 20;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--elc-border);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}
.elc-drop[hidden] { display: none; }
.elc-drop-item {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.7rem 0.9rem;
	cursor: pointer;
	border-top: 1px solid var(--elc-soft);
}
.elc-drop-item:first-child { border-top: 0; }
.elc-drop-item.is-active, .elc-drop-item:hover { background: var(--elc-soft); }
.elc-drop-item.is-on { color: var(--elc-muted); }
.elc-drop-note { font-size: 0.85rem; color: var(--elc-muted); }

.elc-msg { color: var(--elc-muted); margin: 0.5rem 0 1.25rem; }
.elc-invalid { padding: 1rem; border: 1px solid var(--elc-border); border-radius: 8px; margin-bottom: 1rem; }

.elc-group { margin: 0 0 1.25rem; }
.elc-group-title {
	margin: 0 0 0.25rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--elc-muted);
}
.elc-items { list-style: none; margin: 0; padding: 0; }
.elc-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 52px;
	border-bottom: 1px solid var(--elc-soft);
}
.elc-check { flex: 1; display: flex; align-items: center; gap: 0.75rem; min-height: 52px; cursor: pointer; }
.elc-cb { width: 24px; height: 24px; flex: none; accent-color: var(--elc-accent); }
/* Caddie à la place de la case (0.10.2) : orange tant que l'article est à prendre, vert une fois dans le caddie. */
.elc-app .elc-item .elc-cb {
	-webkit-appearance: none; appearance: none; box-sizing: border-box;
	width: 34px; height: 34px; min-width: 34px; margin: 0; padding: 0; flex: none; cursor: pointer;
	border: 2px solid var(--elc-tint-border); border-radius: 8px; background-color: #fff;
	background-repeat: no-repeat; background-position: center; background-size: 22px 22px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4380d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='18' cy='20' r='1.6'/%3E%3Cpath d='M2 3h3l2.7 12.2a1 1 0 0 0 1 .8h9.7a1 1 0 0 0 1-.8L21 7H6'/%3E%3C/svg%3E");
	transition: background-color 0.15s, border-color 0.15s;
}
.elc-app .elc-item .elc-cb:checked {
	border-color: #2f9e57; background-color: #2f9e57;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='18' cy='20' r='1.6'/%3E%3Cpath d='M2 3h3l2.7 12.2a1 1 0 0 0 1 .8h9.7a1 1 0 0 0 1-.8L21 7H6'/%3E%3Cpath d='M10 10.5l2.2 2.2L16.5 8.5'/%3E%3C/svg%3E");
}
.elc-app .elc-item .elc-cb:focus-visible { outline: 2px solid var(--elc-accent); outline-offset: 2px; }
.elc-app .elc-item .elc-check:active .elc-cb:not(:checked) { background-color: var(--elc-tint); }
/* Corbeille (0.10.3) : grise, sans cadre, étroite, un peu écartée du bouton ⋯ ; rouge seulement au toucher. Message avec bouton « Annuler ». */
.elc-app .elc-bin {
	box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 32px; min-width: 32px; height: 40px; min-height: 40px; margin: 0 0 0 0.35rem; padding: 0;
	border: 0; border-radius: 8px; background: transparent; box-shadow: none; color: rgba(0, 0, 0, 0.4); cursor: pointer;
	transition: color 0.15s, background 0.15s;
}
.elc-app .elc-bin:hover, .elc-app .elc-bin:active { color: #c0392b; background: rgba(192, 57, 43, 0.08); }
.elc-app .elc-bin svg { display: block; pointer-events: none; }
@media (max-width: 480px) {
	.elc-app .elc-bin { width: 28px; min-width: 28px; height: 34px; min-height: 34px; margin-left: 0.25rem; }
	.elc-app .elc-bin svg { width: 18px; height: 18px; }
}
.elc-toast.has-action { display: flex; align-items: center; gap: 0.75rem; width: max-content; pointer-events: auto; }
.elc-toast.has-action > span { flex: 1 1 auto; min-width: 0; }
.elc-app .elc-toast-btn { flex: none; margin: 0; padding: 0.35rem 0.6rem; min-height: 36px; border: 0; border-radius: 6px; background: transparent; box-shadow: none; font: inherit; font-weight: 700; color: #ffb38f; text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer; }
.elc-item.is-checked .elc-label { text-decoration: line-through; color: var(--elc-muted); }

.elc-qty { display: flex; align-items: center; gap: 0.25rem; }
/* Boutons + et − : dimensions et centrage imposés, car les thèmes WordPress stylent souvent « button » (marges, largeur minimale, arrondis). */
.elc-app .elc-qbtn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	min-width: 40px;
	max-width: 40px;
	height: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-align: center;
	border: 1px solid var(--elc-border);
	border-radius: 50%;
	background: #fff;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
}
.elc-app .elc-qbtn:hover { background: var(--elc-soft); }
.elc-qval { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
.elc-qdone { color: var(--elc-muted); }
.elc-app .elc-del {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	min-width: 40px;
	height: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	font-size: 1.4rem;
	line-height: 1;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--elc-muted);
	cursor: pointer;
}

.elc-caddie { margin: 0 0 1.5rem; padding: 0.5rem 0.75rem; border: 1px solid var(--elc-border); border-radius: 8px; }
.elc-caddie summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-weight: 600; }
.elc-caddie .elc-btn { margin: 0.75rem 0 0.25rem; }

.elc-browse { margin-top: 2rem; }
.elc-browse-title { font-size: 1.15rem; margin: 0 0 0.5rem; }
.elc-cat { border-bottom: 1px solid var(--elc-soft); }
.elc-cat summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 600; }
.elc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.25rem 0 1rem; }
.elc-chip {
	min-height: 40px;
	padding: 0 0.85rem;
	font-size: 0.95rem;
	border: 1px solid var(--elc-border);
	border-radius: 999px;
	background: #fff;
	color: inherit;
	cursor: pointer;
}
.elc-chip.is-on { background: var(--elc-soft); color: var(--elc-muted); cursor: default; }

.elc-footer { margin-top: 2rem; }
.elc-hint { font-size: 0.9rem; color: var(--elc-muted); margin: 0 0 0.75rem; }

.elc-toast {
	position: fixed;
	left: 50%;
	bottom: 1.25rem;
	z-index: 9999;
	max-width: calc(100vw - 2rem);
	transform: translate(-50%, 20px);
	padding: 0.7rem 1rem;
	border-radius: 8px;
	background: #222;
	color: #fff;
	font-size: 0.95rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
}
.elc-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 480px) {
	.elc-item { gap: 0.25rem; }
}

/* Nouvel article : choix du rayon */
.elc-pick {
	margin-top: 0.75rem;
	padding: 0.75rem;
	border: 1px solid var(--elc-border);
	border-radius: 8px;
	background: var(--elc-soft);
}
.elc-pick[hidden] { display: none; }
.elc-pick-title { margin: 0 0 0.5rem; font-weight: 600; }
.elc-pick .elc-chips { padding: 0 0 0.75rem; }

/* Mes articles : puce + retrait */
.elc-chipwrap { display: inline-flex; align-items: center; }
.elc-chipwrap .elc-chip { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
.elc-chip-x {
	min-height: 40px;
	width: 36px;
	font-size: 1.1rem;
	line-height: 1;
	border: 1px solid var(--elc-border);
	border-radius: 0 999px 999px 0;
	background: #fff;
	color: var(--elc-muted);
	cursor: pointer;
}

/* Bandeau « Garde ton lien » */
.elc-banner {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--elc-border);
	border-left: 4px solid var(--elc-accent);
	border-radius: 8px;
	background: var(--elc-soft);
}
.elc-banner.is-urgent { border: 2px solid var(--elc-accent); border-left-width: 6px; background: #fff4ee; }
.elc-banner-title { margin: 0 0 0.25rem; font-weight: 700; }
.elc-banner-text { margin: 0 0 0.75rem; font-size: 0.95rem; }
.elc-banner-actions, .elc-share-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.elc-mailform { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.elc-banner .elc-hint { margin: 0.5rem 0 0; }

/* Partage */
.elc-share { border: 1px solid var(--elc-border); border-radius: 8px; padding: 0.5rem 0.75rem; }
.elc-share summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-weight: 600; }
.elc-share-actions { margin: 0.5rem 0 0.75rem; }
.elc-qr { text-align: center; padding: 0.5rem 0; }
.elc-qr[hidden] { display: none; }
.elc-qr-img {
	width: 220px;
	max-width: 100%;
	height: auto;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--elc-border);
	border-radius: 8px;
	image-rendering: pixelated;
}

/* Liaison à un compte WordPress */
.elc-account { margin-top: 12px; }
.elc-account .elc-hint { margin: 0 0 8px; }

/* Mode hors connexion */
.elc-status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin: 0 0 1rem;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--elc-border);
	border-left: 4px solid var(--elc-accent);
	border-radius: 8px;
	background: var(--elc-soft);
	font-size: 0.95rem;
}
.elc-status[hidden] { display: none; }
.elc-status .elc-btn { min-height: 36px; padding: 0 0.8rem; }

/* Boutons secondaires et articles du catalogue : teintés d'orange pour se voir (08.10), sans concurrencer le bouton principal. */
.elc-app .elc-btn:not(.elc-btn-primary),
.elc-app .elc-chip {
	background: var(--elc-tint);
	border-color: var(--elc-tint-border);
	color: var(--elc-accent-dark);
}
.elc-app .elc-chip::before { content: "+\00a0"; font-weight: 700; }
.elc-app .elc-chip.is-on { background: var(--elc-soft); border-color: var(--elc-border); color: var(--elc-muted); }
.elc-app .elc-chip.is-on::before { content: "\2713\00a0"; }
.elc-app .elc-chipwrap .elc-chip { border-right: 0; }

/* Partage : bloc teinté, et de l'air sous lui pour ne pas coller au pied de page du thème. */
.elc-app .elc-footer { margin-top: 2rem; margin-bottom: 0; }
.elc-app .elc-browse { margin-bottom: 4rem; }
.elc-app .elc-slot { margin-top: 2rem; }
.elc-slot > :first-child { margin-top: 0; }
.elc-slot > :last-child { margin-bottom: 0; }

/* Code couleur santé (catalogue et recherche) : pastille + libellé, jamais la couleur seule. */
.elc-app { --elc-g-vert: #2f9e57; --elc-g-orange: #e89a0c; --elc-g-rouge: #d63a3a; }
.elc-app .elc-dot { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 50%; margin-right: 0.45rem; flex: none; vertical-align: baseline; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18); }
.elc-app .elc-dot-vert { background: var(--elc-g-vert); }
.elc-app .elc-dot-orange { background: var(--elc-g-orange); }
.elc-app .elc-dot-rouge { background: var(--elc-g-rouge); }
.elc-app .elc-chip { display: inline-flex; align-items: center; }
.elc-app .elc-drop-item { align-items: center; justify-content: flex-start; }
.elc-app .elc-drop-note { margin-left: auto; }
.elc-app .elc-drop-grade { margin-left: 0.5rem; font-size: 0.8rem; color: var(--elc-muted); }
.elc-app .elc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.elc-app .elc-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.75rem; }
.elc-app .elc-fbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.85rem; font: inherit; font-size: 0.95rem; border: 1px solid var(--elc-border); border-radius: 999px; background: #fff; color: inherit; cursor: pointer; }
.elc-app .elc-fbtn.is-on { background: var(--elc-tint); border-color: var(--elc-accent-dark); font-weight: 600; box-shadow: inset 0 0 0 1px var(--elc-accent-dark); }
.elc-app .elc-share { background: var(--elc-tint); border-color: var(--elc-tint-border); }
.elc-app .elc-share summary { color: var(--elc-accent-dark); }
.elc-app .elc-share summary::marker { color: var(--elc-accent-dark); }
.elc-app .elc-share .elc-btn:not(.elc-btn-primary) { background: #fff; }
.elc-app .elc-pick .elc-chip::before { content: none; }

/* À racheter bientôt (phase 3) */
.elc-app .elc-suggest { margin: 0 0 1.25rem; padding: 0.5rem 0.75rem 0.25rem; border: 1px solid var(--elc-tint-border); border-radius: 8px; background: var(--elc-tint); }
.elc-app .elc-suggest[hidden] { display: none; }
.elc-app .elc-sugg-title { margin: 0.25rem 0 0.25rem; font-size: 1.05rem; color: var(--elc-accent-dark); }
.elc-app .elc-sugg-list { list-style: none; margin: 0; padding: 0; }
.elc-app .elc-sugg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 0.75rem; padding: 0.35rem 0; border-top: 1px solid var(--elc-tint-border); }
.elc-app .elc-sugg:first-child { border-top: 0; }
.elc-app .elc-sugg-label { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.elc-app .elc-sugg-actions { display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.elc-app .elc-sugg-add { min-height: 40px; padding: 0 0.9rem; background: #fff; }
.elc-app .elc-sugg-skip {
	min-height: 40px;
	padding: 0 0.4rem;
	border: 0;
	background: transparent;
	color: var(--elc-muted);
	font-size: 0.9rem;
	text-decoration: underline;
	cursor: pointer;
}

/* Onglets (jour de courses, magasin) */
.elc-app .elc-tabs { margin: 0 0 0.75rem; }
.elc-app .elc-tabs[hidden] { display: none; }
.elc-app .elc-tab-new { background: none; border: 0; padding: 0.35rem 0; font: inherit; font-size: 0.9rem; color: var(--elc-muted); text-decoration: underline; cursor: pointer; min-height: 36px; }
.elc-app .elc-tabbar { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.elc-app .elc-tabbtn { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 0.85rem; font: inherit; font-size: 0.95rem; border: 1px solid var(--elc-border); border-radius: 999px; background: #fff; color: inherit; cursor: pointer; }
.elc-app .elc-tabbtn.is-on { background: var(--elc-tint); border-color: var(--elc-accent-dark); color: var(--elc-accent-dark); font-weight: 600; box-shadow: inset 0 0 0 1px var(--elc-accent-dark); }
.elc-app .elc-tabcount { font-size: 0.8rem; color: var(--elc-muted); }
.elc-app .elc-tabbtn.is-on .elc-tabcount { color: var(--elc-accent-dark); }
.elc-app .elc-tabadd { padding: 0 0.7rem; font-weight: 700; }
.elc-app .elc-tab-manage { display: flex; gap: 1rem; margin-top: 0.25rem; }
.elc-app .elc-linkbtn { background: none; border: 0; padding: 0.25rem 0; font: inherit; font-size: 0.85rem; color: var(--elc-muted); text-decoration: underline; cursor: pointer; min-height: 32px; }
.elc-app .elc-tabsec { margin: 0 0 1.25rem; }
.elc-app .elc-tabsec-title { margin: 0 0 0.25rem; padding-bottom: 0.25rem; font-size: 1.1rem; color: var(--elc-accent-dark); border-bottom: 2px solid var(--elc-tint-border); }
.elc-app .elc-group.is-sub .elc-group-title { font-size: 0.95rem; }
.elc-app .elc-pick-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Article « Partout » vu depuis un onglet : simple point gris dans le texte (aucune colonne en plus, donc rien ne décale sur mobile). */
.elc-shared { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: #b8b8b8; vertical-align: middle; }

/* Couleur et convivialité : boutons + / − / ⇄ / × et titres de rayons (surcharges placées en fin de fichier). */
.elc-check { min-width: 0; }
.elc-label { min-width: 0; overflow-wrap: break-word; }
.elc-group-title { padding-left: 0.6rem; border-left: 3px solid var(--elc-accent); color: var(--elc-accent-dark); }
.elc-item:hover { background: rgba(244, 102, 47, 0.04); }
.elc-app .elc-qbtn {
	background: var(--elc-tint);
	border-color: var(--elc-tint-border);
	color: var(--elc-accent-dark);
	font-weight: 600;
	transition: background 0.15s, color 0.15s;
}
.elc-app .elc-qbtn:hover, .elc-app .elc-qbtn:active { background: var(--elc-accent); border-color: var(--elc-accent); color: #fff; }
.elc-qval { font-weight: 600; }
.elc-app .elc-del { background: var(--elc-soft); color: var(--elc-muted); transition: background 0.15s, color 0.15s; }
.elc-app .elc-del:hover, .elc-app .elc-del:active { background: #c0392b; color: #fff; }

@media (max-width: 480px) {
	.elc-item { gap: 0.2rem; }
	.elc-check { gap: 0.5rem; }
	.elc-qty { gap: 0.1rem; }
	.elc-app .elc-qbtn { width: 34px; min-width: 34px; max-width: 34px; height: 34px; min-height: 34px; font-size: 1.25rem; }
	.elc-qval { min-width: 1.1rem; }
	.elc-app .elc-del { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
}
.elc-qty, .elc-app .elc-more { flex: none; }
.elc-check { flex: 1 1 0; }

/* Bouton ⋯ (réglages de l'article), note sous le nom, fenêtre de réglages. */
.elc-app .elc-more {
	box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 40px; min-width: 40px; height: 40px; min-height: 40px; margin: 0; padding: 0 0 4px;
	font-size: 1.4rem; font-weight: 700; line-height: 1; letter-spacing: 0;
	border: 1px solid var(--elc-tint-border); border-radius: 50%; background: #fff; color: var(--elc-accent-dark); box-shadow: none; cursor: pointer;
}
.elc-app .elc-more:hover, .elc-app .elc-more:active { background: var(--elc-tint); }
.elc-note { display: block; font-size: 0.8rem; line-height: 1.25; color: var(--elc-muted); font-weight: 400; }
.elc-check { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.elc-sheet-bg { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0.4); }
.elc-sheet { box-sizing: border-box; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; padding: 1rem 1rem 1.25rem; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25); }
.elc-sheet-title { margin: 0 0 0.75rem; font-size: 1.1rem; font-weight: 700; color: var(--elc-accent-dark); }
.elc-sheet-field { display: block; margin: 0 0 0.75rem; }
.elc-sheet-field > span { display: block; margin: 0 0 0.25rem; font-size: 0.85rem; color: var(--elc-muted); }
.elc-sheet-field .elc-input { width: 100%; box-sizing: border-box; }
@media (min-width: 600px) {
	.elc-sheet-bg { align-items: center; }
	.elc-sheet { border-radius: 16px; }
}
@media (max-width: 480px) {
	.elc-app .elc-more { width: 34px; min-width: 34px; height: 34px; min-height: 34px; font-size: 1.25rem; }
}

/* Ordre des rayons : lien discret, panneau de tri (poignée à glisser et flèches). */
.elc-browse-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.elc-app .elc-linkbtn { background: none; border: 0; box-shadow: none; padding: 0.4rem 0; min-height: 40px; font: inherit; font-size: 0.9rem; color: var(--elc-accent-dark); text-decoration: underline; cursor: pointer; }
.elc-order-list { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.elc-order-row { display: flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0.15rem 0; border-bottom: 1px solid var(--elc-soft); background: #fff; }
.elc-order-row.is-drag { background: var(--elc-tint); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); position: relative; z-index: 1; }
.elc-order-list.is-dragging { user-select: none; -webkit-user-select: none; }
.elc-order-label { flex: 1 1 0; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.elc-app .elc-grip { box-sizing: border-box; flex: none; width: 40px; min-width: 40px; height: 40px; min-height: 40px; margin: 0; padding: 0 0 3px; font-size: 1.4rem; line-height: 1; border: 1px solid var(--elc-tint-border); border-radius: 8px; background: #fff; color: var(--elc-accent-dark); cursor: grab; touch-action: none; box-shadow: none; }
.elc-app .elc-ord-btn { box-sizing: border-box; flex: none; width: 36px; min-width: 36px; height: 36px; min-height: 36px; margin: 0; padding: 0; font-size: 0.8rem; line-height: 1; border: 1px solid var(--elc-border); border-radius: 8px; background: #fff; color: var(--elc-accent-dark); cursor: pointer; box-shadow: none; }
.elc-app .elc-ord-btn:disabled { opacity: 0.3; cursor: default; }
.elc-order-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Emoji de repère (0.10.0) : colonne de largeur fixe pour garder les noms alignés. */
.elc-app .elc-emo { display: inline-block; flex: none; width: 1.5em; text-align: center; font-size: 1.05em; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-style: normal; }
.elc-app .elc-check .elc-emo { margin-right: -0.35rem; }
.elc-app .elc-chip .elc-emo,
.elc-app .elc-drop-item .elc-emo { width: auto; margin-right: 0.35rem; }
.elc-app .elc-item.is-checked .elc-emo { opacity: 0.45; filter: grayscale(1); }
