html {
  background: #fff;
}
.application-page {
  --brand-ink: #193d35;
  --brand-text: #38574e;
  --brand-muted: #60766c;
  --brand-link: #008a70;
  --people-border: #dce7e1;
  background: #fff;
  min-width: 280px;
}
.application-header .header-inner {
  width: min(1120px, calc(100% - 80px));
}
.application-header .solvefolk-brand {
  --solvefolk-brand-width: 190px;
  --solvefolk-logo-size: 43px;
  --solvefolk-name-size: 28px;
}
.application-header .wordmark {
  margin-right: 26px;
}
.application-header-label {
  padding-left: 24px;
  border-left: 1px solid #dfe7e8;
  font-size: 14px;
  color: var(--brand-muted);
}
.application-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  min-height: 44px;
  font-size: 14px;
  color: var(--brand-link);
}
.application-back:hover,
.application-footer a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.application-shell {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  padding: 42px 0 64px;
}
.application-shell:focus,
.step-heading h2:focus {
  outline: none;
}
.application-heading {
  margin-bottom: 18px;
}
.application-kicker {
  margin: 0 0 10px;
  color: var(--brand-link);
  font-size: 14px;
  font-weight: 500;
}
.application-heading h1 {
  margin: 0 0 12px;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.application-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--brand-muted);
}
.application-local-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 28px;
  padding: 11px 14px;
  background: #f3f8f5;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  color: #60766c;
  line-height: 1.8;
}
.application-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6f9989;
  flex-shrink: 0;
  margin-top: 8px;
}
.application-progress {
  margin: 0 0 34px;
}
.application-progress ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}
.application-progress li {
  min-width: 0;
}
.application-progress button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  width: 100%;
  padding: 8px 0 14px;
  border: 0;
  border-bottom: 2px solid #dde5e7;
  background: none;
  color: #73847c;
  font-size: 14px;
  text-align: left;
  transition:
    border-color 160ms ease,
    color 160ms ease;
  touch-action: manipulation;
}
.application-progress button[aria-current='step'] {
  color: var(--brand-ink);
  border-bottom-color: var(--brand-link);
  font-weight: 500;
}
.application-progress button:not(:disabled):hover {
  color: var(--brand-ink);
}
.application-progress button:disabled {
  cursor: default;
}
.application-progress button.is-complete {
  color: var(--brand-link);
  border-bottom-color: #94b5b8;
}
.step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid #d7e1e3;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
}
[aria-current='step'] .step-number {
  background: var(--brand-ink);
  color: #fff;
  border-color: var(--brand-ink);
}
.is-complete .step-number {
  color: var(--brand-link);
  background: #edf6f1;
  border-color: #c3d9cc;
}
.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}
.application-form-panel {
  min-width: 0;
  padding: 0;
  background: #fff;
}
.application-step[hidden],
.field-error[hidden],
.form-error-summary[hidden],
.application-download-status[hidden],
#previous-step[hidden] {
  display: none;
}
.step-heading {
  margin-bottom: 28px;
}
.step-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--brand-link);
  letter-spacing: 0.045em;
}
.step-heading h2 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}
.step-heading > p:last-child {
  margin: 0;
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.9;
}
.required-note {
  display: block;
}
.required-mark {
  margin-left: 2px;
  color: var(--brand-link);
}
.optional-label {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #75898c;
}
.avatar-upload {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 30px;
  padding-bottom: 27px;
  border-bottom: 1px solid #e9efeb;
}
.avatar-upload-picture {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid #e1e9ec;
  background: #f0f6f2;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  color: #79998a;
}
.avatar-upload-picture > svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.3;
}
.avatar-upload-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-upload-body {
  min-width: 0;
}
.upload-label {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}
.upload-file-name {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #4f737c;
  overflow-wrap: anywhere;
}
.form-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}
.form-field {
  min-width: 0;
  margin-bottom: 21px;
}
.form-field > label,
.technique-fieldset legend,
.consent-fieldset legend {
  display: block;
  padding: 0;
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.form-field input,
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  border: 1px solid #dce7e1;
  border-radius: 9px;
  color: var(--brand-ink);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.75;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.form-field input,
.form-field select {
  min-height: 46px;
  padding: 10px 13px;
}
.form-field select {
  padding-right: 28px;
}
.form-field textarea {
  resize: vertical;
  min-height: 90px;
  padding: 10px 12px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a9c9f;
}
.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: #a8bec4;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-link);
  box-shadow: 0 0 0 3px rgb(67 114 120 / 10%);
}
.form-field [aria-invalid='true'] {
  border-color: #b6695a;
}
.field-hint {
  margin: 6px 0 0;
  color: #687d71;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
}
.field-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.field-meta .field-hint {
  max-width: 38em;
}
.character-count {
  flex-shrink: 0;
  margin-top: 7px;
  font-size: 11px;
  color: #819296;
  line-height: 1.7;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.character-count.is-full {
  color: #a76848;
}
.field-error {
  margin: 6px 0 0;
  color: #a44b3c;
  font-size: 12px;
  line-height: 1.8;
}
.form-error-summary {
  padding: 10px 13px;
  margin: 0 0 22px;
  border: 1px solid #efd8d2;
  border-radius: 9px;
  color: #9b4437;
  background: #fff8f6;
  font-size: 12px;
  line-height: 1.8;
}
.technique-fieldset,
.consent-fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
.technique-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.technique-option {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #e0e7e9;
  border-radius: 8px;
  color: #5c7479;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  touch-action: manipulation;
}
.technique-option:has(input:checked) {
  border-color: #a1c5b5;
  background: #eff7f2;
  color: #235e4c;
}
.technique-option:has(input:focus-visible) {
  outline: 2px solid var(--brand-link);
  outline-offset: 3px;
}
.technique-option input,
.consent-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--brand-ink);
  flex-shrink: 0;
}
.optional-details,
.review-details {
  margin: 8px 0 23px;
  border: 1px solid #dce7e1;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.optional-details > summary,
.review-details > summary {
  padding: 13px 15px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.8;
  color: var(--brand-text);
  touch-action: manipulation;
}
.optional-details > summary:hover,
.review-details > summary:hover {
  background: #f7f9fa;
}
.optional-details > summary:focus-visible,
.review-details > summary:focus-visible {
  outline: 2px solid var(--brand-link);
  outline-offset: -3px;
}
.optional-details-body,
.review-content {
  padding: 18px 15px 0;
  border-top: 1px solid #e9eef0;
}
.optional-details-body .form-field:last-child {
  margin-bottom: 17px;
}
.numeric-hint {
  margin: 0 0 15px;
}
.evidence-section {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid #e9efeb;
}
.evidence-heading {
  margin-bottom: 20px;
}
.evidence-heading h3,
.review-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
}
.evidence-heading p {
  margin: 0;
  font-size: 12px;
  color: var(--brand-muted);
  line-height: 1.8;
}
.evidence-upload {
  padding: 18px;
  border: 1px dashed #c9d9dd;
  border-radius: 10px;
  background: #f9fbfc;
}
.evidence-upload .apply-button {
  margin-top: 14px;
}
.evidence-file-list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.evidence-file-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e2e9ec;
  background: #f8fafb;
  border-radius: 8px;
}
.evidence-file-info {
  min-width: 0;
  flex: 1;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.evidence-file-info span {
  display: block;
  font-size: 11px;
  color: #768b90;
}
.remove-evidence {
  min-width: 44px;
  min-height: 44px;
  margin: -7px -8px -7px 0;
  background: none;
  border: 0;
  font-size: 12px;
  color: #607e87;
  touch-action: manipulation;
}
.remove-evidence:hover {
  color: #a44b3c;
}
.private-section-label {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 21px;
  font-size: 12px;
  color: #69838b;
}
.private-section-label svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.4;
}
.contact-method-hint {
  margin-top: -14px;
  margin-bottom: 25px;
}
.review-section {
  margin: 29px 0;
  padding-top: 25px;
  border-top: 1px solid #e9efeb;
}
.review-section .field-hint {
  margin-bottom: 14px;
}
.review-details {
  margin-bottom: 12px;
}
.review-content {
  padding-bottom: 5px;
}
.review-content dl {
  margin: 0;
}
.review-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 17px;
}
.review-item dt {
  font-size: 12px;
  line-height: 1.8;
  color: #6f858a;
}
.review-item dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-content a {
  color: var(--brand-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review-subheading {
  margin: 5px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9efeb;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-ink);
}
.consent-fieldset legend {
  margin-bottom: 13px;
}
.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  min-height: 44px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--brand-text);
  cursor: pointer;
  touch-action: manipulation;
}
.consent-option input {
  margin-top: 4px;
}
.consent-option input[aria-invalid='true'] {
  outline: 1px solid #a44b3c;
  outline-offset: 3px;
}
.consent-fieldset > .field-error {
  margin-top: 0;
  margin-left: 25px;
  margin-bottom: 7px;
}
.application-form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #e9efeb;
  padding-top: 23px;
  margin-top: 29px;
}
.application-step-counter {
  margin: 0;
  font-size: 12px;
  color: #7b8f93;
}
.application-form-footer #next-step {
  margin-left: auto;
}
.apply-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
  touch-action: manipulation;
}
.apply-button-outline {
  border-color: #dce7e1;
  color: var(--brand-text);
  background: #fff;
}
.apply-button-outline:hover {
  border-color: #a8bfc5;
  background: #f7fafb;
}
.apply-button-primary {
  color: #fff;
  background: var(--brand-ink);
  border-color: var(--brand-ink);
}
.apply-button-primary:hover {
  background: #285648;
  border-color: #285648;
}
.apply-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.application-download-status {
  margin: 17px 0 0;
  padding: 13px 15px;
  border: 1px solid #cbded6;
  border-radius: 9px;
  background: #f1f8f4;
  font-size: 12px;
  color: #356957;
  line-height: 1.8;
}
.application-preview-column {
  position: sticky;
  top: 30px;
  min-width: 0;
}
.application-preview > summary {
  display: none;
}
.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin: 0 0 13px;
  font-size: 12px;
  font-weight: 500;
  color: #38574e;
}
.preview-draft-label {
  padding: 4px 8px;
  border: 0;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 400;
  color: #477660;
  background: #eff7f2;
}
#application-card-preview {
  min-height: 0;
}
#application-card-preview .person-card {
  width: 100%;
  cursor: default;
}
#application-card-preview .person-card:hover {
  transform: none;
  border-color: var(--people-border);
  box-shadow: 0 3px 10px rgb(22 59 53 / 3%);
}
#application-card-preview .person-card-footer span:last-child {
  transform: none;
}
.preview-note {
  margin: 14px 4px 0;
  color: #6b8074;
  font-size: 12px;
  line-height: 1.9;
}
.application-help {
  margin: 24px 4px 0;
  padding-top: 19px;
  border-top: 1px solid #dee7e9;
}
.application-help-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  color: #38574e;
}
.application-help > p:last-child {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: #6b8074;
}
.application-footer {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  padding: 25px 0 30px;
  border-top: 1px solid #dce7e1;
}
.application-footer > span {
  font-size: 17px;
  font-weight: 700;
}
.application-footer p {
  margin: 0;
  font-size: 12px;
  color: #6b8074;
}
.application-footer a {
  margin-left: auto;
  font-size: 12px;
  color: var(--brand-link);
}
@media (max-width: 1000px) {
  .application-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
  }
  .application-form-panel {
    padding: 0;
  }
  .application-progress button {
    padding-inline: 5px;
  }
  .form-field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
@media (max-width: 820px) {
  .application-shell {
    width: min(640px, calc(100% - 40px));
    padding-top: 35px;
  }
  .application-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .application-form-panel,
  .application-preview-column {
    width: 100%;
  }
  .application-preview-column {
    position: static;
  }
  .application-preview {
    border: 0;
    border-block: 1px solid #dce7e1;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
  }
  .application-preview > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 12px;
    color: var(--brand-link);
    font-weight: 500;
    cursor: pointer;
    min-height: 48px;
    touch-action: manipulation;
    list-style: none;
  }
  .application-preview > summary::-webkit-details-marker {
    display: none;
  }
  .application-preview[open] {
    padding-bottom: 18px;
  }
  .application-preview[open] > summary > span {
    transform: rotate(180deg);
  }
  .application-preview-content {
    padding: 18px 0 0;
    max-width: 425px;
    margin-inline: auto;
  }
  .application-help {
    display: none;
  }
  #application-card-preview {
    min-height: 0;
  }
  .application-footer {
    width: min(640px, calc(100% - 40px));
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .application-header .header-inner {
    width: calc(100% - 36px);
    height: 66px;
  }
  .application-header .wordmark {
    font-size: 23px;
    margin-right: 0;
    gap: 5px;
  }
  .application-header .solvefolk-brand {
    --solvefolk-brand-width: 153px;
    --solvefolk-logo-size: 34px;
    --solvefolk-name-size: 23px;
  }
  .application-header-label {
    display: none;
  }
  .application-back {
    font-size: 12px;
    gap: 4px;
  }
  .application-shell {
    width: calc(100% - 32px);
    padding-top: 29px;
    padding-bottom: 38px;
  }
  .application-heading h1 {
    font-size: 26px;
    max-width: 14em;
  }
  .application-heading {
    margin-bottom: 19px;
  }
  .application-lead {
    font-size: 12px;
  }
  .application-local-note {
    padding: 10px 12px;
    font-size: 12px;
    margin-bottom: 20px;
  }
  .application-progress {
    margin-bottom: 22px;
  }
  .application-progress ol {
    gap: 6px;
  }
  .application-progress button {
    padding: 0 0 10px;
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    min-height: 58px;
    font-size: 11px;
  }
  .step-number {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .application-form-panel {
    padding: 0;
  }
  .step-heading h2 {
    font-size: 21px;
  }
  .step-heading {
    margin-bottom: 23px;
  }
  .step-heading > p:last-child {
    font-size: 12px;
  }
  .form-field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .form-field {
    margin-bottom: 20px;
  }
  .form-field > label,
  .technique-fieldset legend,
  .consent-fieldset legend {
    font-size: 12px;
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 16px;
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder {
    font-size: 14px;
  }
  .avatar-upload {
    gap: 13px;
  }
  .avatar-upload-picture {
    width: 65px;
    height: 65px;
  }
  .avatar-upload .field-hint {
    font-size: 12px;
  }
  .application-form-footer {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 19px;
  }
  .application-step-counter {
    flex-basis: 100%;
    order: -1;
    margin-bottom: 3px;
  }
  .application-form-footer .apply-button {
    padding-inline: 12px;
  }
  .review-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    margin-bottom: 18px;
  }
  .optional-details > summary .optional-label {
    margin-left: 3px;
  }
  .field-meta {
    gap: 8px;
  }
  .application-footer {
    width: calc(100% - 36px);
    padding-top: 20px;
  }
  .application-footer a {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 7px;
    min-height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .application-progress button,
  .form-field input,
  .form-field textarea,
  .form-field select,
  .apply-button {
    transition: none;
  }
}

/* Live preview shares the directory layout, with draft-only behavior. */
.application-page .directory-card-preview :is(.directory-card-name, .directory-card-role, .directory-card-lead, .directory-card-project h4) {
  overflow-wrap: anywhere;
}
.application-page .directory-card-placeholder {
  border-radius: 50% 50% 12px 12px;
  background: rgb(255 255 255 / 45%);
}
.application-page .directory-card-preview:hover .directory-card-footer {
  color: var(--directory-text);
}
.application-page .directory-card-preview .directory-card-footer {
  font-size: 11px;
}
