/* Achats 360 · thème « salle de contrôle » : nuit verte, filet néon, cartes vitrées. Lisible au soleil sur téléphone
   (contrastes AA), animations coupées si l'utilisateur le demande. */
@font-face { font-family: 'Saira'; src: url('/static/fonts/saira.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url('/static/fonts/atkinson-next.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JBM'; src: url('/static/fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }
:root { --nuit: #0b0816; --nuit2: #140d26; --verre: rgba(32, 22, 58, .62); --bord: rgba(255, 200, 97, .18); --bord2: rgba(255, 200, 97, .35); --texte: #f1ecfb; --doux: #b3a9cf; --neon: #ffc861; --cyan: #b58cf2; --ambre: #f2c14e; --rouge: #ff6b6b; --violet: #b58cf2; --r: 16px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nuit); background-image: radial-gradient(1200px 700px at 80% -10%, rgba(255, 200, 97, .13), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(181, 140, 242, .10), transparent 60%), linear-gradient(rgba(255, 200, 97, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 200, 97, .035) 1px, transparent 1px); background-size: auto, auto, 44px 44px, 44px 44px; background-attachment: fixed; color: var(--texte); font-family: 'Atkinson', system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
h1, h2, h3, .k-v, .marque b, .btn { font-family: 'Saira', 'Atkinson', sans-serif; }
h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 17px; margin: 0 0 12px; } h3 { font-size: 15px; margin: 0; }
a { color: var(--neon); } a:hover { color: #ffe3a8; }
.mono { font-family: 'JBM', ui-monospace, monospace; font-size: .92em; }
.doux { color: var(--doux); } .petit { font-size: 13px; } .vert { color: var(--neon); } .cyan { color: var(--cyan); } .ambre { color: var(--ambre); } .rouge { color: var(--rouge); }
.saut { position: absolute; left: -999px; } .saut:focus { left: 12px; top: 12px; z-index: 99; background: var(--neon); color: #00140e; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 10px 18px; background: linear-gradient(135deg, var(--neon), #e09a1f); color: #00140e; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 200, 97, .4), 0 8px 28px -10px rgba(255, 200, 97, .7); }
.btn:hover { filter: brightness(1.08); color: #00140e; }
.btn.fantome { background: transparent; color: var(--neon); box-shadow: inset 0 0 0 1px var(--bord2); } .btn.danger { background: linear-gradient(135deg, #ff8a8a, #e04848); color: #200; box-shadow: none; }
.btn.grand { padding: 14px 24px; font-size: 16px; } .btn.petit-b { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.lien { background: none; border: 0; color: var(--doux); cursor: pointer; font: inherit; text-decoration: underline; }
.carte { background: var(--verre); border: 1px solid var(--bord); border-radius: var(--r); padding: 18px 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 60px -30px rgba(0, 0, 0, .8); min-width: 0; }
.pile { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.h-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.flash { padding: 10px 14px; border-radius: 12px; margin: 0 0 14px; border: 1px solid var(--bord2); background: rgba(255, 200, 97, .1); } .flash.erreur { border-color: rgba(255, 107, 107, .5); background: rgba(255, 107, 107, .1); }
input, select, textarea { font: inherit; color: var(--texte); background: rgba(9, 6, 20, .7); border: 1px solid var(--bord2); border-radius: 10px; padding: 9px 11px; width: 100%; min-width: 0; }
input[type=checkbox] { width: auto; accent-color: var(--neon); }
label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--doux); }
label.case { flex-direction: row; align-items: center; gap: 8px; color: var(--texte); }
fieldset { border: 1px solid var(--bord); border-radius: 12px; padding: 10px 14px; margin: 0; } legend { color: var(--doux); font-size: 13px; padding: 0 6px; }
.form-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 18px; } .form-g h2, .form-g .plein, .form-g .actions { grid-column: 1 / -1; }
.actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; max-height: 210px; overflow: auto; }
.ligne-f { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .ligne-f select { width: auto; } .court { width: 76px !important; } .moyen { width: 150px !important; }
.t { width: 100%; border-collapse: collapse; font-size: 14px; } .t th { text-align: left; color: var(--doux); font-weight: 600; font-size: 12.5px; padding: 8px 10px; border-bottom: 1px solid var(--bord2); } .t td { padding: 9px 10px; border-bottom: 1px solid rgba(255, 200, 97, .08); vertical-align: top; } .t .n { text-align: right; } .t tr.eteinte { opacity: .55; }
.carte:has(> .t), .carte > .t { overflow-x: auto; display: block; }
/* barre et menu */
.barre { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 10px 18px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(11, 8, 22, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bord); }
.barre::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--neon), var(--cyan), transparent); opacity: .7; }
.marque { display: flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; } .marque svg { width: 34px; height: 34px; } .marque span { display: flex; flex-direction: column; line-height: 1.1; } .marque b { font-size: 17px; letter-spacing: .02em; } .marque small { color: var(--doux); font-size: 11.5px; }
.marque.grande svg { width: 52px; height: 52px; } .marque.grande b { font-size: 26px; }
.m-a { fill: none; stroke: rgba(255, 200, 97, .35); stroke-width: 2; } .m-b { fill: none; stroke: var(--neon); stroke-width: 2.6; stroke-linecap: round; } .m-c { fill: var(--neon); opacity: .9; }
.barre-d { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; } .direct { color: var(--neon); font-family: 'JBM', monospace; font-size: 12px; animation: pouls 2s infinite; }
.puce-demo { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11px; color: #2a1d00; background: var(--ambre); font-weight: 700; vertical-align: 1px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--bord2); background: transparent; flex-direction: column; justify-content: center; gap: 4px; padding: 0 10px; } .burger span { height: 2px; background: var(--neon); border-radius: 2px; }
.cote { position: fixed; top: 61px; bottom: 0; left: 0; width: 250px; overflow-y: auto; padding: 14px 10px 30px; border-right: 1px solid var(--bord); background: rgba(11, 8, 22, .7); backdrop-filter: blur(10px); z-index: 20; }
.cote .grp { margin: 14px 10px 6px; color: var(--doux); font-size: 11.5px; letter-spacing: .08em; text-transform: none; font-family: 'Saira'; }
.cote a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--texte); text-decoration: none; font-size: 14px; position: relative; }
.cote a svg { width: 19px; height: 19px; fill: none; stroke: var(--doux); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cote a:hover { background: rgba(255, 200, 97, .07); } .cote a[aria-current] { background: linear-gradient(90deg, rgba(255, 200, 97, .18), rgba(255, 200, 97, .02)); box-shadow: inset 2px 0 0 var(--neon); } .cote a[aria-current] svg { stroke: var(--neon); }
.bulle { margin-left: auto; min-width: 20px; height: 20px; border-radius: 99px; background: var(--rouge); color: #fff; font-size: 11.5px; display: grid; place-items: center; padding: 0 6px; }
.cote-bas { margin: 24px 10px 0; padding-top: 14px; border-top: 1px solid var(--bord); font-size: 13px; } .cote-bas small { color: var(--doux); }
.voile { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 19; }
.principal { margin-left: 250px; padding: 24px 28px 40px; min-width: 0; max-width: 1500px; }
.pied-admin { margin-top: 30px; color: var(--doux); font-size: 12px; }
.entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; } .entete .sur { margin: 0 0 6px; color: var(--neon); font-family: 'Saira'; font-size: 13px; } .entete .sous { margin: 8px 0 0; color: var(--doux); max-width: 780px; }
.entete-d { text-align: right; } .horloge { font-family: 'JBM', monospace; font-size: 34px; color: var(--neon); text-shadow: 0 0 18px rgba(255, 200, 97, .55); display: block; } .entete-d small { color: var(--doux); }
.filtres { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; } .filtres label { min-width: 170px; } .filtres label.case, .filtres label:has(input[type=checkbox]) { flex-direction: row; align-items: center; min-width: 0; color: var(--texte); }
/* indicateurs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; } .kpis.petits { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.kpi { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r); background: var(--verre); border: 1px solid var(--bord); text-decoration: none; color: var(--texte); }
a.kpi:hover { border-color: var(--bord2); transform: translateY(-1px); } a.kpi::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--neon), transparent); }
.k-l { color: var(--doux); font-size: 12.5px; } .k-v { font-size: 30px; line-height: 1.05; font-weight: 600; letter-spacing: -.01em; } .k-v small { font-size: 14px; color: var(--doux); font-weight: 400; } .k-v.petit { font-size: 22px; } .k-s { font-size: 12.5px; color: var(--doux); }
.k-s i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; } .p-cours { background: var(--cyan); } .p-retard { background: var(--ambre); } .p-inc { background: var(--rouge); }
.grille-cockpit { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; } .grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; } .grille-carte { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.jauges { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .jauge { width: 100%; } .j-fond { fill: none; stroke: rgba(255, 200, 97, .12); stroke-width: 12; stroke-linecap: round; } .j-v { fill: none; stroke-width: 12; stroke-linecap: round; filter: drop-shadow(0 0 6px currentColor); } .j-obj { stroke: #fff; stroke-width: 2.5; } .j-t { fill: var(--texte); font: 600 22px 'Saira'; } .j-l { fill: var(--doux); font: 11px 'Atkinson'; }
.alertes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .alertes a { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 11px; text-decoration: none; color: var(--texte); background: rgba(242, 193, 78, .07); border-left: 3px solid var(--ambre); } .alertes li.alerte a { background: rgba(255, 107, 107, .08); border-left-color: var(--rouge); } .alertes span { color: var(--doux); font-size: 12.5px; }
.niv { padding: 2px 8px; border-radius: 99px; font-size: 12px; } .niv.alerte { background: rgba(255, 107, 107, .18); color: #ffb3b3; } .niv.vigilance { background: rgba(242, 193, 78, .18); color: #ffe19a; }
/* graphiques et carte */
.g { width: 100%; height: auto; } .g-grille { stroke: rgba(255, 200, 97, .08); } .g-axe { fill: var(--doux); font: 11px 'JBM', monospace; } .g-cible { stroke: var(--ambre); stroke-dasharray: 5 5; }
.legende { color: var(--doux); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; } .legende i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; } .lg-c { background: var(--neon); border-radius: 50% !important; } .lg-d { background: var(--cyan); transform: rotate(45deg); } .lg-s { background: var(--rouge); border-radius: 50% !important; }
svg.ile { width: 100%; height: auto; display: block; } .c-ile { stroke: rgba(255, 200, 97, .55); stroke-width: 1.4; } .c-ile-lueur { fill: none; stroke: var(--neon); stroke-width: 6; opacity: .35; } .c-relief { fill: none; stroke: rgba(255, 200, 97, .08); stroke-dasharray: 2 6; }
.c-balayage { transform-origin: 47% 50%; transform-box: view-box; animation: balaie 9s linear infinite; }
.c-halo { fill: rgba(255, 200, 97, .16); stroke: rgba(255, 200, 97, .5); stroke-width: 1; animation: respire 3.6s ease-in-out infinite; } .c-point { fill: var(--neon); } .c-nom { fill: #e8e0fa; font: 11px 'Atkinson'; paint-order: stroke; stroke: #0b0816; stroke-width: 3px; }
.c-dech { fill: var(--cyan); } .c-verre { fill: #7bd35a; opacity: .8; } .c-ress { fill: var(--violet); } .plein { fill: var(--ambre); animation: clignote 1.4s infinite; } .c-sig { fill: var(--rouge); stroke: #fff; stroke-width: .8; } .c-sig.en_cours { fill: var(--ambre); }
svg.ile.compacte .c-nom { display: none; }
.epci h3 { margin-bottom: 2px; }
/* collecte, déchèteries, répartition */
.fil { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; } .fil::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 8px var(--c); }
.prog { display: inline-block; width: 110px; height: 7px; border-radius: 99px; background: rgba(255, 200, 97, .1); overflow: hidden; vertical-align: middle; } .prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--neon)); border-radius: 99px; }
.etat { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; white-space: nowrap; } .etat.fait { background: rgba(255, 200, 97, .15); color: #ffe3a8; } .etat.en_cours { background: rgba(181, 140, 242, .15); color: #dcc8ff; } .etat.prevu { background: rgba(147, 184, 173, .14); color: var(--doux); } .etat.retard { background: rgba(242, 193, 78, .16); color: #ffe19a; } .etat.incident { background: rgba(255, 107, 107, .16); color: #ffb3b3; }
.repart { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .repart li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; } .repart li > span:first-child i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; } .repart .prog { width: 100%; }
.cartes-pts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; } .pt .type { font-size: 12px; color: var(--doux); } .pt.decheterie { border-color: rgba(181, 140, 242, .3); }
.niveau-benne { position: relative; height: 70px; width: 60px; margin: 8px 0; border: 2px solid var(--bord2); border-top: 0; border-radius: 0 0 10px 10px; overflow: hidden; } .niveau-benne span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, var(--neon), rgba(255, 200, 97, .3)); } .niveau-benne.haut span { background: linear-gradient(0deg, var(--rouge), var(--ambre)); } .niveau-benne b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 14px 'Saira'; text-shadow: 0 1px 3px #000; }
.compteur { color: var(--neon); font-size: 13.5px; } .rapport h2 { margin-top: 18px; color: var(--neon); } .actions-demo { display: flex; gap: 12px; flex-wrap: wrap; }
/* pages d'accès */
body.seul { min-height: 100vh; display: grid; place-items: center; padding: 20px; } .porte { width: min(440px, 100%); display: flex; flex-direction: column; gap: 22px; align-items: center; } .porte-f { width: 100%; display: flex; flex-direction: column; gap: 14px; }
/* site des habitants */
body.site { min-height: 100vh; display: flex; flex-direction: column; } body.site main { flex: 1; width: min(1180px, 100%); margin: 0 auto; padding: 20px 18px 40px; }
.s-tete { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 22px; padding-top: max(14px, env(safe-area-inset-top)); border-bottom: 1px solid var(--bord); background: rgba(11, 8, 22, .8); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.s-tete nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; } .s-tete nav a { padding: 7px 12px; border-radius: 10px; text-decoration: none; color: var(--texte); font-size: 14px; } .s-tete nav a[aria-current] { background: rgba(255, 200, 97, .14); color: var(--neon); }
.heros { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 30px 0 10px; } .heros h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1; } .heros .sur { color: var(--neon); font-family: 'Saira'; margin: 0 0 10px; } .heros .sous { font-size: 18px; color: var(--doux); max-width: 520px; }
.degrade { background: linear-gradient(90deg, var(--neon), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; } .heros-b { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 12px; } .heros-c svg.ile { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(255, 200, 97, .18)); }
.s-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; } .s-c { text-decoration: none; color: var(--texte); } .s-c:hover { border-color: var(--bord2); } .s-n { font: 700 34px 'Saira'; color: var(--neon); opacity: .7; } .s-c p { color: var(--doux); margin: 4px 0 0; }
.filieres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; } .filieres li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(9, 6, 20, .5); border-left: 3px solid var(--c); } .filieres span { color: var(--doux); font-size: 13px; }
.s-page { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; } .s-page > h1 { margin-top: 12px; } .s-page .sous { color: var(--doux); margin: 0; }
.jours-l { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-direction: column; gap: 10px; } .jours-l li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(9, 6, 20, .5); border-left: 4px solid var(--c); } .jours-l span { color: var(--neon); font-family: 'Saira'; text-transform: none; }
.pts { padding-left: 18px; } .succes { border-color: rgba(255, 200, 97, .5); } .texte h2 { margin-top: 16px; color: var(--neon); }
.s-pied { border-top: 1px solid var(--bord); padding: 18px 22px; padding-bottom: max(18px, env(safe-area-inset-bottom)); color: var(--doux); font-size: 13px; text-align: center; } .s-pied p { margin: 4px 0; }
@keyframes pouls { 50% { opacity: .45; } } @keyframes respire { 50% { opacity: .55; } } @keyframes clignote { 50% { opacity: .35; } } @keyframes balaie { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .grille-cockpit, .grille-carte { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .burger { display: flex; } .cote { transform: translateX(-105%); transition: transform .25s; width: min(290px, 86vw); top: 0; padding-top: max(70px, calc(env(safe-area-inset-top) + 60px)); z-index: 25; background: rgba(11, 8, 22, .97); } html.menu-ouvert .cote { transform: none; }
  .principal { margin-left: 0; padding: 18px 16px 30px; } .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .kpi { padding: 12px; } .grille-2, .heros, .s-trois { grid-template-columns: 1fr; } .barre-d .direct { display: none; } .marque small { display: none; } .k-v { font-size: 26px; } .horloge { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { body { background: #fff; color: #000; } .barre, .cote, .pied-admin, .entete .btn, .burger { display: none !important; } .principal { margin: 0; padding: 0; } .carte { background: #fff; border: 0; box-shadow: none; backdrop-filter: none; color: #000; } .rapport h2 { color: #0a6; } .g-axe { fill: #333; } }
/* Achats 360 · frise, échéancier, familles, veille */
.frise { padding: 6px 0; } .fr-barre { display: block; height: 10px; border-radius: 99px; background: rgba(255, 200, 97, .12); overflow: hidden; } .fr-barre i { display: block; height: 100%; background: linear-gradient(90deg, #b58cf2, #ffc861); box-shadow: 0 0 14px rgba(255, 200, 97, .6); } .fr-l { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--doux); } .fr-l .centre { text-align: center; } .fr-l .droite { text-align: right; } .fr-l b { color: var(--texte); }
.gantt { display: flex; flex-direction: column; gap: 4px; } .g-mois { position: relative; height: 18px; margin-left: 38%; margin-right: 110px; font: 11px 'JBM', monospace; color: var(--doux); } .g-mois span { position: absolute; transform: translateX(-10%); white-space: nowrap; }
.g-l { display: grid; grid-template-columns: 38% minmax(0, 1fr) 110px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255, 200, 97, .07); } .g-nom { color: var(--texte); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .g-nom small { color: var(--doux); }
.g-piste { position: relative; height: 22px; border-radius: 6px; background: rgba(255, 200, 97, .05); } .g-piste i { position: absolute; left: 0; top: 7px; height: 8px; border-radius: 99px; } .g-piste b { position: absolute; top: 2px; transform: translateX(-50%); font: 11px 'JBM', monospace; background: var(--nuit); padding: 1px 5px; border-radius: 6px; border: 1px solid var(--bord2); } .g-piste b.urgent { border-color: var(--rouge); color: #ffb3b3; } .g-m { text-align: right; font-size: 12px; color: var(--doux); }
.fam { border-top: 3px solid var(--c); display: flex; flex-direction: column; gap: 6px; } .fam .prog { width: 100%; }
.etoile { background: none; border: 0; font-size: 20px; color: rgba(255, 200, 97, .3); cursor: pointer; } .etoile.on { color: var(--neon); text-shadow: 0 0 10px rgba(255, 200, 97, .8); }
.s-consult { display: flex; flex-direction: column; gap: 10px; } .s-consult a { text-decoration: none; color: var(--texte); }
@media (max-width: 900px) { .g-l { grid-template-columns: 1fr; } .g-mois { display: none; } }
@media (min-width: 901px) { .kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } } .gantt { overflow: hidden; }
