/* v14 — Rapport Shift + Pilotage Pareto (maquette PDF "Plan d'action simplifié").
   Every rule is scoped to .v14s (Rapport Shift page root) or .v14p (Pareto page root),
   classes set by v14-shift.js. */

/* ============ RAPPORT SHIFT ============ */
html body main .v14s{--v14-o:#ff6a13;--v14-k:#0a0a0b;--v14-l:#e5e5e5;--v14-m:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace}

/* --- black "RAPPORT PCTOP" band --- */
html body main .v14s .v14s-pctop{background:var(--v14-k)!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:16px 16px 18px!important}
html body main .v14s .v14s-pctop h3{color:#fff!important;font-size:13px!important;font-weight:800!important;letter-spacing:.08em!important}
html body main .v14s .v14s-pctop h3::first-letter{color:var(--v14-o)}
html body main .v14s .v14s-pctop a{color:#fff!important;border-color:#52525b!important;background:transparent!important;font-weight:700;border-radius:0!important}
html body main .v14s .v14s-pctop a:hover{border-color:#fff!important}
html body main .v14s .v14s-pctop label{border:1px dashed #52525b!important;background:transparent!important;border-radius:0!important;padding:20px!important}
html body main .v14s .v14s-pctop label:hover{border-color:var(--v14-o)!important;background:#141416!important}
html body main .v14s .v14s-pctop label>span:first-child{color:#fff!important;font-weight:700;font-size:14px!important}
html body main .v14s .v14s-pctop label>span+span{color:#a1a1aa!important;font-size:11px!important}

/* --- black "CYCLE DU" band --- */
html body main .v14s .gmao-shf-cycle{background:var(--v14-k)!important;border:0!important;border-radius:0!important;padding:12px 16px!important;margin-bottom:16px!important;gap:10px 16px!important;color:#fff}
html body main .v14s .gmao-shf-cycle>h3{color:#fff!important;font-size:13px!important;font-weight:800!important;letter-spacing:.08em!important;gap:12px!important;display:flex!important;align-items:center!important}
html body main .v14s .gmao-shf-cycle>h3>svg{display:inline-block!important;color:var(--v14-o)!important;width:18px;height:18px}
html body main .v14s .gmao-shf-cycle>h3>button[title^="Jour"]{width:44px;height:44px;display:inline-grid;place-items:center;background:transparent!important;border:1px solid #3f3f46!important;color:#fff!important;font-size:20px!important;font-weight:500!important;border-radius:0!important;padding:0!important}
html body main .v14s .gmao-shf-cycle>h3>button[title^="Jour"]:hover{border-color:#fff!important}
html body main .v14s .gmao-shf-cycle>h3>label{display:inline-block!important;color:var(--v14-o)!important;font-size:22px!important;font-weight:800!important;letter-spacing:.01em!important;text-decoration:none!important;width:auto!important;white-space:nowrap}
html body main .v14s .gmao-shf-cycle>h3>button[title^="Revenir"]{background:var(--v14-o)!important;border:0!important;color:#fff!important;font-size:12px!important;font-weight:800!important;padding:6px 10px!important;border-radius:0!important;letter-spacing:.02em}
html body main .v14s .gmao-shf-cycle>h3>button[title^="Revenir"]:hover{background:#e85d0c!important}
html body main .v14s .gmao-shf-cycle .gmao-shf-inc>summary{background:transparent!important;border:1px solid #7c2d12!important;color:#fdba74!important;border-radius:0!important;font-size:10.5px!important}
html body main .v14s .gmao-shf-cycle .gmao-shf-inc>div{border-radius:0!important;color:#111}
html body main .v14s .gmao-shf-cycle>span.text-green-700{color:#4ade80!important}
html body main .v14s .gmao-shf-mode{background:transparent!important;border:1px solid #3f3f46!important;border-radius:0!important;padding:0!important}
html body main .v14s .gmao-shf-mode>button{border-radius:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#fff!important;font-size:13px!important;font-weight:700!important;padding:0 14px!important;height:40px}
html body main .v14s .gmao-shf-mode>button.text-primary{background:var(--v14-o)!important;color:#fff!important}
html body main .v14s .gmao-shf-mode+span{color:#e4e4e7!important;font:500 13px/1 var(--v14-m)!important;letter-spacing:.02em}

/* --- shift cards --- */
html body main .v14s .gm-shift-grid{gap:16px!important}
html body main .v14s .gmao-shift-card{border-radius:0!important;border-color:var(--v14-l)!important}
html body main .v14s .gmao-shift-card *{border-radius:0!important}
html body main .v14s .gmao-shift-card>div:first-child{height:4px!important}
html body main .v14s .gmao-shift-card>div:first-child[style*="249, 115, 22"]{background:var(--v14-o)!important}
html body main .v14s .gmao-shift-card>div:first-child[style*="17, 24, 39"]{background:var(--v14-k)!important}
html body main .v14s .gmao-shift-card.is-empty{background:#fafafa!important;border:1px dashed #d4d4d8!important}
html body main .v14s .gmao-shift-card.is-empty>div:first-child{opacity:1!important;background:#a1a1aa!important;height:3px!important}
html body main .v14s .gmao-shift-card.is-empty svg{display:none}
html body main .v14s .gmao-shift-card>.flex-1>.flex.items-start>div:first-child{font-size:14px!important;font-weight:800!important;color:var(--v14-k)!important}
html body main .v14s .gmao-shift-card .text-center>div:first-child{font-size:11px!important;font-weight:700!important;letter-spacing:.1em!important;color:#3f3f46!important}
html body main .v14s .gmao-shift-card .text-center>div:nth-child(2){font-family:var(--v14-m)!important;font-size:30px!important;font-weight:700!important;letter-spacing:-.01em!important}
html body main .v14s .gmao-shift-card .text-center>div:nth-child(3){font-family:var(--v14-m)!important;font-size:12px!important;color:#52525b!important}
html body main .v14s .gmao-shift-card .flex[style*="margin-top: 16px"]>div{padding:10px 6px!important}
html body main .v14s .gmao-shift-card .flex[style*="margin-top: 16px"]>div[style*="243, 244, 246"]{background:#f4f4f5!important;border-color:#f4f4f5!important}
html body main .v14s .gmao-shift-card .flex[style*="margin-top: 16px"]>div[style*="236, 253, 245"]{background:#ecfdf3!important;border-color:#86efac!important}
html body main .v14s .gmao-shift-card .flex[style*="margin-top: 16px"]>div>div:first-child{font-size:13.5px!important}
html body main .v14s .gmao-shift-card .flex[style*="margin-top: 16px"]>div>div+div{font-family:var(--v14-m)!important;font-size:11px!important}
html body main .v14s .gmao-shift-card span[style*="border-radius: 50%"]{border-radius:0!important;width:7px!important;height:7px!important}
html body main .v14s .gmao-shift-card span[style*="border-radius: 50%"][style*="245, 158, 11"]{background:#f59e0b!important}
html body main .v14s .gmao-shift-card span[style*="text-transform: uppercase"][style*="243, 244, 246"]{background:#f4f4f5!important;color:#3f3f46!important;font-size:10px!important;padding:4px 7px!important}
html body main .v14s .gmao-shift-card span[style*="text-transform: uppercase"][style*="17, 24, 39"]{background:var(--v14-k)!important;font-size:10px!important;padding:4px 7px!important}
html body main .v14s .gmao-shift-card .flex.items-center[style*="border-top"]>span:first-child{width:24px!important;height:24px!important;background:var(--v14-k)!important}
html body main .v14s .gmao-shift-card .flex.items-center[style*="border-top"] .truncate{font-size:13px!important;color:#27272a!important}
html body main .v14s .gm-shift-cell>button:hover .gmao-shift-card{border-color:#a1a1aa!important}
html body main .v14s .gm-shift-cell>button{box-shadow:none!important}

/* --- RELÈVE DE POSTE --- */
html body main .v14s .gmao-rl{border-radius:0!important;border-color:var(--v14-l)!important;margin-top:8px!important}
html body main .v14s .gmao-rl-h{padding:16px 16px 12px!important;border-bottom:0!important;align-items:center!important}
html body main .v14s .gmao-rl-ht .gmao-dk-ic{color:var(--v14-o)!important}
html body main .v14s .gmao-rl-ht b{font-size:14px!important;font-weight:800!important;letter-spacing:.08em!important}
html body main .v14s .gmao-rl-n{border-radius:0!important;font-size:11.5px!important}
html body main .v14s .gmao-rl-n.is-on{background:var(--v14-o)!important}
html body main .v14s .gmao-rl-sub{color:#52525b!important;font-size:12px!important}
html body main .v14s .gmao-rl-list{padding:0 16px 14px!important;gap:12px!important}
@media (min-width:1100px){html body main .v14s .gmao-rl-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:1600px){html body main .v14s .gmao-rl-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
html body main .v14s .gmao-rl-it{border-radius:0!important;border:1px solid var(--v14-l)!important;border-left:4px solid var(--v14-o)!important;padding:14px 14px 14px 16px!important;gap:5px!important}
html body main .v14s .gmao-rl-it.is-old{border-left-color:#dc2626!important}
html body main .v14s .gmao-rl-name b{font-size:15px!important;font-weight:800!important;display:inline-flex;align-items:center;gap:6px}
html body main .v14s .gmao-rl-x{background:var(--v14-k)!important;color:#fff!important;font:700 10.5px/1 var(--v14-m)!important;padding:3px 5px!important;border-radius:0!important;font-style:normal}
html body main .v14s .gmao-rl-name span{font-size:13px!important;color:#3f3f46!important}
html body main .v14s .gmao-rl-age{border-radius:0!important;background:#fef3c7!important;color:#b45309!important;font:700 12px/1.2 var(--v14-m)!important;padding:4px 7px!important}
html body main .v14s .gmao-rl-it.is-old .gmao-rl-age{background:#fee2e2!important;color:#dc2626!important}
html body main .v14s .gmao-rl-meta{font:500 12px/1.4 var(--v14-m)!important;color:#3f3f46!important;margin-bottom:2px}
html body main .v14s .gmao-rl-l{grid-template-columns:84px 1fr!important;font-size:13.5px!important;color:#18181b!important;gap:10px!important}
html body main .v14s .gmao-rl-l small{font-size:10px!important;font-weight:700!important;letter-spacing:.08em!important;color:#71717a!important}
html body main .v14s .gmao-rl-todo{background:#fff1e6!important;border-radius:0!important;color:#dc2626!important;font-weight:800!important;padding:8px!important;margin:4px 0 0!important}
html body main .v14s .gmao-rl-todo small{color:#ea580c!important}
html body main .v14s .gmao-rl-todo.is-none{background:#f4f4f5!important;color:#52525b!important;font-weight:500!important}
html body main .v14s .gmao-rl-todo.is-none small{color:#a1a1aa!important}
html body main .v14s .gmao-rl-acts{margin-top:auto!important;padding-top:10px;display:grid!important;grid-template-columns:auto 1fr;gap:8px!important}
html body main .v14s .gmao-rl-acts>button{min-height:48px!important;border-radius:0!important;font-size:14px!important;font-weight:800!important;white-space:nowrap;padding:0 14px!important}
html body main .v14s .gmao-rl-ok{background:#16a34a!important;border-color:#16a34a!important}
html body main .v14s .gmao-rl-ok:hover{background:#15803d!important}
html body main .v14s .gmao-rl-open{border-color:#d4d4d8!important}
html body main .v14s .gmao-rl-open:hover{border-color:var(--v14-k)!important;background:#fff!important}
html body main .v14s .gmao-rl-form input{border-radius:0!important;border:1px solid var(--v14-o)!important;height:48px!important}
html body main .v14s .gmao-rl-form label{font-size:14px!important;font-weight:800!important}
html body main .v14s .gmao-rl-form{border-top:0!important}
html body main .v14s .gmao-rl-fa{display:grid!important;grid-template-columns:1fr auto;gap:8px}
html body main .v14s .gmao-rl-fa>button{min-height:48px!important;border-radius:0!important;font-size:14px!important}
html body main .v14s .gmao-rl-no{border:1px solid #d4d4d8!important;color:#18181b!important;font-weight:800!important}
html body main .v14s .gmao-rl-chip{border-radius:0!important}
html body main .v14s .gmao-rl-more{margin:4px 16px 16px!important;width:calc(100% - 32px)!important;background:#fff!important;border:1px solid #d4d4d8!important;border-radius:0!important;min-height:48px!important;font-size:14px!important;font-weight:700!important}
html body main .v14s .gmao-rl-more:hover{border-color:var(--v14-k)!important}

/* --- mobile (a36 / a37) --- */
@media (max-width:767px){
  html body main .v14s .gmao-shf-cycle{padding:12px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}
  html body main .v14s .gmao-shf-cycle>h3{display:grid!important;grid-template-columns:44px 1fr 44px;gap:4px 8px!important;font-size:0!important;align-items:center!important;width:100%}
  html body main .v14s .gmao-shf-cycle>h3>svg{display:none!important}
  html body main .v14s .gmao-shf-cycle>h3>button[title="Jour précédent"]{grid-column:1;grid-row:1}
  html body main .v14s .gmao-shf-cycle>h3>button[title="Jour suivant"]{grid-column:3;grid-row:1}
  html body main .v14s .gmao-shf-cycle>h3>label{grid-column:2;grid-row:1;text-align:center;font-size:19px!important;line-height:1.15;display:block!important;width:auto!important;min-width:0}
  html body main .v14s .gmao-shf-cycle>h3>label::before{content:"Cycle du";display:block;color:#d4d4d8;font-size:11px;font-weight:700;letter-spacing:.1em;margin-bottom:2px}
  html body main .v14s .gmao-shf-cycle>h3>button[title^="Revenir"]{grid-column:2;grid-row:2;justify-self:center;font-size:11px!important;padding:4px 8px!important}
  html body main .v14s .gmao-shf-cycle>details,html body main .v14s .gmao-shf-cycle>span{align-self:flex-start;order:3}
  html body main .v14s .gmao-shf-cycle>div:last-child{display:flex!important;justify-content:space-between;flex-wrap:nowrap!important;width:100%;order:2}
  html body main .v14s .gmao-shf-mode>button{height:40px!important;font-size:13px!important;padding:0 12px!important}
  html body main .v14s .gmao-shf-mode+span{font-size:12px!important}
  html body main .v14s .gm-shift-grid{gap:12px!important}
  html body main .v14s .gmao-shift-card>.flex-1{padding:14px 16px!important}
  html body main .v14s .gmao-shift-card .text-center[style*="margin-top: 16px"]{display:block!important;text-align:center!important;margin-top:14px!important}
  html body main .v14s .gmao-shift-card .text-center[style*="margin-top: 16px"]>div:nth-child(2){font-size:28px!important}
  html body main .v14s .gmao-shift-card .flex[style*="margin-top: 16px"]{margin-top:14px!important}
  html body main .v14s .gmao-rl-h{flex-direction:column;align-items:flex-start!important}
  html body main .v14s .gmao-rl-list{padding:0 12px 12px!important}
  html body main .v14s .gmao-rl-acts{grid-template-columns:1fr 1fr}
  html body main .v14s .gmao-rl-acts>button{font-size:13.5px!important;padding:0 8px!important}
  html body main .v14s .gmao-rl-more{margin:4px 12px 12px!important;width:calc(100% - 24px)!important}
}

/* ============ PILOTAGE PARETO ============ */
html body main .v14p{--v14-o:#ff6a13;--v14-k:#0a0a0b;--v14-l:#e5e5e5;--v14-r:#dc2626;--v14-m:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;padding:0!important;gap:0}
html body main .v14p.space-y-6>:not([hidden])~:not([hidden]){margin-top:16px!important}
html body main .v14p *{border-radius:0!important}

/* --- black toolbar --- */
html body main .v14p .gmao-pareto-bar{background:var(--v14-k)!important;border:0!important;padding:12px 14px!important;gap:10px!important;position:sticky}
html body main .v14p .gmao-pareto-bar>div:first-child{background:transparent!important;border:1px solid #3f3f46;padding:0!important}
html body main .v14p .gmao-pareto-bar>div:first-child>button{color:#d4d4d8!important;background:transparent!important;height:40px;padding:0 14px!important;font-size:13px!important;font-weight:700!important;box-shadow:none!important}
html body main .v14p .gmao-pareto-bar>div:first-child>button.bg-gray-900{background:var(--v14-o)!important;color:#fff!important}
html body main .v14p .gmao-pareto-bar>div:first-child>button:hover{color:#fff!important}
html body main .v14p .gmao-pareto-bar>div:nth-child(2){background:transparent!important;border:0!important;padding:0!important;gap:8px!important}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>button[title^="Période"]{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid #3f3f46!important;color:#fff!important;background:transparent!important;padding:0!important}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>button[title^="Période"]:hover{border-color:#fff!important}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label>svg{display:none}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label{min-width:0!important;padding:0 6px!important}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label>span{color:#fff!important;font-size:19px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.01em}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>button:not([title]){height:42px;border:1px solid #3f3f46!important;color:#fff!important;background:transparent!important;font-size:13px!important;font-weight:700!important;padding:0 16px!important;margin-left:4px}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>button:not([title]):hover{border-color:#fff!important}
html body main .v14p .gmao-pareto-bar>div:nth-child(3)>div{background:transparent!important;border:1px solid #3f3f46!important;padding:0 10px 0 12px!important;height:42px}
html body main .v14p .gmao-pareto-bar>div:nth-child(3)>div>svg{display:none}
html body main .v14p .gmao-pareto-bar>div:nth-child(3)>div.v14p-on{border-color:var(--v14-o)!important}
html body main .v14p .gmao-pareto-bar select{color:#fff!important;background:transparent!important;font-size:13px!important;font-weight:700!important;border:0!important;height:40px!important;min-height:40px!important;color-scheme:dark}
html body main .v14p .gmao-pareto-bar select option{color:#111;background:#fff}

/* --- summary / breadcrumb line --- */
html body main .v14p .v14p-sum{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;font-size:13px;color:#3f3f46;padding:2px 2px 0;margin-top:10px!important}
html body main .v14p .v14p-sum b{font-family:var(--v14-m);font-weight:700;color:var(--v14-k);font-size:14px}
html body main .v14p .v14p-sum i{display:inline-block;width:10px;height:10px;background:var(--v14-o);margin-right:6px;vertical-align:-1px}
html body main .v14p .v14p-sum .v14p-hint{color:#52525b}
html body main .v14p .v14p-crumb{display:inline-flex;align-items:center;gap:10px}
html body main .v14p .v14p-crumb button.v14p-all{font-weight:800;color:var(--v14-k);text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0;cursor:pointer;font-size:13px}
html body main .v14p .v14p-crumb .v14p-cur{display:inline-flex;align-items:center;gap:8px;background:var(--v14-k);color:#fff;font-weight:800;font-size:12px;padding:6px 10px}
html body main .v14p .v14p-crumb .v14p-cur button{background:none;border:0;color:#fff;cursor:pointer;padding:0;font-size:14px;line-height:1}

/* --- chart card --- */
html body main .v14p .v14p-chart{border:1px solid var(--v14-l)!important;box-shadow:none!important;padding:14px 16px 8px!important;margin-top:12px!important}
html body main .v14p .v14p-chart>h3{font-size:15px!important;font-weight:800!important;color:var(--v14-k)!important;margin-bottom:6px!important}
html body main .v14p .v14p-chart>h3>svg,html body main .v14p .v14p-chart>h3>span.ml-auto{display:none!important}
html body main .v14p .v14p-legend{margin-left:auto;display:inline-flex;gap:14px;align-items:center;font-size:12px;font-weight:500;color:#3f3f46}
html body main .v14p .v14p-legend span{display:inline-flex;align-items:center;gap:6px}
html body main .v14p .v14p-legend i{display:inline-block;width:10px;height:10px}
html body main .v14p .v14p-legend .l-line{width:14px;height:2px;background:var(--v14-k)}
html body main .v14p .v14p-legend .l-dash{width:14px;height:0;border-top:2px dashed var(--v14-r);background:none}
html body main .v14p .v14p-legend .l-80{color:var(--v14-r)}
html body main .v14p .v14p-chart .recharts-legend-wrapper,html body main .v14p .v14p-chart .recharts-cartesian-grid{display:none}
html body main .v14p .v14p-chart .recharts-label{display:none}
html body main .v14p .v14p-chart .recharts-reference-line .recharts-label{display:inline}
html body main .v14p .v14p-chart .recharts-yAxis .recharts-cartesian-axis-tick text{font-family:var(--v14-m);font-size:10.5px}
html body main .v14p .v14p-chart .recharts-cartesian-axis-line,html body main .v14p .v14p-chart .recharts-cartesian-axis-tick-line{stroke:transparent}
html body main .v14p .v14p-chart .recharts-xAxis .recharts-cartesian-axis-line{stroke:#e5e5e5}
html body main .v14p .v14p-chart .recharts-bar-rectangle path{rx:0}

/* --- "Causes priorisées" table --- */
html body main .v14p .v14p-tbl{border:1px solid var(--v14-l)!important;box-shadow:none!important}
html body main .v14p .v14p-tbl>div:first-child{border-bottom:0!important;padding:14px 16px!important}
html body main .v14p .v14p-tbl>div:first-child>h3{font-size:15px!important;font-weight:800!important;color:var(--v14-k)!important}
html body main .v14p .v14p-tbl>div:first-child>h3>svg{display:none}
html body main .v14p .v14p-tbl>div:first-child>span.text-xs{display:none}
html body main .v14p .v14p-tog{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--v14-r);background:none;border:0;cursor:pointer;padding:0}
html body main .v14p .v14p-tog i{width:11px;height:11px;background:var(--v14-r);display:inline-block}
html body main .v14p .v14p-tog.is-all{color:#52525b}
html body main .v14p .v14p-tog.is-all i{background:#a1a1aa}
html body main .v14p .v14p-tbl table{font-size:13.5px}
html body main .v14p .v14p-tbl thead{background:#fafafa!important}
html body main .v14p .v14p-tbl thead th{text-transform:uppercase!important;font-size:10.5px!important;font-weight:700!important;letter-spacing:.1em!important;color:#3f3f46!important;padding:10px 12px!important;text-align:left!important;border-bottom:1px solid var(--v14-l)}
html body main .v14p .v14p-tbl th:nth-child(9),html body main .v14p .v14p-tbl td:nth-child(9){display:none}
html body main .v14p .v14p-tbl tbody tr{border-top:1px solid #f0f0f0!important;background:#fff}
html body main .v14p .v14p-tbl tbody td{padding:12px!important;text-align:left!important;vertical-align:middle!important}
html body main .v14p .v14p-tbl tbody td:nth-child(1){font:700 13px var(--v14-m)!important;color:#52525b!important;border-left:4px solid transparent}
html body main .v14p .v14p-tbl tbody td:nth-child(2)>div:first-child{line-height:1.3;margin-bottom:2px;font-size:14px;font-weight:800;color:var(--v14-k)}
html body main .v14p .v14p-tbl tbody td:nth-child(2)>div+div{font-size:12px!important;color:#52525b!important}
html body main .v14p .v14p-tbl tbody td:nth-child(3){color:#18181b!important}
html body main .v14p .v14p-tbl tbody td:nth-child(4){font:700 14px var(--v14-m)!important;color:var(--v14-k)!important}
html body main .v14p .v14p-tbl tbody td:nth-child(5)[data-v14d]{font-size:0!important}
html body main .v14p .v14p-tbl tbody td:nth-child(5)[data-v14d]::after{content:attr(data-v14d);font:700 14px var(--v14-m);color:var(--v14-k);white-space:pre}
html body main .v14p .v14p-tbl tbody td:nth-child(8){font:500 13.5px var(--v14-m)!important;color:var(--v14-k)!important}
html body main .v14p .v14p-tbl tbody td:nth-child(7) span.bg-blue-50{display:inline-block;min-width:36px;text-align:center;background:#eff6ff!important;border:1px solid #93c5fd!important;color:#1d4ed8!important;font:700 13px/1 var(--v14-m)!important;padding:6px 8px!important}
html body main .v14p .v14p-tbl tbody tr.bg-orange-50\/30{background:#fdf1f1!important}
html body main .v14p .v14p-tbl tbody tr.bg-orange-50\/30:hover{background:#fbe5e5!important}
html body main .v14p .v14p-tbl tbody tr.bg-orange-50\/30 td:nth-child(1){border-left-color:var(--v14-r);color:var(--v14-r)!important}
html body main .v14p .v14p-tbl tbody tr.bg-orange-50\/30 td:nth-child(2)>div:first-child{color:#b91c1c;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
html body main .v14p .v14p-tbl tbody tr.bg-orange-50\/30 td:nth-child(5)[data-v14d]::after{color:#b91c1c}
html body main .v14p .v14p-tbl.v14p-only80 tbody tr:not(.bg-orange-50\/30):not(:only-child){display:none}
html body main .v14p .v14p-tbl>button.w-full{display:none!important}
html body main .v14p .v14p-more{margin:12px 16px 16px;height:44px;padding:0 16px;background:#fff;border:1px solid #d4d4d8;font-size:13.5px;font-weight:800;color:var(--v14-k);cursor:pointer}
html body main .v14p .v14p-more:hover{border-color:var(--v14-k)}
/* anomalies cell */
html body main .v14p td.v14p-an>*:not(.v14p-anx){display:none!important}
html body main .v14p .v14p-anx{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
html body main .v14p .v14p-anx .r{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html body main .v14p .v14p-ok{background:#dcfce7;color:#15803d;font:700 12px/1 var(--v14-m);padding:4px 6px}
html body main .v14p .v14p-nok{background:var(--v14-o);color:#fff;font-size:12px;font-weight:800;padding:4px 8px}
html body main .v14p .v14p-5p{background:none;border:0;padding:0;font-size:12.5px;font-weight:800;color:var(--v14-k);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html body main .v14p .v14p-act{border-left:3px solid var(--v14-k);background:#f4f4f5;padding:5px 10px;font-size:13px;color:#18181b;width:100%;max-width:380px}
html body main .v14p .v14p-none{color:#a1a1aa;font-size:13px}

/* --- mobile list (a40 / a41) --- */
html body main .v14p .v14pm{display:none}
@media (max-width:767px){
  html body main .v14p .gmao-pareto-bar{padding:10px!important;gap:10px!important;margin:0 -16px!important;top:0}
  html body main .v14p .gmao-pareto-bar>div:first-child{display:grid!important;grid-template-columns:repeat(4,1fr)}
  html body main .v14p .gmao-pareto-bar>div:first-child>button{height:44px;font-size:14px!important}
  html body main .v14p .gmao-pareto-bar>div:nth-child(2){display:grid!important;grid-template-columns:44px 1fr 44px;gap:8px!important}
  html body main .v14p .gmao-pareto-bar>div:nth-child(2)>button[title^="Période"]{width:44px;height:44px}
  html body main .v14p .gmao-pareto-bar>div:nth-child(2)>button[title="Période précédente"]{grid-column:1;grid-row:1}
  html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label{grid-column:2;grid-row:1}
  html body main .v14p .gmao-pareto-bar>div:nth-child(2)>button[title="Période suivante"]{grid-column:3;grid-row:1}
  html body main .v14p .gmao-pareto-bar>div:nth-child(2)>button:not([title]){grid-column:1/-1;grid-row:2;margin:0}
  html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label>span{font-size:16px!important}
  html body main .v14p .gmao-pareto-bar>div:nth-child(3){display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
  html body main .v14p .gmao-pareto-bar>div:nth-child(3)>div{height:40px;min-width:0}
  html body main .v14p .gmao-pareto-bar select{max-width:100%!important;width:100%;font-size:13px!important}
  html body main .v14p .v14p-sum{font-size:13px;gap:4px 12px}
  html body main .v14p .v14p-sum .v14p-hint,html body main .v14p .v14p-sum .v14p-mach{display:none}
  html body main .v14p .v14p-chart,html body main .v14p .v14p-tbl{display:none!important}
  html body main .v14p .v14pm{display:flex;flex-direction:column;gap:8px;margin-top:10px!important}
}
html body main .v14p .v14pm-row{display:grid;grid-template-columns:22px 1fr auto;gap:2px 10px;align-items:center;padding:10px 12px 10px 10px;background:#fff;border:1px solid var(--v14-l);border-left:4px solid #d4d4d8;text-align:left;width:100%;cursor:pointer;font:inherit;color:inherit}
html body main .v14p .v14pm-row.is-80{background:#fdf1f1;border-color:#f5c2c2;border-left-color:var(--v14-r)}
html body main .v14p .v14pm-row .k{font:700 13px var(--v14-m);color:#52525b;grid-row:1/3}
html body main .v14p .v14pm-row.is-80 .k{color:var(--v14-r)}
html body main .v14p .v14pm-row .n{min-width:0;font-size:13px;color:#3f3f46;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body main .v14p .v14pm-row .n b{font-size:14px;font-weight:800;color:var(--v14-k);margin-right:6px}
html body main .v14p .v14pm-row .d{font:700 14px var(--v14-m);color:var(--v14-k);text-align:right;white-space:pre}
html body main .v14p .v14pm-row .bar{height:7px;background:#f0f0f0;position:relative;grid-column:2}
html body main .v14p .v14pm-row .bar u{position:absolute;left:0;top:0;bottom:0;background:#a1a1aa}
html body main .v14p .v14pm-row.is-80 .bar u{background:var(--v14-o)}
html body main .v14p .v14pm-row .c{font:500 11.5px var(--v14-m);color:#52525b;text-align:right}
html body main .v14p .v14pm .v14p-more{margin:4px 0 0;width:100%;height:48px}
html body main .v14p .v14pm-empty{padding:30px 12px;text-align:center;color:#71717a;font-size:13px;background:#fff;border:1px solid var(--v14-l)}

/* ============ bottom sheet + 5P modal (portalled to body) ============ */
.v14p-back{position:fixed;inset:0;z-index:100000;background:rgba(10,10,11,.55);display:flex;align-items:center;justify-content:center;padding:16px;font-family:Geist,system-ui,sans-serif}
.v14p-modal{background:#fff;width:min(620px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;color:#0a0a0b;box-shadow:0 24px 60px -12px rgba(0,0,0,.45)}
.v14p-modal *{box-sizing:border-box;border-radius:0}
.v14p-mh{background:#0a0a0b;color:#fff;padding:16px 18px;display:flex;align-items:flex-start;gap:12px}
.v14p-mh>div{flex:1;min-width:0}
.v14p-mh small{display:block;color:#ff6a13;font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.v14p-mh h2{margin:4px 0 2px;font-size:18px;font-weight:800;line-height:1.25}
.v14p-mh p{margin:0;color:#d4d4d8;font-size:12px}
.v14p-x{width:36px;height:36px;display:grid;place-items:center;background:transparent;border:1px solid #3f3f46;color:#fff;font-size:18px;cursor:pointer;flex-shrink:0}
.v14p-x:hover{border-color:#fff}
.v14p-stats{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e5e5e5}
.v14p-stats>div{padding:10px 18px;border-right:1px solid #e5e5e5}
.v14p-stats>div:last-child{border-right:0}
.v14p-stats small{display:block;font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#52525b}
.v14p-stats b{font:700 15px 'Geist Mono',ui-monospace,monospace}
.v14p-stats b.blue{color:#1d4ed8}
.v14p-mb{overflow-y:auto;padding:12px 12px 4px;background:#fafafa;display:flex;flex-direction:column;gap:10px}
.v14p-ev{background:#fff;border:1px solid #e5e5e5}
.v14p-evh{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #f0f0f0;background:#fafafa;font-size:12px}
.v14p-evh b{font:700 12px 'Geist Mono',ui-monospace,monospace}
.v14p-evh span{color:#52525b}
.v14p-evh em{margin-left:auto;font:700 12px 'Geist Mono',ui-monospace,monospace;font-style:normal;color:#dc2626}
.v14p-c{font:700 11px/1 'Geist Mono',ui-monospace,monospace;padding:4px 6px;white-space:nowrap}
.v14p-c.ok{background:#dcfce7;color:#15803d}
.v14p-c.part{background:#ffedd5;color:#c2410c}
.v14p-c.miss{background:#fff;border:1px solid #d4d4d8;color:#18181b;font-family:Geist,system-ui,sans-serif}
.v14p-evb{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.v14p-evb .w{display:grid;grid-template-columns:28px 1fr;gap:6px}
.v14p-evb .w i{font-style:normal;color:#ff6a13;font-weight:700;font-family:'Geist Mono',ui-monospace,monospace;font-size:12px}
.v14p-root{background:#0a0a0b;color:#fff;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.02em;padding:8px 10px;margin-top:4px}
.v14p-std{font-size:12px;color:#3f3f46}
.v14p-std b{color:#0a0a0b}
.v14p-evb .v14p-act{border-left:3px solid #0a0a0b;background:#f4f4f5;padding:6px 10px;font-size:13px}
.v14p-evb .none{color:#a1a1aa;font-size:12.5px}
.v14p-mf{display:flex;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid #e5e5e5}
.v14p-mf p{margin:0 auto 0 0;font-size:12px;color:#52525b}
.v14p-mf button{white-space:nowrap;height:44px;padding:0 16px;font-size:13.5px;font-weight:800;cursor:pointer;border:1px solid #d4d4d8;background:#fff;color:#0a0a0b;font-family:inherit}
.v14p-mf button:hover{border-color:#0a0a0b}
.v14p-mf button.pri{background:#ff6a13;border-color:#ff6a13;color:#fff}
.v14p-mf button.pri:hover{background:#e85d0c}
/* bottom sheet (mobile) */
.v14p-back.is-sheet{align-items:flex-end;padding:0}
.v14p-sheet{background:#fff;width:100%;max-height:85vh;overflow-y:auto;padding:10px 16px calc(16px + env(safe-area-inset-bottom));color:#0a0a0b;animation:v14up .22s ease-out}
.v14p-sheet *{box-sizing:border-box;border-radius:0}
@keyframes v14up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
.v14p-grab{width:44px;height:4px;background:#d4d4d8;margin:0 auto 14px}
.v14p-sh{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.v14p-sh h2{margin:0;font-size:18px;font-weight:800;flex:1;min-width:0}
.v14p-z{background:#dc2626;color:#fff;font-size:11px;font-weight:800;padding:5px 7px;white-space:nowrap}
.v14p-z.rest{background:#e4e4e7;color:#3f3f46}
.v14p-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px}
.v14p-tiles>div{background:#f4f4f5;padding:8px 10px}
.v14p-tiles small{display:block;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#3f3f46}
.v14p-tiles b{font:700 15px 'Geist Mono',ui-monospace,monospace;white-space:pre}
.v14p-lbl{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#3f3f46}
.v14p-cause{font-size:15px;font-weight:700;margin:2px 0 12px}
.v14p-5box{border:1px solid #e5e5e5;padding:10px 12px;display:flex;flex-direction:column;gap:4px;font-size:13.5px;margin-bottom:14px}
.v14p-5box .t{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:800;letter-spacing:.1em;margin-bottom:2px}
.v14p-5box .t i{font-style:normal;background:#dcfce7;color:#15803d;padding:2px 5px;letter-spacing:0}
.v14p-5box .w i{font-style:normal;color:#ff6a13;font-weight:700;margin-right:4px}
.v14p-5box .v14p-act{border-left:3px solid #0a0a0b;background:#f4f4f5;padding:6px 10px;margin-top:6px}
.v14p-5box .none{color:#a1a1aa}
.v14p-sbtn{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v14p-sbtn button{height:50px;font-size:14px;font-weight:800;border:1px solid #d4d4d8;background:#fff;color:#0a0a0b;cursor:pointer;font-family:inherit}
.v14p-sbtn button.blk{background:#0a0a0b;color:#fff;border-color:#0a0a0b}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label>span[data-v14l]{font-size:0!important}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label>span[data-v14l]::after{content:attr(data-v14l);font-size:19px}
html body main .v14p .v14p-sum .v14p-m{display:none}
@media (max-width:767px){
  html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label>span[data-v14l]::after{content:attr(data-v14s);font-size:16px}
  html body main .v14p .v14p-sum .v14p-d{display:none}
  html body main .v14p .v14p-sum .v14p-m{display:inline}
}

/* compact "à compléter" chip in the cycle band (full text kept in title + dropdown) */
html body #root main .v14s .gmao-shf-cycle .gmao-shf-inc>summary[data-v14n]{font-size:0!important;padding:6px 8px!important}
html body main .v14s .gmao-shf-cycle .gmao-shf-inc>summary[data-v14n]::after{content:attr(data-v14n);font-size:11px;letter-spacing:.04em}
html body main .v14s .gmao-shf-cycle{flex-wrap:nowrap}
html body main .v14s .gmao-shf-cycle>h3{flex:0 1 auto;min-width:0}
html body main .v14s .gmao-shf-cycle>details{margin-left:auto}
@media (max-width:767px){
  html body main .v14s .gm-shift-grid>.gm-shift-col>.gm-shift-cell{order:calc(var(--gm-r) * 10 + var(--gm-c))}
  html body main .v14s .gmao-shf-cycle>details{margin-left:0}
  html body main .v14s .gmao-shf-cycle>h3>button[title^="Revenir"]{background:transparent!important;color:var(--v14-o)!important;text-decoration:underline;padding:2px 4px!important}
}
html body main .v14s .gmao-rl-it{animation:none!important}
@media (max-width:767px){
  html body main .v14s .gm-shift-grid>.gm-shift-col{display:contents!important}
  html body main .v14s .gm-shift-grid>.gm-shift-col>.gm-shift-cell{grid-column:auto!important;grid-row:auto!important}
}
html body main .v14p .gmao-pareto-bar>div:nth-child(2)>label{height:42px;display:flex!important;align-items:center}
@media (max-width:767px){
  html body main .v14s .gmao-rl-it .gmao-rl-meta{display:-webkit-box!important;font-size:11.5px!important}
  html body main .v14s .gmao-rl-it .gmao-rl-l:nth-of-type(2):not(.gmao-rl-todo){display:grid!important}
  html body main .v14s .gmao-rl-it .gmao-rl-todo.is-none{display:grid!important}
}
html body main .v14p .v14p-tbl tbody td[colspan]{font:400 13px Geist,system-ui,sans-serif!important;color:#71717a!important;text-align:center!important;border-left:0!important;padding:28px!important}
