/* Pass 16: runtime resilience + operating handbook */
.p16-health-chip{height:30px;padding:0 9px;border:1px solid #dce5ef;border-radius:999px;background:#fff;color:#5d6c81;font-size:9px;font-weight:800;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;box-shadow:0 4px 12px rgba(15,23,42,.035)}
.p16-health-chip i{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.10)}
.p16-health-chip.degraded{border-color:#f0c7cd;background:#fff7f8;color:#b4233d}
.p16-health-chip.degraded i{background:#e11d48;box-shadow:0 0 0 3px rgba(225,29,72,.10)}
.p15-load-error{min-height:180px;border:1px dashed #e5b6bf;border-radius:13px;background:#fff8f9;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:20px;color:#7d2c3c}
.p15-load-error b{font-size:13px}.p15-load-error span{font-size:10px;color:#8c5964}.p15-load-error button{margin-top:4px}

/* Support handbook upgrade */
#kenjiSupportPanel.p16-handbook{width:min(470px,calc(100vw - 28px))!important;height:min(650px,64vh)!important;min-height:470px!important}
.p16-handbook .kenji-support-tabs{display:flex!important;overflow-x:auto;scrollbar-width:thin;grid-template-columns:none!important}
.p16-handbook .kenji-support-tabs button{flex:0 0 auto;min-width:82px;padding:10px 12px!important}
.p16-handbook .kenji-support-body{padding:13px!important}
.p16-quickstart{border:1px solid #d8e7f8;background:linear-gradient(145deg,#f7fbff,#f8fffd);border-radius:13px;padding:12px;margin-bottom:11px}
.p16-quickstart b{display:block;color:#10233d;font-size:11px;margin-bottom:6px}.p16-quickstart p{margin:0;color:#66758a;font-size:9.5px;line-height:1.5}.p16-quickstart .p16-path{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.p16-path span{font-size:8px;font-weight:800;color:#0f6df5;background:#edf5ff;border:1px solid #d5e6ff;border-radius:999px;padding:4px 6px}
.kenji-faq .answer{font-size:10px!important;line-height:1.58!important;color:#56657a!important}.kenji-faq .answer b{color:#172033!important}.kenji-faq .answer ul,.kenji-faq .answer ol{padding-left:18px;margin:7px 0}.kenji-faq .answer li{margin:5px 0}.kenji-faq .answer code{font-size:9px;background:#f4f7fb;border:1px solid #e1e8f0;border-radius:5px;padding:1px 4px}.support-callout{border-left:3px solid #0f6df5;background:#f5f9ff;border-radius:0 8px 8px 0;padding:8px 9px;margin:8px 0;color:#42526a}.support-warning{border-left-color:#f59e0b;background:#fffaf0}.support-danger{border-left-color:#e11d48;background:#fff7f8}.support-steps{counter-reset:supportstep;display:grid;gap:6px;margin:8px 0}.support-step{counter-increment:supportstep;display:grid;grid-template-columns:22px 1fr;gap:7px;align-items:start}.support-step:before{content:counter(supportstep);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#edf5ff;color:#0f6df5;font-size:8px;font-weight:900;border:1px solid #d5e6ff}.support-step b{display:block;font-size:9.5px}.support-step span{display:block;font-size:9px;color:#6d7b8e;margin-top:2px}.support-screen{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:3px 6px;background:#f1f5f9;border:1px solid #e1e7ef;color:#475569;font-size:8px;font-weight:800}
@media(max-width:760px){#p16HealthChip{display:none!important}#kenjiSupportPanel.p16-handbook{height:68vh!important;min-height:430px!important;right:10px!important;bottom:74px!important}}
