body{margin:0}
#nadka09[hidden],#auth-shell[hidden]{display:none!important}
#auth-shell{min-height:100dvh;background:var(--auth-bg,var(--nl-connexion-bg));color:var(--auth-text,var(--nl-connexion-text));display:grid;place-items:center;padding:32px 20px;box-sizing:border-box;font:15px/1.5 var(--nl-font-connexion);position:relative;isolation:isolate}
.auth-landscape{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--nl-connexion-paysage-voile),var(--auth-bg,var(--nl-connexion-bg)) 80%),var(--auth-landscape-image) center/cover;opacity:.35}
.auth-card{width:min(100%,430px);box-sizing:border-box;background:var(--auth-panel,var(--nl-connexion-panel));border:1px solid var(--auth-line,var(--nl-connexion-line));border-radius:24px;padding:32px;box-shadow:0 28px 100px var(--nl-noir-a33)}
.auth-card header{display:flex;align-items:center;justify-content:space-between;gap:16px}.auth-brand{font-size:20px;letter-spacing:2px}.auth-brand b{color:var(--auth-primary,var(--nl-connexion-primary))}
.auth-card button{font:inherit;cursor:pointer}.auth-card button:disabled{cursor:wait;opacity:.65}.auth-card header button,.auth-password button{background:transparent;border:1px solid var(--auth-line,var(--nl-connexion-line));color:var(--auth-text,var(--nl-connexion-text));border-radius:9px;padding:6px 10px}
.auth-eyebrow{font-size:10px;letter-spacing:2px;color:var(--auth-primary,var(--nl-connexion-primary));margin:42px 0 12px}.auth-card h1{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:0 0 12px}.auth-intro{color:var(--auth-muted,var(--nl-connexion-muted));margin-bottom:28px}
.auth-card label{display:block;font-size:12px;margin:15px 0 6px;color:var(--auth-text,var(--nl-connexion-text))}.auth-card input{width:100%;box-sizing:border-box;background:var(--auth-bg,var(--nl-connexion-bg));color:var(--nl-blanc);border:1px solid var(--auth-line,var(--nl-connexion-line));border-radius:10px;padding:13px;font:inherit;min-width:0}.auth-card input:focus{outline:2px solid var(--auth-primary,var(--nl-connexion-primary));outline-offset:2px}
.auth-password{display:flex;position:relative}.auth-password input{padding-right:54px}.auth-password button{position:absolute;right:8px;top:8px;border:0}.auth-password .auth-reveal{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;background:transparent;color:inherit;opacity:.75}.auth-password .auth-reveal[aria-pressed=true]{opacity:1}@media (hover:hover) and (pointer:fine){.auth-password .auth-reveal:hover{opacity:1}}.auth-eye{display:block;pointer-events:none}@media (pointer:coarse){.auth-password .auth-reveal{min-width:44px;min-height:44px;top:0;right:0}.auth-password input{padding-right:56px}}.auth-card button:focus-visible{outline:2px solid var(--auth-primary,var(--nl-connexion-primary));outline-offset:3px}
#auth-message{font-size:12px;color:var(--auth-text,var(--nl-connexion-text));min-height:20px}.auth-submit{width:100%;display:flex;justify-content:space-between;border:0;border-radius:10px;background:var(--auth-primary,var(--nl-connexion-primary));color:var(--auth-bg,var(--nl-connexion-bg));font-weight:650!important;padding:14px}.auth-note{font-size:12px;color:var(--auth-muted,var(--nl-connexion-muted));margin:22px 0}.auth-card footer{border-top:1px solid var(--auth-line,var(--nl-connexion-line));padding-top:20px;color:var(--auth-muted,var(--nl-connexion-muted));font-size:11px}
@media(min-width:1000px){#auth-shell{padding-left:45%}.auth-card{padding:38px}.auth-landscape{opacity:.6}}
@media(max-width:480px){#auth-shell{padding:20px 12px}.auth-card{padding:24px}.auth-card h1{font-size:29px}}

#session-notice{position:fixed;z-index:3000;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;background:var(--auth-panel,var(--nl-connexion-panel));color:var(--nl-blanc);border:1px solid var(--auth-primary,var(--nl-connexion-primary));border-radius:12px;padding:12px 16px;font:14px/1.4 var(--nl-font-connexion-notice);box-shadow:0 8px 30px var(--nl-noir-a33)}#session-notice button{background:var(--auth-primary,var(--nl-connexion-primary));color:var(--nl-connexion-notice-bouton-texte);border:0;border-radius:8px;padding:8px 12px;cursor:pointer;flex-shrink:0}

.auth-link{display:block;margin:18px auto 0;background:transparent;border:0;color:var(--auth-primary,var(--nl-connexion-primary));font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.auth-card input{max-width:100%;box-sizing:border-box}.auth-card #auth-message{min-height:24px}

#auth-shell.auth-setup{padding:32px 20px;background:var(--auth-bg,var(--nl-connexion-bg))}

.auth-brand>.brand-logo{width:24px;height:24px;vertical-align:middle;object-fit:contain}
/* Aurore: the horizontal logo (lettering included), its height sets the width; titles in Sora; readable disabled buttons; gradient on the main button. */
.auth-brand>.brand-logo-h{width:auto;height:28px}
.auth-card h1{font-family:var(--nl-font-titres)}
/* Provisional legal pages, linked under the sign-in footer (src/auth.js legalLinks). */
.auth-legal{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:10px}.auth-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px}.auth-legal a:hover,.auth-legal a:focus-visible{color:var(--auth-text,var(--nl-connexion-text))}
/* Lot 5 point 3: one symbol for an image missing or loading outside the Atelier (console, sign-in): the brand symbol at 34 % of the box on a raised background; it breathes while loading, paler when missing. */
img[data-fb]:not(.brand-logo):not(#nadka-atelier img){background:var(--nl-connexion-image-absente) var(--brand-mark) center/clamp(14px,34%,48px) auto no-repeat}
img[data-fb=loading]:not(.brand-logo):not(#nadka-atelier img){animation:nadka-fb-wait 1.2s step-end,nadka-fb-breathe 1.8s ease-in-out 1.2s infinite}
img[data-fb=missing]:not(.brand-logo):not(#nadka-atelier img){opacity:.5}
@keyframes nadka-fb-wait{0%,100%{opacity:0}}@keyframes nadka-fb-breathe{0%,100%{opacity:.55}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){img[data-fb=loading]:not(.brand-logo):not(#nadka-atelier img){animation:nadka-fb-wait 1.2s step-end;opacity:.8}}
/* 156 (brief acceptation-conditions § 2): the box of the terms, just above the main button (src/auth.js termsBox). Neutral check, never the
   accent; the whole line is a 44 px target except its two links; the button stays greyed, without a message, until the box is ticked. */
.auth-card .auth-terms{display:flex;align-items:flex-start;gap:12px;min-height:44px;margin:4px 0 14px;font-size:13.5px;line-height:1.45;color:var(--auth-text);cursor:pointer}
.auth-card .auth-terms input{flex:none;width:24px;height:24px;min-width:24px;margin:0;padding:0;accent-color:var(--auth-text);cursor:pointer}
.auth-card .auth-terms input:focus{outline:none}.auth-card .auth-terms input:focus-visible{outline:2px solid var(--auth-text);outline-offset:2px}
.auth-card .auth-terms a{color:var(--auth-text);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.auth-card .auth-submit.auth-terms-wait:disabled{cursor:not-allowed;opacity:.4}
/* B3 (maquette contrôle import 1.1): suspended account, one calm action « Nous contacter » (address of the site settings). */
.auth-suspended{margin:4px 0 8px}
.auth-contact{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;border:1px solid var(--auth-line,var(--nl-connexion-line));color:var(--auth-text,var(--nl-connexion-text));font-weight:650;text-decoration:none}
.auth-contact:focus-visible{outline:2px solid var(--auth-text,var(--nl-connexion-text));outline-offset:2px}
/* D8 « Informations légales » (brief harmonisation-atelier-console 1.1 § 4, maquette 2026-11-23 v1.0; src/shared/legal-window.js): one
   window, three tabs, centred 640 px at most on a computer, a sheet almost full height on a phone; the text scrolls alone. Colours of the
   Atelier (dark, or light when the screen behind is light), brand tokens only. */
.nl-legal{--lg-surface:var(--nl-atelier-sombre-surface);--lg-hover:var(--nl-atelier-sombre-hover);--lg-line:var(--nl-atelier-sombre-line);--lg-line2:var(--nl-atelier-sombre-line2);--lg-text:var(--nl-atelier-sombre-text);--lg-muted:var(--nl-atelier-sombre-muted);--lg-ink:var(--nl-atelier-sombre-accent-ink);--lg-warn:var(--nl-atelier-sombre-warn);--lg-shadow:var(--nl-atelier-sombre-shadow);color-scheme:dark;position:fixed;inset:0;z-index:4000;display:grid;place-items:center;padding:16px;box-sizing:border-box;background:var(--nl-voile-a62);color:var(--lg-text);font:14px/1.55 var(--nl-font);text-align:left}
.nl-legal[data-theme=light]{--lg-surface:var(--nl-atelier-clair-surface);--lg-hover:var(--nl-atelier-clair-hover);--lg-line:var(--nl-atelier-clair-line);--lg-line2:var(--nl-atelier-clair-line2);--lg-text:var(--nl-atelier-clair-text);--lg-muted:var(--nl-atelier-clair-muted);--lg-ink:var(--nl-atelier-clair-accent-ink);--lg-warn:var(--nl-atelier-clair-warn);--lg-shadow:var(--nl-atelier-clair-shadow);color-scheme:light}
.nl-legal *{box-sizing:border-box}
.nl-legal-in{width:min(640px,100%);height:min(720px,calc(100dvh - 32px));background:var(--lg-surface);border:1px solid var(--lg-line2);border-radius:20px;box-shadow:0 16px 48px var(--lg-shadow);display:flex;flex-direction:column;overflow:hidden}
.nl-legal-h{display:flex;align-items:center;gap:10px;padding:14px 16px 6px 20px}
.nl-legal-h h2{margin:0 auto 0 0;font-size:18px;font-weight:700;line-height:1.3}
.nl-legal-x{flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:var(--lg-text);cursor:pointer}
.nl-legal-x:hover{background:var(--lg-hover)}
.nl-legal-tabs{display:flex;gap:2px;padding:0 14px;border-bottom:1px solid var(--lg-line)}
.nl-legal-tabs button{flex:1;min-height:44px;padding:0 10px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--lg-muted);font:inherit;font-size:13.5px;font-weight:650;text-align:center;cursor:pointer}
.nl-legal-tabs button[aria-selected=true]{color:var(--lg-text);border-bottom-color:var(--lg-text)}
.nl-legal-tabs button:hover{color:var(--lg-text)}
.nl-legal button:focus-visible,.nl-legal a:focus-visible,.nl-legal-b:focus-visible{outline:2px solid var(--lg-ink);outline-offset:2px}
.nl-legal-b{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 22px 22px;scrollbar-width:thin;overflow-wrap:break-word}
.nl-legal-b h3{margin:0;font-size:16px;font-weight:700;line-height:1.3}
.nl-legal-meta{margin:4px 0 0;font-size:12.5px;color:var(--lg-muted)}
.nl-legal-note{margin:10px 0 0;padding:8px 12px;border:1px solid var(--lg-warn);border-radius:8px;font-size:12.5px;font-weight:600}
.nl-legal-b a{color:var(--lg-text);text-decoration:underline;text-underline-offset:2px}
.nl-legal-text{margin-top:12px}
.nl-legal-text h1{font-size:16px;margin:18px 0 6px}
.nl-legal-text h2{font-size:14.5px;line-height:1.35;margin:20px 0 6px}
.nl-legal-text p{margin:8px 0}
.nl-legal-text ul{margin:8px 0;padding-left:1.3em}
.nl-legal-text li{margin:4px 0}
.nl-legal-text blockquote{margin:10px 0;padding:4px 12px;border-left:3px solid var(--lg-line2);color:var(--lg-muted)}
.nl-legal-text blockquote p{margin:0}
.nl-legal-text .table{overflow-x:auto;margin:10px 0}
.nl-legal-text table{width:100%;border-collapse:collapse;font-size:13px}
.nl-legal-text th,.nl-legal-text td{text-align:left;vertical-align:top;padding:6px 8px;border-bottom:1px solid var(--lg-line)}
@media (max-width:600px){.nl-legal{padding:0;place-items:end stretch}.nl-legal-in{width:100%;height:94dvh;border-radius:20px 20px 0 0;border-bottom:0}.nl-legal-b{padding:14px 16px 20px}}
/* 171 (open access, src/shared/signup.js): the public sign-up screens. A field error is a short line with an icon, tied to its field (aria-describedby) and never colour alone; the terms of sale read in the card; the widget of Turnstile only shows when it needs a gesture. */
.auth-card .auth-field-error{margin:6px 0 0;font-size:12.5px;font-weight:600;color:var(--auth-text,var(--nl-connexion-text))}.auth-card .auth-field-error::before{content:"⚠ ";}.auth-card .auth-field-error[hidden]{display:none}
.auth-card input[aria-invalid=true]{border:2px solid var(--auth-text,var(--nl-connexion-text))}
.auth-card .auth-doc{margin:12px 0;max-height:min(46dvh,360px);overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12.5px;line-height:1.5;padding:12px;border:1px solid var(--auth-line,var(--nl-connexion-line));border-radius:10px;background:var(--auth-bg,var(--nl-connexion-bg))}.auth-card .auth-doc:focus-visible{outline:2px solid var(--auth-primary,var(--nl-connexion-primary));outline-offset:2px}
.auth-turnstile:empty{display:none}.auth-card .auth-submit.auth-solo{justify-content:center}
/* 177 (open access, maquette point 12): the background image chosen in the console, on the screens of the sign-in page (src/auth.js sets data-auth-bg once the picture has loaded). A dark veil of the page colour over the picture; the card stays opaque, so the text never depends on the picture. Without a picture the default background stays. */
#auth-shell[data-auth-bg]::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--auth-bg-image) center/cover no-repeat}
#auth-shell[data-auth-bg]::after{content:"";position:absolute;inset:0;z-index:-1;background:var(--auth-bg,var(--nl-connexion-bg));opacity:.72}
#auth-shell[data-auth-bg] .auth-landscape{display:none}
#auth-shell[data-auth-bg] .auth-card{background:var(--auth-panel,var(--nl-connexion-panel))}
/* 199 (Vincent 03/12): the built-in picture in five sizes, the browser loads only the one of its screen (a phone 750 or 1080 px, a computer 1280, 1920 or 2000 px). « Image d'origine » chosen in the console, or a chosen picture that failed to load: the former built-in picture (src/auth.js sets data-auth-origin). */
.auth-landscape{--auth-landscape-image:url('login-bg/fond-750.webp')}
@media(min-resolution:1.5dppx){.auth-landscape{--auth-landscape-image:url('login-bg/fond-1080.webp')}}
@media(min-width:761px){.auth-landscape{--auth-landscape-image:url('login-bg/fond-1280.webp')}}
@media(min-width:1281px){.auth-landscape{--auth-landscape-image:url('login-bg/fond-1920.webp')}}
@media(min-width:761px) and (min-resolution:1.5dppx){.auth-landscape{--auth-landscape-image:url('login-bg/fond-2000.webp')}}
#auth-shell[data-auth-origin] .auth-landscape{--auth-landscape-image:url('login-doha.webp')}
.auth-card .read-gate{margin:8px 0;max-height:min(24dvh,180px);overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12.5px;line-height:1.5;padding:12px;border:1px solid var(--auth-line,var(--nl-connexion-line));border-radius:10px;background:var(--auth-bg,var(--nl-connexion-bg))}.auth-card .read-gate:focus-visible{outline:2px solid var(--auth-primary,var(--nl-connexion-primary));outline-offset:2px}.auth-card .read-gate-hint{margin:4px 0;font-size:12.5px}.auth-card .read-gate-hint:empty{display:none}.auth-card .read-gate-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.auth-submit{background:var(--nl-degrade-marque,var(--nl-connexion-primary));background-origin:border-box;color:var(--nl-sur-ia,var(--nl-connexion-bg))}
.auth-card .auth-submit:disabled,.auth-card .auth-submit.auth-terms-wait:disabled{opacity:1;background:var(--nl-neutres-sombre-raised);color:var(--nl-neutres-sombre-muted)}
.auth-card input{border-color:var(--nl-neutres-sombre-ui,var(--auth-line,var(--nl-connexion-line)))}
.auth-card input[type=checkbox],.auth-card label:has(>input[type=checkbox]){cursor:pointer}.auth-card input[type=checkbox]:disabled,.auth-card label:has(>input[type=checkbox]:disabled){cursor:not-allowed}
.read-gate-title{display:block;white-space:normal;font-weight:650;font-size:13.5px;margin:0 0 8px}
/* Maquette Accès ouvert › Application 1.1 (validated 27/11): sign-up on two columns on a computer, one on a phone. The sentence « scroll to the
   end » sits under the texts and keeps its place once read, so nothing moves at the end of the scroll. */
@media(min-width:1000px){#auth-shell:has(#signup-form){padding-left:max(24px,calc(50% - 470px))}.auth-card:has(#signup-form){max-width:940px;width:100%}#signup-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:28px;align-items:start}#signup-form .signup-fields{grid-column:1;grid-row:1}#signup-form #signup-docs{grid-column:2;grid-row:1}#signup-form>:not(.signup-fields):not(#signup-docs){grid-column:1/-1}.auth-card #signup-docs .read-gate-hint:empty{display:block;min-height:1.5em}}
/* 182: the photo credit of the background, typed in the console, in a corner of the screen. */
#auth-shell[data-auth-credit]::after{content:attr(data-auth-credit);position:fixed;left:16px;bottom:12px;max-width:calc(100vw - 32px);font-size:11px;line-height:1.3;color:var(--auth-muted,var(--nl-connexion-muted));pointer-events:none;z-index:0}
/* Petits restes 28/11 (migration 185): the optional reason of an account deletion, a choice and a short text drawn like the fields of the card. */
.auth-card select,.auth-card textarea{width:100%;max-width:100%;box-sizing:border-box;background:var(--auth-bg,var(--nl-connexion-bg));color:var(--nl-blanc);border:1px solid var(--nl-neutres-sombre-ui,var(--auth-line,var(--nl-connexion-line)));border-radius:10px;padding:13px;font:inherit;min-width:0;min-height:44px}.auth-card textarea{resize:vertical;min-height:88px}.auth-card select:focus,.auth-card textarea:focus{outline:2px solid var(--auth-primary,var(--nl-connexion-primary));outline-offset:2px}.auth-card .account-anonymous{margin:6px 0 0;font-size:12.5px;line-height:1.45;color:var(--auth-text,var(--nl-connexion-text))}
/* Design « Première connexion » 1.0 (validated 03/12): the live hint under the new password (green once long enough) and the fixed help of « Mot de passe oublié ». */
.auth-hint{display:flex;align-items:center;gap:8px;margin:8px 0 0;font-size:13px;color:var(--auth-muted,var(--nl-connexion-muted));min-height:20px}.auth-hint.ok{color:var(--nl-console-v3-sombre-ok);font-weight:600}.auth-hint-icon{flex:none}
.auth-help{display:flex;gap:10px;align-items:flex-start;margin:16px 0 0;padding:12px 14px;border-radius:12px;border:1px solid var(--auth-line,var(--nl-connexion-line));font-size:13px;line-height:1.45;color:var(--auth-text,var(--nl-connexion-text))}.auth-help .auth-hint-icon{margin-top:2px}
