:root {
  --ink: #17382e;
  --muted: #61716a;
  --green: #17634a;
  --paper: #f5f6f1;
  --line: #dce3db;
  --soft: #eaf0e8;
  --white: #fff;
  --danger: #9e392b;
  font-family: "Source Sans 3",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65
}

a {
  color: var(--green);
  text-underline-offset: 4px
}

button,input,textarea,select {
  font: inherit
}

button,.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.5;
  min-height: 48px
}

button:hover,.button:hover {
  background: #104f3a
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid #d39331;
  outline-offset: 4px
}

.secondary {
  background: transparent;
  color: var(--green);
  border-color: #a6b9ac
}

.secondary:hover {
  background: var(--soft)
}

.header {
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.header-inner {
  max-width: 1180px;
  margin: auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 32px
}

.header-inner form {
  margin-left: auto
}

.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 2px
}

.brand-dot {
  color: #78a26f
}

.header-label {
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding-left: 26px;
  color: var(--muted)
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 6px 0;
  min-height: 44px;
  font-size: 14px
}

.text-button:hover {
  background: none;
  text-decoration: underline
}

main {
  margin: 52px auto 90px;
  padding: 0 28px;
  min-height: 65vh
}

.wide {
  max-width: 1180px
}

.candidate {
  max-width: 850px
}

.narrow {
  max-width: 700px
}

.intro {
  margin: 80px auto
}

.eyebrow,.step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--green)
}

.eyebrow {
  margin-bottom: 15px
}

h1 {
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -1.5px;
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 900px
}

h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.4px;
  margin: 0 0 18px
}

h3 {
  font-size: 17px;
  line-height: 1.45;
  margin: 23px 0 9px
}

p {
  margin: 0 0 18px
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 32px
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  margin-bottom: 24px;
  border-radius: 7px
}

.columns {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start
}

.columns>section:not(.panel) {
  padding-top: 10px
}

label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 20px 0 7px
}

input:not([type=radio]):not([type=checkbox]),textarea,select {
  display: block;
  width: 100%;
  padding: 12px 13px;
  background: #fff;
  border: 1px solid #9baea1;
  border-radius: 4px;
  color: var(--ink);
  line-height: 1.5;
  min-height: 48px
}

input[readonly] {
  background: #f5f7f2;
  font-family: Consolas,monospace;
  font-size: 14px
}

textarea {
  resize: vertical
}

input[type=file] {
  font-size: 14px
}

form>button {
  margin-top: 18px;
  margin-right: 8px
}

.hint,.muted {
  font-size: 13px;
  color: var(--muted)
}

.hint {
  margin: 9px 0 16px
}

.note {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 8px 0
}

.note p {
  color: var(--muted);
  font-size: 14px
}

.empty {
  padding: 36px 25px;
  border: 1px dashed #bdcabc;
  border-radius: 5px;
  text-align: center;
  color: var(--muted)
}

.empty h3 {
  color: var(--ink)
}

.empty-mark {
  font-size: 32px;
  color: var(--green)
}

.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none
}

.job-row small {
  display: block;
  color: var(--muted);
  margin-top: 5px
}

.back {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 26px
}

.copy-line {
  display: flex;
  gap: 10px;
  align-items: stretch
}

.copy-line input {
  flex: 1;
  min-width: 0
}

.copy-line button {
  flex-shrink: 0
}

.panel>.button {
  margin: 24px 0
}

.topic-list {
  padding-left: 20px
}

.topic-list li {
  padding: 4px 0
}

.meta-strip {
  display: flex;
  gap: 25px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  margin-bottom: 30px
}

.meta-strip span+span:before {
  content: '·';
  margin-right: 25px;
  color: #8a9d8e
}

.readable-list {
  padding-left: 22px
}

.readable-list li {
  padding: 0 0 15px 6px
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted)
}

progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  margin: 12px 0 28px;
  background: var(--line)
}

progress::-webkit-progress-bar {
  background: var(--line)
}

progress::-webkit-progress-value {
  background: var(--green)
}

progress::-moz-progress-bar {
  background: var(--green)
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0
}

legend {
  font-family: inherit;
  font-size: 27px;
  line-height: 1.4;
  letter-spacing: -.3px;
  margin: 0 0 18px;
  padding: 0;
  width: 100%
}

.context {
  background: var(--paper);
  border-left: 3px solid #8ba67c;
  padding: 18px 20px;
  margin: 10px 0 24px;
  white-space: normal
}

.option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 16px;
  margin: 11px 0;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer
}

.option:hover {
  background: #f5f8f2
}

.option:has(input:checked) {
  background: #edf5e9;
  border-color: #567c5d
}

.option input {
  width: 19px;
  height: 19px;
  margin: 4px 0 0;
  flex-shrink: 0;
  accent-color: var(--green)
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.question-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px
}

.resume-box {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  margin-top: 40px
}

.resume-box h2 {
  font-size: 16px
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 22px;
  margin-bottom: 23px
}

.review-row h3 {
  margin: 9px 0 12px
}

.review-row>a {
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 10px
}

.answer-list {
  padding-left: 22px;
  color: var(--muted)
}

.missing {
  color: var(--danger);
  font-weight: 700
}

.table-scroll {
  overflow-x: auto
}

.round-choice { display:flex; align-items:center; gap:.6rem }
.round-choice input { width:1.1rem; height:1.1rem; flex:none; accent-color:var(--green) }
.result-action { margin-top:.8rem }
.result-action p { max-width:64ch; overflow-wrap:anywhere }

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px
}

th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted)
}

th,td {
  padding: 16px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

th:first-child,td:first-child {
  padding-left: 0
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green)
}

details[open] summary {
  margin-bottom: 20px
}

.error {
  background: #fff2ee;
  border: 1px solid #d6a395;
  border-left: 4px solid var(--danger);
  padding: 20px 24px;
  margin-bottom: 28px;
  color: #7b2b20
}

.error p {
  margin: 5px 0 0
}

footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 25px;
  color: var(--muted);
  font-size: 12px
}

footer span:last-child {
  margin-left: auto
}

.sr-only,.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap
}

.skip:focus {
  position: absolute;
  top: 5px;
  left: 10px;
  background: white;
  padding: 10px;
  z-index: 10
}

[hidden] {
  display: none!important
}

@media(max-width:760px) {
  .header-inner {
    padding: 0 20px;
    gap: 18px;
    min-height: 72px
  }

  .header-label {
    padding-left: 18px
  }

  .brand {
    font-size: 20px
  }

  main {
    margin-top: 32px;
    padding: 0 20px
  }

  .columns {
    grid-template-columns: 1fr;
    gap: 8px
  }

  h1 {
    font-size: 37px;
    letter-spacing: -1px
  }

  .lead {
    font-size: 17px
  }

  .panel {
    padding: 23px
  }

  .intro {
    margin: 45px auto
  }

  .meta-strip {
    flex-wrap: wrap;
    gap: 8px 18px
  }

  .meta-strip span+span:before {
    display: none
  }

  .copy-line {
    flex-wrap: wrap
  }

  .copy-line input {
    flex-basis: 100%
  }

  .copy-line button {
    width: 100%
  }

  .actions {
    display: block
  }

  .actions button {
    width: 100%;
    margin-top: 10px
  }

  .review-row {
    gap: 14px
  }

  legend {
    font-size: 24px
  }

  footer {
    flex-wrap: wrap;
    padding: 22px 20px;
    gap: 10px 20px
  }

  footer span:last-child {
    margin-left: 0
  }

  .header-inner form {
    margin-left: auto
  }

  .header-label {
    font-size: 11px
  }

  .question-nav {
    flex-wrap: wrap
  }

}

/* Short letter choices keep every ordering step readable on narrow screens. */
.order-key {
  margin: 22px 0;
}
.order-key > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.order-key dt {
  font-weight: 700;
  color: var(--green);
}
.order-key dd {
  margin: 0;
}
.order-positions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 12px;
}
.version-label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.assessment-entry h1 {
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
.assessment-entry .lead {
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.assessment-entry .note {
  margin: 0 0 14px;
}
.assessment-entry .meta-strip {
  padding: 8px 0;
  margin-bottom: 16px;
}
.assessment-entry .panel {
  margin-bottom: 12px;
}
.assessment-entry .panel p:last-child,
.assessment-entry section form > button {
  margin: 0;
}
.assessment-entry details.panel {
  padding: 0 20px;
}
.assessment-entry summary {
  padding: 12px 0;
}
.assessment-entry details[open] {
  padding-bottom: 16px;
}
.assessment-entry details[open] summary {
  margin: 0;
}
.assessment-entry details form > button {
  margin-top: 12px;
}
@media (max-width: 760px) {
  .assessment-entry {
    margin-top: 16px;
  }
  .assessment-entry .panel {
    padding: 16px;
  }
  .assessment-entry details.panel {
    padding-inline: 16px;
  }
  .assessment-entry h2,
  .assessment-entry .panel p {
    margin-bottom: 12px;
  }
  .assessment-entry button {
    width: 100%;
  }
}
