:root {
  --ink-900: #243247;
  --ink-700: #49566b;
  --ink-500: #a1aaba;
  --line: #eceff3;
  --card: #ffffff;
  --primary: #18b879;
  --primary-deep: #11a86d;
  --success: #1d7a54;
  --radius-lg: 12px;
  --radius-md: 9px;
}
* { box-sizing: border-box; }
.is-hidden { display: none !important; }
body {
  margin: 0;
  color: var(--ink-900);
  font-family: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #eef8f1 0%, #e5f4ea 100%);
}
button, input, select { font: inherit; }
.form-page { width: min(1080px, 100%); margin: 0 auto; padding: 0 0 48px; }
.hero-shell { border-bottom: 1px solid var(--line); }
.hero-card { padding: 26px 26px 12px 18px; }
.hero-brand {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  overflow: visible;
  min-height: 140px;
}
.hero-copy-block {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
}
.hero-title-wrap {
  max-width: calc(100% - 96px);
}
.hero-corner-logo {
  position: absolute;
  top: -8px;
  right: 6px;
  width: 34px;
  height: 34px;
  object-fit: contain;
  z-index: 3;
}
.hero-illustration {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 168px;
  height: 168px;
  opacity: 0.5;
  pointer-events: none;
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
}
.hero-illustration-glow {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(95, 255, 132, 0.85) 0%, rgba(95, 255, 132, 0.35) 45%, rgba(95, 255, 132, 0) 75%);
  filter: blur(4px);
}
.hero-illustration-sheet {
  position: absolute;
  left: 62px;
  top: 46px;
  width: 96px;
  height: 118px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(76, 255, 98, 0.95) 0%, rgba(197, 255, 214, 0.92) 76%, rgba(162, 255, 190, 0.9) 100%);
  box-shadow: 0 10px 26px rgba(47, 214, 95, 0.18);
}
.hero-illustration-sheet::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 32px;
  border-radius: 0 18px 0 18px;
  background: linear-gradient(180deg, rgba(28, 220, 72, 0.95) 0%, rgba(134, 255, 167, 0.88) 100%);
}
.hero-illustration-sheet span {
  position: absolute;
  left: 18px;
  width: 60px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(47, 214, 95, 0.18);
}
.hero-illustration-sheet span:nth-child(1) { top: 34px; }
.hero-illustration-sheet span:nth-child(2) { top: 54px; }
.hero-illustration-sheet span:nth-child(3) { top: 74px; }
.hero-illustration-base {
  position: absolute;
  left: 74px;
  top: 154px;
  width: 80px;
  height: 30px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(98, 255, 130, 0.95) 0%, rgba(29, 222, 79, 0.92) 100%);
}
.hero-card h1 {
  margin: 0;
  max-width: 100%;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.hero-copy { margin: 10px 0 0; color: #333333; font-size: 15px; line-height: 1.7; padding-right: 0; }
.hero-copy-lead { font-weight: 700; color: #000000; }
.hero-copy-emphasis { font-weight: 700; color: #000000; }
.sheet-card { padding: 18px 24px 0; }
.people-form { display: grid; gap: 16px; }
.person-card {
  border: 0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: none;
  overflow: visible;
  padding-top: 0;
}
.person-card-head {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 0 0 16px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  border-radius: 22px 22px 0 0;
  position: relative;
  z-index: 1;
}
.person-card-head strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px 0 0;
  font-size: 17px;
  font-weight: 500;
  color: #374151;
  background: #ffffff;
}
.person-card-head strong::before {
  content: "";
  width: 5px;
  height: 17px;
  margin-right: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #96cac4 0%, #75b96f 100%);
  flex: 0 0 auto;
}
.person-card-body { padding: 22px 28px 48px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: grid; gap: 4px; }
.field-label { font-size: 15px; font-weight: 500; color: var(--ink-900); }
.required-mark {
  display: inline-block;
  margin-right: 3px;
  color: #ff4d4f;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline;
}
.optional-after-trial .required-mark {
  display: none;
}
.question-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(24, 184, 121, 0.12);
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  vertical-align: text-top;
}
.field input, .field select {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #dfe5ed;
  background: #ffffff;
  color: var(--ink-900);
  font-size: 15px;
}
.split-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: stretch;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
}
.split-input input {
  min-height: 52px;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 10px 14px;
}
.split-input input::placeholder {
  font-size: 14px;
}
.split-input input:focus {
  outline: none;
  box-shadow: none;
}
.split-divider {
  width: 1px;
  background: #dfe5ed;
}
.field input::placeholder { color: #c3cad4; font-size: 14px; font-weight: 400; }
.field input:focus, .field select:focus { outline: none; border-color: rgba(5, 150, 105, 0.42); }
.display-only-input {
  pointer-events: none;
  user-select: none;
  background: #f7f9fc !important;
  color: var(--ink-700);
}
.field-input-with-unit {
  position: relative;
  display: block;
}
.field-input-with-unit input {
  padding-right: 72px;
}
.field-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-900);
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.field-wide { grid-column: 1 / -1; }
.field-subquestion {
  padding-left: 14px;
}
.field-age { grid-column: 1; }
.field-gender { grid-column: 2; }
.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 12px;
}
.option-group-tight {
  gap: 2px 12px;
}
.compact-option-group {
  gap: 14px 12px;
}
.compact-option-group .choice-option {
  min-height: 24px;
  line-height: 1.55;
}
.choice-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0;
  font-size: 14px;
  color: var(--ink-900);
  cursor: pointer;
}
.choice-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--primary);
}
.submission-render .choice-option,
.admin-detail-render .choice-option {
  pointer-events: none;
}
.submission-render .render-choice-input,
.admin-detail-render .render-choice-input {
  accent-color: var(--primary);
  opacity: 1;
  filter: none;
}
.choice-option span {
  display: block;
  line-height: 1.65;
}
.choice-option span strong {
  white-space: nowrap;
}
.choice-option-full {
  width: 100%;
}
.stack-group {
  display: grid;
  gap: 10px;
}
.field-inline {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 6px;
  width: 100%;
}
.field-inline input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #dfe5ed;
  background: #ffffff;
  color: var(--ink-900);
  font-size: 15px;
}
.field-inline input:focus {
  outline: none;
  border-color: rgba(5, 150, 105, 0.42);
}
.talent-list {
  display: grid;
  gap: 14px;
}
.talent-item {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
}
.talent-item-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid #dfe5ed;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}
.talent-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 14px;
}
.secondary-action-btn {
  min-height: 42px;
  border: 1px solid rgba(24, 184, 121, 0.28);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(24, 184, 121, 0.08);
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.secondary-action-btn.is-danger {
  border-color: rgba(240, 82, 82, 0.28);
  background: rgba(240, 82, 82, 0.08);
  color: #d14343;
}
.secondary-action-btn-compact {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}
.talent-remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(240, 82, 82, 0.18);
  border-radius: 999px;
  background: rgba(240, 82, 82, 0.04);
  color: rgba(209, 67, 67, 0.88);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.talent-remove-btn[hidden] {
  display: none;
}
.talent-role-input {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid #dfe5ed;
  background: #ffffff;
  color: var(--ink-900);
  font-size: 15px;
}
.talent-role-input::placeholder {
  font-size: 14px;
}
.talent-role-input:focus {
  outline: none;
}
.submit-bar { display: flex; justify-content: center; padding: 26px 28px 10px; }
.submit-btn {
  width: 100%;
  max-width: 996px;
  height: 51px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  background: linear-gradient(169deg, var(--primary), #35c98e);
  box-shadow: 0 14px 28px rgba(24,184,121,.22);
  cursor: pointer;
}
.form-message { min-height: 24px; margin: 0; color: var(--success); font-size: 12px; text-align: center; }
.form-message.is-error { color: #b42318; }
.page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 18px;
  color: #000000;
  font-size: 15px;
}
.page-footer-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}
.page-footer-name {
  line-height: 1;
}
@media (max-width: 640px) {
  .sheet-card { padding: 14px 12px 0; }
  .person-card-head {
    min-height: 54px;
    padding: 0 0 0 12px;
  }
  .person-card-head strong {
    min-height: 38px;
    padding: 0 16px 0 0;
    font-size: 15px;
  }
  .person-card-head strong::before {
    width: 5px;
    height: 17px;
    margin-right: 6px;
  }
  .hero-brand {
    gap: 12px;
    min-height: 110px;
  }
  .hero-corner-logo {
    width: 34px;
    height: 34px;
    top: -8px;
    right: 2px;
  }
  .hero-illustration {
    width: 88px;
    height: 88px;
    right: 8px;
    top: 50%;
    opacity: 0.5;
    transform: translateY(-50%);
  }
  .hero-illustration-sheet {
    left: 38px;
    top: 28px;
    width: 62px;
    height: 78px;
    border-radius: 14px;
  }
  .hero-illustration-sheet::after {
    width: 18px;
    height: 24px;
    border-radius: 0 14px 0 14px;
  }
  .hero-illustration-sheet span {
    left: 12px;
    width: 38px;
    height: 6px;
  }
  .hero-illustration-sheet span:nth-child(1) { top: 22px; }
  .hero-illustration-sheet span:nth-child(2) { top: 36px; }
  .hero-illustration-sheet span:nth-child(3) { top: 50px; }
  .hero-illustration-base {
    left: 48px;
    top: 100px;
    width: 52px;
    height: 20px;
    border-radius: 0 0 14px 14px;
  }
  .hero-copy { padding-right: 0; }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .field-subquestion {
    padding-left: 10px;
  }
  .choice-option {
    gap: 1px;
    min-height: 22px;
    font-size: 14px;
  }
  .field-input-with-unit input {
    padding-right: 62px;
  }
  .field-unit {
    right: 10px;
    font-size: 15px;
  }
  .compact-option-group {
    gap: 10px 10px;
  }
  .compact-option-group .choice-option {
    min-height: 16px;
    line-height: 1;
  }
  .choice-option input {
    width: 14px;
    height: 14px;
    transform: scale(0.72);
    transform-origin: center;
  }
  .submit-bar { padding: 20px 18px 8px; }
  .submit-btn {
    max-width: none;
    width: 100%;
    height: 51px;
  }
  .talent-item {
    padding: 0;
  }
  .talent-remove-btn {
    top: 0;
    right: 0;
  }
  .page-footer {
    padding: 6px 0 14px;
    font-size: 15px;
  }
  .person-card-body {
    padding: 19px 18px 40px;
  }
}
  .hero-copy-block {
    width: 100%;
    max-width: none;
  }
  .hero-title-wrap {
    max-width: calc(100% - 64px);
  }
