/* Externalise de la modification #56 le 23/08/2026 (G6M_EXTERNALISATION_V1016).
   Ce bloc etait inline dans PAGE_CONTAINER : il repartait donc dans le HTML de
   CHAQUE page, sans jamais etre mis en cache. En fichier, il est recupere une
   fois puis servi depuis le cache.
   Le <link> occupe la position EXACTE de l ancien <style> : l ordre de cascade
   est donc rigoureusement identique. */

/* G6M_LOGIN_SINGLE_SEAM_V417
   Login (and global safety): ONE pink mid-header line only.
   Cause: v409 painted border-bottom on .p-header AND .p-header-inner
   AND .p-header-content → double 1px pink seam.
   Keep seam on .p-header only; zero inners.
   END G6M_LOGIN_SINGLE_SEAM_V417 */

html {
	--g6m-login-single-seam: V417;
	--g6m-header-seam-line: 1px solid rgba(255, 11, 139, 0.4);
}

/* Canonical single seam — outer header only */
html#XF[data-template="login"] body .p-header,
html#XF.template-login body .p-header,
html body[data-template="login"] .p-header,
html body.template-login .p-header,
html#XF body .p-header,
html body .p-header {
	border-bottom: var(--g6m-header-seam-line) !important;
	box-shadow: none !important;
}

/* Kill the EXTRA stacked pink lines from inners (v409 bug) */
html#XF[data-template="login"] body .p-header-inner,
html#XF[data-template="login"] body .p-header-content,
html#XF.template-login body .p-header-inner,
html#XF.template-login body .p-header-content,
html body[data-template="login"] .p-header-inner,
html body[data-template="login"] .p-header-content,
html body.template-login .p-header-inner,
html body.template-login .p-header-content,
html#XF body .p-header-inner,
html#XF body .p-header-content,
html body .p-header-inner,
html body .p-header-content {
	border-bottom: 0 !important;
	border-bottom-width: 0 !important;
	border-bottom-style: none !important;
	border-bottom-color: transparent !important;
	border-top: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Nav must not add a top seam */
html#XF[data-template="login"] body .p-nav,
html#XF[data-template="login"] body .p-navSticky,
html body[data-template="login"] .p-nav,
html body[data-template="login"] .p-navSticky,
html body.template-login .p-nav,
html body.template-login .p-navSticky {
	border-top: 0 !important;
	border-top-width: 0 !important;
	border-top-style: none !important;
}

