.step50-resume-ai {
  --step50-bg: #f5f7f4;
  --step50-surface: #ffffff;
  --step50-soft: #eef3ed;
  --step50-ink: #1f2a24;
  --step50-muted: #65736a;
  --step50-line: #cfd9d0;
  --step50-primary: #226b4d;
  --step50-primary-ink: #ffffff;
  --step50-warning-bg: #fff0e6;
  --step50-warning-ink: #7a3f12;
  --step50-content-max: 1120px;
  color: var(--step50-ink);
  background: var(--step50-bg);
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 20px;
  font-size: 16px;
}

.step50-resume-ai * {
  box-sizing: border-box;
}

.step50-resume-ai button,
.step50-resume-ai input,
.step50-resume-ai textarea,
.step50-resume-ai select {
  font: inherit;
}

.step50-resume-ai h2,
.step50-resume-ai h3,
.step50-resume-ai p {
  margin-top: 0;
}

.step50-brand-logo {
  display: block;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2172 / 724;
  object-fit: contain;
  border-radius: 10px;
}

.step50-brand-logo--app {
  width: min(300px, 72vw);
  margin: 0 0 14px;
}

.step50-brand-logo--landing {
  width: min(390px, 78vw);
  margin: 0 0 22px;
  filter: drop-shadow(0 7px 12px rgba(8, 59, 77, 0.14));
}

.step50-brand-logo--login {
  width: min(340px, 82vw);
  margin: 0 auto 24px;
}

.step50-brand-logo--info,
.step50-brand-logo--guide {
  width: min(320px, 82vw);
  margin: 0 auto 22px;
}

.step50-resume-ai__header,
.step50-resume-ai__tabs,
.step50-card__header,
.step50-button-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.step50-resume-ai__header {
  justify-content: space-between;
  max-width: var(--step50-content-max);
  margin: 0 auto 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--step50-line);
  width: 100%;
}

.step50-resume-ai__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.step50-resume-ai__work-start {
  display: grid;
  gap: 4px;
  border-left: 5px solid var(--step50-primary);
  max-width: var(--step50-content-max);
  margin: 20px auto 12px;
  padding: 2px 0 2px 14px;
}

.step50-resume-ai__work-start p {
  color: var(--step50-primary);
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.step50-resume-ai__work-start h3 {
  color: var(--step50-ink);
  font-size: 1.18em;
  margin: 0;
}

.step50-resume-ai__work-start span {
  color: var(--step50-muted);
  font-size: 0.92em;
}

.step50-resume-ai__sample {
  margin: 0 0 16px;
}

.step50-resume-ai__sample figcaption {
  color: var(--step50-ink);
  font-weight: 700;
  margin-bottom: 8px;
}

.step50-resume-ai__sample img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-surface);
}

.step50-resume-ai__eyebrow,
.step50-card__label {
  color: var(--step50-muted);
  font-size: 0.86em;
  margin-bottom: 4px;
}

.step50-resume-ai__tabs {
  flex-wrap: wrap;
  max-width: var(--step50-content-max);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.step50-resume-ai__notice,
.step50-resume-ai__limits {
  max-width: var(--step50-content-max);
  margin-left: auto;
  margin-right: auto;
}

.step50-resume-ai__tabs button,
.step50-button,
.step50-small-button {
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-surface);
  color: var(--step50-ink);
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
}

.step50-resume-ai__tabs button.is-active,
.step50-button--primary {
  border-color: var(--step50-primary);
  background: var(--step50-primary);
  color: var(--step50-primary-ink);
}

.step50-resume-ai button:disabled,
.step50-button:disabled,
.step50-small-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.step50-button-row {
  flex-wrap: wrap;
}

.step50-ai-action-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: #ffffff;
}

.step50-ai-action-panel strong {
  display: block;
  color: var(--step50-ink);
  font-size: 1.02em;
  margin-bottom: 4px;
}

.step50-ai-action-panel p {
  color: var(--step50-muted);
  font-size: 0.92em;
  margin: 0;
}

.step50-ai-action-panel--career {
  background: #f8fbf9;
}

.step50-application-section {
  background: #ffffff;
  border: 1px solid #cfded4;
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 16px;
}

.step50-application-section legend {
  background: #fff3e3;
  border: 1px solid #e6b16d;
  border-radius: 999px;
  color: #b15d14;
  font-size: 1.04em;
  font-weight: 800;
  line-height: 1.35;
  padding: 6px 14px;
}

.step50-document-form .step50-application-section > label,
.step50-document-form .step50-application-research__body > label,
.step50-document-form .step50-application-extra__grid > label {
  grid-column: auto;
}

.step50-application-section--copy > label,
.step50-document-form .step50-application-section > .step50-form__wide,
.step50-document-form .step50-application-research__body > .step50-form__wide,
.step50-document-form .step50-application-extra__grid > .step50-form__wide {
  grid-column: 1 / -1;
}

.step50-application-research,
.step50-application-extra {
  background: #f8fbf9;
  border: 1px solid rgba(34, 107, 77, 0.2);
  border-radius: 10px;
  padding: 0;
}

.step50-application-research summary,
.step50-application-extra summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 16px;
}

.step50-application-research summary::-webkit-details-marker,
.step50-application-extra summary::-webkit-details-marker {
  display: none;
}

.step50-application-research summary::after,
.step50-application-extra summary::after {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cfded4;
  border-radius: 999px;
  content: "開く";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82em;
  font-weight: 800;
  margin-left: auto;
  min-height: 32px;
  padding: 4px 12px;
}

.step50-application-research[open] summary::after,
.step50-application-extra[open] summary::after {
  content: "閉じる";
}

.step50-application-research summary strong,
.step50-application-extra summary strong {
  color: var(--step50-ink);
  display: block;
  font-size: 1.04em;
  margin-bottom: 4px;
}

.step50-application-research summary small,
.step50-application-extra summary small {
  color: var(--step50-muted);
  display: block;
  font-size: 0.92em;
  line-height: 1.7;
  margin: 0;
}

.step50-application-research__body,
.step50-application-extra__grid {
  border-top: 1px solid rgba(34, 107, 77, 0.16);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
}

.step50-company-fit-panel {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(213, 127, 47, 0.32);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.step50-company-fit-panel strong {
  color: var(--step50-ink);
  display: block;
  font-size: 1em;
  margin-bottom: 4px;
}

.step50-company-fit-panel p {
  color: var(--step50-muted);
  font-size: 0.9em;
  line-height: 1.65;
  margin: 0;
}

.step50-company-fit-result {
  background: #fffaf2;
  border: 1px solid rgba(213, 127, 47, 0.34);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  padding: 14px;
}

.step50-company-fit-result[hidden] {
  display: none;
}

.step50-company-fit-result__header strong {
  color: var(--step50-ink);
  display: block;
  font-size: 1.02em;
  margin-bottom: 4px;
}

.step50-company-fit-result__header p {
  color: var(--step50-muted);
  font-size: 0.9em;
  line-height: 1.65;
  margin: 0;
}

.step50-company-fit-result .step50-ai-proposal {
  border-color: rgba(213, 127, 47, 0.45);
  box-shadow: none;
}

.step50-company-overview-result {
  background: #f4f9fb;
  border: 1px solid rgba(20, 91, 118, 0.26);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  padding: 14px;
}

.step50-company-overview-result[hidden] {
  display: none;
}

.step50-company-overview-result .step50-ai-proposal {
  border-color: rgba(20, 91, 118, 0.34);
  box-shadow: none;
}

.step50-template-current {
  align-items: center;
  background: #f8fbf9;
  border: 1px solid rgba(34, 107, 77, 0.2);
  border-radius: 10px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
}

.step50-template-current span {
  color: var(--step50-primary);
  display: block;
  font-size: 0.82em;
  font-weight: 800;
  margin-bottom: 4px;
}

.step50-template-current strong {
  color: var(--step50-ink);
  display: block;
  font-size: 1.08em;
  margin-bottom: 4px;
}

.step50-template-current p {
  color: var(--step50-muted);
  font-size: 0.9em;
  line-height: 1.65;
  margin: 0;
}

.step50-template-current .step50-small-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.step50-template-current__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.step50-template-current__options .step50-small-button.is-active {
  background: var(--step50-primary);
  border-color: var(--step50-primary);
  color: var(--step50-primary-ink);
}

.step50-ai-wizard {
  display: grid;
  gap: 14px;
  border: 1px solid #bad1c5;
  border-radius: 8px;
  background: #f2f8f4;
  padding: 16px;
}

.step50-ai-wizard__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.step50-ai-wizard__header strong {
  display: block;
  color: var(--step50-ink);
  font-size: 1.08em;
  margin-bottom: 4px;
}

.step50-ai-wizard__header p,
.step50-ai-wizard__hint {
  color: var(--step50-muted);
  font-size: 0.92em;
  margin: 0;
}

.step50-ai-wizard__header span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--step50-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 5px 10px;
}

.step50-ai-wizard__body {
  display: grid;
  gap: 10px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.step50-ai-wizard__label {
  color: var(--step50-ink);
  font-weight: 700;
  margin: 0;
}

.step50-ai-wizard__answer input:not([type="radio"]),
.step50-ai-wizard__answer textarea {
  width: 100%;
}

.step50-ai-wizard__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.step50-form .step50-ai-wizard__choices label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-weight: 700;
  min-height: 54px;
  padding: 12px 14px;
}

.step50-ai-wizard__choices input[type="radio"] {
  appearance: auto;
  align-self: center;
  justify-self: center;
  width: 18px !important;
  height: 18px;
  margin: 0;
}

.step50-ai-wizard__choices label span {
  color: var(--step50-ink);
  line-height: 1.45;
}

.step50-ai-wizard__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.step50-ai-proposals {
  display: grid;
  gap: 12px;
  border: 1px solid #c8d8cf;
  border-radius: 8px;
  background: #f7fbf8;
  padding: 16px;
}

.step50-ai-proposals__header strong {
  display: block;
  color: var(--step50-ink);
  font-size: 1.04em;
  margin-bottom: 4px;
}

.step50-ai-proposals__header p,
.step50-ai-proposals__empty {
  color: var(--step50-muted);
  font-size: 0.92em;
  margin: 0;
}

.step50-ai-proposals__list {
  display: grid;
  gap: 12px;
}

.step50-ai-proposal {
  display: grid;
  gap: 12px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.step50-ai-proposal[data-status="adopted"] {
  border-color: var(--step50-primary);
  background: #f4faf6;
}

.step50-ai-proposal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.step50-ai-proposal__header strong {
  color: var(--step50-ink);
}

.step50-ai-proposal__header p {
  color: var(--step50-muted);
  font-size: 0.9em;
  margin: 4px 0 0;
}

.step50-ai-proposal__badge {
  flex: 0 0 auto;
  border: 1px solid #e6b35f;
  border-radius: 999px;
  background: #fff6e8;
  color: #7a4b08;
  font-size: 0.82em;
  font-weight: 700;
  padding: 4px 10px;
}

.step50-ai-proposal[data-status="adopted"] .step50-ai-proposal__badge {
  border-color: var(--step50-primary);
  background: var(--step50-primary);
  color: #ffffff;
}

.step50-ai-proposal__text {
  width: 100%;
  min-height: 130px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 10px;
  resize: vertical;
}

.step50-ai-proposal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step50-small-button--primary {
  border-color: var(--step50-primary);
  background: var(--step50-primary);
  color: #ffffff;
}

.step50-ai-proposal__source {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--step50-line);
  padding-top: 12px;
}

.step50-ai-proposal__source[hidden] {
  display: none;
}

.step50-ai-proposal__source-block {
  display: grid;
  gap: 3px;
}

.step50-ai-proposal__source-block strong {
  color: var(--step50-ink);
  font-size: 0.88em;
}

.step50-ai-proposal__source-block p {
  color: var(--step50-muted);
  font-size: 0.9em;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.step50-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.step50-form-actions--application {
  grid-column: 1 / -1;
  padding-top: 6px;
  border-top: 1px solid var(--step50-line);
}

.step50-save-status {
  color: var(--step50-muted);
  font-size: 0.92em;
  min-height: 1.4em;
}

.step50-save-status[data-type="saved"] {
  color: var(--step50-primary);
  font-weight: 700;
}

.step50-save-status[data-type="error"] {
  color: var(--step50-warning-ink);
  font-weight: 700;
}

.step50-button[data-state="saving"] {
  cursor: wait;
  opacity: 0.72;
}

.step50-button[data-state="saved"] {
  border-color: var(--step50-primary);
  background: var(--step50-primary);
  color: var(--step50-primary-ink);
}

.step50-resume-ai__notice,
.step50-resume-ai__limits,
.step50-resume-ai-login-required {
  background: var(--step50-surface);
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  color: var(--step50-muted);
}

.step50-resume-ai__limits {
  background: var(--step50-soft);
  margin-top: -8px;
}

.step50-resume-ai-link-card {
  --step50-surface: #ffffff;
  --step50-soft: #eef3ed;
  --step50-ink: #1f2a24;
  --step50-muted: #65736a;
  --step50-line: #cfd9d0;
  --step50-primary: #226b4d;
  --step50-primary-ink: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-surface);
  color: var(--step50-ink);
  padding: 18px;
  margin: 16px 0;
}

.step50-resume-ai-link-card h3,
.step50-resume-ai-link-card p {
  margin-top: 0;
}

.step50-resume-ai-link-card h3 {
  margin-bottom: 6px;
}

.step50-resume-ai-link-card p {
  color: var(--step50-muted);
  margin-bottom: 0;
}

.step50-resume-ai-link-card__eyebrow {
  font-size: 0.86em;
  margin-bottom: 4px !important;
}

.step50-resume-ai-link-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--step50-primary);
  color: var(--step50-primary-ink);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.step50-service-landing {
  --landing-ink: #17231d;
  --landing-muted: #57645f;
  --landing-primary: #1f7557;
  --landing-primary-dark: #164e3d;
  --landing-green: #1f7557;
  --landing-blue: #315f8d;
  --landing-line: #d8e1db;
  --landing-soft: #f2f7f4;
  --landing-warm: #fff6ea;
  color: var(--landing-ink);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.75;
  left: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  position: relative;
  width: 100vw !important;
}

body.step50-service-landing-page .p-breadcrumb,
body.step50-service-landing-page #breadcrumb,
body.step50-service-landing-page .c-pageTitle,
body.step50-service-landing-page .p-articleHead,
body.step50-service-landing-page .l-sidebar,
body.step50-service-landing-page aside,
body:has(.step50-service-landing) .p-breadcrumb,
body:has(.step50-service-landing) #breadcrumb,
body:has(.step50-service-landing) .c-pageTitle,
body:has(.step50-service-landing) .p-articleHead,
body:has(.step50-service-landing) .l-sidebar,
body:has(.step50-service-landing) aside {
  display: none !important;
}

body.step50-service-landing-page .l-content,
body.step50-service-landing-page .l-mainContent,
body.step50-service-landing-page .l-mainContent__inner,
body.step50-service-landing-page .post_content,
body:has(.step50-service-landing) .l-content,
body:has(.step50-service-landing) .l-mainContent,
body:has(.step50-service-landing) .l-mainContent__inner,
body:has(.step50-service-landing) .post_content {
  max-width: none !important;
  width: 100% !important;
}

body.step50-service-landing-page .post_content,
body:has(.step50-service-landing) .post_content {
  margin: 0 !important;
  padding: 0 !important;
}

body.step50-resume-ai-app-page .l-header,
body.step50-resume-ai-app-page .l-footer,
body.step50-resume-ai-app-page .p-header,
body.step50-resume-ai-app-page .p-footer,
body.step50-resume-ai-app-page #header,
body.step50-resume-ai-app-page #footer,
body.step50-resume-ai-app-page .c-gnav,
body.step50-resume-ai-app-page .p-spMenu,
body.step50-resume-ai-app-page .p-breadcrumb,
body.step50-resume-ai-app-page #breadcrumb,
body.step50-resume-ai-app-page .c-pageTitle,
body.step50-resume-ai-app-page .p-articleHead,
body.step50-resume-ai-app-page .l-sidebar,
body.step50-resume-ai-app-page aside,
body:has(.step50-resume-ai) .l-header,
body:has(.step50-resume-ai) .l-footer,
body:has(.step50-resume-ai) .p-header,
body:has(.step50-resume-ai) .p-footer,
body:has(.step50-resume-ai) #header,
body:has(.step50-resume-ai) #footer,
body:has(.step50-resume-ai) .c-gnav,
body:has(.step50-resume-ai) .p-spMenu,
body:has(.step50-resume-ai) .p-breadcrumb,
body:has(.step50-resume-ai) #breadcrumb,
body:has(.step50-resume-ai) .c-pageTitle,
body:has(.step50-resume-ai) .p-articleHead,
body:has(.step50-resume-ai) .l-sidebar,
body:has(.step50-resume-ai) aside {
  display: none !important;
}

body.step50-resume-ai-app-page .l-content,
body.step50-resume-ai-app-page .l-mainContent,
body.step50-resume-ai-app-page .l-mainContent__inner,
body.step50-resume-ai-app-page .post_content,
body:has(.step50-resume-ai) .l-content,
body:has(.step50-resume-ai) .l-mainContent,
body:has(.step50-resume-ai) .l-mainContent__inner,
body:has(.step50-resume-ai) .post_content {
  max-width: none !important;
  width: 100% !important;
}

body.step50-resume-ai-app-page .post_content,
body:has(.step50-resume-ai) .post_content {
  margin: 0 !important;
  padding: 0 !important;
}

.step50-service-landing *,
.step50-service-landing *::before,
.step50-service-landing *::after {
  box-sizing: border-box;
}

.step50-service-landing h1,
.step50-service-landing h2,
.step50-service-landing h3,
.step50-service-landing p {
  color: inherit;
  margin-top: 0;
}

.step50-service-landing a {
  color: inherit;
}

.step50-service-landing__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 42px);
  background: #ffffff;
  border-bottom: 1px solid var(--landing-line);
  border-top: 1px solid var(--landing-line);
}

.step50-service-landing__brand {
  color: var(--landing-ink) !important;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.step50-service-landing__links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--landing-muted);
  font-size: 0.94em;
}

.step50-service-landing__links a {
  color: var(--landing-muted) !important;
  text-decoration: none;
}

.step50-service-landing__hero {
  display: flex;
  align-items: center;
  min-height: min(680px, calc(100vh - 72px));
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 70px);
  background-color: #f8fbf8;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 36%, rgba(255, 255, 255, 0.24) 68%, rgba(255, 255, 255, 0.04) 100%),
    var(--step50-landing-hero);
  background-position: center center;
  background-size: cover;
}

.step50-service-landing__hero-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.step50-service-landing__eyebrow {
  color: var(--landing-primary) !important;
  font-size: 0.88em;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step50-service-landing__hero h1 {
  color: var(--landing-ink) !important;
  font-size: clamp(2.3rem, 5.2vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 920px;
}

.step50-service-landing__headline-line {
  display: inline-block;
  white-space: nowrap;
}

.step50-service-landing__lead {
  color: var(--landing-muted) !important;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  margin-bottom: 28px;
  max-width: 620px;
}

.step50-service-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.step50-service-landing__pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.step50-service-landing__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 190px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--landing-ink) !important;
  font-weight: 800;
  padding: 10px 18px;
  text-decoration: none !important;
  white-space: nowrap;
}

.step50-service-landing__button--primary {
  border-color: var(--landing-primary);
  background: var(--landing-primary);
  color: #ffffff !important;
}

.step50-service-landing__button--secondary {
  min-height: 40px;
  min-width: 0;
  padding: 8px 16px;
}

.step50-service-landing__button:hover,
.step50-service-landing__button:focus {
  border-color: var(--landing-primary-dark);
  color: var(--landing-primary-dark) !important;
}

.step50-service-landing__button--primary:hover,
.step50-service-landing__button--primary:focus {
  background: var(--landing-primary-dark);
  color: #ffffff !important;
}

.step50-service-access {
  color: var(--landing-ink);
}

.step50-service-access__eyebrow,
.step50-service-access__lead {
  margin: 0;
}

.step50-service-access__eyebrow {
  color: var(--landing-primary) !important;
  font-size: 0.82em;
  font-weight: 900;
  letter-spacing: 0;
}

.step50-service-access__lead {
  color: var(--landing-muted) !important;
  font-size: 0.94em;
  line-height: 1.65;
}

.step50-service-access__actions {
  display: flex;
  gap: 10px;
}

.step50-service-access__actions .step50-service-landing__button {
  min-width: 126px;
}

.step50-service-access--article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: #eef5f0;
  padding: 20px;
}

.step50-service-access--floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 240px);
  gap: 12px;
  max-width: min(360px, calc(100vw - 44px));
  border: 1px solid rgba(31, 117, 87, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(24, 39, 31, 0.16);
  padding: 14px;
}

.step50-service-access--floating .step50-service-access__actions {
  flex-wrap: nowrap;
}

.step50-service-access--floating .step50-service-landing__button {
  min-height: 40px;
  min-width: 0;
  flex: 1 1 0;
  padding: 8px 12px;
}

.step50-service-access--floating .step50-service-landing__button--primary,
.step50-service-access--floating .step50-service-landing__button--primary:visited {
  background: var(--landing-primary) !important;
  border-color: var(--landing-primary) !important;
  color: #ffffff !important;
}

.step50-service-access--floating .step50-service-landing__button--primary:hover,
.step50-service-access--floating .step50-service-landing__button--primary:focus {
  background: var(--landing-primary-dark) !important;
  border-color: var(--landing-primary-dark) !important;
  color: #ffffff !important;
}

.step50-service-landing__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step50-service-landing__badges li {
  border: 1px solid rgba(31, 117, 87, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--landing-primary-dark);
  font-size: 0.9em;
  font-weight: 800;
  padding: 6px 12px;
}

.step50-service-landing__band {
  background: #ffffff;
  padding: clamp(44px, 7vw, 78px) clamp(20px, 5vw, 70px);
}

.step50-service-landing__band--soft {
  background: var(--landing-soft);
}

.step50-service-landing__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.step50-service-landing__section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.step50-service-landing__concerns {
  display: grid;
  gap: 10px;
}

.step50-service-landing__concerns--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 20px;
}

.step50-service-landing__concerns span {
  position: relative;
  border: 1px solid rgba(31, 117, 87, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--landing-ink);
  font-weight: 800;
  line-height: 1.5;
  padding: 11px 12px 11px 38px;
}

.step50-service-landing__concerns span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 3px solid var(--landing-primary);
  border-top: 0;
  border-left: 0;
  transform: translateY(-62%) rotate(45deg);
}

.step50-service-landing__section-head h2,
.step50-service-landing__pricing h2 {
  color: var(--landing-ink) !important;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.32;
  margin-bottom: 10px;
}

.step50-service-landing__features,
.step50-service-landing__flow,
.step50-service-landing__page-links {
  display: grid;
  gap: 14px;
}

.step50-service-landing__features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step50-service-landing__features article,
.step50-service-landing__flow article {
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.step50-service-landing__features article {
  display: grid;
  align-content: start;
  min-height: 238px;
  box-shadow: 0 10px 26px rgba(20, 39, 30, 0.06);
}

.step50-service-landing__feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f3ed;
  color: var(--landing-primary-dark);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.step50-service-landing__features article:nth-child(2) .step50-service-landing__feature-icon {
  background: #edf3fa;
  color: var(--landing-blue);
}

.step50-service-landing__features article:nth-child(3) .step50-service-landing__feature-icon {
  background: #fff2dc;
  color: #8a5a10;
}

.step50-service-landing__features h3,
.step50-service-landing__flow h3 {
  color: var(--landing-ink) !important;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 8px;
}

.step50-service-landing__features p,
.step50-service-landing__flow p,
.step50-service-landing__pricing p {
  color: var(--landing-muted) !important;
  margin-bottom: 0;
}

.step50-service-landing__feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.step50-service-landing__feature-list li {
  position: relative;
  color: var(--landing-ink);
  background: #f7faf8;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  padding: 12px 14px 12px 34px;
  line-height: 1.55;
}

.step50-service-landing__feature-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 1.05em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--landing-green);
}

.step50-service-landing__flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step50-service-landing__flow strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--landing-primary);
  color: #ffffff;
  font-size: 0.95em;
  margin-bottom: 12px;
}

.step50-service-landing__pricing {
  background: var(--landing-warm);
  padding: clamp(38px, 6vw, 64px) clamp(20px, 5vw, 70px);
}

.step50-service-landing__pricing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.step50-service-landing__pricing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.step50-service-landing__page-links {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.step50-service-landing__page-links a {
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--landing-ink) !important;
  font-weight: 800;
  padding: 16px;
  text-align: center;
  text-decoration: none !important;
}

.step50-service-landing__page-links a:hover,
.step50-service-landing__page-links a:focus {
  border-color: var(--landing-blue);
  color: var(--landing-blue) !important;
}

.step50-registration {
  --registration-ink: #17231d;
  --registration-muted: #57645f;
  --registration-primary: #1f7557;
  --registration-line: #d8e1db;
  background: #f2f7f4;
  color: var(--registration-ink);
  min-height: 70vh;
  padding: clamp(40px, 7vw, 86px) 18px;
}

body.step50-registration-page .p-breadcrumb,
body.step50-registration-page #breadcrumb,
body.step50-registration-page .c-pageTitle,
body.step50-registration-page .p-articleHead,
body.step50-registration-page .l-sidebar,
body.step50-registration-page aside,
body:has(.step50-registration) .p-breadcrumb,
body:has(.step50-registration) #breadcrumb,
body:has(.step50-registration) .c-pageTitle,
body:has(.step50-registration) .p-articleHead,
body:has(.step50-registration) .l-sidebar,
body:has(.step50-registration) aside {
  display: none !important;
}

body.step50-registration-page .l-content,
body.step50-registration-page .l-mainContent,
body.step50-registration-page .l-mainContent__inner,
body.step50-registration-page .post_content,
body:has(.step50-registration) .l-content,
body:has(.step50-registration) .l-mainContent,
body:has(.step50-registration) .l-mainContent__inner,
body:has(.step50-registration) .post_content {
  max-width: none !important;
  width: 100% !important;
}

body.step50-registration-page .post_content,
body:has(.step50-registration) .post_content {
  margin: 0 !important;
  padding: 0 !important;
}

.step50-registration,
.step50-registration * {
  box-sizing: border-box;
}

.step50-registration__panel {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--registration-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(23, 35, 29, 0.08);
}

.step50-registration__eyebrow {
  color: var(--registration-primary) !important;
  font-size: 0.88em;
  font-weight: 800;
  margin: 0 0 8px;
}

.step50-registration h2 {
  color: var(--registration-ink) !important;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 14px;
}

.step50-registration p {
  color: var(--registration-muted) !important;
}

.step50-registration__form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.step50-registration__form label {
  display: grid;
  gap: 6px;
  color: var(--registration-ink);
  font-weight: 700;
}

.step50-registration__form input[type="text"],
.step50-registration__form input[type="email"],
.step50-registration__form input[type="tel"],
.step50-registration__form input[type="password"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--registration-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.step50-registration__consent {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  font-weight: 500 !important;
}

.step50-registration__consent input {
  margin-top: 0.35em;
}

.step50-registration__website {
  display: none !important;
}

.step50-registration__submit {
  display: flex;
  margin-top: 8px;
}

.step50-registration__submit .step50-service-landing__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--registration-primary) !important;
  border-radius: 8px;
  background: var(--registration-primary) !important;
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.step50-registration__submit .step50-service-landing__button:hover,
.step50-registration__submit .step50-service-landing__button:focus {
  border-color: #155f43 !important;
  background: #155f43 !important;
  color: #ffffff !important;
}

.step50-registration__notice {
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.step50-registration__notice--success {
  border: 1px solid #b6dcc5;
  background: #edf8f1;
  color: #185b39;
}

.step50-registration__notice--error {
  border: 1px solid #efc3c3;
  background: #fff0f0;
  color: #9d2727;
}

.step50-registration .step50-service-landing__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--registration-primary) !important;
  border-radius: 8px;
  background: var(--registration-primary) !important;
  color: #ffffff !important;
  font-weight: 800;
  padding: 10px 18px;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.step50-registration .step50-service-landing__button:hover,
.step50-registration .step50-service-landing__button:focus {
  border-color: #155f43 !important;
  background: #155f43 !important;
  color: #ffffff !important;
}

.step50-registration__login {
  margin: 18px 0 0;
}

.step50-login__form {
  margin-top: 22px;
}

.step50-login__form form {
  display: grid;
  gap: 14px;
}

.step50-login__form p {
  margin: 0;
}

.step50-login__form label {
  display: grid;
  gap: 6px;
  color: var(--registration-ink);
  font-weight: 700;
}

.step50-login__form input[type="text"],
.step50-login__form input[type="password"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--registration-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.step50-login__form .login-remember label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.step50-login__form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--registration-primary);
  border-radius: 8px;
  background: var(--registration-primary);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 18px;
}

.step50-payment {
  --landing-bg: #f6f8f5;
  --landing-surface: #ffffff;
  --landing-soft: #eef4ef;
  --landing-ink: #17231d;
  --landing-muted: #5c6b62;
  --landing-line: #d5dfd8;
  --landing-primary: #1f7557;
  --landing-primary-dark: #15563f;
  color: var(--landing-ink) !important;
  background: var(--landing-bg);
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 40px);
}

.step50-payment * {
  box-sizing: border-box;
}

.step50-payment h2,
.step50-payment h3,
.step50-payment p {
  color: inherit !important;
  margin-top: 0;
}

.step50-payment__header {
  max-width: 760px;
  margin-bottom: 24px;
}

.step50-payment__eyebrow,
.step50-payment__label {
  color: var(--landing-primary) !important;
  font-size: 0.88em;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.step50-payment__header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
}

.step50-payment__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 24px;
  align-items: center;
  background: var(--landing-surface);
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
}

.step50-payment__panel h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 12px;
}

.step50-payment__form {
  display: grid;
  gap: 14px;
}

.step50-payment__status {
  background: var(--landing-soft);
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  color: var(--landing-muted) !important;
  padding: 12px 14px;
}

.step50-payment__status[data-type="success"],
.step50-payment__status--success {
  background: #eaf6ef;
  color: var(--landing-primary-dark) !important;
  font-weight: 800;
}

.step50-payment__status[data-type="error"],
.step50-payment__status--warning {
  background: #fff0e6;
  color: #7a3f12 !important;
  font-weight: 800;
}

.step50-expert-article {
  --article-ink: #17231d;
  --article-muted: #5f6d66;
  --article-primary: #1f7557;
  --article-blue: #315f8d;
  --article-line: #d8e1db;
  --article-soft: #f3f7f4;
  --article-warm: #fff6ea;
  color: var(--article-ink);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 auto !important;
  max-width: 1120px !important;
  width: 100% !important;
}

.step50-expert-article *,
.step50-expert-article *::before,
.step50-expert-article *::after {
  box-sizing: border-box;
}

.step50-expert-article h1,
.step50-expert-article h2,
.step50-expert-article h3,
.step50-expert-article p {
  color: inherit;
  margin-top: 0;
}

.step50-expert-article__hero {
  background: var(--article-soft);
  border-bottom: 1px solid var(--article-line);
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 70px);
}

.step50-expert-article__hero > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.step50-expert-article__eyebrow {
  color: var(--article-primary) !important;
  font-size: 0.88em;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.step50-expert-article__hero h1 {
  color: var(--article-ink) !important;
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 18px;
}

.step50-expert-article__hero p,
.step50-expert-article__main p,
.step50-expert-article__side p,
.step50-expert-article__side li {
  color: var(--article-muted) !important;
}

.step50-expert-article__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.step50-expert-article__labels span {
  border: 1px solid rgba(31, 117, 87, 0.24);
  border-radius: 999px;
  background: #ffffff;
  color: var(--article-primary);
  font-size: 0.9em;
  font-weight: 800;
  padding: 6px 12px;
}

.step50-expert-article__layout {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 76px) clamp(20px, 5vw, 70px);
}

.step50-expert-article__main section,
.step50-expert-article__side section {
  border-bottom: 1px solid var(--article-line);
  padding-bottom: 32px;
  margin-bottom: 34px;
}

.step50-expert-article__main section:last-child,
.step50-expert-article__side section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.step50-expert-article__main h2,
.step50-expert-article__side h2 {
  color: var(--article-ink) !important;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 14px;
}

.step50-expert-article__main h3 {
  color: var(--article-ink) !important;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 26px 0 8px;
}

.step50-expert-article__points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step50-expert-article__points article,
.step50-expert-article__profile,
.step50-expert-article__toc,
.step50-expert-article__cta {
  border: 1px solid var(--article-line);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(18px, 3vw, 26px);
}

.step50-expert-article__points span {
  color: var(--article-blue);
  display: block;
  font-size: 0.85em;
  font-weight: 900;
  margin-bottom: 8px;
}

.step50-expert-article__points h3 {
  margin-top: 0;
}

.step50-expert-article__side {
  position: static;
}

.step50-expert-article__note {
  background: var(--article-warm);
  border-radius: 8px;
  padding: 10px 12px;
}

.step50-expert-article__toc ul {
  margin: 0;
  padding-left: 20px;
}

.step50-expert-article__cta {
  background: var(--article-soft);
}

.step50-expert-article__cta .step50-service-landing__button {
  margin-top: 10px;
  width: 100%;
}

.step50-service-info {
  --landing-ink: #17231d;
  --landing-muted: #596761;
  --landing-primary: #1f7557;
  --landing-line: #d8e2dc;
  color: var(--landing-ink);
  max-width: 1120px;
  margin: 32px auto;
  padding: 0 clamp(18px, 4vw, 32px);
}

.step50-service-info,
.step50-service-info * {
  box-sizing: border-box;
}

.step50-service-info h1,
.step50-service-info p {
  color: inherit;
  margin-top: 0;
}

.step50-service-info__header {
  border-bottom: 1px solid var(--landing-line);
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.step50-service-info__header h1 {
  color: var(--landing-ink) !important;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 12px;
}

.step50-service-info__header p,
.step50-service-info__note {
  color: var(--landing-muted) !important;
  line-height: 1.8;
}

.step50-service-info__panel {
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.step50-service-info__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid var(--landing-line);
}

.step50-service-info__row:last-child {
  border-bottom: 0;
}

.step50-service-info__row dt,
.step50-service-info__row dd {
  margin: 0;
  padding: 16px 18px;
  line-height: 1.75;
}

.step50-service-info__row dt {
  background: #eef5f0;
  color: var(--landing-ink);
  font-weight: 800;
}

.step50-service-info__row dd {
  color: var(--landing-muted);
}

.step50-service-info__note {
  margin-top: 18px;
}

.step50-service-info__actions {
  margin-top: 24px;
}

.step50-resume-ai-guide {
  --step50-surface: #ffffff;
  --step50-soft: #eef3ed;
  --step50-ink: #1f2a24;
  --step50-muted: #65736a;
  --step50-line: #cfd9d0;
  --step50-primary: #226b4d;
  --step50-primary-ink: #ffffff;
  color: var(--step50-ink);
  background: var(--step50-surface);
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 22px;
  margin: 16px 0;
}

.step50-resume-ai-guide * {
  box-sizing: border-box;
}

.step50-resume-ai-guide,
.step50-resume-ai-guide h2,
.step50-resume-ai-guide h3,
.step50-resume-ai-guide h4,
.step50-resume-ai-guide li,
.step50-resume-ai-guide span {
  color: var(--step50-ink) !important;
}

.step50-resume-ai-guide p,
.step50-resume-ai-guide__header p,
.step50-resume-ai-guide__step p,
.step50-resume-ai-guide__notice p {
  color: var(--step50-muted) !important;
}

.step50-resume-ai-guide__step,
.step50-resume-ai-guide__notice {
  background-color: var(--step50-soft);
}

.step50-resume-ai-guide__notice {
  background-color: var(--step50-surface);
}

.step50-resume-ai-guide a:not(.step50-resume-ai-link-card__button) {
  color: var(--step50-primary) !important;
}

.step50-resume-ai-guide__eyebrow {
  color: var(--step50-muted) !important;
}

.step50-resume-ai-guide__step > span,
.step50-resume-ai-guide__actions .step50-resume-ai-link-card__button,
.step50-resume-ai-guide__actions .step50-resume-ai-link-card__button:visited,
.step50-resume-ai-guide__actions .step50-resume-ai-link-card__button:hover,
.step50-resume-ai-guide__actions .step50-resume-ai-link-card__button:focus {
  color: var(--step50-primary-ink) !important;
}

.step50-resume-ai-guide h2,
.step50-resume-ai-guide h3,
.step50-resume-ai-guide p {
  margin-top: 0;
}

.step50-resume-ai-guide__header {
  border-bottom: 1px solid var(--step50-line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.step50-resume-ai-guide__header p {
  color: var(--step50-muted);
  margin-bottom: 0;
}

.step50-resume-ai-guide__eyebrow {
  color: var(--step50-muted);
  font-size: 0.86em;
  margin-bottom: 4px !important;
}

.step50-resume-ai-guide__steps {
  display: grid;
  gap: 12px;
}

.step50-resume-ai-guide--compact {
  max-width: var(--step50-content-max, 1120px);
  margin: 0 auto 18px;
  padding: clamp(18px, 2.6vw, 28px);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20, 39, 30, 0.06);
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__header {
  max-width: 760px;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  border-bottom: 1px solid var(--step50-line);
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.step50-resume-ai-guide__visual {
  align-self: stretch;
  border: 1px solid rgba(34, 107, 77, 0.14);
  border-radius: 12px;
  background: #ffffff;
  margin: 0;
  min-height: 180px;
  overflow: hidden;
}

.step50-resume-ai-guide__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__header h3 {
  margin-bottom: 6px;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step {
  align-content: start;
  align-items: start;
  border: 0;
  border-left: 5px solid currentColor;
  box-shadow: inset 0 0 0 1px rgba(31, 42, 36, 0.08);
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 0;
  padding: 18px 18px 18px 20px;
  grid-column: auto;
  position: relative;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step:nth-child(5) {
  grid-column: 1 / -1;
}

.step50-resume-ai-guide__step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step-head span {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(31, 42, 36, 0.08);
  width: 30px !important;
  height: 30px;
}

.step50-resume-ai-guide__step-head h3 {
  color: var(--step50-ink) !important;
  font-size: 1.02em;
  line-height: 1.35;
  margin: 0;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step h3 {
  font-size: 1em;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step p {
  font-size: 0.92em;
  line-height: 1.6;
}

.step50-resume-ai-guide__step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-soft);
  padding: 14px;
}

.step50-resume-ai-guide__step span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--step50-primary);
  color: var(--step50-primary-ink);
  font-weight: 700;
}

.step50-resume-ai-guide__step h3 {
  margin-bottom: 4px;
}

.step50-resume-ai-guide__step p {
  color: var(--step50-muted);
  margin-bottom: 0;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step > span {
  background: #ffffff;
}

.step50-resume-ai-guide__step--home {
  background: #eef6f1;
  color: #1f7a55;
}

.step50-resume-ai-guide__step--base {
  background: #eff6fb;
  color: #286d97;
}

.step50-resume-ai-guide__step--application {
  background: #fff6e8;
  color: #a35b14;
}

.step50-resume-ai-guide__step--career {
  background: #f2f0fa;
  color: #6255a4;
}

.step50-resume-ai-guide__step--preview {
  background: #f8f0f3;
  color: #9a4c63;
}

.step50-resume-ai-guide__step--home > span,
.step50-resume-ai-guide__step--home .step50-resume-ai-guide__step-head span {
  color: #1f7a55 !important;
}

.step50-resume-ai-guide__step--base > span,
.step50-resume-ai-guide__step--base .step50-resume-ai-guide__step-head span {
  color: #286d97 !important;
}

.step50-resume-ai-guide__step--application > span,
.step50-resume-ai-guide__step--application .step50-resume-ai-guide__step-head span {
  color: #a35b14 !important;
}

.step50-resume-ai-guide__step--career > span,
.step50-resume-ai-guide__step--career .step50-resume-ai-guide__step-head span {
  color: #6255a4 !important;
}

.step50-resume-ai-guide__step--preview > span,
.step50-resume-ai-guide__step--preview .step50-resume-ai-guide__step-head span {
  color: #9a4c63 !important;
}

.step50-resume-ai-guide__notice {
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 16px;
}

.step50-resume-ai-guide__notice h3 {
  margin-bottom: 8px;
}

.step50-resume-ai-guide__notice h4 {
  color: var(--step50-ink);
  font-size: 0.98em;
  margin: 14px 0 6px;
}

.step50-resume-ai-guide__notice p {
  color: var(--step50-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.step50-resume-ai-guide__notice a {
  color: var(--step50-primary);
  font-weight: 700;
}

.step50-resume-ai-guide__notice ul {
  margin: 0 0 10px;
  padding-left: 1.2em;
}

.step50-resume-ai-guide__notice li + li {
  margin-top: 6px;
}

.step50-resume-ai-guide__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.step50-resume-ai-guide__actions .step50-resume-ai-link-card__button,
.step50-resume-ai-guide__actions .step50-resume-ai-link-card__button:visited,
.step50-resume-ai-guide__actions .step50-resume-ai-link-card__button:hover,
.step50-resume-ai-guide__actions .step50-resume-ai-link-card__button:focus {
  color: var(--step50-primary-ink) !important;
}

.step50-resume-ai__notice[data-type="error"] {
  color: var(--step50-warning-ink);
  background: var(--step50-warning-bg);
  border-color: #e3ad75;
}

.step50-view {
  display: none;
  max-width: var(--step50-content-max);
  margin-left: auto;
  margin-right: auto;
}

.step50-view.is-active {
  display: block;
}

.step50-grid {
  display: grid;
  gap: 14px;
}

.step50-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step50-document-start {
  background: #ffffff;
  border: 1px solid var(--step50-line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(20, 39, 30, 0.06);
  display: grid;
  gap: 16px;
  margin: 0 auto 16px;
  max-width: var(--step50-content-max);
  padding: 18px;
}

.step50-document-start__header {
  border-left: 5px solid var(--step50-primary);
  display: grid;
  gap: 4px;
  padding-left: 14px;
}

.step50-document-start__header p {
  color: var(--step50-primary);
  font-size: 0.82em;
  font-weight: 800;
  margin: 0;
}

.step50-document-start__header h3 {
  color: var(--step50-ink);
  font-size: 1.25em;
  margin: 0;
}

.step50-document-start__header span {
  color: var(--step50-muted);
  line-height: 1.7;
}

.step50-document-start__choices {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step50-document-start__choices button {
  appearance: none;
  background: linear-gradient(135deg, #f7fbf8 0%, #ffffff 100%);
  border: 1px solid rgba(34, 107, 77, 0.2);
  border-radius: 10px;
  color: var(--step50-ink);
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  text-align: left;
}

.step50-document-start__choices button:hover,
.step50-document-start__choices button:focus {
  border-color: var(--step50-primary);
  box-shadow: 0 0 0 3px rgba(34, 107, 77, 0.08);
}

.step50-document-start__choices strong {
  color: var(--step50-ink);
  font-size: 1.08em;
}

.step50-document-start__choices span {
  color: var(--step50-muted);
  line-height: 1.65;
}

.step50-document-flow {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.step50-document-flow button {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(34, 107, 77, 0.2);
  border-radius: 12px;
  color: var(--step50-ink);
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 168px;
  padding: 16px;
  text-align: left;
}

.step50-document-flow button:hover,
.step50-document-flow button:focus {
  border-color: var(--step50-primary);
  box-shadow: 0 0 0 3px rgba(34, 107, 77, 0.08);
}

.step50-document-flow span {
  background: #fff3e3;
  border: 1px solid #e6b16d;
  border-radius: 999px;
  color: #b15d14;
  display: grid;
  font-weight: 800;
  height: 32px;
  place-items: center;
  width: 32px;
}

.step50-document-flow strong {
  color: var(--step50-ink);
  font-size: 1em;
  line-height: 1.45;
}

.step50-document-flow p {
  color: var(--step50-muted);
  font-size: 0.9em;
  line-height: 1.65;
  margin: 0;
}

.step50-home-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--step50-content-max);
  margin: 0 auto;
}

.step50-home-action {
  appearance: none;
  display: grid;
  gap: 4px;
  text-align: left;
  border: 1px solid rgba(34, 107, 77, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f4faf6 100%);
  color: var(--step50-ink);
  cursor: pointer;
  min-height: 150px;
  padding: 16px 18px;
  box-shadow: 0 8px 22px rgba(20, 39, 30, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.step50-home-action:hover,
.step50-home-action:focus {
  border-color: var(--step50-primary);
  box-shadow: 0 12px 28px rgba(20, 39, 30, 0.1);
  transform: translateY(-1px);
}

.step50-home-action strong {
  color: var(--step50-ink);
  font-size: 1.1em;
  line-height: 1.35;
}

.step50-home-action span {
  color: var(--step50-muted);
  line-height: 1.6;
}

.step50-home-action p {
  color: var(--step50-muted);
  margin: 0;
}

.step50-home-action::after {
  content: "開く";
  justify-self: start;
  border-radius: 999px;
  background: var(--step50-primary);
  color: var(--step50-primary-ink);
  font-size: 0.84em;
  font-weight: 800;
  margin-top: 8px;
  padding: 5px 12px;
}

.step50-home-action--base::after {
  content: "基本履歴書を開く";
}

.step50-home-action--applications::after {
  content: "提出先別を開く";
}

.step50-home-action--ai::after {
  content: "AI支援を使う";
}

.step50-card {
  background: var(--step50-surface);
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 16px;
}

.step50-card__header {
  justify-content: space-between;
  margin-bottom: 12px;
}

.step50-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1em;
}

.step50-card span,
.step50-card p {
  color: var(--step50-muted);
}

.step50-form {
  display: grid;
  gap: 16px;
}

.step50-document-editing-intro {
  background: #ffffff;
  border: 1px solid var(--step50-line);
  border-left: 5px solid var(--step50-primary);
  border-radius: 10px;
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 16px 18px;
}

.step50-document-editing-intro--compact {
  margin-bottom: 2px;
}

.step50-document-editing-intro p {
  color: var(--step50-primary);
  font-size: 0.82em;
  font-weight: 800;
  margin: 0;
}

.step50-document-editing-intro h3 {
  color: var(--step50-ink);
  font-size: 1.22em;
  margin: 0;
}

.step50-document-editing-intro span {
  color: var(--step50-muted);
  line-height: 1.7;
}

.step50-live-document {
  background: #ffffff;
  border: 1px solid #cddbd1;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(20, 39, 30, 0.05);
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
}

.step50-live-document__header {
  align-items: center;
  border-bottom: 1px solid var(--step50-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 10px;
}

.step50-live-document__header strong {
  color: var(--step50-ink);
}

.step50-live-document__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step50-live-document__grid--application {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step50-live-document section {
  background: #fbfdfb;
  border: 1px solid #e1e9e3;
  border-radius: 8px;
  min-height: 96px;
  padding: 12px;
}

.step50-live-document section > span:first-child {
  color: var(--step50-primary);
  display: block;
  font-size: 0.82em;
  font-weight: 800;
  margin-bottom: 6px;
}

.step50-live-document p {
  color: var(--step50-ink);
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
}

.step50-document-form {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(34, 107, 77, 0.2), rgba(21, 64, 91, 0.18)) border-box;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 16px;
}

.step50-document-form fieldset,
.step50-document-form .step50-application-research,
.step50-document-form .step50-ai-action-panel,
.step50-document-form .step50-ai-wizard,
.step50-document-form .step50-ai-proposals {
  box-shadow: 0 8px 22px rgba(20, 39, 30, 0.04);
}

.step50-document-form fieldset {
  border-color: #bfcfc4;
  border-radius: 10px;
}

.step50-document-form legend {
  background: #fff3e3;
  border: 1px solid #e6b16d;
  border-radius: 999px;
  color: #b15d14;
  font-size: 1.04em;
  font-weight: 800;
  line-height: 1.35;
  padding: 6px 14px;
}

.step50-document-form > label,
.step50-document-form fieldset > label,
.step50-document-form .step50-application-research > label,
.step50-document-form .step50-work-history__item > label,
.step50-document-form .step50-work-history__company-row label,
.step50-document-form .step50-work-history__period label,
.step50-document-form .step50-work-history__meta label {
  background: #fbfdfb;
  border: 1px solid #e1e9e3;
  border-radius: 8px;
  color: var(--step50-ink);
  padding: 10px;
}

.step50-document-form > label:focus-within,
.step50-document-form fieldset > label:focus-within,
.step50-document-form .step50-application-research > label:focus-within,
.step50-document-form .step50-work-history__item > label:focus-within,
.step50-document-form .step50-work-history__company-row label:focus-within,
.step50-document-form .step50-work-history__period label:focus-within,
.step50-document-form .step50-work-history__meta label:focus-within {
  border-color: var(--step50-primary);
  box-shadow: 0 0 0 3px rgba(34, 107, 77, 0.08);
}

.step50-document-form > label input,
.step50-document-form > label textarea,
.step50-document-form > label select,
.step50-document-form fieldset > label input,
.step50-document-form fieldset > label textarea,
.step50-document-form fieldset > label select,
.step50-document-form .step50-application-research > label input,
.step50-document-form .step50-application-research > label textarea,
.step50-document-form .step50-work-history__item > label input,
.step50-document-form .step50-work-history__item > label textarea,
.step50-document-form .step50-work-history__company-row label input,
.step50-document-form .step50-work-history__company-row label select,
.step50-document-form .step50-work-history__period label input,
.step50-document-form .step50-work-history__meta label input,
.step50-document-form .step50-work-history__meta label select {
  background: #ffffff;
}

.step50-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-surface);
  padding: 16px;
  margin: 0;
}

.step50-form legend {
  padding: 0 8px;
  font-weight: 700;
}

.step50-document-form legend {
  font-weight: 800;
  padding: 6px 14px;
}

.step50-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.step50-career-fields.step50-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #bfcfc4;
  border-radius: 10px;
  background: var(--step50-surface);
  margin: 0 0 14px;
  padding: 16px;
}

.step50-career-fields.step50-form legend {
  background: #fff3e3;
  border: 1px solid #e6b16d;
  border-radius: 999px;
  color: #b15d14;
  font-size: 1.04em;
  font-weight: 800;
  line-height: 1.35;
  padding: 6px 14px;
}

.step50-career-fields.step50-form > label {
  background: #fbfdfb;
  border: 1px solid #e1e9e3;
  border-radius: 8px;
  color: var(--step50-ink);
  padding: 10px;
}

.step50-career-fields.step50-form > label:focus-within {
  border-color: var(--step50-primary);
  box-shadow: 0 0 0 3px rgba(34, 107, 77, 0.08);
}

.step50-form--single {
  gap: 12px;
}

.step50-form--single label,
.step50-form__wide {
  grid-column: 1 / -1;
}

.step50-form input,
.step50-form textarea,
.step50-form select {
  width: 100%;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-surface);
  color: var(--step50-ink);
  padding: 10px 12px;
}

.step50-form input[data-limit-state="warning"],
.step50-form textarea[data-limit-state="warning"] {
  border-color: #d9822b;
  color: #8a4a0f;
  box-shadow: 0 0 0 3px rgba(217, 130, 43, 0.1);
}

.step50-form input[data-limit-state="full"],
.step50-form textarea[data-limit-state="full"] {
  border-color: #b42318;
  color: #9a1c13;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.step50-character-limit {
  color: #6a7a70;
  font-size: 0.78em;
  font-weight: 600;
  justify-self: end;
  line-height: 1.35;
}

.step50-character-limit[data-limit-state="warning"] {
  color: #b15d14;
}

.step50-character-limit[data-limit-state="full"] {
  color: #b42318;
  font-weight: 800;
}

.step50-inline-frequency {
  display: grid;
  grid-template-columns: auto minmax(72px, 120px) auto;
  align-items: center;
  justify-content: start;
  gap: 8px;
  color: var(--step50-ink);
  font-weight: 500;
}

.step50-inline-frequency input {
  text-align: right;
}

.step50-form textarea {
  resize: vertical;
}

.step50-form-help {
  grid-column: 1 / -1;
  color: var(--step50-muted);
  margin: 0;
  line-height: 1.65;
}

.step50-work-history {
  display: grid;
  gap: 12px;
}

.step50-work-history__list {
  display: grid;
  gap: 12px;
}

.step50-work-history__item {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-surface);
  padding: 16px;
}

.step50-work-history__header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.step50-work-history__header strong {
  color: var(--step50-ink);
}

.step50-work-history__order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.step50-work-history__order-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

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

.step50-work-history__company,
.step50-work-history__company-row,
.step50-work-history__ai-panel,
.step50-work-history__meta,
.step50-work-history__decision {
  grid-column: 1 / -1;
}

.step50-work-history__company-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 10px;
}

.step50-work-history__ai-panel {
  align-items: center;
  background: #f5faf6;
  border: 1px solid rgba(34, 107, 77, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.step50-work-history__ai-panel strong {
  color: var(--step50-ink);
  display: block;
  margin-bottom: 4px;
}

.step50-work-history__ai-panel p {
  color: var(--step50-muted);
  line-height: 1.6;
  margin: 0;
}

.step50-work-history__ai-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.step50-work-history__questions {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border: 1px solid #9fc8dd;
  border-radius: 8px;
  background: #f3f9fc;
  padding: 14px;
}

.step50-work-history__questions[hidden] {
  display: none;
}

.step50-work-history__questions-header strong {
  color: var(--step50-ink);
  display: block;
  margin-bottom: 4px;
}

.step50-work-history__questions-header p {
  color: var(--step50-muted);
  font-size: 0.9em;
  line-height: 1.55;
  margin: 0;
}

.step50-work-history__questions label {
  display: grid;
  gap: 6px;
  color: var(--step50-ink);
  font-weight: 700;
}

.step50-work-history__questions label span {
  line-height: 1.55;
}

.step50-work-history__questions textarea {
  width: 100%;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--step50-ink);
  padding: 10px 12px;
  resize: vertical;
}

.step50-work-history__question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step50-work-history__proposal {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border: 1px solid #e6b16d;
  border-radius: 8px;
  background: #fffaf2;
  padding: 14px;
}

.step50-work-history__proposal[hidden] {
  display: none;
}

.step50-work-history__proposal[data-status="adopted"] {
  border-color: var(--step50-primary);
  background: #f4faf6;
}

.step50-work-history__proposal-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.step50-work-history__proposal-header strong {
  color: var(--step50-ink);
  display: block;
  margin-bottom: 4px;
}

.step50-work-history__proposal-header p {
  color: var(--step50-muted);
  font-size: 0.9em;
  line-height: 1.55;
  margin: 0;
}

.step50-work-history__proposal-header span {
  flex: 0 0 auto;
  border: 1px solid #e6b35f;
  border-radius: 999px;
  background: #fff6e8;
  color: #7a4b08;
  font-size: 0.82em;
  font-weight: 700;
  padding: 4px 10px;
}

.step50-work-history__proposal[data-status="adopted"] .step50-work-history__proposal-header span {
  border-color: var(--step50-primary);
  background: var(--step50-primary);
  color: #ffffff;
}

.step50-work-history__signals {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(34, 107, 77, 0.18);
  border-radius: 8px;
  background: #f5faf6;
  padding: 10px 12px;
}

.step50-work-history__signals strong {
  color: var(--step50-ink);
}

.step50-work-history__signal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.step50-work-history__signal-chips span {
  border: 1px solid rgba(34, 107, 77, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: var(--step50-primary);
  font-size: 0.84em;
  font-weight: 700;
  padding: 4px 9px;
}

.step50-work-history__signals p {
  color: var(--step50-muted);
  font-size: 0.88em;
  line-height: 1.55;
  margin: 0;
}

.step50-work-history__proposal label {
  display: grid;
  gap: 6px;
  color: var(--step50-ink);
  font-weight: 700;
}

.step50-work-history__proposal textarea {
  width: 100%;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--step50-ink);
  padding: 10px 12px;
  resize: vertical;
}

.step50-work-history__proposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step50-work-history__proposal-source {
  color: var(--step50-muted);
  font-size: 0.88em;
}

.step50-work-history__proposal-source summary {
  cursor: pointer;
  font-weight: 700;
}

.step50-work-history__proposal-source p {
  white-space: pre-wrap;
  margin: 8px 0 0;
}

.step50-work-history__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
}

.step50-work-history__content,
.step50-work-history__contribution {
  border-top: 1px solid var(--step50-line);
  padding-top: 12px;
}

.step50-work-history__item textarea {
  min-height: 96px;
}

.step50-resume-ai__split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: start;
}

.step50-application-workspace {
  display: grid;
  gap: 16px;
}

.step50-application-selector {
  align-items: end;
  background: #ffffff;
  border: 1px solid var(--step50-line);
  border-radius: 10px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  padding: 16px;
}

.step50-application-selector h3 {
  margin-bottom: 6px;
}

.step50-application-selector p:last-child {
  color: var(--step50-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.step50-application-selector__controls {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.step50-application-selector label {
  color: var(--step50-ink);
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.step50-application-selector select {
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-surface);
  color: var(--step50-ink);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.step50-application-editor {
  width: 100%;
}

.step50-document-help,
.step50-application-editor__header p {
  color: var(--step50-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.step50-application-editor__header {
  border-bottom: 1px solid var(--step50-line);
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.step50-application-editor__header h3 {
  margin-bottom: 6px;
}

.step50-application-editor__header p:last-child {
  border-left: 4px solid var(--step50-primary);
  background: var(--step50-soft);
  border-radius: 8px;
  color: var(--step50-ink);
  font-weight: 700;
  margin-bottom: 0;
  padding: 10px 12px;
}

.step50-document-list {
  display: grid;
  gap: 10px;
}

.step50-document-item {
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 10px;
  background: #ffffff;
}

.step50-document-item.is-active {
  border-color: var(--step50-primary);
  background: #f5faf6;
  box-shadow: inset 4px 0 0 var(--step50-primary);
}

.step50-document-item p {
  margin-bottom: 0;
}

.step50-document-item__template {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #d7e3dd;
  border-radius: 999px;
  color: var(--step50-muted);
  background: #f8fbf9;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 8px;
  margin-top: 8px;
}

.step50-status-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--step50-primary);
  border-radius: 999px;
  color: var(--step50-primary);
  background: var(--step50-soft);
  font-size: 0.84em;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 8px;
  margin-top: 8px;
}

.step50-document-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step50-review-status {
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  background: var(--step50-soft);
  color: var(--step50-muted);
  padding: 10px 12px;
  margin-bottom: 0;
}

.step50-review-status[data-type="requested"] {
  border-color: var(--step50-primary);
  color: var(--step50-primary);
  font-weight: 700;
}

.step50-empty {
  color: var(--step50-muted);
  margin-bottom: 0;
}

.step50-photo-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 14px;
  background: var(--step50-soft);
}

.step50-photo-editor > div > span {
  display: block;
  color: var(--step50-ink);
  font-weight: 700;
  margin-bottom: 4px;
}

.step50-photo-editor p {
  color: var(--step50-muted);
  margin: 0 0 10px;
}

.step50-photo-guidance {
  border: 1px solid #d8b56b;
  border-radius: 8px;
  background: #fffaf0;
  color: var(--step50-ink);
  margin: 12px 0;
  padding: 12px 14px;
}

.step50-photo-guidance > strong {
  display: block;
  color: #6f4d11;
  font-size: 1em;
  margin-bottom: 6px;
}

.step50-photo-editor .step50-photo-guidance p {
  color: var(--step50-ink);
  line-height: 1.7;
  margin-bottom: 8px;
}

.step50-photo-guidance ul {
  margin: 0;
  padding-left: 1.35em;
}

.step50-photo-guidance li {
  line-height: 1.65;
}

.step50-photo-guidance li + li {
  margin-top: 3px;
}

.step50-photo-editor .step50-photo-guidance .step50-photo-guidance__note {
  border-top: 1px solid #ead7ae;
  color: #5f4c27;
  font-size: 0.92em;
  margin: 9px 0 0;
  padding-top: 8px;
}

.step50-photo-editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step50-photo-editor__actions input[type="file"] {
  display: none;
}

.step50-photo-editor__canvas-wrap {
  display: grid;
  gap: 8px;
}

.step50-photo-editor canvas {
  display: block;
  width: 150px;
  height: 200px;
  border: 1px solid var(--step50-line);
  background: #fff;
  touch-action: none;
}

.step50-photo-editor__canvas-wrap label {
  color: var(--step50-muted);
  font-size: 0.9em;
}

.step50-photo-editor__canvas-wrap input[type="range"] {
  width: 150px;
}

.step50-preview {
  background: #dfe7df;
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

.step50-template-preview__page {
  position: relative;
  width: 1120px;
  max-width: none;
  aspect-ratio: 1191 / 842;
  background: #fff;
  color: #111;
  overflow: hidden;
}

.step50-template-preview__background {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step50-template-field {
  position: absolute;
  color: #111;
  overflow: hidden;
  white-space: pre-wrap;
  line-height: 1.32;
  padding: 1px 3px;
  z-index: 2;
}

.step50-template-field--kana,
.step50-template-field--name,
.step50-template-field--gender,
.step50-template-field--birth,
.step50-template-field--birth-year,
.step50-template-field--birth-month,
.step50-template-field--birth-day,
.step50-template-field--birth-age,
.step50-template-field--education,
.step50-template-field--address,
.step50-template-field--phone,
.step50-template-field--email,
.step50-template-field--commute,
.step50-template-field--commute-from,
.step50-template-field--commute-to,
.step50-template-field--commute-minutes,
.step50-template-field--transportation,
.step50-template-field--job-title,
.step50-template-field--route,
.step50-template-field--health,
.step50-template-field--family,
.step50-template-field--awards {
  display: flex;
  align-items: center;
}

.step50-template-field--kana {
  left: 7.45%;
  top: 9.55%;
  width: 21.3%;
  height: 2.138%;
  font-size: 10px;
}

.step50-template-field--name {
  left: 7.25%;
  top: 13.08%;
  width: 21.9%;
  height: 4.25%;
  font-size: 20px;
  line-height: 1.15;
}

.step50-template-field--gender {
  left: 32.158%;
  top: 15.083%;
  width: 3.526%;
  height: 2.375%;
  font-size: 13px;
  text-align: center;
}

.step50-template-circle {
  position: absolute;
  border: 1.4px solid #111;
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}

.step50-template-circle--gender-male {
  left: 30.77%;
  top: 12.58%;
  width: 1.55%;
  height: 2.22%;
}

.step50-template-circle--gender-female {
  left: 32.73%;
  top: 12.58%;
  width: 1.55%;
  height: 2.22%;
}

.step50-template-field--birth {
  left: 12.175%;
  top: 18.95%;
  width: 21.83%;
  height: 2.019%;
  font-size: 10px;
}

.step50-template-field--birth-year {
  left: 9.6%;
  top: 18.95%;
  width: 2.55%;
  height: 2.019%;
  font-size: 9px;
  justify-content: flex-end;
  padding-right: 1px;
}

.step50-template-field--birth-month {
  left: 14.75%;
  top: 18.95%;
  width: 1.6%;
  height: 2.019%;
  font-size: 9px;
  justify-content: flex-end;
  padding-right: 1px;
}

.step50-template-field--birth-day {
  left: 18.75%;
  top: 18.95%;
  width: 1.6%;
  height: 2.019%;
  font-size: 9px;
  justify-content: flex-end;
  padding-right: 1px;
}

.step50-template-field--birth-age {
  left: 23.25%;
  top: 18.95%;
  width: 2.0%;
  height: 2.019%;
  font-size: 9px;
  justify-content: flex-end;
  padding-right: 1px;
}

.step50-template-field--education {
  left: 10.915%;
  top: 21.52%;
  width: 32.746%;
  height: 1.663%;
  font-size: 9px;
}

.step50-template-photo {
  position: absolute;
  left: 38.02%;
  top: 9.3%;
  width: 7.34%;
  height: 13.78%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #777;
  font-size: 10px;
}

.step50-template-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step50-template-field--address {
  left: 7.557%;
  top: 29.216%;
  width: 39.043%;
  height: 4.751%;
  font-size: 10px;
}

.step50-template-field--address-kana {
  left: 11.5%;
  top: 26.12%;
  width: 34.2%;
  height: 2%;
  font-size: 7.8px;
}

.step50-template-field--postal-code {
  left: 7.65%;
  top: 28.92%;
  width: 12%;
  height: 1.9%;
  font-size: 8.5px;
}

.step50-template-field--phone {
  left: 7.45%;
  top: 38.21%;
  width: 15.953%;
  height: 1.781%;
  font-size: 9px;
}

.step50-template-field--email {
  left: 26.7%;
  top: 38.21%;
  width: 18.472%;
  height: 1.781%;
  font-size: 8.5px;
}

.step50-template-field--commute {
  left: 12.594%;
  top: 40.66%;
  width: 20.151%;
  height: 1.663%;
  font-size: 8.5px;
}

.step50-template-field--commute-from {
  left: 11.65%;
  top: 40.36%;
  width: 5.9%;
  height: 1.85%;
  font-size: 8.5px;
  justify-content: flex-end;
  padding-right: 1px;
}

.step50-template-field--commute-to {
  left: 24.9%;
  top: 40.36%;
  width: 5.5%;
  height: 1.85%;
  font-size: 8.5px;
  justify-content: flex-end;
  padding-right: 1px;
}

.step50-template-field--commute-minutes {
  left: 39.65%;
  top: 40.36%;
  width: 3.3%;
  height: 1.85%;
  font-size: 8.5px;
  justify-content: flex-end;
  padding-right: 1px;
}

.step50-template-field--transportation {
  left: 11.251%;
  top: 42.92%;
  width: 22.67%;
  height: 1.9%;
  font-size: 8.5px;
}

.step50-template-field--job-title {
  left: 10.579%;
  top: 50.594%;
  width: 10.915%;
  height: 2.85%;
  font-size: 11px;
}

.step50-template-field--route {
  left: 26.868%;
  top: 52.019%;
  width: 16.793%;
  height: 2.138%;
  font-size: 9px;
}

.step50-template-field--motivation {
  left: 9.28%;
  top: 56.651%;
  width: 37.2%;
  height: 9.739%;
  background: #fff;
  font-size: 9px;
  line-height: 1.45;
}

.step50-template-field--strengths {
  left: 9.28%;
  top: 71.971%;
  width: 37.2%;
  height: 6.651%;
  background: #fff;
  font-size: 8.8px;
  line-height: 1.43;
}

.step50-template-field--pc-skills {
  left: 9.28%;
  top: 84.204%;
  width: 37.2%;
  height: 6.651%;
  background: #fff;
  font-size: 8.8px;
  line-height: 1.43;
}

.step50-template-work-field,
.step50-template-field--health,
.step50-template-field--family,
.step50-template-field--awards,
.step50-template-field--preferences,
.step50-template-field--referral {
  font-size: 8.2px;
  line-height: 1.38;
}

.step50-template-work-field {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.step50-template-field--work-period,
.step50-template-field--work-period-start,
.step50-template-field--work-period-end {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.step50-template-field--work-company {
  font-weight: 700;
  line-height: 1.25;
  padding-top: 5px;
}

.step50-template-field--work-content,
.step50-template-field--work-result {
  padding-top: 5px;
}

.step50-template-cover {
  position: absolute;
  background: #fff;
  display: none;
  z-index: 1;
}

.step50-template-cover--work-arrow-1 {
  left: 55.15%;
  top: 14.1%;
  width: 1.35%;
  height: 2.35%;
}

.step50-template-cover--work-arrow-2 {
  left: 55.15%;
  top: 21.28%;
  width: 1.35%;
  height: 2.35%;
}

.step50-template-cover--work-arrow-3 {
  left: 55.15%;
  top: 28.54%;
  width: 1.35%;
  height: 2.35%;
}

.step50-template-cover--work-arrow-4 {
  left: 55.15%;
  top: 35.66%;
  width: 1.35%;
  height: 2.35%;
}

.step50-template-cover--work-arrow-5 {
  left: 55.15%;
  top: 42.55%;
  width: 1.35%;
  height: 3.3%;
}

.step50-template-field--health {
  left: 62.75%;
  top: 63.58%;
  width: 28.2%;
  height: 2.1%;
}

.step50-template-field--family {
  left: 68.01%;
  top: 68.171%;
  width: 22.67%;
  height: 1.9%;
}

.step50-template-field--awards {
  left: 62.972%;
  top: 71.734%;
  width: 28.547%;
  height: 1.9%;
}

.step50-template-field--preferences {
  left: 66.331%;
  top: 76.485%;
  width: 26.868%;
  height: 5.701%;
}

.step50-template-field--referral {
  left: 62.972%;
  top: 86.58%;
  width: 30.227%;
  height: 4.157%;
}

.step50-template-check {
  position: absolute;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.step50-template-check--hospital-no {
  left: 66.62%;
  top: 53.0%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--hospital-yes {
  left: 70.5%;
  top: 53.0%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-field--hospital-frequency {
  left: 82.92%;
  top: 52.7%;
  width: 1.8%;
  height: 1.9%;
  font-size: 8.2px;
  justify-content: flex-end;
}

.step50-template-check--smoking-no {
  left: 66.62%;
  top: 55.36%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--smoking-yes {
  left: 70.5%;
  top: 55.36%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-field--smoking-frequency {
  left: 82.92%;
  top: 55.15%;
  width: 1.8%;
  height: 1.9%;
  font-size: 8.2px;
  justify-content: flex-end;
}

.step50-template-check--dependent-no {
  left: 66.86%;
  top: 67.28%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--dependent-yes {
  left: 70.72%;
  top: 67.28%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-field--dependent-count {
  left: 79.05%;
  top: 67.45%;
  width: 3.2%;
  height: 1.9%;
  font-size: 8.2px;
}

.step50-template-check--spouse-no {
  left: 66.86%;
  top: 69.9%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--spouse-yes {
  left: 70.72%;
  top: 69.9%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--spouse-support-no {
  left: 84.94%;
  top: 69.9%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--spouse-support-yes {
  left: 88.18%;
  top: 69.9%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--route-hellowork {
  left: 21.1%;
  top: 50.92%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--route-homepage {
  left: 27.05%;
  top: 50.92%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--route-paper {
  left: 31.65%;
  top: 50.92%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--route-referral {
  left: 36.05%;
  top: 50.92%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--transportation-jr {
  left: 6.75%;
  top: 43.1%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--transportation-private {
  left: 9.28%;
  top: 43.1%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--transportation-bus {
  left: 11.85%;
  top: 43.1%;
  width: 1.1%;
  height: 1.5%;
}

.step50-template-check--transportation-other {
  left: 14.35%;
  top: 43.1%;
  width: 1.1%;
  height: 1.5%;
}

.step50-preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--step50-surface);
  border: 1px solid var(--step50-line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.step50-preview-toolbar p {
  color: var(--step50-muted);
  margin-bottom: 0;
}

.step50-preview__page {
  background: #ffffff;
  color: #111;
  border: 1px solid #111;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 1120px;
  max-width: none;
  padding: 20px;
  font-size: 13px;
  line-height: 1.45;
}

.step50-preview__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.step50-preview__heading h3 {
  margin: 0;
}

.step50-preview__photo {
  display: grid;
  place-items: center;
  width: 84px;
  height: 112px;
  border: 1px solid #111;
  background: #fff;
  color: #777;
  font-size: 0.86em;
  overflow: hidden;
}

.step50-preview__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step50-preview__box,
.step50-preview__section {
  border: 1px solid #111;
  padding: 8px 10px;
  min-height: 38px;
  margin-bottom: 8px;
}

.step50-preview__name {
  min-height: 64px;
}

.step50-preview__section {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 0;
}

.step50-preview__section strong {
  display: grid;
  place-items: center;
  padding: 8px;
  border-right: 1px solid #111;
  text-align: center;
}

.step50-preview__section p {
  margin: 0;
  padding: 8px;
  white-space: pre-wrap;
}

.step50-preview__work-history {
  border: 1px solid #111;
  margin-bottom: 8px;
}

.step50-preview__work-header {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid #111;
  background: #f4f4f4;
}

.step50-preview__work-header strong {
  display: grid;
  place-items: center;
  min-height: 32px;
  padding: 6px 8px;
  text-align: center;
  font-weight: 700;
}

.step50-preview__work-header strong + strong {
  border-left: 1px solid #111;
}

.step50-preview__work-row {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) minmax(0, 1fr);
  min-height: 86px;
}

.step50-preview__work-row + .step50-preview__work-row {
  border-top: 1px solid #111;
}

.step50-preview__work-row strong,
.step50-preview__work-row p {
  margin: 0;
  padding: 8px;
  white-space: pre-wrap;
}

.step50-preview__work-row strong {
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid #111;
  font-weight: 700;
}

.step50-preview__work-row p:first-of-type {
  border-right: 1px solid #111;
}

.step50-preview__empty {
  margin: 0;
  padding: 8px;
}

.step50-career-fields {
  grid-column: 1 / -1;
  background: var(--step50-soft) !important;
}

.step50-career-preview {
  width: 860px;
  max-width: none;
  margin: 0 auto;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  padding: 34px;
  font-size: 13px;
  line-height: 1.65;
}

.step50-career-preview h3 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 22px;
  letter-spacing: 0;
}

.step50-career-preview h4 {
  margin: 0 !important;
  padding: 8px 12px;
  border-bottom: 1px solid #111;
  background: #f4f4f4;
  font-size: 14px;
}

.step50-career-preview p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.step50-career-preview__header dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
  border: 1px solid #111;
}

.step50-career-preview__header div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  min-height: 42px;
}

.step50-career-preview__header div + div {
  border-left: 1px solid #111;
}

.step50-career-preview__header dt,
.step50-career-preview__header dd {
  margin: 0;
  padding: 9px;
}

.step50-career-preview__header dt {
  display: grid;
  place-items: center;
  border-right: 1px solid #111;
  background: #f4f4f4;
  font-weight: 700;
  text-align: center;
}

.step50-career-preview__header dd {
  overflow-wrap: anywhere;
}

.step50-career-preview section {
  border: 1px solid #111;
  margin-bottom: 16px;
}

.step50-career-preview section > p {
  min-height: 54px;
  padding: 12px;
}

.step50-career-history__header,
.step50-career-history__row {
  display: grid;
  grid-template-columns: 112px 138px minmax(0, 1fr) minmax(0, 1fr);
}

.step50-career-history__header {
  background: #f4f4f4;
  border-bottom: 1px solid #111;
  font-weight: 700;
}

.step50-career-history__header strong,
.step50-career-history__row strong,
.step50-career-history__row p {
  margin: 0;
  padding: 10px;
  border-right: 1px solid #111;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.step50-career-history__header strong {
  display: grid;
  place-items: center;
  text-align: center;
}

.step50-career-history__header strong:last-child,
.step50-career-history__row p:last-child {
  border-right: 0;
}

.step50-career-history__row {
  min-height: 76px;
  border-bottom: 1px solid #111;
}

.step50-career-history__row:last-child {
  border-bottom: 0;
}

.step50-career-history__row strong {
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
}

.step50-career-preview__note {
  border-top: 1px solid #111;
  padding: 12px;
}

/* 作成画面のUX整理: 画面の役割ごとに見た目の階層を分ける */
.step50-resume-ai {
  --step50-navy: #083b4d;
  --step50-blue-soft: #eef6fb;
  --step50-orange: #d87922;
  --step50-orange-soft: #fff3e5;
  --step50-purple-soft: #f4f0fb;
  --step50-pink-soft: #fbf0f4;
  --step50-shadow-card: 0 14px 36px rgba(20, 39, 30, 0.08);
  --step50-shadow-soft: 0 8px 22px rgba(20, 39, 30, 0.05);
  border: 0;
  border-radius: 0;
  padding: 28px 20px 36px;
}

.step50-resume-ai__header {
  background: #ffffff;
  border: 1px solid rgba(8, 59, 77, 0.12);
  border-radius: 14px;
  box-shadow: var(--step50-shadow-soft);
  margin-bottom: 22px;
  padding: 20px 22px;
}

.step50-resume-ai__header h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.35;
  margin-bottom: 8px;
}

.step50-resume-ai__header > div:first-child > p:last-child {
  color: var(--step50-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

.step50-resume-ai__service-name {
  color: var(--step50-ink);
  font-weight: 800;
  margin-right: 0.35em;
}

.step50-resume-ai__actions .step50-button {
  min-width: 150px;
  text-align: center;
}

.step50-resume-ai__actions .step50-button--logout {
  border-color: rgba(8, 59, 77, 0.22);
  background: #f4f7f8;
  color: var(--step50-navy);
}

.step50-resume-ai__actions .step50-button--logout:hover,
.step50-resume-ai__actions .step50-button--logout:focus {
  border-color: var(--step50-navy);
  background: #e9f1f4;
  color: var(--step50-navy);
}

.step50-resume-ai__actions .step50-button--logout::before {
  content: "↗";
  display: inline-block;
  font-size: 0.86em;
  margin-right: 6px;
}

.step50-resume-ai-guide--compact {
  border: 1px solid rgba(8, 59, 77, 0.13);
  border-radius: 16px;
  box-shadow: var(--step50-shadow-card);
  margin: 0 auto 28px;
  max-width: var(--step50-content-max);
  padding: 26px;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__intro {
  align-items: center;
  border-bottom: 1px solid rgba(8, 59, 77, 0.12);
  gap: 28px;
  margin-bottom: 20px;
  padding-bottom: 22px;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__header {
  border-left: 0;
  padding-left: 0;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__header h3 {
  border-bottom: 3px solid var(--step50-navy);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.45;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.step50-resume-ai-guide__visual {
  border: 1px solid rgba(8, 59, 77, 0.1);
  border-radius: 14px;
  overflow: hidden;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step {
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  gap: 10px;
  min-height: 132px;
  padding: 16px;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step:nth-child(5) {
  grid-column: auto;
}

.step50-resume-ai-guide__step-head {
  align-items: center;
}

.step50-resume-ai-guide__step-head h3 {
  font-size: 1.02em;
}

.step50-resume-ai-guide--compact .step50-resume-ai-guide__step p {
  line-height: 1.65;
}

.step50-resume-ai__work-start {
  background: #ffffff;
  border: 1px solid rgba(8, 59, 77, 0.13);
  border-left: 6px solid var(--step50-orange);
  border-radius: 12px;
  box-shadow: var(--step50-shadow-soft);
  margin-bottom: 12px;
  padding: 16px 18px;
}

.step50-resume-ai__work-start p {
  color: var(--step50-orange);
}

.step50-resume-ai__tabs {
  align-items: end;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(8, 59, 77, 0.24);
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 20px;
  padding: 0 5px;
}

.step50-resume-ai__tabs button {
  align-items: center;
  background: #eaf0ed;
  border: 1px solid rgba(8, 59, 77, 0.18);
  border-bottom-color: rgba(8, 59, 77, 0.24);
  border-radius: 12px 12px 0 0;
  display: grid;
  font-weight: 800;
  gap: 5px;
  justify-items: start;
  min-height: 64px;
  margin-bottom: -1px;
  padding: 10px 12px;
  position: relative;
  text-align: left;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  z-index: 1;
}

.step50-resume-ai__tabs button:hover {
  background: #f5f8f6;
  border-color: rgba(8, 59, 77, 0.32);
  color: var(--step50-navy);
  transform: translateY(-2px);
}

.step50-resume-ai__tabs button:focus-visible {
  outline: 3px solid rgba(240, 122, 24, 0.36);
  outline-offset: 2px;
}

.step50-resume-ai__tabs button::before {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 59, 77, 0.16);
  border-radius: 999px;
  color: var(--step50-navy);
  content: "HOME";
  display: inline-flex;
  font-size: 0.68em;
  font-weight: 900;
  height: 24px;
  letter-spacing: 0;
  padding: 0 8px;
}

.step50-resume-ai__tabs button:nth-child(2)::before {
  content: "01";
}

.step50-resume-ai__tabs button:nth-child(3)::before {
  content: "02";
}

.step50-resume-ai__tabs button:nth-child(4)::before {
  content: "03";
}

.step50-resume-ai__tabs button:nth-child(5)::before {
  content: "04";
}

.step50-resume-ai__tabs button:nth-child(6)::before {
  content: "05";
}

.step50-resume-ai__tabs button.is-active {
  background: #ffffff;
  border-color: rgba(8, 59, 77, 0.28);
  border-bottom-color: #ffffff;
  box-shadow: inset 0 5px 0 var(--step50-orange), 0 -5px 14px rgba(8, 59, 77, 0.08);
  color: var(--step50-navy);
  min-height: 72px;
  transform: translateY(0);
  z-index: 2;
}

.step50-resume-ai__tabs button.is-active::before {
  background: #fff2e7;
  border-color: rgba(240, 122, 24, 0.35);
  color: #a94800;
}

.step50-resume-ai__notice,
.step50-resume-ai__limits {
  border-radius: 10px;
}

.step50-document-start,
.step50-home-actions,
.step50-view > .step50-document-editing-intro,
.step50-view > .step50-card,
.step50-view > .step50-application-workspace,
.step50-view > .step50-preview-toolbar,
.step50-view > .step50-preview {
  max-width: var(--step50-content-max);
  margin-left: auto;
  margin-right: auto;
}

.step50-document-start {
  border-color: rgba(8, 59, 77, 0.12);
  border-radius: 16px;
  box-shadow: var(--step50-shadow-card);
  padding: 24px;
}

.step50-document-start__header {
  border-left-color: var(--step50-orange);
}

.step50-document-start__header p {
  color: var(--step50-orange);
}

.step50-document-flow {
  gap: 12px;
}

.step50-document-flow button {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(8, 59, 77, 0.08);
  min-height: 144px;
  padding: 16px;
}

.step50-document-flow button:nth-child(1) {
  background: #eef8f1;
}

.step50-document-flow button:nth-child(2) {
  background: var(--step50-blue-soft);
}

.step50-document-flow button:nth-child(3) {
  background: var(--step50-orange-soft);
}

.step50-document-flow button:nth-child(4) {
  background: var(--step50-purple-soft);
}

.step50-document-flow button:nth-child(5) {
  background: var(--step50-pink-soft);
}

.step50-document-flow button:hover,
.step50-document-flow button:focus {
  box-shadow: inset 0 0 0 1px var(--step50-primary), 0 10px 24px rgba(20, 39, 30, 0.09);
}

.step50-document-flow span {
  background: var(--step50-navy);
  border-color: var(--step50-navy);
  color: #ffffff;
}

.step50-home-action {
  border: 0;
  border-radius: 14px;
  box-shadow: var(--step50-shadow-soft);
}

.step50-home-action::after {
  background: var(--step50-navy);
}

.step50-document-editing-intro {
  border-left-color: var(--step50-orange);
  border-radius: 14px;
  box-shadow: var(--step50-shadow-soft);
}

.step50-document-editing-intro p {
  color: var(--step50-orange);
}

.step50-live-document {
  border-color: rgba(8, 59, 77, 0.13);
  border-radius: 14px;
}

.step50-live-document__header {
  border-bottom-color: rgba(8, 59, 77, 0.13);
}

.step50-live-document__grid {
  gap: 12px;
}

.step50-live-document section {
  background: #f8fbf9;
  border-color: rgba(8, 59, 77, 0.1);
}

.step50-document-form,
.step50-card.step50-application-editor,
.step50-view > .step50-card {
  border-color: rgba(8, 59, 77, 0.13);
  border-radius: 16px;
  box-shadow: var(--step50-shadow-card);
  padding: 22px;
}

.step50-document-form fieldset,
.step50-career-fields.step50-form,
.step50-application-section,
.step50-application-selector {
  border-color: rgba(8, 59, 77, 0.13);
  border-radius: 14px;
  padding: 20px;
}

.step50-document-form legend,
.step50-career-fields.step50-form legend,
.step50-application-section legend {
  background: var(--step50-orange-soft);
  border-color: rgba(216, 121, 34, 0.45);
  color: #a55210;
  font-size: 1.08em;
  padding: 8px 16px;
}

.step50-document-form > label,
.step50-document-form fieldset > label,
.step50-document-form .step50-application-research > label,
.step50-document-form .step50-work-history__item > label,
.step50-document-form .step50-work-history__company-row label,
.step50-document-form .step50-work-history__period label,
.step50-document-form .step50-work-history__meta label,
.step50-career-fields.step50-form > label {
  background: #ffffff;
  border-color: rgba(8, 59, 77, 0.12);
  border-radius: 12px;
  padding: 13px;
}

.step50-form input,
.step50-form textarea,
.step50-form select,
.step50-application-selector select {
  border-color: rgba(8, 59, 77, 0.16);
  min-height: 44px;
}

.step50-form input:focus,
.step50-form textarea:focus,
.step50-form select:focus,
.step50-application-selector select:focus {
  border-color: var(--step50-primary);
  box-shadow: 0 0 0 3px rgba(34, 107, 77, 0.1);
  outline: 0;
}

.step50-ai-action-panel,
.step50-work-history__ai-panel {
  background: linear-gradient(135deg, #f4f9fb 0%, #ffffff 100%);
  border-color: rgba(20, 91, 118, 0.24);
  border-radius: 14px;
}

.step50-ai-action-panel .step50-button,
.step50-work-history__ai-actions .step50-button {
  background: var(--step50-navy);
  border-color: var(--step50-navy);
  color: #ffffff;
  font-weight: 800;
}

.step50-ai-proposals,
.step50-work-history__proposal {
  background: #fffaf2;
  border-color: rgba(216, 121, 34, 0.35);
  border-radius: 14px;
}

.step50-ai-proposal,
.step50-work-history__proposal textarea,
.step50-ai-proposal__text {
  border-radius: 12px;
}

.step50-work-history__item {
  border-color: rgba(8, 59, 77, 0.14);
  border-radius: 14px;
  box-shadow: var(--step50-shadow-soft);
}

.step50-work-history__header {
  background: #f8fbf9;
  border-radius: 12px;
  padding: 12px 14px;
}

.step50-work-history__header strong {
  font-size: 1.08em;
}

.step50-application-selector {
  box-shadow: var(--step50-shadow-soft);
}

.step50-application-editor__header p:last-child {
  border-left-color: var(--step50-orange);
  background: var(--step50-orange-soft);
}

.step50-application-extra,
.step50-application-research {
  border-radius: 14px;
}

.step50-preview-toolbar {
  background: linear-gradient(135deg, #ffffff 0%, #f4f9fb 100%);
  border-color: rgba(8, 59, 77, 0.13);
  border-radius: 14px;
  box-shadow: var(--step50-shadow-soft);
  padding: 16px 18px;
}

.step50-preview-toolbar p {
  color: var(--step50-ink);
  font-weight: 700;
  line-height: 1.65;
}

.step50-preview-toolbar .step50-button--primary {
  background: var(--step50-orange);
  border-color: var(--step50-orange);
  font-weight: 900;
  min-width: 180px;
}

.step50-preview {
  border-color: rgba(8, 59, 77, 0.14);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.step50-career-preview {
  border-radius: 12px;
  box-shadow: var(--step50-shadow-card);
}

.step50-general-resume {
  width: 860px;
  max-width: none;
  margin: 0 auto;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  padding: 32px;
  font-size: 13px;
  line-height: 1.55;
}

.step50-general-resume h3 {
  margin: 0;
  text-align: center;
  font-size: 22px;
  letter-spacing: 0;
}

.step50-general-resume h4 {
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid #111;
  background: #f4f4f4;
  font-size: 14px;
}

.step50-general-resume p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.step50-general-resume__header {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  text-align: center;
}

.step50-general-resume__header p {
  color: #555;
  font-size: 12px;
}

.step50-general-resume__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 16px;
  margin-bottom: 16px;
}

.step50-general-resume__profile,
.step50-general-resume section {
  border: 1px solid #111;
}

.step50-general-resume__photo {
  display: grid;
  place-items: center;
  width: 120px;
  height: 160px;
  border: 1px solid #111;
  overflow: hidden;
  color: #777;
}

.step50-general-resume__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step50-general-resume section {
  margin-bottom: 16px;
}

.step50-general-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 40px;
  border-bottom: 1px solid #111;
}

.step50-general-row:last-child {
  border-bottom: 0;
}

.step50-general-row strong {
  display: grid;
  place-items: center;
  padding: 8px;
  border-right: 1px solid #111;
  background: #f4f4f4;
  text-align: center;
}

.step50-general-row p {
  padding: 9px 11px;
}

.step50-general-row--name {
  min-height: 58px;
}

.step50-general-row--name p {
  display: flex;
  align-items: center;
  font-size: 20px;
}

.step50-general-history__header,
.step50-general-history__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
}

.step50-general-history__header {
  background: #f4f4f4;
  border-bottom: 1px solid #111;
  font-weight: 700;
}

.step50-general-history__header strong,
.step50-general-history__row strong,
.step50-general-history__row p {
  margin: 0;
  padding: 10px;
  border-right: 1px solid #111;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.step50-general-history__header strong:last-child,
.step50-general-history__row p {
  border-right: 0;
}

.step50-general-history__row {
  min-height: 46px;
  border-bottom: 1px solid #111;
}

.step50-general-history__row:last-child {
  border-bottom: 0;
}

.step50-general-history__row strong {
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
}

.step50-general-resume section > p {
  min-height: 52px;
  padding: 12px;
}

.step50-mhlw-resume {
  position: relative;
  width: min(100%, 1180px);
  aspect-ratio: 2481 / 1754;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: clamp(6.5px, 0.52vw, 9px);
  line-height: 1.32;
}

.step50-mhlw-resume__background {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step50-mhlw-field,
.step50-mhlw-history__row span,
.step50-mhlw-history__row p,
.step50-mhlw-history__empty {
  position: absolute;
  z-index: 1;
  margin: 0;
  color: #111;
  white-space: pre-wrap;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.step50-mhlw-field--date-year { left: 23.65%; top: 10.55%; width: 3.2%; height: 1.8%; text-align: right; white-space: nowrap; }
.step50-mhlw-field--date-month { left: 28.15%; top: 10.55%; width: 1.8%; height: 1.8%; text-align: right; white-space: nowrap; }
.step50-mhlw-field--date-day { left: 30.0%; top: 10.55%; width: 2.0%; height: 1.8%; text-align: right; white-space: nowrap; }
.step50-mhlw-field--kana { left: 10.35%; top: 13.45%; width: 23.2%; height: 1.35%; white-space: nowrap; }
.step50-mhlw-field--name { left: 9.0%; top: 15.25%; width: 24.8%; height: 8.7%; display: flex; align-items: center; justify-content: center; font-size: 1.85em; white-space: nowrap; }
.step50-mhlw-field--birth-year { left: 10.8%; top: 25.1%; width: 3.2%; height: 1.55%; text-align: right; white-space: nowrap; }
.step50-mhlw-field--birth-month { left: 16.25%; top: 25.1%; width: 1.7%; height: 1.55%; text-align: right; white-space: nowrap; }
.step50-mhlw-field--birth-day { left: 20.25%; top: 25.1%; width: 1.9%; height: 1.55%; text-align: right; white-space: nowrap; }
.step50-mhlw-field--age { left: 27.8%; top: 25.1%; width: 2.1%; height: 1.55%; text-align: center; white-space: nowrap; }
.step50-mhlw-field--gender { left: 36.65%; top: 25.2%; width: 4.5%; height: 1.55%; white-space: nowrap; }
.step50-mhlw-field--address-kana { left: 10.3%; top: 27.75%; width: 26.2%; height: 1.35%; white-space: nowrap; }
.step50-mhlw-field--address { left: 9.0%; top: 30.45%; width: 28.8%; height: 4.6%; font-size: 1em; }
.step50-mhlw-field--phone { left: 39.55%; top: 31.05%; width: 7.1%; height: 2.0%; font-size: 0.82em; white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
.step50-mhlw-field--qualifications { left: 61.8%; top: 39.05%; width: 31.7%; height: 12.6%; }
.step50-mhlw-field--appeal { left: 55.2%; top: 59.2%; width: 39.5%; height: 15.8%; }
.step50-mhlw-field--preferences { left: 55.2%; top: 80.4%; width: 39.5%; height: 10.4%; }

.step50-mhlw-photo {
  position: absolute;
  z-index: 1;
  left: 37.4%;
  top: 9.45%;
  width: 7.4%;
  height: 13%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #777;
  font-size: 0.9em;
}

.step50-mhlw-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step50-mhlw-history__row span,
.step50-mhlw-history__row p {
  top: var(--row-top);
  height: 2.9%;
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.step50-mhlw-history__row [data-history-year] {
  left: var(--year-left);
  width: 4%;
  justify-content: center;
  text-align: center;
}

.step50-mhlw-history__row [data-history-month] {
  left: var(--month-left);
  width: 2.1%;
  justify-content: center;
  text-align: center;
}

.step50-mhlw-history__row p {
  left: var(--text-left);
  width: var(--text-width);
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.step50-mhlw-history__empty {
  left: 13%;
  top: 47.6%;
  width: 31%;
  color: #666;
}

@media (max-width: 900px) {
  .step50-service-landing__nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .step50-service-landing__links {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .step50-service-landing__links a {
    flex: 0 0 auto;
  }

  .step50-service-landing__hero {
    align-items: center;
    min-height: 620px;
    padding-bottom: 56px;
    padding-top: 56px;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 43%, rgba(255, 255, 255, 0.18) 72%, rgba(255, 255, 255, 0.04) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, 1) 100%),
      var(--step50-landing-hero);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%, 100% auto;
  }

  .step50-service-landing__hero-content {
    max-width: 1120px;
  }

  .step50-service-landing__hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
  }

  .step50-service-landing__actions,
  .step50-service-landing__pricing-inner,
  .step50-service-landing__pricing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .step50-service-landing__button {
    width: 100%;
  }

  .step50-service-access--article {
    grid-template-columns: 1fr;
  }

  .step50-service-access__actions {
    flex-direction: column;
  }

  .step50-service-access--floating {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
  }

  .step50-service-access--floating .step50-service-access__body {
    display: none;
  }

  .step50-service-access--floating .step50-service-access__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .step50-service-access--floating.step50-service-access--logged-in .step50-service-access__actions {
    grid-template-columns: 1fr;
  }

  .step50-payment__panel {
    grid-template-columns: 1fr;
  }

  .step50-service-landing__features,
  .step50-service-landing__flow,
  .step50-service-landing__page-links,
  .step50-service-landing__feature-list,
  .step50-service-landing__concerns--wide {
    grid-template-columns: 1fr;
  }

  .step50-expert-article__layout,
  .step50-expert-article__points {
    grid-template-columns: 1fr;
  }

  .step50-expert-article__side {
    position: static;
  }

  .step50-service-info__row {
    grid-template-columns: 1fr;
  }

  .step50-service-info__row dt,
  .step50-service-info__row dd {
    padding: 12px 14px;
  }

  .step50-home-actions,
  .step50-document-start__choices,
  .step50-document-flow,
  .step50-live-document__grid,
  .step50-live-document__grid--application,
  .step50-resume-ai-guide--compact .step50-resume-ai-guide__steps {
    grid-template-columns: 1fr;
  }

  .step50-resume-ai__header,
  .step50-template-current,
  .step50-resume-ai-link-card,
  .step50-resume-ai__split,
  .step50-grid--three {
    display: block;
  }

  .step50-application-selector,
  .step50-application-selector__controls {
    grid-template-columns: 1fr;
  }

  .step50-application-selector .step50-button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .step50-resume-ai__actions {
    justify-content: stretch;
    margin-top: 10px;
  }

  .step50-ai-wizard__header {
    display: grid;
  }

  .step50-ai-wizard__choices {
    grid-template-columns: 1fr;
  }

  .step50-ai-wizard__actions {
    justify-content: stretch;
  }

  .step50-ai-wizard__actions .step50-small-button {
    width: 100%;
  }

  .step50-resume-ai__header .step50-button {
    width: 100%;
  }

  .step50-template-current .step50-small-button {
    margin-top: 12px;
    width: 100%;
  }

  .step50-resume-ai-link-card__button {
    width: 100%;
    margin-top: 12px;
  }

  .step50-resume-ai-guide--compact .step50-resume-ai-guide__steps {
    grid-template-columns: 1fr;
  }

  .step50-resume-ai-guide--compact .step50-resume-ai-guide__intro {
    grid-template-columns: 1fr;
  }

  .step50-resume-ai-guide__visual {
    min-height: 180px;
  }

  .step50-resume-ai-guide__visual img {
    aspect-ratio: 16 / 8;
    height: auto;
  }

  .step50-resume-ai-guide--compact .step50-resume-ai-guide__step {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
    min-height: 0;
  }

  .step50-resume-ai-guide__actions {
    display: block;
  }

  .step50-card,
  .step50-grid--three > .step50-card {
    margin-bottom: 12px;
  }

  .step50-form fieldset {
    grid-template-columns: 1fr;
  }

  .step50-work-history__item {
    grid-template-columns: 1fr;
  }

  .step50-work-history__period,
  .step50-work-history__company-row,
  .step50-work-history__meta {
    grid-template-columns: 1fr;
  }

  .step50-application-section,
  .step50-application-research__body,
  .step50-application-extra__grid {
    grid-template-columns: 1fr;
  }

  .step50-application-research summary,
  .step50-application-extra summary {
    align-items: flex-start;
  }

  .step50-application-research summary::after,
  .step50-application-extra summary::after {
    margin-top: 2px;
  }

  .step50-company-fit-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .step50-work-history__ai-panel {
    align-items: stretch;
    display: grid;
  }

  .step50-work-history__ai-actions,
  .step50-work-history__question-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .step50-work-history__period {
    gap: 8px;
  }

  .step50-career-fields {
    padding: 14px;
  }

  .step50-photo-editor {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .step50-service-landing {
    font-size: 15px;
  }

  .step50-service-landing__hero {
    align-items: flex-end;
    min-height: 700px;
    padding-top: 330px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.18) 34%, rgba(255, 255, 255, 0.98) 62%, rgba(255, 255, 255, 1) 100%),
      var(--step50-landing-hero);
    background-size: 100% 100%, 100% auto;
  }

  .step50-service-landing__hero-content {
    max-width: 100%;
  }

  .step50-brand-logo--landing {
    width: min(310px, 88vw);
    margin-bottom: 18px;
  }

  .step50-brand-logo--app {
    width: min(260px, 78vw);
  }

  .step50-brand-logo--login {
    width: min(290px, 86vw);
    margin-bottom: 20px;
  }

  .step50-brand-logo--info,
  .step50-brand-logo--guide {
    width: min(270px, 84vw);
    margin-bottom: 18px;
  }

  .step50-service-landing__hero h1 {
    font-size: 2.2rem;
  }

  .step50-service-landing__headline-line {
    white-space: normal;
  }

  .step50-service-landing__badges li {
    font-size: 0.84em;
  }

  .step50-resume-ai {
    padding: 14px;
  }

  .step50-resume-ai-guide {
    padding: 16px;
  }

  .step50-resume-ai-guide__step {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }

  .step50-resume-ai-guide__step span {
    width: 32px;
    height: 32px;
  }

  .step50-resume-ai__tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    margin-left: -14px;
    margin-right: -14px;
    overflow-x: auto;
    padding: 8px 14px 0;
    scroll-padding-left: 14px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(8, 59, 77, 0.28) transparent;
    scrollbar-width: thin;
  }

  .step50-resume-ai__tabs button {
    flex: 0 0 146px;
    min-height: 58px;
    scroll-snap-align: start;
    width: auto;
  }

  .step50-resume-ai__tabs button.is-active {
    min-height: 66px;
  }

  .step50-preview {
    padding: 10px;
  }

  .step50-preview__page {
    padding: 12px;
  }
}

.step50-beta-notice {
  display: grid;
  gap: 4px;
  margin: 18px 0 22px;
  padding: 14px 16px;
  border: 1px solid #f1b36d;
  border-left: 5px solid #f07a18;
  border-radius: 8px;
  background: #fff5e9;
  color: #71390b;
  line-height: 1.75;
  text-align: left;
}

.step50-beta-notice strong,
.step50-beta-notice span {
  display: block;
}

.step50-beta-notice strong {
  font-size: 1.02em;
}

.step50-beta-notice--hero {
  max-width: 700px;
  background: rgb(255 255 255 / 92%);
}

.step50-feedback-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: #173c78;
  box-shadow: 0 8px 24px rgb(15 47 94 / 28%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.step50-feedback-launcher:hover,
.step50-feedback-launcher:focus {
  background: #0f2f63;
  transform: translateY(-1px);
}

.step50-feedback-modal[hidden],
.step50-pdf-feedback[hidden] {
  display: none !important;
}

.step50-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.step50-feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(11 27 53 / 66%);
}

.step50-feedback-dialog {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(0 0 0 / 30%);
  color: #24364d;
}

.step50-feedback-dialog h3 {
  margin: 4px 40px 8px 0;
  color: #173c78;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

.step50-feedback-dialog > p:not(.step50-feedback-dialog__eyebrow) {
  margin: 0 0 18px;
  line-height: 1.75;
}

.step50-feedback-dialog__eyebrow {
  margin: 0;
  color: #d86912;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step50-feedback-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #eef2f6;
  color: #24364d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.step50-feedback-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.step50-feedback-form label {
  display: grid;
  gap: 6px;
  color: #24364d;
  font-weight: 700;
}

.step50-feedback-form select,
.step50-feedback-form textarea,
.step50-feedback-form input[type="email"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #b9c5d3;
  border-radius: 7px;
  background: #fff;
  color: #17283e;
  font: inherit;
}

.step50-feedback-form textarea {
  resize: vertical;
}

.step50-feedback-form__wide,
.step50-feedback-form__warning,
.step50-feedback-form__check,
.step50-feedback-form__actions,
.step50-feedback-form__status {
  grid-column: 1 / -1;
}

.step50-feedback-form__warning {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fff5e9;
  color: #71390b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.step50-feedback-form__check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
}

.step50-feedback-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.step50-feedback-form__status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 700;
}

.step50-feedback-form__status[data-type="success"] {
  color: #167145;
}

.step50-feedback-form__status[data-type="error"] {
  color: #b3261e;
}

body.step50-feedback-open {
  overflow: hidden;
}

.step50-ai-proposal__feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #dce4ee;
}

.step50-ai-proposal__feedback span {
  margin-right: 3px;
  color: #43566d;
  font-weight: 700;
}

.step50-pdf-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid #f1b36d;
  border-radius: 9px;
  background: #fff8ef;
}

.step50-pdf-feedback strong,
.step50-pdf-feedback p {
  display: block;
  margin: 0;
}

.step50-pdf-feedback p {
  margin-top: 3px;
  color: #66513e;
}

.step50-pdf-feedback__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 720px) {
  .step50-feedback-launcher {
    right: 12px;
    bottom: 12px;
    padding: 11px 14px;
    font-size: 0.88rem;
  }

  .step50-feedback-dialog {
    padding: 22px 18px;
  }

  .step50-feedback-form {
    grid-template-columns: 1fr;
  }

  .step50-pdf-feedback {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .step50-resume-ai,
  .step50-resume-ai *,
  .step50-preview,
  .step50-preview * {
    visibility: visible;
  }

  .step50-resume-ai {
    border: 0 !important;
    background: #fff !important;
    padding: 0 !important;
  }

  .step50-resume-ai__header,
  .step50-beta-notice,
  .step50-resume-ai__tabs,
  .step50-resume-ai-guide--compact,
  .step50-resume-ai__work-start,
  .step50-resume-ai__notice,
  .step50-resume-ai__limits,
  .step50-feedback-launcher,
  .step50-feedback-modal,
  .step50-pdf-feedback,
  .step50-preview-toolbar,
  .step50-view:not([data-view-panel="preview"]):not([data-view-panel="career-preview"]),
  .step50-view[data-view-panel="preview"]:not(.is-active),
  .step50-view[data-view-panel="career-preview"]:not(.is-active) {
    display: none !important;
  }

  .step50-view[data-view-panel="preview"].is-active,
  .step50-view[data-view-panel="career-preview"].is-active {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .step50-preview {
    border: 0 !important;
    background: #fff !important;
    padding: 0 !important;
  }

  .step50-preview__page {
    border: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: auto;
    max-width: none;
    padding: 0;
    font-size: 10.5px;
  }

  .step50-template-preview__page {
    width: 390mm;
  }

  .step50-mhlw-resume {
    width: 420mm !important;
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .step50-mhlw-field--phone {
    font-size: 0.9em !important;
  }

  @page {
    size: A3 landscape;
    margin: 10mm;
  }
}
