/* Pages en carte (connexion, rejoindre, espaces). ponytail: jetons et en-tête recopiés d'index.html, qui garde son style.
   RF1 (porteur 15/11, maquette v8) : charte Glacier ; Archivo et IBM Plex en tete, Space Grotesk et Inter en relais. */
@font-face{font-family:"Space Grotesk";font-weight:300 700;font-display:swap;src:url(fonts/space-grotesk.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:100 900;font-display:swap;src:url(fonts/inter.woff2) format("woff2")}
:root{
  color-scheme:dark;
  --fond:#0B1014; --section:#131A20; --carte:#1A232B; --trait:#26313B;
  --cyan:#19D3F0; --cyan-survol:#5CE2F5; --cyan-appui:#12A9C0;
  --violet:#F03ACD; --mauve:#F03ACD;
  --texte:#EAF1F4; --doux:#97A5AF; --bordure2:#64748B;
  --degrade:#19D3F0;
  --titre:"Archivo","Space Grotesk",system-ui,sans-serif;
  --corps:"IBM Plex Sans","Inter",system-ui,sans-serif;
  --vite:150ms;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{background:var(--fond);color:var(--texte);font:400 16px/26px var(--corps);margin:0;min-height:100vh;display:flex;flex-direction:column}
.page{max-width:1200px;width:100%;margin:0 auto;padding-inline:32px}
a{color:var(--cyan)}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--titre);font-weight:800;font-stretch:118%;text-wrap:balance;margin:0}
h1{font-size:40px;line-height:46px;letter-spacing:-.02em}
h3{font-size:20px;line-height:26px}
.petit{font-size:14px;line-height:20px;color:var(--doux)}
.etiquette{font:600 14px/20px var(--corps);letter-spacing:.08em;text-transform:uppercase;color:var(--cyan)}
header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:16px}
.marque{display:flex;align-items:center;gap:12px;color:var(--texte);text-decoration:none;font:600 22px/28px var(--titre)}
.marque img{width:64px;height:64px;object-fit:contain;display:block}
nav a{color:var(--texte);text-decoration:none;font-weight:500}
nav a:hover{color:var(--cyan)}
/* LS1 (porteur 20/11) : selecteur de langue de l'en-tete. Ces pages existent en francais seulement : DE et EN menent a l'accueil
   de la langue. Telephone : l'en-tete passe sur 2 lignes s'il manque de place. */
header{flex-wrap:wrap}
.lg{display:flex;margin-left:auto;border:1px solid var(--trait);border-radius:6px;overflow:hidden;font-size:14px;line-height:1}
.lg a{padding:9px 10px;color:var(--doux)}
.lg a[aria-current]{color:var(--texte);background:var(--trait);font-weight:600}
.filet{height:2px;background:var(--degrade);opacity:.6}

.bouton{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 24px;border-radius:6px;font:600 16px/24px var(--corps);text-decoration:none;border:1px solid transparent;width:100%}
.bouton[aria-disabled="true"]{background:var(--carte);border-color:var(--trait);color:var(--doux);cursor:not-allowed}
.bouton svg{width:22px;height:22px;flex:none}

.bouton.discord{background:#5865F2;color:#fff}
.bouton.discord:hover{background:#4752C4}
.bouton + .bouton{margin-top:12px}
.carte > p a{color:var(--cyan)}
main{flex:1;display:grid;place-items:center;padding-block:64px}
.carte{background:var(--section);border:1px solid var(--trait);border-radius:8px;padding:40px;max-width:480px;width:100%}
.carte h1{margin-block:12px 12px}
.carte > p{color:var(--doux);margin:0 0 32px}
.raison{display:block;margin-top:12px;text-align:center}
/* WEB1c : menu a gauche des pages membres, seulement les espaces ouverts (rendu par _worker.js). En haut sur telephone. */
main.avec-menu{grid-template-columns:220px minmax(0,1fr);gap:32px;place-items:start stretch;align-content:start}
.avec-menu .carte{max-width:none}
.menu{display:flex;flex-direction:column;gap:4px;background:var(--section);border:1px solid var(--trait);border-radius:8px;padding:12px}
.menu a{color:var(--texte);text-decoration:none;font:600 16px/24px var(--titre);padding:10px 14px;border-radius:6px;white-space:nowrap}
.menu a:hover{background:var(--carte)}
.menu a[aria-current="page"]{background:var(--carte);color:var(--cyan)}
/* WEB2 : minmax(0,1fr), sinon un tableau large de la Sentinelle elargit la page au lieu de defiler dans son cadre. */
@media (max-width:767px){ main.avec-menu{grid-template-columns:minmax(0,1fr);gap:16px;padding-block:32px} .menu{flex-direction:row;overflow-x:auto} }
/* WEB2c (porteur, 18/10 : « Bien, maintenant il faut prendre la largeur de l'écran ») : page Sentinelle seule, sans largeur
   maximale ; marges de cote gardees (32 px, 16 px sur telephone). */
.pleine .page{max-width:none}
/* WEB2 : espace Sentinelle, la page MO1 (tableau.mjs) aux couleurs du site. Les tableaux defilent seuls sur telephone. */
.sentinelle{--rouge:#FF5C5C;--orange:#FFB347;--vert:#4CD17A;--gris:#7D8594;font-size:14px;line-height:20px;margin-top:16px}
.sentinelle h2{font:600 15px/20px var(--titre);margin:24px 0 8px;color:var(--doux);text-transform:uppercase;letter-spacing:.04em}
.sentinelle .fraicheur{color:var(--doux);margin-bottom:8px}
.sentinelle .bandeau{padding:10px 14px;border-radius:6px;background:var(--carte);border-left:4px solid var(--vert);margin-bottom:12px}
.sentinelle .bandeau.ko{border-color:var(--rouge);color:var(--rouge)}
.sentinelle .chiffres{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.sentinelle .c{background:var(--carte);border-radius:6px;padding:10px 12px}
.sentinelle .c b{display:block;font:600 22px/28px var(--titre)}
.sentinelle .c span{color:var(--doux);font-size:12px}
.sentinelle .defile{overflow-x:auto}
.sentinelle table{width:100%;border-collapse:collapse;background:var(--carte);border-radius:6px;overflow:hidden}
.sentinelle td,.sentinelle th{padding:6px 8px;border-bottom:1px solid var(--trait);text-align:left;vertical-align:top;white-space:nowrap}
.sentinelle th{color:var(--doux);font-weight:500;font-size:12px}
/* WEB1h : Produit et Problème passent a la ligne (un long titre elargissait le tableau) ; min-width : « anywhere » ne les reduit pas a une lettre */
.sentinelle td.long,.sentinelle th.long{white-space:normal;overflow-wrap:anywhere;min-width:16em}
.sentinelle .p{display:inline-block;width:10px;height:10px;border-radius:50%}
.sentinelle .rouge{color:var(--rouge)}.sentinelle .p.rouge{background:var(--rouge)}.sentinelle .p.orange{background:var(--orange)}
.sentinelle .p.vert{background:var(--vert)}.sentinelle .p.gris{background:var(--gris)}
.sentinelle .doux{color:var(--doux);margin:0}
.sentinelle details summary{cursor:pointer;padding:8px 0;color:var(--doux)}
/* WEB4b : page Watchlists (lecture seule), aux couleurs de la maquette WEB4a retenue par le porteur. */
.sentinelle .onglets{display:flex;gap:8px;margin:16px 0 8px}
.sentinelle .onglets a{font:600 15px/22px var(--titre);color:var(--texte);background:var(--carte);border:1px solid var(--trait);border-radius:6px;padding:8px 18px;text-decoration:none}
.sentinelle .onglets a[aria-current="page"]{color:var(--cyan);border-color:var(--cyan)}
/* SN1 : cartes de couleur de la maquette livraisons/sn1-maquette.html. .tuile et pas .c : .c reste la petite case chiffre de Link defender.
   Un groupe = un titre de couleur puis ses cartes, sur 12 colonnes ; telephone (< 900 px) : une colonne, rien ne deborde de cote. */
.sentinelle{--violet:#A855F7;--cyan-s:#00D9FF}
.sentinelle .onglets{flex-wrap:wrap}
.sentinelle .grille,.sentinelle .groupe{display:grid;gap:14px;grid-template-columns:repeat(12,minmax(0,1fr))}
.sentinelle .groupe{--ton:var(--cyan-s);grid-column:span 12;padding:12px;border-radius:16px;border:1px solid color-mix(in srgb,var(--ton) 35%,transparent);background:color-mix(in srgb,var(--ton) 5%,transparent)}
.sentinelle .groupe>.titre{grid-column:span 12;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline}
.sentinelle .groupe>.titre strong{color:var(--ton);font:700 14px/20px var(--titre);text-transform:uppercase;letter-spacing:.04em}
.sentinelle .sous{color:var(--doux);font-size:12.5px}
.sentinelle .tuile{--ton:var(--cyan-s);background:var(--carte);border:1px solid var(--trait);border-top:3px solid var(--ton);border-radius:12px;padding:14px;display:grid;gap:10px;align-content:start;min-width:0;background-image:linear-gradient(180deg,color-mix(in srgb,var(--ton) 9%,transparent),transparent 60px)}
.sentinelle .rouge:is(.tuile,.groupe){--ton:var(--rouge)}.sentinelle .orange:is(.tuile,.groupe){--ton:var(--orange)}.sentinelle .vert:is(.tuile,.groupe){--ton:var(--vert)}
.sentinelle .gris:is(.tuile,.groupe){--ton:var(--gris)}.sentinelle .violet:is(.tuile,.groupe){--ton:var(--violet)}.sentinelle .cyan:is(.tuile,.groupe){--ton:var(--cyan-s)}
.sentinelle .tuile.rouge,.sentinelle .groupe.rouge{color:inherit}
.sentinelle .tuile h2{margin:0;display:flex;gap:8px;align-items:center}
.sentinelle .tuile h2::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ton);flex:none}
.sentinelle .tuile h3{font:500 13px/18px var(--titre);color:var(--doux);margin:4px 0 0}
.sentinelle .tuile .bandeau{margin:0}
.sentinelle .tuile.attente{border-style:dashed;border-top-style:solid}
.sentinelle .s12{grid-column:span 12}.sentinelle .s6{grid-column:span 6}.sentinelle .s5{grid-column:span 5}.sentinelle .s4{grid-column:span 4}.sentinelle .s3{grid-column:span 3}
.sentinelle .chiffre{font:700 30px/1.1 var(--titre)}
.sentinelle .tuile ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sentinelle .tuile li{display:flex;gap:10px;align-items:center;min-width:0}
.sentinelle .bloc{display:grid;gap:6px}
.sentinelle .puces{display:flex;flex-wrap:wrap;gap:6px}
.sentinelle .puce{border:1px solid var(--trait);border-radius:999px;padding:3px 10px;font-size:12.5px;display:inline-flex;gap:6px;align-items:center;min-width:0;overflow-wrap:anywhere}
.sentinelle .puce .p{flex:none}
@media (max-width:900px){ .sentinelle .s6,.sentinelle .s5,.sentinelle .s4,.sentinelle .s3{grid-column:span 12} .sentinelle .groupe{padding:8px} }
.watchlists .code{color:var(--doux);font-size:12px}
.watchlists td{text-align:center}.watchlists td.long{text-align:left}
/* ACC2 (porteur, 18/10 : « figer les entêtes de colonne et de lignes ») : le cadre defile dans les deux sens ; la ligne d'en-tete et la
   premiere colonne (extension, produit, numero d'entree) restent visibles, fond opaque, coin au-dessus des deux. Le tableau ne coupe
   plus ses bords (overflow:hidden de .sentinelle table empecherait sticky) : l'arrondi passe au cadre. La Sentinelle ne change pas. */
.watchlists .defile{max-height:75vh;overflow:auto;border-radius:6px}
.watchlists table{overflow:visible;border-collapse:separate;border-spacing:0;border-radius:0}
.watchlists th{position:sticky;top:0;z-index:2;background:var(--carte)}
.watchlists td:first-child{position:sticky;left:0;z-index:1;background:var(--carte)}
.watchlists th:first-child{left:0;z-index:3}
/* au telephone, la colonne figee laisse de la place aux cases */
@media (max-width:600px){ .watchlists th.long:first-child,.watchlists td.long:first-child{min-width:7em} }
.watchlists .case{display:inline-block;font:500 13px/18px var(--corps);border:1px solid var(--trait);border-radius:6px;padding:2px 8px;min-width:52px}
.watchlists .case.non{color:var(--bordure2)}.watchlists .case.voulu{color:var(--cyan)}.watchlists .case.attente{color:var(--orange)}
footer{padding-block:32px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px}
/* SITE1 § 3 : page /confidentialite. Texte valide par le porteur (12/11, « Je valide tel quel »), mise en page du brouillon aux couleurs du site. */
main.legal{display:flex;flex-direction:column;place-items:stretch;gap:12px;max-width:760px;padding-block:48px}
.legal p{margin:0}
.legal h3{margin-top:16px}
.legal h3 .art{color:var(--cyan);margin-right:.4em}
.legal .muted{color:var(--doux)}
.legal .scroll{overflow-x:auto}
.legal table{border-collapse:collapse;width:100%;font-size:14px;line-height:20px;background:var(--section);border-radius:6px;overflow:hidden}
.legal th,.legal td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--trait);vertical-align:top}
.legal th{color:var(--doux);font-weight:600;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
@media (max-width:420px){ .page{padding-inline:16px} .carte{padding:24px} h1{font-size:32px;line-height:38px} }
/* WEB4c : formulaires de la page Watchlists (sans script), sur une ligne qui passe a la ligne au telephone */
.geste{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin:0 0 14px;padding:12px;background:var(--carte);border:1px solid var(--trait);border-radius:6px}
.geste label{display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--doux);min-width:0;max-width:100%}
.geste label.case-a-cocher{flex-direction:row;align-items:center;gap:8px;min-height:40px}
.geste input:not([type="checkbox"]),.geste select{min-height:40px;padding:6px 10px;border-radius:8px;border:1px solid var(--trait);background:var(--fond);color:var(--texte);font:inherit;max-width:100%}
.geste select{width:min(100%,28em)}
.geste .bouton{width:auto;min-height:40px;padding:8px 18px;background:var(--cyan);color:var(--fond)}
/* FS1a : page Filet en cartes : rien ne defile a droite sur telephone. */
.fp-liste{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.fp-liste li{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;background:var(--carte);border:1px solid var(--trait);border-radius:6px;min-width:0}
.fp-liste input[type=checkbox]{width:22px;height:22px;flex:none;margin-top:2px}
.fp-corps{min-width:0;overflow-wrap:anywhere}
.fp-corps a{color:var(--texte);font-weight:600}
.fp-pre{white-space:pre-line;overflow-wrap:anywhere}
.fp-barre{position:sticky;bottom:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;background:var(--fond)}
.fp-barre .bouton{width:auto;min-height:40px;padding:8px 18px;background:var(--cyan);color:var(--fond)}
.fp-commentaire{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;font-size:14px;color:var(--doux)}
.fp-commentaire textarea{width:100%;box-sizing:border-box;padding:6px 10px;border-radius:8px;border:1px solid var(--trait);background:var(--fond);color:var(--texte);font:inherit}
details.geste summary{width:100%;cursor:pointer;color:var(--texte)}
.fp-pages{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
td .geste{margin:0;padding:0;background:none;border:0}
