/* JARVIS Skill Hub - extension non intrusive de la page Capacites. */
.skill-hub{margin:1.3rem 0 2.1rem;padding:clamp(1rem,2.5vw,1.7rem);background:rgba(8,11,15,.86);border:1px solid rgba(225,232,241,.16);border-radius:19px;color:var(--txt,#f1f2f2);font-family:inherit;max-width:100%;min-width:0}
.skill-hub *{box-sizing:border-box}
.sh-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.sh-head h2{font-family:inherit;font-size:clamp(1.35rem,2.5vw,1.95rem);font-weight:650;margin:.12rem 0 .35rem}
.sh-head p{font-size:.88rem;line-height:1.45;opacity:.79;margin:.2rem 0}
.sh-eyebrow{font-family:var(--font-mono,monospace);font-size:.69rem!important;letter-spacing:.12em;color:var(--acc-vif,#f8421a)!important;font-weight:700}
.sh-refresh{background:var(--acc-vif,#f8421a);color:#0c0c0e;cursor:pointer;border:0;border-radius:9px;font:inherit;font-weight:700;font-size:.81rem;padding:.77rem 1rem;min-height:42px}
.sh-refresh:disabled{cursor:wait;opacity:.6}
.sh-tabs{display:flex;gap:.32rem;overflow-x:auto;padding:.85rem 0 .65rem;margin:.2rem 0 1.15rem;border-bottom:1px solid rgba(225,232,241,.15)}
.sh-tabs button{border:1px solid transparent;background:transparent;color:inherit;font:inherit;font-size:.85rem;white-space:nowrap;padding:.62rem .8rem;border-radius:9px;cursor:pointer}
.sh-tabs button.is-current{border-color:rgba(255,255,255,.23);background:rgba(255,255,255,.11)}
.sh-tabs button:hover,.sh-row summary:hover{background:rgba(255,255,255,.07)}
.sh-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.7rem;margin-bottom:1rem}
.sh-stat{display:flex;flex-direction:column;justify-content:center;gap:.4rem;min-height:112px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);padding:1rem;border-radius:12px;overflow-wrap:anywhere}
.sh-stat strong{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:700;line-height:1.1;font-family:var(--font-points,inherit)}
.sh-stat span{font-size:.78rem;opacity:.8}
.sh-notice{padding:.8rem 1rem;margin:.85rem 0;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:9px;font-size:.82rem;line-height:1.5;overflow-wrap:anywhere}
.sh-notice--warn{border-left:3px solid var(--acc-vif,#f8421a)}
.sh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:.7rem}
.sh-card{border:1px solid rgba(255,255,255,.12);border-radius:13px;background:rgba(255,255,255,.04);padding:1rem;min-width:0}
.sh-card h3,.sh-subtitle{font-size:.98rem;font-weight:650;margin:.1rem 0 .7rem}
.sh-card p,.sh-card details{font-size:.8rem;line-height:1.52;opacity:.88;overflow-wrap:anywhere}
.sh-card details summary{cursor:pointer}
.sh-mono{font-family:var(--font-mono,monospace);font-size:.73rem!important;overflow-wrap:anywhere}
.sh-filters{display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:1rem}
.sh-filters label{display:flex;flex:1 1 190px;flex-direction:column;gap:.35rem;font-size:.79rem;opacity:.96}
.sh-filters input,.sh-filters select{min-width:0;width:100%;padding:.7rem .8rem;border:1px solid rgba(255,255,255,.24);background:#161a1f;border-radius:9px;color:#f4f5f6;font:inherit;font-size:.89rem}
.sh-count,.sh-foot{font-size:.77rem;opacity:.72;margin:1rem 0}
.sh-rows{display:flex;flex-direction:column;gap:.45rem}
.sh-row,.sh-line{border:1px solid rgba(255,255,255,.13);border-radius:11px;padding:.78rem 1rem;background:rgba(255,255,255,.04);min-width:0}
.sh-row summary,.sh-line{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer}
.sh-row summary{list-style:none}
.sh-row summary::-webkit-details-marker{display:none}
.sh-row summary>span:first-child,.sh-line>span:first-child{min-width:0;overflow-wrap:anywhere}
.sh-row strong,.sh-line strong{display:block;font-size:.86rem;font-weight:640}
.sh-row small,.sh-line small{display:block;font-size:.71rem;opacity:.7;overflow-wrap:anywhere;margin-top:.26rem}
.sh-tag{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.05);padding:.35rem .52rem;border-radius:7px;font-size:.69rem;white-space:normal;text-align:center;max-width:210px}
.sh-tag--tested{border-color:rgba(121,214,165,.7)}
.sh-tag--error,.sh-tag--stale{border-color:var(--acc-vif,#f8421a)}
.sh-tag--offline{opacity:.65}
.sh-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:.65rem;margin:1rem 0 .3rem}
.sh-facts div{min-width:0}
.sh-facts dt{font-size:.7rem;opacity:.64;margin-bottom:.28rem}
.sh-facts dd{margin:0;font-size:.77rem;overflow-wrap:anywhere}
.sh-subtitle{margin:1.6rem 0 .6rem}
.sh-content{min-width:0}
.sh-foot{border-top:1px solid rgba(255,255,255,.1);padding-top:1rem}
@media(max-width:640px){.skill-hub{margin:1rem 0;padding:.85rem;border-radius:13px}.sh-refresh{width:100%}.sh-head{display:block}.sh-tabs{margin-top:.8rem}.sh-grid{grid-template-columns:1fr}.sh-row summary,.sh-line{align-items:flex-start;flex-direction:column;gap:.5rem}.sh-stat{min-height:94px}.sh-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.skill-hub *{scroll-behavior:auto!important;animation:none!important}}
