/* Shared top navigation — HCI Worthy Islands web stack */
.hci-site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 12, 18, 0.96);
  border-bottom: 1px solid #243447;
  backdrop-filter: blur(8px);
  font-family: system-ui, "Segoe UI", sans-serif;
}

.hci-site-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
}

.hci-site-brand {
  color: #7ec8ff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hci-site-brand:hover {
  color: #ffd166;
}

.hci-site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  flex: 1;
}

.hci-site-links a {
  color: #8395a7;
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.hci-site-links a:hover {
  color: #c8d6e5;
  background: rgba(255, 255, 255, 0.04);
}

.hci-site-links a.active {
  color: #7ec8ff;
  border-color: #2a4a6a;
  background: rgba(37, 99, 168, 0.18);
}

.hci-site-status {
  font-size: 0.72rem;
  color: #64748b;
  font-family: ui-monospace, Consolas, monospace;
  white-space: nowrap;
}

.hci-site-status .live {
  color: #6ee7a0;
}

.hci-site-status .off {
  color: #ffd166;
}

body.hci-has-nav {
  /* pages that use fixed layout may override */
}

.hci-page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.hci-workflow-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: #111822;
  border: 1px solid #243447;
  border-radius: 4px;
  font-size: 0.8rem;
}

.hci-workflow-bar a {
  color: #7ec8ff;
  text-decoration: none;
}

.hci-workflow-bar a:hover {
  text-decoration: underline;
}

.hci-workflow-bar .sep {
  color: #475569;
}

/* Ops Desk shared UI (desk-core.js) */
.hci-conn-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  border: 1px solid #243447;
  font-size: 0.78rem;
  font-weight: 600;
}
.hci-conn-pill.live { border-color: #6ee7a0; color: #6ee7a0; }
.hci-conn-pill.demo { border-color: #7ec8ff; color: #7ec8ff; }
.hci-conn-pill.warn { border-color: #ffd166; color: #ffd166; }
.hci-conn-pill.off { border-color: #64748b; color: #64748b; }

.hci-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #243447;
  background: #111822;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  align-items: center;
}
.hci-stat { color: #8395a7; }
.hci-stat.ok { color: #6ee7a0; }
.hci-stat.warn { color: #ffd166; }

.hci-integration-panel {
  background: #1a2433;
  border: 1px solid #3d5a80;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  border-radius: 4px;
}
.hci-integration-panel strong { color: #ffd166; }
.hci-checklist, .hci-next-steps {
  margin: 0.5rem 0 0;
  padding-left: 0;
  list-style: none;
}
.hci-checklist li, .hci-next-steps li {
  padding: 0.25rem 0;
  color: #94a3b8;
}
.hci-checklist li.ok { color: #6ee7a0; }
.hci-checklist li.todo { color: #c8d6e5; }
.hci-checklist .detail, .hci-next-steps .tip {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-left: 1.25rem;
}
.hci-checklist .mark { display: inline-block; width: 1.1rem; }

.hci-order-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.hci-order-tabs button {
  background: #0e141c;
  border: 1px solid #243447;
  color: #8395a7;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  border-radius: 4px;
}
.hci-order-tabs button.active {
  color: #7ec8ff;
  border-color: #2563eb;
  background: rgba(37, 99, 168, 0.2);
}
.hci-order-panel { display: none; }
.hci-order-panel.active { display: block; }

.hci-toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #152535;
  border: 1px solid #7ec8ff;
  padding: 0.65rem 1rem;
  display: none;
  font-size: 0.82rem;
  max-width: 380px;
  z-index: 2000;
  font-family: ui-monospace, monospace;
}
.hci-toast.err { border-color: #ff6b6b; }

.hci-hub-status {
  border: 1px solid var(--border, #243447);
  background: var(--panel, #111822);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
}
.hci-hub-status h2 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #7ec8ff);
}
.hci-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.hci-hub-actions a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: #1e4d78;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.82rem;
}
.hci-hub-actions a.primary { background: #2563eb; }
.hci-hub-actions a:hover { filter: brightness(1.1); }
