/* Boxi Kit — shell portal */
:root {
  --bg: #0f1115;
  --panel: #1c1f24;
  --panel-2: #23262c;
  --border: #32363d;
  --border-soft: #292c32;
  --text: #e9e7e1;
  --text-dim: #8b909a;
  --text-faint: #5a5e66;
  --accent: #d4a857;
  --accent-dim: #4a3c22;
  --error: #d9694a;
  --success: #4a9e6e;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
}

/* Header */
.shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.shell-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shell-logo {
  color: var(--accent);
  font-size: 20px;
}
.shell-title {
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -.01em;
}

/* Nav */
.shell-nav {
  display: flex;
  gap: 4px;
}
.nav-item {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all .15s;
  cursor: pointer;
}
.nav-item:hover:not(.disabled) {
  color: var(--text);
  background: var(--panel-2);
}
.nav-item.active {
  color: var(--accent);
  background: var(--accent-dim);
}
.nav-item.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Main */
.shell-main {
  min-height: calc(100vh - 56px);
}

/* Coming soon */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  gap: 12px;
}
.cs-icon {
  font-size: 48px;
  color: var(--border);
}
.coming-soon h2 {
  font-size: 22px;
  color: var(--text);
}
.coming-soon p {
  color: var(--text-dim);
  font-size: 14px;
}
.cs-hint { font-size: 12px !important; color: var(--text-faint) !important; }
.coming-soon code {
  background: var(--panel-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
}
.module-error {
  padding: 40px;
  text-align: center;
  color: var(--error);
  font-size: 14px;
}
