/* Saju entry form (saju_index.html). Loaded after redesign.css.
   redesign.css styles every text input/select/textarea with !important
   borders and backgrounds, so the overrides below that touch those
   properties need !important as well. */

.sj-page {
  --sj-ink: var(--fk-ink, #121212);
  --sj-paper: var(--fk-paper, #fffcf5);
  --sj-bg: var(--fk-bg, #f6f1e7);
  --sj-soft: #4a463c;
  --sj-muted: var(--fk-muted, #6b6658);
  --sj-line: #ddd3bf;
  --sj-divider: #e2d8c4;
  --sj-lime: var(--fk-lime, #ccff3e);
  --sj-butter: var(--fk-butter, #ffd23f);
  --sj-accent: var(--fk-hot-readable, #d41467);
  --sj-error: #b3121f;
  --sj-error-bg: #fff0ef;
  --sj-focus: var(--fk-blue, #2d5bff);
  --sj-tabbar-h: 76px;
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
  padding: 24px 0 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 48px;
  color: var(--sj-ink);
  font-family: var(--font-sans);
}

.sj-form [hidden] {
  display: none !important;
}

.sj-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Intro */
.sj-intro {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sj-kicker {
  align-self: flex-start;
  border: 2px solid var(--sj-ink);
  border-radius: 999px;
  background: var(--sj-butter);
  padding: 3px 10px;
  font-size: 0.8125rem;
  font-weight: 800;
}

.sj-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.5rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sj-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sj-soft);
  word-break: keep-all;
}

.sj-includes {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  padding: 20px;
  border: 2px solid var(--sj-ink);
  border-radius: 12px;
  background: var(--sj-paper);
  box-shadow: 4px 4px 0 var(--sj-ink);
}

.sj-includes h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.sj-includes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sj-includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sj-includes li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--sj-soft);
  word-break: keep-all;
}

.sj-includes strong {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--sj-ink);
}

.sj-includes em {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sj-muted);
}

.sj-includes-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border: 2px solid var(--sj-ink);
  border-radius: 10px;
  background: #fff;
}

.sj-includes-icon.is-lime {
  background: var(--sj-lime);
}

.sj-includes-icon svg,
.sj-share-note svg,
.sj-alert-title svg,
.sj-locate-btn svg,
.sj-upload-icon svg,
.sj-upload-clear svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sj-includes-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.sj-share-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--sj-divider);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sj-soft);
}

.sj-share-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke-width: 2;
}

/* Form shell. style.css still turns every <form> into a 500px glass card
   with overflow: hidden (which would also stop the sticky submit bar). */
.sj-form {
  position: relative;
  flex: 999 1 560px;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sj-form::before {
  content: none;
}

.sj-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.sj-step {
  min-height: 44px;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--sj-muted) !important;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  word-break: keep-all;
}

.sj-step-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--sj-line);
  transition: background 150ms ease;
}

.sj-step.is-done {
  color: var(--sj-ink) !important;
}

.sj-step.is-done .sj-step-bar {
  background: var(--sj-ink);
}

.sj-alert {
  border: 2px solid var(--sj-error);
  border-radius: 12px;
  background: var(--sj-error-bg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sj-alert:focus {
  outline: none;
}

.sj-alert-title {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--sj-error);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.sj-alert-title svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  stroke-width: 2.2;
}

.sj-alert-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sj-alert-links:empty {
  display: none;
}

.sj-alert-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 2px solid var(--sj-error);
  border-radius: 999px;
  background: #fff;
  color: var(--sj-error) !important;
  font-size: 0.875rem;
  font-weight: 800;
}

/* Sections */
.sj-section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px;
  border: 2px solid var(--sj-ink);
  border-radius: 12px;
  background: var(--sj-paper);
  box-shadow: 4px 4px 0 var(--sj-ink);
  scroll-margin-top: 84px;
}

.sj-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.sj-section-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.sj-num {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sj-ink);
  color: var(--sj-lime);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
}

.sj-badge {
  border: 2px solid var(--sj-ink);
  border-radius: 999px;
  background: #fff;
  padding: 1px 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.sj-badge.is-butter {
  margin-left: auto;
  background: var(--sj-butter);
}

.sj-help {
  margin: -6px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sj-soft);
  word-break: keep-all;
}

/* Question chips */
.sj-chips {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sj-chip {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 2px solid var(--sj-ink);
  border-radius: 10px;
  background: var(--sj-paper);
  box-shadow: 2px 2px 0 var(--sj-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  word-break: keep-all;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.sj-chip input,
.sj-option input,
.sj-segment-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.sj-chip:has(input:checked) {
  background: var(--sj-lime);
  box-shadow: none;
  transform: translate(2px, 2px);
  font-weight: 800;
}

.sj-chip:has(input:checked)::before {
  content: "";
  flex: none;
  width: 12px;
  height: 7px;
  margin: -4px 2px 0 0;
  border-left: 3px solid var(--sj-ink);
  border-bottom: 3px solid var(--sj-ink);
  transform: rotate(-45deg);
}

.sj-chip:has(input:focus-visible),
.sj-option:has(input:focus-visible) {
  outline: 3px solid var(--sj-focus);
  outline-offset: 2px;
}

/* Fields */
.sj-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sj-label {
  padding: 0;
  color: var(--sj-ink);
  font-size: 0.875rem;
  font-weight: 800;
}

legend.sj-label {
  margin-bottom: 6px;
}

.sj-label-note {
  font-weight: 500;
  color: var(--sj-muted);
}

.sj-form input[type="text"],
.sj-form select,
.sj-form textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  border: 2px solid var(--sj-ink) !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  color: var(--sj-ink) !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
}

.sj-form textarea {
  min-height: 96px;
  padding: 12px;
  line-height: 1.5;
  font-weight: 500;
  resize: vertical;
}

.sj-form select {
  padding: 0 40px 0 12px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.sj-select {
  position: relative;
}

.sj-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2.5px solid var(--sj-ink);
  border-bottom: 2.5px solid var(--sj-ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.sj-form #id_birth_date {
  min-height: 54px;
  padding: 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sj-field.is-invalid input,
.sj-field.is-invalid select,
.sj-field.is-invalid textarea {
  border-color: var(--sj-error) !important;
}

.sj-hint {
  margin: 0;
  color: var(--sj-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: keep-all;
}

.sj-hint:empty {
  display: none;
}

.sj-hint.is-error {
  color: var(--sj-error);
}

.sj-hint.is-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--sj-error);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  vertical-align: -2px;
}

.sj-field-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sj-counter {
  margin-left: auto;
  color: var(--sj-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Birth time */
.sj-switch {
  min-height: 44px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
}

.sj-switch input {
  position: relative;
  flex: none;
  width: 46px;
  height: 28px;
  margin: 0;
  border: 2px solid var(--sj-ink);
  border-radius: 999px;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 150ms ease;
}

.sj-switch input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--sj-ink);
  transition: transform 150ms ease;
}

.sj-switch input:checked {
  background: var(--sj-lime);
}

.sj-switch input:checked::before {
  transform: translateX(18px);
}

.sj-switch input:focus-visible,
.sj-consent input:focus-visible {
  outline: 3px solid var(--sj-focus);
  outline-offset: 2px;
}

.sj-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sj-pair.is-disabled select {
  background-color: #ede5d3 !important;
  color: #8a8474 !important;
  cursor: not-allowed;
}

.sj-pair.is-disabled .sj-label {
  color: var(--sj-muted);
}

.sj-note {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff3c4;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: keep-all;
}

.sj-details {
  padding-top: 4px;
  border-top: 1px dashed #cfc4ad;
}

.sj-details summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

.sj-details summary::-webkit-details-marker {
  display: none;
}

.sj-details summary:focus-visible {
  outline: 3px solid var(--sj-focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.sj-details-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sj-details-text strong {
  font-size: 0.9375rem;
  font-weight: 800;
}

.sj-details-text > span {
  color: var(--sj-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.sj-chevron {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 150ms ease;
}

.sj-details[open] .sj-chevron {
  transform: rotate(180deg);
}

.sj-options {
  min-width: 0;
  margin: 4px 0 8px;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sj-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 2px solid var(--sj-ink);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.sj-option:has(input:checked) {
  background: var(--sj-lime);
}

.sj-option-title {
  font-size: 0.9375rem;
  font-weight: 800;
}

.sj-option-desc {
  color: var(--sj-soft);
  font-size: 0.8125rem;
  line-height: 1.4;
  word-break: keep-all;
}

/* Gender / region */
.sj-profile {
  display: grid;
  gap: 16px;
}

.sj-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid var(--sj-ink);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.sj-field.is-invalid .sj-segment {
  border-color: var(--sj-error);
}

.sj-segment-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.sj-segment-option + .sj-segment-option {
  border-left: 2px solid var(--sj-ink);
}

.sj-segment-option span {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--sj-ink);
  font-size: 1rem;
  font-weight: 800;
  transition: background 120ms ease, color 120ms ease;
}

.sj-segment-option input:checked + span {
  background: var(--sj-ink);
  color: var(--sj-paper);
}

.sj-segment-option input:focus-visible + span {
  outline: 3px solid var(--sj-focus);
  outline-offset: -5px;
}

.sj-region {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.sj-region .sj-select {
  align-self: stretch;
}

.sj-locate-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 2px solid var(--sj-ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 2px 2px 0 var(--sj-ink);
  color: var(--sj-ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}

.sj-locate-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.sj-locate-btn:focus-visible {
  outline: 3px solid var(--sj-focus);
  outline-offset: 2px;
}

.sj-locate-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* Photo */
.sj-upload-wrap {
  position: relative;
}

.sj-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 2px dashed var(--sj-ink);
  border-radius: 12px;
  background: var(--sj-bg);
  cursor: pointer;
}

.sj-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  overflow: hidden;
}

.sj-upload:focus-within {
  outline: 3px solid var(--sj-focus);
  outline-offset: 2px;
}

.sj-upload.has-file {
  padding-right: 68px;
  border-style: solid;
  background: #f2ffe0;
}

.sj-upload.is-invalid {
  border-color: var(--sj-error);
  background: var(--sj-error-bg);
}

.sj-upload-icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border: 2px solid var(--sj-ink);
  border-radius: 12px;
  background: var(--sj-lime);
  color: var(--sj-ink);
}

.sj-upload-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.sj-upload-preview {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: cover;
  border: 2px solid var(--sj-ink);
  border-radius: 10px;
}

.sj-upload-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sj-upload-text strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sj-upload-text span {
  color: var(--sj-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  word-break: keep-all;
}

.sj-upload-clear {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid var(--sj-ink);
  border-radius: 10px;
  background: #fff;
  color: var(--sj-ink);
  transform: translateY(-50%);
  cursor: pointer;
}

.sj-upload-clear:focus-visible {
  outline: 3px solid var(--sj-focus);
  outline-offset: 2px;
}

.sj-upload-clear svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.sj-upload-extra {
  margin: -4px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--sj-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}

.sj-tag {
  padding: 2px 9px;
  border: 1.5px solid var(--sj-ink);
  border-radius: 999px;
  background: #fff;
  color: var(--sj-ink);
  font-weight: 800;
}

/* Consent */
.sj-consent-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--sj-divider);
  scroll-margin-top: 84px;
}

.sj-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--sj-ink);
  border-radius: 12px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
  cursor: pointer;
}

.sj-consent.is-invalid {
  border-color: var(--sj-error);
}

.sj-consent input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  display: grid;
  place-content: center;
  border: 2px solid var(--sj-ink);
  border-radius: 6px;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.sj-consent input::before {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--sj-ink);
  border-bottom: 3px solid var(--sj-ink);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}

.sj-consent input:checked {
  background: var(--sj-lime);
}

.sj-consent input:checked::before {
  opacity: 1;
}

.sj-privacy-link {
  align-self: flex-start;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--sj-soft) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline !important;
}

/* Submit */
.sj-submit-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sj-progress {
  min-width: 76px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--sj-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.sj-progress strong {
  color: var(--sj-ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 900;
}

.sj-progress strong span {
  color: var(--sj-accent);
}

.sj-submit {
  flex: 1;
  min-height: 52px;
  padding: 0 20px;
  border: 2px solid var(--sj-ink);
  border-radius: 12px;
  background: var(--sj-accent);
  box-shadow: 3px 3px 0 var(--sj-ink);
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.sj-submit:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.sj-submit:disabled {
  background: #2a2a2a;
  box-shadow: none;
  cursor: progress;
}

.sj-submit:focus-visible {
  outline: 3px solid var(--sj-focus);
  outline-offset: 3px;
}

/* Phone: the page script pins the bar (.is-floating) above the fixed mobile
   tab bar while the form is on screen; the slot keeps its space so the
   layout doesn't jump when it docks back at the end of the form. */
@media (max-width: 780px) {
  .sj-submit-slot {
    min-height: 74px;
    margin: 0 -16px;
  }

  .sj-submit-bar {
    padding: 10px 16px;
    border-top: 2px solid var(--sj-ink);
    background: var(--sj-bg);
  }

  .sj-submit-bar.is-floating {
    position: fixed;
    right: 0;
    bottom: calc(var(--sj-tabbar-h) + env(safe-area-inset-bottom));
    left: 0;
    z-index: 1100;
  }
}

@media (min-width: 781px) {
  .sj-page {
    padding: 48px 0 64px;
  }

  .sj-includes {
    display: flex;
  }

  .sj-section {
    padding: 22px;
  }

  .sj-chips {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .sj-profile {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: start;
  }

  .sj-submit-bar {
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top: 4px;
  }

  .sj-progress {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    font-size: 0.875rem;
  }

  .sj-submit {
    flex: 0 1 320px;
    min-height: 56px;
    font-size: 1.125rem;
    box-shadow: 4px 4px 0 var(--sj-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sj-page *,
  .sj-page *::before {
    transition: none !important;
  }
}
