/* Hub Laurent — Infrastructure : courbes du VPS et réglage des ressources (25/11/2026). Complète hub.css avec les mêmes jetons de couleur. */
:root{--i-a:var(--h-fill);--i-b:var(--h-fill-2);--i-c:var(--spv-green);--i-d:var(--h-u-atelier);--i-e:var(--muted)}
.i-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.i-kpis .h-kpi-value{font-size:24px}
.i-advice code{display:block;margin-top:8px;padding:8px 10px;border-radius:8px;background:var(--bg-strong);color:var(--ink);font:12px var(--mono);overflow-wrap:anywhere}
.i-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.i-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin:-4px 0 10px;color:var(--ink-2);font-size:13px}
.i-legend b{font-weight:500;color:var(--ink)}
.i-legend i{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:3px;background:var(--tone)}
.i-legend i.i-dash{height:0;border-top:2px dashed var(--muted);border-radius:0;background:none;vertical-align:middle}
.i-chart{position:relative;height:150px}
.i-chart svg{display:block;width:100%;height:100%;overflow:visible}
.i-grid line{stroke:var(--line-soft);stroke-width:1;vector-effect:non-scaling-stroke}
.i-line{fill:none;stroke:var(--tone);stroke-width:1.6;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.i-area{fill:var(--tone);fill-opacity:.16;stroke:none}
.i-ref{stroke:var(--muted);stroke-width:1.2;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}
.i-top{position:absolute;top:-2px;right:0;padding:0 4px;border-radius:4px;background:var(--white);color:var(--muted);font-size:12px}
.i-axis{display:flex;justify-content:space-between;margin-top:6px;color:var(--muted);font-size:12px}
.i-wait{display:grid;place-items:center;height:150px}
.is-a{--tone:var(--i-a)}.is-b{--tone:var(--i-b)}.is-c{--tone:var(--i-c)}.is-d{--tone:var(--i-d)}.is-e{--tone:var(--i-e)}
.i-cores{display:grid;grid-template-columns:repeat(auto-fit,minmax(18px,1fr));gap:6px;margin-top:16px}
.i-cores>div{display:grid;justify-items:center;gap:4px;color:var(--muted);font-size:12px}
.i-core{display:flex;align-items:flex-end;width:100%;max-width:30px;height:44px;border-radius:6px;background:var(--track);overflow:hidden}
.i-core i{display:block;width:100%;height:var(--size,0%);min-height:2px;background:var(--h-fill)}
.i-share{gap:6px 12px}
.i-state{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px}
.i-state>div{display:grid;gap:4px}
.i-state.is-active{border-color:color-mix(in srgb,var(--h-u-infrastructure) 55%,transparent)}
.i-fail{color:var(--red);font-size:13px}
.i-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.i-mode{display:grid;align-content:start;gap:6px;padding:16px;border:1px solid var(--line);border-radius:14px;background:none;color:var(--ink);text-align:left}
.i-mode:hover{border-color:var(--line-control);background:var(--bg)}
.i-mode[aria-pressed="true"]{border-color:var(--h-u-infrastructure);background:color-mix(in srgb,var(--h-u-infrastructure) 10%,transparent)}
.i-mode:disabled{opacity:.6}
.i-mode b{font-weight:500}
.i-mode small{color:var(--ink-2);font-size:13px;line-height:1.45}
.i-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.i-chip{display:inline-flex;align-items:center;gap:6px;padding:2px 9px;border-radius:999px;background:var(--bg-strong);color:var(--ink-2);font-size:12px;white-space:nowrap}
.i-chip::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--muted)}
.i-chip.is-prioritaire::before{background:var(--spv-green)}
.i-chip.is-reduit::before{background:var(--h-fill-2)}
.i-groups td{vertical-align:middle}
.i-groups td b{display:block;font-weight:500}
.i-groups .text-button{margin-top:4px;font-size:13px}
.i-groups .h-seg button{height:28px;padding:0 10px}
.i-lock{display:block;max-width:240px;font-size:13px}
.i-unit td{padding-top:6px;padding-bottom:6px;color:var(--ink-2);font-size:13px}
.i-unit td:first-child{padding-left:24px;overflow-wrap:anywhere}
.i-help .h-fact span{line-height:1.55}
.i-help b{font-weight:500;color:var(--ink)}
@media (max-width:1320px){.i-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.i-kpis .h-kpi:nth-child(4){border-left:0}.i-kpis .h-kpi:nth-child(n+4){border-top:1px solid var(--line)}}
@media (max-width:1180px){.i-grid2,.i-modes{grid-template-columns:minmax(0,1fr)}.i-kpis .h-kpi:nth-child(n){border-left:1px solid var(--line);border-top:0}.i-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.i-kpis .h-kpi:nth-child(3n+1){border-left:0}.i-kpis .h-kpi:nth-child(n+4){border-top:1px solid var(--line)}}
@media (max-width:680px){.i-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.i-kpis .h-kpi:nth-child(n){border-left:0;border-top:1px solid var(--line)}.i-kpis .h-kpi:nth-child(even){border-left:1px solid var(--line)}.i-kpis .h-kpi:nth-child(-n+2){border-top:0}.i-kpis .h-kpi-value{font-size:20px}}
