:root {
  --a4-width: 210mm;
  --a4-height: 297mm;
  --bg: #e8f6ff;
  --card: rgba(248, 253, 255, 0.9);
  --paper: #ffffff;
  --text: #17324a;
  --muted: #567286;
  --line: rgba(23, 50, 74, 0.14);
  --primary: #1580c9;
  --accent: #27b89a;
  --shadow: 0 24px 60px rgba(21, 96, 155, 0.14);
  font-family: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 30%),
    radial-gradient(circle at top right, rgba(127, 220, 255, 0.26), transparent 24%),
    linear-gradient(180deg, #dff4ff 0%, var(--bg) 56%, #f4fdff 100%);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(21, 128, 201, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 128, 201, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}

.shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 44px;
}

.site-header,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(246, 252, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 100%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--primary);
  border-color: transparent;
}

.hero,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  padding: 26px 22px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 460px);
  gap: 18px;
  align-items: center;
}

.hero-grid-compact {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(21, 96, 155, 0.12);
}

.hero-visual-compact img {
  width: min(100%, 170px);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.section-heading h3 {
  margin: 10px 0 0;
  line-height: 1.22;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  max-width: 12ch;
}

.lead {
  margin: 14px 0 0;
  max-width: 50rem;
  color: var(--muted);
  line-height: 1.75;
}

.hero-support-copy {
  margin: 12px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.lead a {
  color: var(--primary);
}

.hero-actions,
.layout,
.field-grid,
.inline-actions,
.stack {
  display: grid;
  gap: 12px;
}

.layout-single {
  display: grid;
  gap: 18px;
}

.hero-actions {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 22px;
}

.hero-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-mini-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 128, 201, 0.14);
}

.hero-samples {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(21, 128, 201, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(39, 184, 154, 0.12), rgba(255, 255, 255, 0.9));
}

.hero-samples-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}

.hero-samples-label {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-samples-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.sample-role-card {
  display: grid;
  gap: 6px;
  min-height: 110px;
  padding: 16px;
  text-align: left;
  border: 1px solid rgba(21, 128, 201, 0.16);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(21, 128, 201, 0.1);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.sample-role-card:hover,
.sample-role-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(21, 128, 201, 0.34);
  box-shadow: 0 16px 28px rgba(21, 128, 201, 0.14);
}

.sample-role-card strong {
  font-size: 1.02rem;
}

.sample-role-card span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.sample-role-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  color: var(--primary) !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: rgba(21, 128, 201, 0.1);
}

.home-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.home-points div,
.placeholder-item {
  padding: 14px 16px;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.home-points div {
  display: grid;
  gap: 4px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.52);
}

.home-points strong {
  font-size: 0.98rem;
}

.home-points span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.document-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.document-choice-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(21, 128, 201, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 30px rgba(21, 96, 155, 0.06);
}

.document-choice-card h3,
.document-choice-card p {
  margin: 0;
}

.document-choice-card p {
  color: var(--muted);
  line-height: 1.7;
}

.document-choice-label {
  color: var(--primary) !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.choice-link {
  color: var(--primary);
  font-weight: 700;
}

.document-choice-card.is-featured {
  background: linear-gradient(180deg, rgba(21, 128, 201, 0.1), rgba(255, 255, 255, 0.92));
  border-color: rgba(21, 128, 201, 0.2);
}

.persona-grid,
.step-visual-grid,
.simple-feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.persona-grid,
.step-visual-grid,
.simple-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.persona-card,
.step-visual-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(21, 128, 201, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 251, 255, 0.84));
  box-shadow: 0 16px 28px rgba(21, 96, 155, 0.07);
}

.persona-card h3,
.persona-card p,
.step-visual-card h3,
.step-visual-card p {
  margin: 0;
}

.persona-card p,
.step-visual-card p {
  color: var(--muted);
  line-height: 1.65;
}

.section-summary {
  margin: 12px 0 0;
  max-width: 52rem;
  color: var(--muted);
  line-height: 1.75;
}

.card-kicker {
  color: var(--primary) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-points {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-points li {
  line-height: 1.55;
}

.persona-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.18;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
}

.step-visual-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.18;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.achievement-card {
  padding: 22px 20px;
  border: 1px solid rgba(21, 128, 201, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(21, 128, 201, 0.08), rgba(255, 255, 255, 0.88));
}

.achievement-card h3,
.achievement-card p {
  margin: 0;
}

.achievement-number {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
}

.achievement-card h3 {
  font-size: 1.02rem;
  line-height: 1.5;
}

.achievement-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.72;
}

.feature-card {
  display: grid;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(21, 128, 201, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 251, 255, 0.82));
}

.feature-illust {
  width: 104px;
  height: auto;
  margin-bottom: 6px;
}

.feature-card h3,
.feature-card p,
.step-number {
  margin: 0;
}

.feature-card h3 {
  font-size: 1.02rem;
  line-height: 1.5;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.72;
}

.simple-feature-grid .feature-card {
  min-height: 150px;
  align-content: center;
}

.simple-feature-grid .feature-card h3 {
  font-size: 1.18rem;
}

.simple-feature-grid .feature-card p {
  margin-top: 6px;
  font-size: 0.94rem;
}

.feature-note {
  margin-top: 8px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
}

.sports-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.sports-case-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(21, 128, 201, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 251, 255, 0.84));
  box-shadow: 0 16px 28px rgba(21, 96, 155, 0.07);
}

.sports-case-card h3,
.sports-case-card p {
  margin: 0;
}

.sports-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sports-tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 128, 201, 0.16);
}

.steps-grid {
  margin-top: 18px;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::after {
  position: absolute;
  inset: auto -20px -28px auto;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(39, 184, 154, 0.12);
  content: "";
}

.step-number {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-footer {
  margin-top: 18px;
  padding: 22px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.site-footer-grid h2,
.site-footer-grid p {
  margin: 0;
}

.site-footer-grid h2 {
  font-size: 0.95rem;
}

.site-footer-grid p,
.site-footer-grid a {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
  text-decoration: none;
  display: block;
}

.footer-logo {
  height: 38px;
  margin-bottom: 10px;
}

.site-footer-copy {
  margin: 18px 0 0;
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  border-top: 1px solid rgba(36, 33, 29, 0.08);
}

.policy-panel h1 {
  margin: 10px 0 0;
}

.policy-copy {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.policy-copy h2,
.policy-copy p {
  margin: 0;
}

.policy-copy h2 {
  font-size: 1rem;
}

.policy-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.consent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.48);
}

.consent-dialog {
  position: relative;
  width: min(920px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  margin: 16px auto;
  padding: 24px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(247, 253, 255, 0.98);
  box-shadow: var(--shadow);
}

.modal-close-button {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.modal-lead {
  max-width: none;
}

.consent-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.consent-choice-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.consent-choice-card h3,
.consent-choice-card p {
  margin: 0;
}

.consent-choice-card p {
  color: var(--muted);
  line-height: 1.75;
}

.consent-choice-card-accent {
  border-color: rgba(31, 111, 93, 0.18);
  background: linear-gradient(180deg, rgba(31, 111, 93, 0.08), rgba(255, 255, 255, 0.92));
}

.consent-choice-label {
  color: var(--primary) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent-check span {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.consent-error {
  color: #b44545 !important;
  font-weight: 700;
}

.consent-caption {
  font-size: 0.88rem;
}

.consent-caption a {
  color: var(--primary);
}

.lead-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  max-width: min(440px, calc(100% - 32px));
  padding: 14px 16px;
  color: #fff;
  border-radius: 18px;
  background: rgba(21, 128, 201, 0.96);
  box-shadow: 0 18px 30px rgba(21, 128, 201, 0.22);
}

.placeholder-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.layout {
  align-items: start;
}

.panel {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.wizard-meta,
.stepper,
.wizard-nav {
  display: grid;
  gap: 12px;
}

.wizard-meta {
  margin-top: 18px;
  margin-bottom: 10px;
  position: sticky;
  top: 12px;
  z-index: 12;
  padding: 12px;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 20px;
  background: rgba(245, 252, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(21, 96, 155, 0.08);
}

.stepper {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-chip {
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid rgba(36, 33, 29, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.step-chip.is-active {
  color: #fff;
  background: var(--primary);
}

.step-chip.is-done {
  color: var(--primary);
  border-color: rgba(21, 128, 201, 0.2);
  background: rgba(21, 128, 201, 0.08);
}

.save-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.save-status.is-saved {
  color: var(--primary);
}

.save-status.is-error {
  color: #b44545;
}

.compact {
  margin-top: 28px;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.narrow-grid {
  grid-template-columns: 150px minmax(0, 1fr);
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.field span {
  font-size: 0.94rem;
  font-weight: 700;
}

.input-with-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.conditional-input.is-hidden {
  display: none;
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.step-header {
  margin-top: 12px;
}

.step-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.step-header p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.review-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.review-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.review-card p:last-child {
  margin-bottom: 0;
}

.helper-card {
  margin-top: 18px;
}

.helper-card-title {
  font-weight: 700;
  color: var(--text);
}

.required-note {
  font-weight: 700;
  color: #9a4a24;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(21, 128, 201, 0.18);
  border-color: rgba(21, 128, 201, 0.52);
}

.mini-button,
.chip-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(21, 128, 201, 0.14);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(21, 128, 201, 0.08);
  cursor: pointer;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.primary-button,
.secondary-button {
  color: #fff;
  background: var(--primary);
}

.accent-button {
  background: linear-gradient(135deg, var(--accent), #1fc4d8);
}

.secondary-button {
  width: 100%;
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(36, 33, 29, 0.08);
}

button:disabled {
  opacity: 0.45;
  cursor: default;
}

.danger-button {
  color: #9f3535;
  border-color: rgba(159, 53, 53, 0.16);
  background: rgba(159, 53, 53, 0.08);
}

.text-button {
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  color: #b44545;
  background: transparent;
}

.career-card,
.career-row-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
}

.history-grid {
  grid-template-columns: 150px 1fr 1fr;
}

.document-preview {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.paper-page {
  width: var(--a4-width);
  min-height: var(--a4-height);
  padding: 12mm 10mm 12mm;
  background: var(--paper);
  color: #111;
  border: 1px solid #808080;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.doc-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-bottom: 6mm;
}

.doc-header h3 {
  margin: 0;
  text-align: center;
  font-size: 14pt;
  letter-spacing: 0.45em;
  transform: translateX(0.22em);
}

.doc-meta {
  min-width: 42mm;
  text-align: right;
  font-size: 8.5pt;
  line-height: 1.5;
}

.doc-meta p {
  margin: 0;
}

.doc-section {
  margin-top: 4.2mm;
  font-size: 9pt;
  line-height: 1.55;
}

.doc-section h4 {
  margin: 0 0 2mm;
  font-size: 9.2pt;
}

.doc-paragraphs p,
.doc-list p {
  margin: 0 0 1.4mm;
}

.doc-box {
  padding: 2.2mm 2.4mm;
  border: 1px solid #7e7e7e;
}

.doc-box .doc-list p:last-child,
.doc-box .doc-paragraphs p:last-child {
  margin-bottom: 0;
}

.resume-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #7e7e7e;
}

.resume-table th,
.resume-table td {
  border: 1px solid #7e7e7e;
  padding: 1.8mm 2mm;
  vertical-align: top;
  font-size: 8.4pt;
  line-height: 1.55;
  word-break: break-word;
}

.resume-table th {
  width: 24mm;
  background: #f5f5f5;
  text-align: center;
  font-weight: 700;
}

.resume-table .year-col {
  width: 16mm;
}

.resume-table .month-col {
  width: 12mm;
}

.empty-state {
  color: #666;
}

.career-preview {
  margin-top: 2.8mm;
}

.career-heading {
  margin: 0 0 0.8mm;
  font-size: 9pt;
}

.career-business {
  margin: 0 0 2mm;
  font-size: 8.4pt;
}

.career-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #7e7e7e;
}

.career-table th,
.career-table td {
  border: 1px solid #7e7e7e;
  padding: 1.2mm 1.6mm;
  vertical-align: top;
  font-size: 8.1pt;
}

.career-table th {
  background: #f5f5f5;
  text-align: center;
  font-weight: 700;
}

.career-table th:first-child,
.career-table td:first-child {
  width: 26mm;
}

.career-role {
  margin: 0 0 1mm;
  font-weight: 700;
}

.detail-lines {
  display: grid;
  gap: 0.4mm;
}

.detail-lines p {
  margin: 0;
  white-space: pre-wrap;
}

.document-end {
  margin: 5mm 0 0;
  text-align: right;
  font-size: 8.6pt;
}

.wizard-nav {
  grid-template-columns: minmax(160px, 220px) repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  align-items: center;
  position: sticky;
  bottom: 12px;
  z-index: 11;
  padding: 12px;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 22px;
  background: rgba(245, 252, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 30px rgba(21, 96, 155, 0.1);
}

.wizard-nav-note {
  margin: 10px 0 0;
  color: #9f3535;
  font-size: 0.84rem;
  line-height: 1.6;
  padding: 0 6px;
}

.chat-choice-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(21, 128, 201, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(21, 128, 201, 0.08), rgba(255, 255, 255, 0.8));
}

.chat-choice-label {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 800;
}

.chat-doc-grid,
.chat-answer-grid {
  display: grid;
  gap: 10px;
}

.chat-doc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chat-doc-card,
.chat-answer-chip {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px;
  text-align: left;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.chat-doc-card strong,
.chat-answer-chip strong {
  font-size: 1rem;
}

.chat-doc-card span,
.chat-answer-chip span,
.chat-answer-note {
  color: var(--muted);
  line-height: 1.6;
}

.chat-shell {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.chat-thread {
  display: grid;
  gap: 10px;
  max-height: 540px;
  overflow: auto;
  padding: 8px 4px 4px;
}

.chat-bubble {
  max-width: min(88%, 540px);
  padding: 14px 16px;
  border-radius: 20px;
  white-space: pre-wrap;
  line-height: 1.7;
  box-shadow: 0 10px 24px rgba(21, 96, 155, 0.09);
}

.chat-bubble-assistant {
  justify-self: start;
  border: 1px solid rgba(36, 33, 29, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.chat-bubble-user {
  justify-self: end;
  color: #fff;
  background: var(--primary);
}

.chat-quick-replies {
  display: grid;
  gap: 10px;
}

.chat-quick-replies-head {
  margin: 0;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.chat-quick-replies-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-reply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(21, 128, 201, 0.18);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
  background: rgba(21, 128, 201, 0.1);
  cursor: pointer;
}

.chat-helper-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(21, 128, 201, 0.14);
  border-radius: 22px;
  background: rgba(21, 128, 201, 0.05);
}

.chat-helper-title {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.chat-helper-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.chat-helper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.chat-helper-field {
  display: grid;
  gap: 6px;
}

.chat-helper-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-helper-grid-zip {
  grid-template-columns: 108px minmax(0, 1fr) auto;
}

.chat-helper-select,
.chat-helper-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.chat-helper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-suggestion-list {
  display: grid;
  gap: 8px;
}

.chat-suggestion-card {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.chat-suggestion-card strong {
  font-size: 0.95rem;
}

.chat-suggestion-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.chat-zip-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  color: var(--primary);
  font-weight: 800;
  border: 1px solid rgba(21, 128, 201, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.chat-helper-note-strong {
  color: var(--text);
  font-weight: 700;
}

.chat-composer {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(36, 33, 29, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.chat-composer textarea {
  min-height: 108px;
}

.chat-composer-actions,
.chat-answer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-answer-panel {
  margin-top: 18px;
}

.chat-answer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.chat-answer-chip.is-empty {
  opacity: 0.72;
}

.chat-answer-chip.is-current {
  border-style: dashed;
  background: rgba(21, 128, 201, 0.06);
  cursor: default;
}

.chat-paper-empty {
  display: grid;
  place-items: center;
}

@media (min-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .layout > * {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }

  .preview-panel {
    position: static;
  }

  .document-preview {
    justify-items: center;
  }
}

@media (max-width: 959px) {
  .site-header,
  .site-footer-grid,
  .hero-grid,
  .hero-actions,
  .persona-grid,
  .simple-feature-grid,
  .sports-case-grid,
  .step-visual-grid,
  .home-points,
  .achievement-grid,
  .feature-grid,
  .consent-choice-grid,
  .document-choice-grid,
  .chat-doc-grid,
  .chat-answer-grid,
  .sample-role-grid,
  .field-grid,
  .history-grid,
  .input-with-action,
  .inline-actions,
  .narrow-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: stretch;
  }

  .site-brand {
    width: 100%;
  }

  .site-logo {
    width: min(100%, 280px);
    height: auto;
  }

  .site-nav a {
    width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img,
  .hero-visual-compact img {
    width: min(100%, 260px);
  }

  .paper-page {
    width: 100%;
    min-height: auto;
    padding: 18px 14px 20px;
  }

  .chat-bubble {
    max-width: 100%;
  }

  .chat-composer-actions,
  .chat-answer-head {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-helper-grid,
  .chat-helper-grid-zip {
    grid-template-columns: 1fr;
  }

  .wizard-meta {
    position: static;
    padding: 10px 10px 8px;
  }

  .stepper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 1fr);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .stepper::-webkit-scrollbar {
    display: none;
  }

  .step-chip {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .save-status {
    font-size: 0.8rem;
  }

  .wizard-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    bottom: 8px;
    padding: 8px;
    gap: 8px;
  }

  .wizard-nav .secondary-button {
    grid-column: 1 / -1;
  }

  .wizard-nav .ghost-button,
  .wizard-nav .secondary-button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .wizard-nav .ghost-button {
    min-width: 0;
  }

  .wizard-nav-note {
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .doc-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .doc-header h3,
  .doc-meta {
    text-align: center;
  }
}

@media print {
  body {
    background: #fff;
  }

  body::before,
  .site-header,
  .site-footer,
  .hero,
  .form-panel,
  .section-heading {
    display: none !important;
  }

  .shell,
  .layout,
  .preview-panel,
  .document-preview {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 0;
    box-shadow: none;
  }

  .paper-page {
    width: 210mm;
    min-height: 297mm;
    margin: 0;
    box-shadow: none;
    break-after: page;
  }
}
.hero-wave-flow::before,
.panel-wave-main::before,
.panel-wave-flow::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
}

.hero-wave-flow::before,
.panel-wave-flow::before {
  background-image: url("/sports/assets/bg-wave-flow.jpg");
}

.panel-wave-main::before {
  background-image: url("/sports/assets/bg-wave-main.jpg");
}

.hero > *,
.panel > * {
  position: relative;
  z-index: 1;
}
