/* Application screen: TOP's type, paper and ink; fields never wait for motion. */
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("assets/zen-entry-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("assets/zen-entry-700.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: var(--navy);
  --body-ink: var(--navy);
  --text-teal: var(--teal);
  --mint: #e4f2f1;
  --line: #b2c8cc;
  --muted: #476575;
  --form-inset: 40px;
  --font-message: 48px;
  --font-card: 28px;
  --font-body: 18px;
  --font-meta: 16px;
  --font-note: 14px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  font-weight: 500;
  font-size: var(--font-body);
  line-height: 1.9;
  background: var(--page);
}
main {
  padding-bottom: 100px;
  background: linear-gradient(
    180deg,
    var(--page) 120px,
    #edf5f4 640px,
    var(--mint) 1100px,
    var(--mint) 100%
  );
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
[hidden] {
  display: none !important;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
input,
select,
textarea,
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.no-js #applicationForm,
.no-js .entry-index,
.no-js .entry-progress {
  display: none;
}
.no-js .menu-toggle {
  display: none;
}
.header-bar {
  left: auto;
  right: 32px;
  transform: none;
}
.entry-link {
  width: 218px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.entry-hero {
  width: min(1284px, calc(100% - 96px));
  margin: 0 auto;
  padding: 144px 0 32px 200px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 32px;
}
.entry-word {
  display: block;
  width: max-content;
  font:
    700 112px/0.95 Arial,
    sans-serif;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--navy);
  transform: rotate(-6deg);
  margin: 0 0 28px -6px;
  user-select: none;
  pointer-events: none;
}
.entry-hero h1 {
  font-size: var(--font-message);
  letter-spacing: 0;
}
.entry-hero-copy > p {
  font-size: var(--font-body);
  margin-top: 20px;
}
.entry-hero-art {
  align-self: end;
  padding-bottom: 12px;
}
.entry-hero-art img {
  width: 100%;
  max-height: 224px;
  object-fit: contain;
}
.entry-progress {
  position: relative;
  left: 100px;
  display: flex;
  justify-content: center;
  list-style: none;
  width: min(620px, calc(100% - 48px));
  margin: 0 auto 36px;
  padding: 0;
  gap: 48px;
}
.entry-progress li {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  font-size: var(--font-meta);
  font-weight: 700;
  color: var(--muted);
  flex: 1;
  justify-content: center;
}
.entry-progress li:not(:last-child):after {
  content: "";
  position: absolute;
  left: calc(100% + 3px);
  width: 42px;
  height: 1px;
  background: var(--line);
}
.entry-progress li > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font:
    700 14px Arial,
    sans-serif;
  background: #fff;
}
.entry-progress li[aria-current] {
  color: var(--navy);
}
.entry-progress li[aria-current] > span {
  background: var(--yellow);
  border-color: var(--yellow);
}
.entry-progress li.is-complete > span {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
body:has(#entry-confirm:not([hidden]), #entrySuccess:not([hidden])) .entry-progress {
  left: 0;
}
.entry-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 40px;
  width: min(1284px, calc(100% - 96px));
  margin: 0 auto;
}
.entry-index {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 28px;
  font-size: var(--font-meta);
}
.entry-index > p:first-child {
  font-weight: 700;
  margin-bottom: 12px;
}
.entry-index nav {
  display: grid;
  gap: 4px;
}
.entry-index a {
  display: flex;
  align-items: center;
  min-height: 48px;
  transition: color 0.2s;
}
.entry-index a:hover,
.entry-index a[aria-current] {
  color: var(--teal);
}
.index-note {
  font-size: var(--font-note);
  line-height: 1.8;
  margin-top: 24px;
  color: var(--muted);
}
.form-paper {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: var(--form-inset);
  --fold: 32px;
}
.form-paper:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  clip-path: polygon(
    0 0,
    calc(100% - var(--fold)) 0,
    100% var(--fold),
    100% 100%,
    0 100%
  );
  pointer-events: none;
}
.form-paper:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--fold);
  height: var(--fold);
  background: var(--navy);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  pointer-events: none;
}
.entry-block {
  scroll-margin-top: 108px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.entry-block h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--font-card);
  margin-bottom: 24px;
}
.section-number {
  display: none;
}
.entry-block h2 > small,
.form-badge-required {
  display: inline-block;
  border-radius: 99px;
  background: var(--yellow);
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--navy);
}
.role-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.role-fieldset {
  display: flex;
  flex-direction: column;
}
.role-fieldset > .field-error {
  order: -1;
  margin: 0 0 16px;
}
.role-group {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 12px;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.role-group:has(:checked) {
  border-color: var(--teal);
  background: #f4fbfa;
}
.role-group-head img {
  width: 100%;
  height: 106px;
  object-fit: contain;
  margin-bottom: 12px;
}
.role-group-head h3 {
  font-size: 18px;
  line-height: 1.55;
  min-height: 56px;
  text-align: center;
  margin-bottom: 12px;
}
.role-choice-list {
  display: grid;
  gap: 8px;
}
.role-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 10px 8px;
  cursor: pointer;
}
.role-option:has(:checked) {
  border-color: var(--teal);
  background: var(--mint);
}
.role-option:hover {
  background: #eef7f6;
}
.role-option-copy {
  display: block;
  min-width: 0;
}
.role-option .keep {
  white-space: nowrap;
}
.role-option strong {
  display: block;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
}
.role-option small {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 2px;
  color: var(--muted);
}
/* Trial 2026-10-06: the contract type is a capsule tag, as on the job pages' heroes. */
.role-option small {
  width: max-content;
  margin-top: 4px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: #fff;
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--teal);
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
  cursor: pointer;
}
.method-lead {
  font-size: var(--font-meta);
  line-height: 1.9;
  margin-bottom: 24px;
}
.method-lead strong {
  font-weight: 700;
}
.method-fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.method-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.method-option input {
  margin-top: 5px;
}
.method-option:has(:checked) {
  border-color: var(--teal);
  background: var(--mint);
}
.method-option:hover {
  border-color: var(--teal);
}
.method-option > span {
  min-width: 0;
}
.method-option strong {
  display: block;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}
.method-option small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.entry-common-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}
.form-group {
  position: relative;
  min-width: 0;
}
.form-group--wide {
  grid-column: 1/-1;
}
.form-label {
  display: block;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.form-badge {
  margin-left: 8px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.form-badge-required {
  color: var(--navy);
  font-weight: 700;
}
.form-control {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 13px 16px;
  border: 1px solid #839fa9;
  border-radius: 4px;
  background: #fbfdfd;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.7;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.form-control::placeholder {
  color: #667f8b;
  font-size: 16px;
}
.form-control:hover {
  border-color: var(--navy);
}
.form-control:focus {
  border-color: var(--teal);
  background: #fff;
}
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
.birth-select-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 8px;
}
.form-select-wrap {
  position: relative;
}
.form-select-wrap:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
  pointer-events: none;
}
.form-select-wrap select {
  appearance: none;
  padding-right: 32px;
}
.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.choice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 16px;
  cursor: pointer;
}
.cond-group > .form-group + .form-group {
  margin-top: 28px;
}
.form-help,
.form-count {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.form-help {
  margin-top: 12px;
}
.form-count {
  display: block;
  text-align: right;
  margin-top: 6px;
}
.entry-form-note {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 24px;
}
.entry-form-note h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.entry-form-note p + p {
  margin-top: 8px;
}
[data-cond-hint] {
  font-size: 16px;
  color: var(--muted);
}
.file-input-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  left: 20px;
  bottom: 70px;
}
.file-input-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 210px;
  padding: 24px;
  border: 1.5px dashed #789ba6;
  border-radius: 4px;
  background: #f2f9f8;
  cursor: pointer;
  text-align: center;
}
.file-input-native:focus-visible + .file-input-ui {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}
.file-input-ui:hover,
.file-input-ui.is-dragover {
  background: var(--mint);
  border-color: var(--teal);
}
.file-input-upload-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font:
    30px Arial,
    sans-serif;
  background: #fff;
  border-radius: 50%;
  color: var(--teal);
}
.file-input-action {
  font-size: 18px;
  font-weight: 700;
}
.file-input-drop,
.file-input-name,
.file-input-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.file-input-drop br {
  display: none;
}
.file-input-name {
  overflow-wrap: anywhere;
  max-width: 100%;
}
.file-input-note {
  margin-top: 12px;
}
.entry-screening {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 32px;
  padding: 24px;
  background: #edf6f5;
  border-radius: 4px;
}
.entry-screening h2 {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.entry-screening p {
  font-size: 14px;
}
.entry-consent {
  margin: 0 auto 24px;
}
.entry-consent label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  cursor: pointer;
  min-height: 44px;
}
.entry-consent a,
.entry-mail-panel a:not(.primary-action) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.entry-consent a:hover {
  color: var(--teal);
}
.primary-action,
.secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 64px;
  border: 1.5px solid var(--navy);
  border-radius: 99px;
  padding: 16px 24px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.25s;
}
.primary-action {
  background: var(--yellow);
  color: var(--navy);
}
.secondary-action {
  background: #fff;
  color: var(--navy);
}
.primary-action:hover:not(:disabled) {
  background: #ffeb85;
  transform: translateY(-2px);
}
.secondary-action:hover:not(:disabled) {
  background: var(--mint);
}
.primary-action span[aria-hidden] {
  font:
    26px Arial,
    sans-serif;
}
#entryReview {
  width: min(100%, 420px);
  margin: auto;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error-summary,
#entryResumeError,
.field-error,
.submit-status[data-state="error"] {
  color: #a32932;
}
.form-error-summary {
  margin: 20px 0;
  font-size: 16px;
  font-weight: 700;
}
.field-error {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 8px;
}
.form-control[aria-invalid="true"],
.role-fieldset:has([aria-invalid="true"]) .role-group {
  border-color: #a32932;
}
.submit-status:empty {
  display: none;
}
.submit-status {
  font-size: 16px;
  margin-top: 24px;
  padding: 18px 0;
  text-align: center;
}
.entry-layout:has(#entry-confirm:not([hidden])) {
  display: block;
  max-width: 960px;
}
#entry-confirm,
#entrySuccess {
  scroll-margin-top: 112px;
}
#entry-confirm:focus,
#entrySuccess:focus {
  outline: none;
}
#entry-confirm h2 {
  font-size: 28px;
}
.confirm-lead {
  font-size: 16px;
  line-height: 1.9;
  margin: 16px 0 28px;
}
.confirmation-list > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.confirmation-list > div:first-child {
  border-top: 1px solid var(--line);
}
.confirmation-list dt {
  font-size: 16px;
  font-weight: 700;
}
.confirmation-list dd {
  font-size: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.confirm-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
.confirm-actions .primary-action {
  flex: 1;
}
.confirm-actions .secondary-action {
  font-size: 16px;
}
#entrySuccess {
  width: min(960px, calc(100% - 48px));
  margin: auto;
  padding: 56px 40px;
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
}
.success-mark {
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 32px;
}
#entrySuccess h2 {
  font-size: 32px;
  line-height: 1.6;
  text-wrap: balance;
}
.success-phrase {
  display: inline-block;
}
#entrySuccess h2 + p {
  margin: 24px 0 32px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
#entrySuccess .primary-action {
  max-width: 360px;
  margin: auto;
}
#entrySuccess .success-policy {
  font-size: 16px;
  max-width: 640px;
  margin: 24px auto 32px;
  text-wrap: balance;
}
.entry-mail-panel {
  padding-top: 32px;
}
.entry-mail-panel h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.entry-mail-panel > p:not(.form-help) {
  font-size: 16px;
}
.mail-address-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
#entryMailAddress {
  font:
    700 28px Arial,
    sans-serif;
  user-select: all;
}
.mail-copy,
.history-remove {
  border: 0;
  background: none;
  color: var(--teal);
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
#entryCopyStatus:empty {
  display: none;
}
#entryMailLink {
  max-width: 420px;
  margin: 24px 0 16px;
}
.history-intro {
  font-size: 16px;
  line-height: 1.9;
}
.history-record {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 40px;
}
.history-record legend {
  font-size: 20px;
  font-weight: 700;
  padding-right: 16px;
}
.history-record legend span {
  font-family: Arial, sans-serif;
  color: var(--teal);
  margin-left: 6px;
}
.history-remove {
  position: absolute;
  right: 0;
  top: -38px;
}
.history-record > .form-group + .form-group {
  margin-top: 24px;
}
.history-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.history-month-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8px;
}
.history-current {
  font-size: 14px;
  margin-top: 8px;
}
.history-record select:disabled {
  opacity: 0.55;
  background: #e5eeee;
}
.history-add {
  width: 100%;
  min-height: 56px;
  margin: 24px 0 16px;
}
.history-none {
  font-size: 16px;
  margin-bottom: 24px;
}
.history-record
  .form-group:has([data-part="current"]:checked)
  .form-badge-required {
  display: none;
}
.noscript-note {
  width: min(800px, calc(100% - 48px));
  margin: 40px auto;
  padding: 24px;
  background: white;
  border: 1px solid var(--navy);
}
.noscript-note a {
  text-decoration: underline;
}
@media (max-width: 1199px) {
  .entry-progress {
    left: 82px;
  }
  .entry-hero {
    padding-left: 0;
  }
  .entry-layout {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
  }
  .entry-index {
    font-size: 14px;
  }
  .role-groups {
    gap: 12px;
  }
  .role-group {
    padding: 12px 8px;
  }
  .role-option {
    gap: 8px;
    padding: 8px 4px;
  }
  .role-group-head h3 {
    font-size: 16px;
  }
  .method-fieldset {
    grid-template-columns: 1fr;
  }
  .method-option small {
    margin-top: 4px;
  }
}
@media (max-width: 1023px) {
  :root {
    --font-message: 32px;
    --font-card: 26px;
    --font-body: 16px;
    --form-inset: 28px;
  }
  .entry-hero,
  .entry-layout {
    width: calc(100% - 48px);
    max-width: 720px;
  }
  .header-bar {
    right: 12px;
  }
  .entry-link {
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0;
    width: 112px;
    padding: 0 8px;
  }
  .entry-hero {
    padding: 112px 0 24px;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 20px;
  }
  .entry-word {
    font-size: 80px;
    margin-bottom: 24px;
  }
  .entry-hero-copy > p {
    margin-top: 16px;
    line-height: 1.9;
  }
  .entry-hero-art {
    padding-bottom: 0;
  }
  .entry-layout {
    display: block;
  }
  .entry-index {
    display: none;
  }
  .entry-progress {
    left: 0;
    margin-bottom: 28px;
    gap: 24px;
    max-width: 480px;
  }
  .entry-progress li:not(:last-child):after {
    left: calc(100% + 2px);
    width: 20px;
  }
  .role-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .role-group {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 16px;
  }
  .role-group-head img {
    height: 88px;
    margin: 0 auto 8px;
  }
  .role-group-head h3 {
    min-height: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }
  .role-option {
    min-height: 60px;
    padding: 8px;
    gap: 10px;
  }
  .entry-block {
    margin-bottom: 32px;
    padding-bottom: 32px;
    scroll-margin-top: 88px;
  }
  .entry-block h2 {
    gap: 12px;
  }
  .entry-common-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .method-option {
    padding: 16px;
    gap: 12px;
  }
  .form-label {
    font-size: 16px;
  }
  .file-input-drop {
    display: none;
  }
  .entry-screening {
    padding: 20px;
  }
  .entry-screening h2 {
    font-size: 18px;
  }
  .entry-consent label {
    font-size: 14px;
    line-height: 1.8;
  }
  .history-dates {
    grid-template-columns: 1fr;
  }
  main {
    padding-bottom: 64px;
  }
  #entrySuccess {
    padding: 32px 24px;
  }
  #entrySuccess h2 {
    font-size: 26px;
  }
}
@media (max-width: 599px) {
  :root {
    --font-message: 28px;
    --form-inset: 24px;
  }
  .entry-hero {
    grid-template-columns: 1fr;
    position: relative;
    padding-top: 112px;
    padding-bottom: 28px;
    gap: 0;
  }
  .entry-word {
    font-size: clamp(52px, 14.2vw, 64px);
    margin-bottom: 24px;
  }
  .entry-hero-art {
    position: absolute;
    right: 0;
    top: 88px;
    width: 96px;
    height: 90px;
  }
  .entry-hero-art img {
    height: 90px;
    object-fit: contain;
  }
  .entry-hero-copy > p {
    max-width: 310px;
    margin-top: 12px;
  }
  .entry-progress {
    gap: 12px;
    margin-bottom: 24px;
  }
  .entry-progress li {
    font-size: 14px;
    gap: 8px;
  }
  .entry-progress li > span {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .entry-progress li:not(:last-child):after {
    left: 100%;
    width: 12px;
  }
  .form-paper {
    --fold: 24px;
  }
  .entry-block h2 {
    font-size: 24px;
    gap: 10px;
    margin-bottom: 20px;
  }
  .role-group {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }
  .role-group-head {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .role-group-head img {
    width: 68px;
    height: 60px;
    margin: 0;
    flex: none;
  }
  .role-group-head h3 {
    text-align: left;
    font-size: 16px;
  }
  .role-choice-list {
    gap: 4px;
  }
  .role-option {
    min-height: 52px;
    padding: 8px;
    align-items: flex-start;
  }
  .role-option input {
    margin-top: 4px;
  }
  .role-option-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
  }
  .role-option strong {
    font-size: 16px;
  }
  .role-option small {
    font-size: 12px;
    margin: 0;
  }
  .method-option {
    padding: 16px 12px;
  }
  .method-option strong {
    font-size: 16px;
  }
  .method-option small {
    font-size: 14px;
  }
  .form-control {
    padding: 12px;
    font-size: 16px;
  }
  .form-select-wrap select {
    padding-right: 26px;
  }
  .form-select-wrap:after {
    right: 12px;
  }
  .birth-select-row {
    gap: 6px;
  }
  #entry-person .choice-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }
  .choice-item {
    font-size: 16px;
  }
  .file-input-ui {
    padding: 24px 16px;
  }
  .entry-screening {
    padding: 20px 16px;
  }
  .entry-screening h2 {
    font-size: 16px;
  }
  .primary-action,
  .secondary-action {
    font-size: 16px;
    padding: 16px 20px;
    gap: 16px;
    min-height: 60px;
  }
  .confirmation-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .confirmation-list dt {
    color: var(--teal);
    font-size: 14px;
  }
  .confirm-actions {
    flex-direction: column-reverse;
  }
  #entry-confirm h2 {
    font-size: 24px;
  }
  #entryMailAddress {
    font-size: 24px;
  }
  .mail-address-row {
    gap: 12px;
  }
  .entry-mail-panel h3 {
    font-size: 20px;
  }
  .history-remove {
    font-size: 12px;
  }
  .history-record legend {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Trial 2026-10-08 phone check: on the narrowest phones each column takes the width of its choices, so 回答しない
   stays on one line. */
@media (max-width: 359px) {
  /* Each example fits its field; what the applicant types stays 16px. */
  .form-control::placeholder {
    font-size: 14px;
  }
  /* 「入力内容を確認する」 and its arrow stay on one line. */
  .primary-action,
  .secondary-action {
    gap: 12px;
    padding-inline: 14px;
  }
  #entry-person .choice-list {
    grid-template-columns: auto auto;
    justify-content: start;
    column-gap: 24px;
  }
}
/* Trial 2026-10-08 phone check: the file note breaks only at its spaces (PDF / Word / Excel（最大10MB）), and a long
   file name still wraps. */
.file-input-name {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
