/* Shell styling only — disposable, rebuilt at Astro migration (brief §6).
   Functional and legible is the bar, not polish. */

:root {
  --navy: #19234a;
  --deep-accent: #2f4f4f;
  --muted-text: #696969;
  --bg-light: #f5f6f8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-light);
  color: var(--navy);
  line-height: 1.5;
}

#app {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

h1, h2, h3 {
  color: var(--navy);
  font-weight: 700;
}

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

.progress {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 1rem;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.option {
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid var(--deep-accent);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.option.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.field {
  margin: 1rem 0;
}

.field input,
.field label {
  display: block;
  width: 100%;
}

.field input {
  padding: 0.75rem;
  border: 1px solid var(--deep-accent);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  margin-top: 0.35rem;
}

.note {
  font-style: italic;
}

.sub-select {
  margin: 1.5rem 0;
}

.sub-select h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.sub-select .option {
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
}

/* Secondary constraint reads as optional at a glance (brief §7). */
.sub-select.secondary {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #dcdfe4;
}

.sub-select.secondary h3 {
  color: var(--muted-text);
  font-weight: 400;
  font-size: 0.9rem;
}

.sub-select.secondary select {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--deep-accent);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted-text);
  font-family: inherit;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.nav button {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.nav button#continue-btn {
  background: var(--navy);
  color: var(--white);
  margin-left: auto;
}

.nav button#continue-btn:disabled {
  background: var(--muted-text);
  cursor: not-allowed;
}

.nav button.back {
  background: transparent;
  color: var(--deep-accent);
  text-decoration: underline;
}

/* Report page — no headers between parts (brief §4/Component 3 §5); this
   is the only visual separation between them. */
.report-block {
  margin-bottom: 1.5rem;
}
