/* @portee: public, carriere */
/* =========================================================================
   EIT GROUP — Site public v4 (agent 2) : apparence paramétrable, partage, compte à rebours, réouverture.
   Préfixes : .pub-* (site public), .shr-* (panneau de partage), .eit-slogan, .apx-* (admin « Apparence du site »).
   Uniquement les variables du thème + la charte (noir, blanc, vert). Valeurs par défaut = rendu v3.
   ========================================================================= */

/* ------------------------------------------------------------- Textures d'arrière-plan (data-texture sur .pub ou .apx-stage) */
[data-texture="points"] .pub-hero-grid { --tex-c: var(--line-strong); background-image: radial-gradient(circle, var(--tex-c) 1.15px, transparent 1.6px); background-size: calc(var(--tex-s) / 2.5) calc(var(--tex-s) / 2.5); }
[data-texture="lignes"] .pub-hero-grid { background-image: linear-gradient(var(--tex-c) 1px, transparent 1px); background-size: 100% calc(var(--tex-s) / 4); }
[data-texture="diagonales"] .pub-hero-grid { background-image: repeating-linear-gradient(-45deg, var(--tex-c) 0 1px, transparent 1px calc(var(--tex-s) / 4)); background-size: auto; }
[data-texture="losanges"] .pub-hero-grid { background-image: repeating-linear-gradient(45deg, var(--tex-c) 0 1px, transparent 1px calc(var(--tex-s) / 2.5)), repeating-linear-gradient(-45deg, var(--tex-c) 0 1px, transparent 1px calc(var(--tex-s) / 2.5)); background-size: auto; }
[data-texture="croix"] .pub-hero-grid, [data-texture="hexagones"] .pub-hero-grid, [data-texture="ondes"] .pub-hero-grid,
[data-texture="topographique"] .pub-hero-grid, [data-texture="circuit"] .pub-hero-grid { background-image: none; }
[data-texture="croix"] .pub-hero-grid::before, [data-texture="hexagones"] .pub-hero-grid::before, [data-texture="ondes"] .pub-hero-grid::before,
[data-texture="topographique"] .pub-hero-grid::before, [data-texture="circuit"] .pub-hero-grid::before {
  content: ""; position: absolute; inset: 0; background: var(--tex-c);
  -webkit-mask-image: var(--tex-svg); mask-image: var(--tex-svg); -webkit-mask-size: var(--tex-ms); mask-size: var(--tex-ms); -webkit-mask-repeat: repeat; mask-repeat: repeat;
}
[data-texture="croix"] .pub-hero-grid { --tex-c: var(--line-strong); --tex-ms: calc(var(--tex-s) / 1.6) calc(var(--tex-s) / 1.6); --tex-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' vector-effect='non-scaling-stroke' d='M32 27.5v9M27.5 32h9'/%3E%3C/svg%3E"); }
[data-texture="hexagones"] .pub-hero-grid { --tex-ms: calc(var(--tex-s) * .8660) calc(var(--tex-s) * 1.5); --tex-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 55.43 96'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' vector-effect='non-scaling-stroke' d='M0.00 -32.00L27.71 -16.00L27.71 16.00L0.00 32.00L-27.71 16.00L-27.71 -16.00ZM55.43 -32.00L83.14 -16.00L83.14 16.00L55.43 32.00L27.71 16.00L27.71 -16.00ZM27.71 16.00L55.43 32.00L55.43 64.00L27.71 80.00L0.00 64.00L0.00 32.00ZM0.00 64.00L27.71 80.00L27.71 112.00L0.00 128.00L-27.71 112.00L-27.71 80.00ZM55.43 64.00L83.14 80.00L83.14 112.00L55.43 128.00L27.71 112.00L27.71 80.00Z'/%3E%3C/svg%3E"); }
[data-texture="ondes"] .pub-hero-grid { --tex-ms: var(--tex-s) calc(var(--tex-s) / 4); --tex-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' vector-effect='non-scaling-stroke' d='M0 8C10.7 2.5 21.3 2.5 32 8S53.3 13.5 64 8'/%3E%3C/svg%3E"); }
[data-texture="topographique"] .pub-hero-grid { --tex-ms: calc(var(--tex-s) * 4) calc(var(--tex-s) * 4); --tex-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' vector-effect='non-scaling-stroke' d='M113 100C113 103 111 107 109 109C107 110 103 110 100 110C97 110 92 111 90 110C88 108 88 103 88 100C88 97 90 94 92 92C94 90 97 87 100 87C103 87 106 90 108 92C110 94 113 97 113 100ZM129 100C129 106 122 113 117 117C112 121 106 123 100 124C94 125 82 126 78 122C74 118 76 107 77 100C77 93 78 87 82 82C86 78 94 72 100 72C106 72 112 78 117 83C122 88 129 94 129 100ZM144 100C144 109 133 119 126 126C118 133 110 141 100 142C90 143 72 140 67 133C61 126 66 110 66 100C67 90 64 77 70 70C76 63 90 56 100 56C110 57 120 66 127 73C134 80 145 91 144 100ZM160 100C160 112 146 125 136 136C126 147 113 162 100 163C87 164 66 152 58 142C51 131 54 115 53 100C52 85 46 64 54 54C62 45 86 41 100 43C114 44 128 53 138 62C148 72 161 88 160 100ZM176 100C175 116 159 133 147 147C134 160 116 181 100 182C84 182 62 162 52 148C41 135 39 118 37 100C35 82 30 51 40 40C50 29 82 30 100 32C118 34 136 40 149 51C161 62 176 84 176 100ZM11 0C11 2 8 5 6 6C5 8 2 9 0 10C-2 10 -7 10 -8 8C-10 6 -9 2 -9 0C-9 -2 -8 -5 -7 -7C-5 -9 -2 -11 -0 -11C2 -11 5 -9 7 -7C9 -5 11 -2 11 0ZM23 0C23 5 18 10 14 14C10 18 5 23 0 23C-5 24 -14 21 -17 17C-20 13 -19 6 -19 0C-18 -6 -19 -12 -16 -16C-13 -20 -5 -23 -0 -23C5 -23 11 -19 15 -15C19 -11 23 -5 23 0ZM211 0C211 2 208 5 206 6C205 8 202 9 200 10C198 10 193 10 192 8C190 6 191 2 191 0C191 -2 192 -5 193 -7C195 -9 198 -11 200 -11C202 -11 205 -9 207 -7C209 -5 211 -2 211 0ZM223 0C223 5 218 10 214 14C210 18 205 23 200 23C195 24 186 21 183 17C180 13 181 6 181 0C182 -6 181 -12 184 -16C187 -20 195 -23 200 -23C205 -23 211 -19 215 -15C219 -11 223 -5 223 0ZM11 200C11 202 8 205 6 206C5 208 2 209 0 210C-2 210 -7 210 -8 208C-10 206 -9 202 -9 200C-9 198 -8 195 -7 193C-5 191 -2 189 -0 189C2 189 5 191 7 193C9 195 11 198 11 200ZM23 200C23 205 18 210 14 214C10 218 5 223 0 223C-5 224 -14 221 -17 217C-20 213 -19 206 -19 200C-18 194 -19 188 -16 184C-13 180 -5 177 -0 177C5 177 11 181 15 185C19 189 23 195 23 200ZM211 200C211 202 208 205 206 206C205 208 202 209 200 210C198 210 193 210 192 208C190 206 191 202 191 200C191 198 192 195 193 193C195 191 198 189 200 189C202 189 205 191 207 193C209 195 211 198 211 200ZM223 200C223 205 218 210 214 214C210 218 205 223 200 223C195 224 186 221 183 217C180 213 181 206 181 200C182 194 181 188 184 184C187 180 195 177 200 177C205 177 211 181 215 185C219 189 223 195 223 200ZM109 0C109 2 108 5 106 6C104 7 102 7 100 7C98 7 96 6 95 5C93 4 91 2 91 0C91 -2 92 -5 94 -6C96 -7 98 -7 100 -7C102 -7 104 -6 105 -5C107 -4 109 -2 109 0ZM118 0C118 4 115 9 112 12C109 14 104 16 100 16C96 16 91 15 88 12C85 10 82 4 82 0C82 -4 85 -9 88 -12C91 -14 96 -16 100 -16C104 -16 109 -15 112 -12C115 -10 118 -4 118 0ZM109 200C109 202 108 205 106 206C104 207 102 207 100 207C98 207 96 206 95 205C93 204 91 202 91 200C91 198 92 195 94 194C96 193 98 193 100 193C102 193 104 194 105 195C107 196 109 198 109 200ZM118 200C118 204 115 209 112 212C109 214 104 216 100 216C96 216 91 215 88 212C85 210 82 204 82 200C82 196 85 191 88 188C91 186 96 184 100 184C104 184 109 185 112 188C115 190 118 196 118 200ZM9 100C9 102 8 105 6 106C5 108 2 108 0 109C-2 109 -5 108 -7 107C-8 105 -10 102 -9 100C-9 98 -8 95 -6 94C-5 92 -2 92 -0 91C2 91 5 92 7 93C8 95 10 98 9 100ZM19 100C18 104 15 109 12 112C9 115 4 117 0 117C-4 118 -10 116 -14 114C-17 111 -19 104 -19 100C-18 96 -15 91 -12 88C-9 85 -4 83 -0 83C4 82 10 84 14 86C17 89 19 96 19 100ZM209 100C209 102 208 105 206 106C205 108 202 108 200 109C198 109 195 108 193 107C192 105 190 102 191 100C191 98 192 95 194 94C195 92 198 92 200 91C202 91 205 92 207 93C208 95 210 98 209 100ZM219 100C218 104 215 109 212 112C209 115 204 117 200 117C196 118 190 116 186 114C183 111 181 104 181 100C182 96 185 91 188 88C191 85 196 83 200 83C204 82 210 84 214 86C217 89 219 96 219 100Z'/%3E%3C/svg%3E"); }
[data-texture="circuit"] .pub-hero-grid { --tex-ms: calc(var(--tex-s) * 1.5) calc(var(--tex-s) * 1.5); --tex-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1' vector-effect='non-scaling-stroke' d='M0 20h14l6 6h14l6-6h24M52 0v8M52 64v-12l-6-6v-6M15 44h6l6 6v14M27 0v6'/%3E%3Cg fill='none' stroke='%23000' stroke-width='1' vector-effect='non-scaling-stroke'%3E%3Ccircle cx='52' cy='11' r='3'/%3E%3Ccircle cx='46' cy='37' r='3'/%3E%3Ccircle cx='12' cy='44' r='3'/%3E%3C/g%3E%3Cg fill='%23000'%3E%3Ccircle cx='27' cy='7.6' r='1.6'/%3E%3Ccircle cx='36' cy='48' r='1.4'/%3E%3Ccircle cx='8' cy='8' r='1.4'/%3E%3C/g%3E%3C/svg%3E"); }
[data-texture="aucune"] .pub-hero-grid { display: none; }
[data-halo="off"] .pub-orb { display: none; }

/* ------------------------------------------------------------- Slogan <x-slogan /> */
.eit-slogan { display: inline-flex; align-items: center; gap: .55rem; font-weight: 760; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; line-height: 1.1; max-width: 100%; }
.eit-slogan-txt { overflow: hidden; text-overflow: ellipsis; }
.eit-slogan-mark { width: 1.1rem; height: 2px; border-radius: 2px; background: var(--brand); flex-shrink: 0; }
.eit-slogan.is-ligne { color: var(--brand-ink); font-size: .74rem; }
.eit-slogan.is-ligne .eit-slogan-mark { width: 2.2rem; }
.eit-slogan.is-signature { gap: .75rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-stretch: 125%; font-weight: 860; letter-spacing: -.005em; text-transform: none; color: var(--text); }
.eit-slogan.is-signature .eit-slogan-mark { width: 1.9rem; height: 3px; }
.eit-slogan.is-signature .eit-slogan-txt { background: linear-gradient(90deg, var(--text) 35%, var(--brand-ink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.pub-hero-slogan { margin-top: 1.5rem; }
@media (prefers-reduced-motion: no-preference) { .pub-hero-slogan { animation: pub-rise .7s var(--ease) backwards; animation-delay: 1.1s; } }
.pub-tb .eit-slogan { color: rgba(255,255,255,.9); font-size: .66rem; letter-spacing: .24em; }
.auth-visual .eit-slogan { color: #B5E68F; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.pub-tb .eit-slogan-mark { width: .85rem; }
@media (max-width: 1279px) { .pub-tb-slogan { display: none !important; } .pub-tb-left > .pub-tb-slogan + * { padding-left: 0; border-left: 0; } }
.pub-tb-slogan ~ .pub-tb-wide { display: none !important; } /* le slogan prend la place de la mention (aussi en pied de page) */
.pub-menu-slogan { align-self: center; color: var(--text-3); margin-top: -.4rem; }

/* ------------------------------------------------------------- Bandeau « CV par email » : styles (attention = v3) */
.pub-mailban.is-sobre::before { width: 4px; background: var(--line-strong); }
.pub-mailban.is-sobre::after { display: none; }
.pub-mailban.is-sobre .pub-mailban-icon { background: var(--bg-sunken); color: var(--text-2); border-color: var(--line); }
.pub-mailban.is-vert { background: var(--brand); border-color: var(--brand); color: #000; box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--brand) 80%, transparent); }
.pub-mailban.is-vert::before { width: 6px; background: #000; }
.pub-mailban.is-vert::after { background: radial-gradient(circle, rgba(255,255,255,.4), transparent 70%); }
.pub-mailban.is-vert .pub-mailban-text, .pub-mailban.is-vert .pub-mailban-text b { color: #0A0D09; }
.pub-mailban.is-vert .pub-mailban-icon { background: #000; color: #8BD35F; border-color: #000; }
.pub-mailban.is-vert .pub-mailban-icon > span { box-shadow: 0 0 0 3px var(--brand); }
.pub-mailban.is-vert .pub-mail { background: rgba(255,255,255,.4); border-color: rgba(0,0,0,.14); color: #000; }
.pub-mailban.is-vert .btn-primary { --btn-bg: #000; --btn-fg: #fff; --btn-bd: #000; }
.pub-mailban.is-vert .pub-btn-soft { --btn-bg: rgba(255,255,255,.4); --btn-fg: #000; --btn-bd: rgba(0,0,0,.16); }
.pub-mailban.is-vert .pub-btn-soft .ph-fill { color: #000; }
.pub-mailban.is-noir { background: #000; color: #fff; border-color: rgba(255,255,255,.1); }
.pub-mailban.is-noir::before { background: var(--brand); width: 5px; }
.pub-mailban.is-noir::after { background: radial-gradient(circle, rgba(92,172,48,.3), transparent 70%); }
.pub-mailban.is-noir .pub-mailban-text { color: rgba(255,255,255,.72); }
.pub-mailban.is-noir .pub-mailban-text b { color: #fff; }
.pub-mailban.is-noir .pub-mailban-icon { background: rgba(92,172,48,.16); color: #8BD35F; border-color: rgba(92,172,48,.35); }
.pub-mailban.is-noir .pub-mailban-icon > span { box-shadow: 0 0 0 3px #000; }
.pub-mailban.is-noir .pub-mail { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.pub-mailban.is-noir .pub-btn-soft { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.22); }
.pub-mailban.is-noir .pub-btn-soft .ph-fill { color: #8BD35F; }

/* Version fine (autres pages publiques) */
.pub-mailstrip { position: relative; z-index: 2; font-size: .88rem; border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.pub-mailstrip-inner { display: flex; align-items: center; gap: .8rem; min-height: 48px; padding-block: .5rem; }
.pub-mailstrip-ic { position: relative; width: 2rem; height: 2rem; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-size: 1rem; background: color-mix(in srgb, var(--signal) 14%, var(--bg-elev)); color: var(--signal); border: 1px solid color-mix(in srgb, var(--signal) 32%, transparent); }
.pub-mailstrip-ic > span { position: absolute; right: -5px; bottom: -5px; width: 1.05rem; height: 1.05rem; border-radius: 50%; display: grid; place-items: center; background: var(--danger); color: #fff; font-size: .55rem; box-shadow: 0 0 0 2px var(--bg-elev); }
.pub-mailstrip-text { flex: 1; min-width: 0; line-height: 1.4; }
.pub-mailstrip-text b { font-weight: 780; }
.pub-mailstrip-sub { color: var(--text-2); }
.pub-mailstrip-btn { display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; padding: .45rem .85rem; border-radius: var(--r-pill); background: var(--brand); color: #000; font-weight: 750; font-size: .84rem; text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s; }
.pub-mailstrip-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--brand) 90%, transparent); }
.pub-mailstrip.is-attention { background: linear-gradient(90deg, color-mix(in srgb, var(--signal) 9%, var(--bg-elev)), var(--bg-elev) 45%); }
.pub-mailstrip.is-attention::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: repeating-linear-gradient(-45deg, var(--signal) 0 8px, #000 8px 16px); opacity: .85; }
.pub-mailstrip.is-sobre .pub-mailstrip-ic { background: var(--bg-sunken); color: var(--text-2); border-color: var(--line); }
.pub-mailstrip.is-vert { background: var(--brand); color: #000; border-bottom-color: transparent; }
.pub-mailstrip.is-vert .pub-mailstrip-sub { color: rgba(0,0,0,.72); }
.pub-mailstrip.is-vert .pub-mailstrip-ic { background: #000; color: #8BD35F; border-color: #000; }
.pub-mailstrip.is-vert .pub-mailstrip-ic > span { box-shadow: 0 0 0 2px var(--brand); }
.pub-mailstrip.is-vert .pub-mailstrip-btn { background: #000; color: #fff; }
.pub-mailstrip.is-noir { background: #000; color: #fff; border-bottom-color: rgba(255,255,255,.1); }
.pub-mailstrip.is-noir .pub-mailstrip-sub { color: rgba(255,255,255,.68); }
.pub-mailstrip.is-noir .pub-mailstrip-ic { background: rgba(92,172,48,.16); color: #8BD35F; border-color: rgba(92,172,48,.35); }
.pub-mailstrip.is-noir .pub-mailstrip-ic > span { box-shadow: 0 0 0 2px #000; }
@media (max-width: 639px) { .pub-mailstrip-sub { display: none; } .pub-mailstrip-inner { gap: .65rem; font-size: .84rem; } .pub-mailstrip-btn { padding: .4rem .7rem; } }
@media (max-width: 479px) { .pub-mailstrip-lbl { display: none; } .pub-mailstrip-btn { width: 2.3rem; height: 2.3rem; padding: 0; justify-content: center; } .pub-mailstrip-text b { font-size: .82rem; } }

/* ------------------------------------------------------------- Réseaux sociaux (pied de page, menu mobile) */
.pub-foot-follow { display: flex; flex-direction: column; gap: .55rem; }
.pub-foot-follow-label { font-size: .74rem; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pub-menu-social { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; padding: .9rem 1rem; border-radius: var(--r-lg); background: var(--bg-sunken); border: 1px solid var(--line); }
.pub-menu-social > span:first-child { font-weight: 720; font-size: .9rem; }
.pub-menu-social .pub-socials a { width: 2.3rem; height: 2.3rem; font-size: 1.05rem; }

/* ------------------------------------------------------------- Panneau de partage (.shr) */
html.shr-lock, html.shr-lock body { overflow: hidden; }
.shr { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 16px; }
.shr[x-cloak] { display: none !important; }
.shr-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .58); backdrop-filter: blur(6px) saturate(1.1); -webkit-backdrop-filter: blur(6px) saturate(1.1); }
.shr-dialog { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; background: var(--bg-elev); color: var(--text); border: 1px solid var(--line); border-radius: calc(var(--r-xl) - 4px); box-shadow: var(--shadow-pop); outline: none; }
.shr-dialog::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: inherit; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 20%, transparent) 70%, transparent); pointer-events: none; }
.shr-in { animation: shr-fade .22s var(--ease); }
.shr-in .shr-dialog { animation: shr-pop .34s var(--ease); }
.shr-out { animation: shr-fade .16s var(--ease) reverse; }
@keyframes shr-fade { from { opacity: 0; } }
@keyframes shr-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.shr-head { display: flex; align-items: flex-start; gap: .9rem; padding: 1.3rem 1.3rem .4rem 1.4rem; }
.shr-head-ic { width: 2.7rem; height: 2.7rem; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand); color: #000; font-size: 1.25rem; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--brand) 90%, transparent); }
.shr-head-text { flex: 1; min-width: 0; }
.shr-head-text h2 { margin: 0; font-size: 1.22rem; font-stretch: 112%; font-weight: 820; letter-spacing: -.01em; line-height: 1.2; }
.shr-head-sub { margin: .2rem 0 0; color: var(--text-2); font-size: .9rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shr-x { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text-2); display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; flex-shrink: 0; transition: background .15s, color .15s, transform .2s var(--ease); }
.shr-x:hover { background: var(--bg-hover); color: var(--text); transform: rotate(90deg); }
.shr-body { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 1.4rem; padding: 1rem 1.4rem 1.4rem; }
.shr-main { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.shr-native { display: flex; align-items: center; gap: .85rem; width: 100%; padding: .8rem .95rem; border-radius: var(--r-lg); border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--text); cursor: pointer; text-align: left; font: inherit; transition: transform .2s var(--ease), border-color .2s; }
.shr-native:hover { transform: translateY(-1px); border-color: var(--brand); }
.shr-native-ic { width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #000; font-size: 1.15rem; flex-shrink: 0; }
.shr-native b { display: block; font-size: .95rem; }
.shr-native small { display: block; color: var(--text-2); font-size: .8rem; margin-top: .1rem; }
.shr-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.shr-ch { display: flex; align-items: center; gap: .65rem; padding: .62rem .7rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 680; font-size: .88rem; text-decoration: none !important; min-width: 0; transition: border-color .18s, background .18s, transform .2s var(--ease), box-shadow .2s; }
.shr-ch-ic { width: 2.15rem; height: 2.15rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--bg-sunken); color: var(--text); font-size: 1.12rem; transition: background .18s, color .18s; }
.shr-ch-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shr-ch:hover, .shr-ch:focus-visible { border-color: var(--brand-line); background: var(--brand-soft); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.shr-ch:hover .shr-ch-ic, .shr-ch:focus-visible .shr-ch-ic { background: var(--brand); color: #000; }
.shr-card { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem .9rem; border-radius: var(--r-lg); background: var(--bg-sunken); border: 1px solid var(--line); min-width: 0; }
.shr-card img { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; background: #000; }
.shr-card-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.shr-card-text b { font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shr-card-text span { font-size: .82rem; color: var(--text-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shr-card-text small { font-size: .74rem; color: var(--brand-ink); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shr-main > .shr-link { margin-top: auto; }
@media (min-width: 720px) { .shr-head-sub { display: none; } .shr-head { align-items: center; padding-bottom: .2rem; } }
@media (max-width: 719px) { .shr-card { display: none; } }
.shr-label { display: block; font-size: .74rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: .45rem; }
.shr-link-row { display: flex; align-items: center; gap: .5rem; padding: .3rem .3rem .3rem .8rem; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.shr-link-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.shr-link-row > .ph { color: var(--text-3); flex-shrink: 0; }
.shr-link-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: .88rem; padding: .45rem 0; outline: none; text-overflow: ellipsis; }
.shr-copy { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; padding: .55rem .9rem; border-radius: calc(var(--r) - 3px); border: 0; background: var(--bg-inverse); color: var(--text-inverse); font: inherit; font-weight: 720; font-size: .85rem; cursor: pointer; transition: background .2s, color .2s; }
.shr-link-row.is-copied { border-color: var(--brand); }
.shr-link-row.is-copied .shr-copy { background: var(--brand); color: #000; }
.shr-qr { display: flex; flex-direction: column; align-items: stretch; gap: .6rem; }
.shr-qr-card { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: .7rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; cursor: zoom-in; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s; }
.shr-qr-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.shr-qr-img, .shr-qr-img svg { display: block; width: 100%; height: 100%; }
.shr-qr-zoom { position: absolute; right: .5rem; bottom: .5rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: #000; color: #fff; font-size: .85rem; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s var(--ease); }
.shr-qr-card:hover .shr-qr-zoom, .shr-qr-card:focus-visible .shr-qr-zoom { opacity: 1; transform: none; }
.shr-qr-cap { display: flex; align-items: center; justify-content: center; gap: .35rem; margin: 0; color: var(--text-2); font-size: .8rem; font-weight: 600; text-align: center; }
.shr-qr-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
.shr-qr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; padding: .5rem .3rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.shr-qr-btn:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.shr-follow { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; padding: .9rem 1.4rem 1.1rem; border-top: 1px solid var(--line); background: var(--bg-sunken); border-radius: 0 0 calc(var(--r-xl) - 4px) calc(var(--r-xl) - 4px); }
.shr-follow-label { font-weight: 750; font-size: .88rem; display: inline-flex; align-items: center; gap: .5rem; }
.shr-follow-label::before { content: ""; width: 1rem; height: 2px; border-radius: 2px; background: var(--brand); }
.shr-follow-links { display: flex; gap: .35rem; flex-wrap: wrap; }
.shr-follow-links a { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text-2); font-size: 1.05rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.shr-follow-links a:hover { background: var(--brand); color: #000; border-color: var(--brand); transform: translateY(-2px); }
.shr-big { position: fixed; inset: 0; z-index: 2; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .82); backdrop-filter: blur(4px); cursor: zoom-out; }
.shr-big-card { display: flex; flex-direction: column; align-items: center; gap: .6rem; width: min(560px, 100%); padding: 1.2rem 1.2rem 1rem; border-radius: var(--r-xl); background: #fff; color: #0A0D09; text-align: center; cursor: default; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.shr-big-img { display: block; width: min(100%, 74dvh); aspect-ratio: 1; }
.shr-big-img svg { display: block; width: 100%; height: 100%; }
.shr-big-title { font-size: 1.05rem; line-height: 1.3; }
.shr-big-url { font-size: .8rem; color: #3B7A1B; word-break: break-all; max-width: 100%; }
.shr-big-card .btn-dark { --btn-bg: #000; --btn-fg: #fff; --btn-bd: #000; }
.shr-trigger-link { display: inline-flex; align-items: center; gap: .4rem; padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.shr-trigger-link:hover { color: var(--text); }
@media (max-width: 719px) {
  .shr { place-items: end center; padding: 0; }
  .shr-dialog { width: 100%; max-height: calc(100dvh - 24px); border-radius: var(--r-xl) var(--r-xl) 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .shr-in .shr-dialog { animation: shr-up .36s var(--ease); }
  .shr-body { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding: .8rem 1rem 1.2rem; }
  .shr-head { padding: 1.1rem 1rem .3rem; }
  .shr-head::before { content: ""; position: absolute; left: 50%; top: 7px; width: 42px; height: 4px; border-radius: 4px; background: var(--line-strong); transform: translateX(-50%); }
  .shr-qr { display: grid; grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: .5rem .9rem; align-items: start; }
  .shr-qr-card { grid-row: 1 / span 2; padding: .45rem; }
  .shr-qr-cap { justify-content: flex-start; text-align: left; }
  .shr-qr-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shr-qr-actions .shr-qr-btn:last-child { grid-column: 1 / -1; }
  .shr-follow { padding: .8rem 1rem calc(1rem + env(safe-area-inset-bottom)); border-radius: 0; }
}
@media (max-width: 419px) { .shr-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; } .shr-ch { flex-direction: column; gap: .35rem; padding: .6rem .3rem; font-size: .76rem; } .shr-ch-label { max-width: 100%; } }
@keyframes shr-up { from { transform: translateY(40px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .shr-in, .shr-in .shr-dialog, .shr-out { animation: none !important; } .shr-x:hover { transform: none; } }

/* ------------------------------------------------------------- Compte à rebours de réouverture (.pub-cd) */
.pub-cd { display: flex; flex-direction: column; gap: .75rem; align-self: stretch; max-width: 520px; padding: .9rem 1rem 1rem; border-radius: var(--r-lg); background: var(--bg-sunken); border: 1px solid var(--line); }
.pub-cd-head { display: flex; align-items: center; gap: .7rem; }
.pub-cd-ic .ph { width: 2.2rem; height: 2.2rem; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-size: 1.15rem; }
.pub-cd-head small { display: block; font-size: .72rem; color: var(--text-3); font-weight: 680; text-transform: uppercase; letter-spacing: .06em; }
.pub-cd-head b { font-size: .95rem; }
.pub-cd-units { display: flex; align-items: flex-start; gap: .35rem; }
.pub-cd-u { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .6rem .2rem .5rem; border-radius: var(--r); background: var(--bg-elev); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.pub-cd-u b { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 820; font-stretch: 112%; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pub-cd-u small { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pub-cd-u.is-s b { color: var(--brand-ink); }
.pub-cd-sep { align-self: center; margin-top: -1.1rem; font-weight: 800; font-size: 1.2rem; color: var(--text-3); }
.pub-cd-bar { position: relative; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
.pub-cd-bar > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 55%, transparent), var(--brand)); transition: width 1s linear; }
.pub-cd-bar > span::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); transform: translate(50%, -50%); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
.pub-cd-done { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--brand-ink); }
.pub-cd.is-done .pub-cd-done .ph-bold { animation: shr-spin 1s linear infinite; }
@keyframes shr-spin { to { transform: rotate(360deg); } }
.pub-cd-none { display: flex; align-items: flex-start; gap: .55rem; margin: .1rem 0 0; padding: .65rem .8rem; border-radius: var(--r); background: var(--bg-sunken); border: 1px dashed var(--line-strong); color: var(--text-2); font-size: .9rem; line-height: 1.5; max-width: 58ch; white-space: normal !important; }
.pub-cd-none .ph { color: var(--text-3); font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }
.is-compact .pub-cd { padding: .75rem .8rem .85rem; gap: .6rem; }
.is-compact .pub-cd-u b { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); }
@media (max-width: 400px) { .pub-cd-sep { display: none; } .pub-cd-units { gap: .3rem; } .pub-cd-u small { font-size: .58rem; letter-spacing: .05em; } }
@media (prefers-reduced-motion: no-preference) { .pub-cd-u.is-s b { animation: pub-cd-tick 1s steps(1) infinite; } }
@keyframes pub-cd-tick { 0% { opacity: 1; } 50% { opacity: .82; } }
@media (prefers-reduced-motion: reduce) { .pub-cd-bar > span { transition: none; } .pub-cd.is-done .pub-cd-done .ph-bold { animation: none; } }

/* ------------------------------------------------------------- Désinscription des alertes de réouverture */
.pub-unsub { display: flex; gap: 1.1rem; align-items: flex-start; max-width: 720px; padding: clamp(1.2rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-xl); background: var(--bg-elev); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.pub-unsub-ic { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #000; font-size: 1.3rem; flex-shrink: 0; }
@media (max-width: 480px) { .pub-unsub { flex-direction: column; } }

/* ------------------------------------------------------------- Admin › Apparence du site (.apx-*) */
.apx-pane { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.apx-pane.is-wide { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.apx-pane[x-cloak] { display: none !important; }
.apx-pane > .panel { display: flex; flex-direction: column; min-height: 0; min-width: 0; margin: 0; }
.apx-scroll { flex: 1; min-height: 0; overflow: auto; }
@media (max-width: 1023px) { .apx-pane, .apx-pane.is-wide { grid-template-columns: minmax(0, 1fr); } .apx-scroll { overflow: visible; } }
.apx-card { display: flex; flex-direction: column; gap: .55rem; padding: .85rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.apx-cap { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.apx-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 560px) { .apx-grid-2 { grid-template-columns: minmax(0, 1fr); } }
.apx-mock-tb { display: flex; align-items: center; gap: .9rem; padding: .55rem .85rem; border-radius: var(--r); background: #0B0D0A; color: rgba(255,255,255,.7); font-size: .74rem; min-height: 42px; overflow: hidden; }
.apx-mock-tb.is-end { justify-content: flex-end; }
.apx-mock-tb .eit-slogan { color: rgba(255,255,255,.9); font-size: .6rem; letter-spacing: .22em; }
.apx-mock-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(92,172,48,.13); border: 1px solid rgba(92,172,48,.3); color: #fff; font-weight: 700; white-space: nowrap; }
.apx-mock-pill > span { width: .4rem; height: .4rem; border-radius: 50%; background: var(--brand); }
.apx-mock-dim { display: inline-flex; gap: .3rem; align-items: center; white-space: nowrap; }
.apx-mock-dim .ph { color: #8BD35F; }
.apx-mock-hero { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--bg-elev); border: 1px solid var(--line); }
.apx-mock-hero b { font-size: 1.55rem; font-stretch: 120%; font-weight: 860; letter-spacing: -.03em; line-height: 1; }
.apx-mock-lines { display: flex; flex-direction: column; gap: .35rem; width: 100%; }
.apx-mock-lines span { height: .45rem; border-radius: 4px; background: var(--bg-sunken); width: 88%; }
.apx-mock-lines span + span { width: 58%; }
.apx-mock-foot { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--bg-sunken); }
.apx-mock-brand { display: inline-flex; align-items: center; gap: .55rem; font-stretch: 125%; font-weight: 860; }
.apx-mock-brand img { border-radius: 50%; background: #fff; }
.apx-mock-auth { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1rem .6rem; border-radius: var(--r); background: var(--bg-elev); border: 1px solid var(--line); }
.apx-mock-mail { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: var(--r); background: #000; color: #fff; }
.apx-mock-mail img { border-radius: 50%; flex-shrink: 0; }
.apx-mock-mail > span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.apx-mock-mail small { color: #8C9487; font-size: .7rem; }
.apx-mock-mail em { font-style: normal; color: #5CAC30; font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apx-empty { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.6rem 1rem; text-align: center; color: var(--text-2); font-size: .9rem; }
.apx-empty .ph { font-size: 1.8rem; color: var(--text-3); }
/* Bandeau : styles (vignettes) et aperçu */
.apx-style { align-items: flex-start !important; }
.apx-swatch { width: 1.6rem; height: 1.6rem; border-radius: 8px; flex-shrink: 0; border: 1px solid var(--line); margin-top: .1rem; }
.apx-swatch.is-sobre { background: var(--bg-elev); box-shadow: inset 4px 0 0 var(--line-strong); }
.apx-swatch.is-attention { background: linear-gradient(90deg, transparent 5px, var(--bg-elev) 5px), repeating-linear-gradient(-45deg, var(--signal) 0 4px, #000 4px 8px); }
.apx-swatch.is-vert { background: var(--brand); border-color: var(--brand); }
.apx-swatch.is-noir { background: #000; box-shadow: inset 4px 0 0 var(--brand); }
.apx-ban-prev .pub-mailban { grid-template-columns: auto minmax(0, 1fr); box-shadow: var(--shadow-1); }
.apx-ban-prev .pub-mailban-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
.apx-ban-prev .pub-mailban-actions .btn { flex: 1 1 160px; pointer-events: none; }
.apx-ban-prev .pub-mail::after { transform: scaleX(1); }
.apx-strip { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.apx-strip .pub-mailstrip-inner { padding-inline: .8rem; }
/* Arrière-plan : vignettes de texture, curseurs, couleurs, aperçu iframe */
.apx-tex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .55rem; }
.apx-tex { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: .4rem; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--bg-elev); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .2s var(--ease); }
.apx-tex:hover { transform: translateY(-1px); border-color: var(--text-3); }
.apx-tex input { position: absolute; opacity: 0; pointer-events: none; }
.apx-tex:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-soft); }
.apx-tex:has(input:focus-visible) { box-shadow: var(--ring); }
.apx-tex-box { position: relative; display: block; height: 58px; border-radius: 8px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.apx-tex-box .pub-hero-grid { -webkit-mask-image: none; mask-image: none; }
.apx-tex-lab { font-size: .8rem; font-weight: 680; text-align: center; line-height: 1.2; }
.apx-tex-lab small { display: block; font-size: .66rem; font-weight: 600; color: var(--text-3); }
.apx-val { font-weight: 750; color: var(--brand-ink); margin-left: .25rem; font-variant-numeric: tabular-nums; }
.apx-range { width: 100%; accent-color: var(--brand); height: 1.6rem; cursor: pointer; }
.apx-colors { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.apx-swatch-btn { width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--bg-elev); background: var(--sw); box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
.apx-swatch-btn:hover { transform: scale(1.08); }
.apx-swatch-btn.is-active { box-shadow: 0 0 0 2px var(--text); }
.apx-color-pick { position: relative; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--line-strong); color: var(--text-2); cursor: pointer; overflow: hidden; }
.apx-color-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.apx-hex { width: 6.5rem; font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; margin-left: auto; }
.apx-frame-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.apx-frame-box { position: relative; flex: 1; min-height: 260px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-sunken); }
.apx-frame-box iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 1000px; border: 0; transform-origin: 0 0; transform: scale(var(--apx-scale, .5)); pointer-events: none; }
@media (max-width: 1023px) { .apx-frame-box { flex: none; aspect-ratio: 16 / 10; } }
/* Réseaux sociaux */
.apx-soc-list { display: flex; flex-direction: column; gap: .45rem; }
.apx-soc { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .5rem .6rem .5rem .4rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-elev); transition: border-color .15s, opacity .15s; }
.apx-soc.is-off { background: var(--bg); }
.apx-soc.is-off .apx-soc-ic { opacity: .5; }
.apx-soc-handle { color: var(--text-3); cursor: grab; font-size: 1.1rem; padding: .2rem; }
.apx-soc-ic { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg-sunken); font-size: 1.15rem; }
.apx-soc-field { margin: 0; gap: .15rem; }
.apx-soc-name { font-size: .8rem; font-weight: 720; }
.apx-soc-tools { display: flex; align-items: center; gap: .1rem; }
.apx-soc-switch { margin-right: .3rem; }
.apx-soc .error-text { font-size: .76rem; }
@media (max-width: 560px) { .apx-soc { grid-template-columns: auto minmax(0, 1fr); } .apx-soc-handle { display: none; } .apx-soc-tools { grid-column: 1 / -1; justify-content: flex-end; } }
.sortable-ghost.apx-soc { opacity: .4; }
/* Partage : statistiques */
.apx-spark { display: flex; align-items: flex-end; gap: 3px; height: 70px; padding: .4rem; border-radius: var(--r); background: var(--bg-sunken); }
.apx-spark span { flex: 1; min-width: 2px; height: max(2px, var(--h)); border-radius: 3px 3px 0 0; background: var(--brand); opacity: .85; }
.apx-spark span:hover { opacity: 1; }
.apx-bar { display: grid; grid-template-columns: minmax(110px, auto) minmax(0, 1fr) auto; align-items: center; gap: .6rem; font-size: .86rem; }
.apx-bar-lab { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; }
.apx-bar-track { height: 8px; border-radius: 8px; background: var(--bg-sunken); overflow: hidden; }
.apx-bar-track > span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.apx-page { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem .6rem; border-radius: var(--r-sm); color: var(--text); font-size: .86rem; text-decoration: none !important; }
.apx-page:hover { background: var(--bg-hover); }
.apx-page .truncate { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------- Tableau de bord › Ouverture : inscrits à prévenir */
.ouv-alert-btn .count { margin-left: .1rem; }
.ouvx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.ouvx-kpi { display: flex; flex-direction: column; gap: .2rem; padding: .7rem .8rem; border-radius: var(--r); background: var(--bg-sunken); border: 1px solid var(--line); }
.ouvx-kpi b { font-size: 1.35rem; font-weight: 820; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ouvx-kpi span { font-size: .74rem; color: var(--text-3); font-weight: 650; }
.ouvx-kpi.is-main { background: var(--brand-soft); border-color: var(--brand-line); }
.ouvx-kpi.is-main b { color: var(--brand-ink); }
@media (max-width: 560px) { .ouvx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ouvx-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; max-height: 300px; overflow-y: auto; }
.ouvx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .6rem; padding: .55rem .75rem; border-bottom: 1px solid var(--line); font-size: .86rem; }
.ouvx-row:last-child { border-bottom: 0; }
.ouvx-row small { display: block; color: var(--text-3); font-size: .74rem; }
.ouvx-frame { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: var(--r); background: #EEF0EC; }

/* ------------------------------------------------------------- En-tête mobile : bouton « Partager » */
/* Très petits écrans : le bouton de thème (aussi dans le menu) laisse la place au partage, le menu reste visible. */
@media (max-width: 419px) { .pub-actions > .pub-tb-dup:not(.pub-share-dup) { display: none !important; } .pub-actions { gap: .25rem; } }
@media (min-width: 720px) and (max-width: 899px) { .shr-body { grid-template-columns: minmax(0, 1fr) 220px; gap: 1.1rem; } .shr-ch { flex-direction: column; gap: .35rem; padding: .65rem .3rem; font-size: .8rem; } .shr-qr-btn { font-size: .74rem; gap: .2rem; } }
