.posture {
  padding: 0.75rem 1rem;
  border-left: 4px solid #ccc;
  background: #f8f8f8;
  margin-bottom: 1rem;
}

.posture.proceed {
  border-color: #3a7d44; /* muted green */
}

.posture.pause {
  border-color: #888;
}

.posture.pull_back {
  border-color: #c49b2c; /* muted amber */
}

.posture.disengage {
  border-color: #a94442; /* muted red */
}

/* -------- Base -------- */

:root {
  --bg: #f5f6f7;
  --card-bg: #ffffff;
  --text: #1c1c1e;
  --muted: #6e6e73;
  --border: #e5e5ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* -------- Layout -------- */

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem;
}

/* -------- Cards -------- */

.card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

/* -------- Typography -------- */

h2 {
  font-size: 1.4rem;
  margin: 0 0 0.25rem 0;
}

h5 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem 0;
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}

.text-muted {
  color: var(--muted);
}

/* -------- Lists -------- */

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* -------- Forms -------- */

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

textarea {
  resize: vertical;
}

button {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #f2f2f7;
  font-size: 0.85rem;
}

/* -------- Details / Collapsible -------- */

details > summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
}

details[open] > summary {
  margin-bottom: 0.5rem;
}

/* -------- Links -------- */

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -------- Utilities -------- */

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.text-center { text-align: center; }
