sim-web-shell 0.1.7

sim-web-shell: the binary that serves the SIM WebUI shell.
Documentation
.cookbook-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 20px 16px 32px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 18px;
}

.cookbook-rail {
  border-right: 1px solid #2c3640;
  padding-right: 14px;
  min-height: calc(100vh - 96px);
}

.search-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

#cookbook-search {
  width: 100%;
  min-height: 38px;
  border: 1px solid #40505e;
  border-radius: 6px;
  background: #0d1117;
  color: var(--fg);
  padding: 8px 10px;
}

.cookbook-tree {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Level 1: family (subsystem) collapsible group. */
.family {
  border-left: 2px solid #2c3640;
  padding-left: 8px;
}

.family-title {
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: capitalize;
  padding: 2px 0;
}

/* Level 2: domain (book) collapsible group. */
.domain {
  margin: 6px 0 6px 6px;
}

.domain-title {
  color: #c7d0da;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 0;
}

.chapter-label {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.recipe-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Runnable vs descriptor badge on each recipe leaf and detail header. */
.badge {
  display: inline-block;
  min-width: 30px;
  text-align: center;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  margin-right: 7px;
  vertical-align: middle;
}

.badge.runnable {
  color: #0d1117;
  background: #7ee787;
}

.badge.descriptor {
  color: #d9e2ec;
  background: #30404e;
}

.recipe-label {
  vertical-align: middle;
}

.recipe-button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--fg);
  text-align: left;
  padding: 7px 9px;
  cursor: pointer;
}

.recipe-button:hover,
.recipe-button.selected {
  border-color: #4aa3ff;
  background: #17212c;
}

.recipe-pane {
  min-width: 0;
}

.recipe-pane h1 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.purpose {
  color: #d9e2ec;
  max-width: 76ch;
}

.purpose h2 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.purpose p {
  margin: 0 0 10px;
}

.recipe-actions {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
  flex-wrap: wrap;
}

.recipe-actions button {
  min-height: 36px;
  border: 1px solid #40505e;
  border-radius: 6px;
  background: #16202a;
  color: var(--fg);
  padding: 7px 12px;
  cursor: pointer;
}

.recipe-actions button:hover {
  border-color: var(--accent);
}

.setup-block {
  margin: 0;
  padding: 12px;
  border: 1px solid #2c3640;
  border-radius: 6px;
  background: #0d1117;
  overflow-x: auto;
}

.results-panel {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #2c3640;
  border-radius: 6px;
  background: #121922;
}

.result-row {
  margin: 4px 0;
}

.pass {
  color: #7ee787;
  font-weight: 700;
}

.fail {
  color: #ff938a;
  font-weight: 700;
}

.recipe-footer {
  margin-top: 14px;
  border-top: 1px solid #2c3640;
  padding-top: 10px;
}

.recipe-footer button {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0;
  cursor: pointer;
}

.empty-state {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 760px) {
  .cookbook-shell {
    grid-template-columns: 1fr;
  }

  .cookbook-rail {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #2c3640;
    padding-right: 0;
    padding-bottom: 14px;
  }
}