/* Classes utilitaires admin — remplacent les attributs style="…" inline,
   bloqués par la CSP (style-src 'self' sans 'unsafe-inline'). */

/* Texte / couleurs */
.muted        { color: var(--muted); }
.muted-xs     { color: var(--muted); font-size: .78rem; }
.muted-sm     { color: var(--muted); font-size: .85rem; }
.muted-note   { color: var(--muted); font-size: .75rem; margin-top: 10px; }
.brand-dim    { color: #F5EFE2; opacity: .6; }
.accent-sm    { color: var(--accent); font-size: .8rem; font-weight: 600; }
.mono-muted   { font-family: monospace; font-size: .7rem; color: var(--muted); }
.self-marker  { color: var(--muted); font-size: .72rem; }

/* Blocs de texte */
.section-hint { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.field-label  { font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.form-msg     { font-size: .72rem; margin-top: 8px; min-height: 16px; }

/* Cellules de tableau */
.empty-cell   { text-align: center; padding: 20px; color: var(--muted); }
.error-cell   { text-align: center; color: var(--red); }

/* Champs de saisie */
.input-field  { padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px;
                background: var(--card); color: var(--text); font-size: .8rem; }
.input-num-90 { width: 90px;  padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px;
                background: var(--card); color: var(--text); font-size: .9rem; font-weight: 700; }
.input-num-110{ width: 110px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px;
                background: var(--card); color: var(--text); font-size: .9rem; font-weight: 700; }
.input-mono   { flex: 1; padding: 6px 8px; border: 1px solid var(--border); border-radius: 5px;
                background: var(--bg); color: var(--text); font-size: .72rem; font-family: monospace; }

/* Layout */
.row-gap6     { display: flex; gap: 6px;  align-items: center; }
.row-gap8     { display: flex; gap: 8px;  align-items: center; }
.row-gap12    { display: flex; gap: 12px; align-items: center; }
.row-between  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.grid-2       { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.grid-3       { grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; }

/* Espacements */
.m-0          { margin: 0; }
.mt-4         { margin-top: 4px; }
.mt-16-right  { margin-top: 16px; text-align: right; }
.mb-16        { margin-bottom: 16px; }
.mb-24        { margin-bottom: 24px; }
.ml-auto      { margin-left: auto; }

/* Divers */
.w-full       { width: 100%; }
.nowrap       { white-space: nowrap; }
.hidden       { display: none; }
.mt-10-hidden { margin-top: 10px; display: none; }
.logo-sm      { height: 28px;  width: auto; display: block; }
.logo-lg      { height: 120px; width: auto; }
.live-dot     { display: inline-block; width: 7px; height: 7px; border-radius: 50%;
                background: #3ddc84; margin-left: 8px; vertical-align: middle;
                animation: pulse 2s infinite; }

/* Boutons */
.btn-danger    { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red);
                 border: 1px solid color-mix(in srgb, var(--red) 25%, transparent); }
.btn-danger-sm { font-size: .72rem; padding: 4px 10px;
                 background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red);
                 border: 1px solid color-mix(in srgb, var(--red) 25%, transparent); }
.btn-filter-anon  { white-space: nowrap; background: color-mix(in srgb, var(--muted) 12%, transparent);
                    color: var(--muted); border: 1px solid color-mix(in srgb, var(--muted) 20%, transparent); }
.btn-filter-ident { white-space: nowrap; background: color-mix(in srgb, var(--green) 12%, transparent);
                    color: var(--green); border: 1px solid color-mix(in srgb, var(--green) 25%, transparent); }

/* Badges */
.badge-anon    { font-size: .6rem; font-weight: 700; letter-spacing: .5px; color: var(--muted);
                 background: color-mix(in srgb, var(--muted) 12%, transparent);
                 padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.badge-ios     { font-size: .65rem; font-weight: 700; letter-spacing: .4px; color: #007AFF;
                 background: rgba(0,122,255,.1); padding: 2px 7px; border-radius: 5px; }
.badge-android { font-size: .65rem; font-weight: 700; letter-spacing: .4px; color: #3ddc84;
                 background: rgba(61,220,132,.1); padding: 2px 7px; border-radius: 5px; }

.mono { font-family: monospace; }
