.ce-status-link {
  display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .7rem;
  border: 1px solid #94a3b8; border-radius: 4px; background: #fff;
  color: #173a7a; font: 500 .8rem/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none; max-width: 100%;
}
.ce-status-link:hover { background: #eff6ff; }
.ce-status-link:focus-visible, #status-refresh:focus-visible { outline: 3px solid #046bd2; outline-offset: 3px; }
.ce-status-dot { color: #64748b; flex-shrink: 0; }
[data-ce-state="available"] .ce-status-dot { color: #23734d; }
[data-ce-state="limited"] .ce-status-dot { color: #956000; }
[data-ce-state="unavailable"] .ce-status-dot { color: #b3323e; }
.ce-status-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.ce-chat-error {
  margin: .3rem 0 1rem; padding: .6rem .8rem; border-left: 3px solid #b3323e;
  border-radius: 3px; background: #fff1f2; color: #881337; font-size: .8rem; line-height: 1.5;
}
.ce-chat-error a { color: #173a7a; text-decoration: underline; }
.ce-status-page { box-sizing: border-box; margin: 0 auto; padding: 24px; max-width: 980px;
  background: #f0f5fa; color: #1e293b; font: 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ce-status-page * { box-sizing: border-box; }
.ce-status-page a { color: #046bd2; }
.ce-status-page h1 { margin: .6rem 0 0; }
.ce-status-page h2 { font-size: 1.1rem; margin-top: 0; }
.ce-status-page p { color: #334155; }
.ce-status-card { background: #fff; border: 1px solid #d1d5db; border-radius: 6px; padding: 1.2rem; margin: 1.2rem 0; }
.ce-status-card[hidden] { display: none; }
.ce-status-checked { font-size: .85rem; }
.ce-status-table-wrap { overflow-x: auto; }
.ce-status-page table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ce-status-page th, .ce-status-page td { text-align: start; padding: .6rem; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.ce-status-page code, #status-inventory li { overflow-wrap: anywhere; }
[data-availability="missing"] { color: #b3323e; font-weight: 600; }
[data-availability="available"] { color: #23734d; }
#status-refresh { padding: .45rem .8rem; cursor: pointer; background: #173a7a; color: #fff; border: 0; border-radius: 4px; font: inherit; }
#status-refresh:disabled { opacity: .6; cursor: wait; }
@media (max-width: 600px) {
  .ce-status-page { padding: 14px; }
  .ce-status-card { padding: .8rem; }
}
