.ly_chat {
  --chat-navy: #0d315f;
  --chat-blue: #1f5f9e;
  --chat-sky: #eaf4ff;
  --chat-ink: #111827;
  --chat-muted: #374151;
  --chat-line: #cbd5e1;
  --chat-paper: #ffffff;
  --chat-bg: #f4f7fb;
  --chat-pink: #ef6fa8;
  --chat-orange: #f39a53;
  --chat-green: #63a96f;
  --chat-violet: #8b7bd8;
  --chat-shadow: 0 18px 48px rgba(13, 49, 95, .12);
  --chat-radius: 24px;
}

.ly_chat,
.ly_chat * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.ly_chat {
  margin: 0;
  color: var(--chat-ink);
  background: radial-gradient(circle at 5% 0%, rgba(239, 111, 168, .12), transparent 30%),
    radial-gradient(circle at 95% 5%, rgba(31, 95, 158, .13), transparent 31%),
    var(--chat-bg);
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  font-size: 17px;
}

.ly_chat button,
.ly_chat a,
.ly_chat input {
  font: inherit;
}

.ly_chat button {
  cursor: pointer;
}

.ly_chat a {
  color: inherit;
}

.ly_chat {
  min-height: 100vh;
  min-width: 0;
  padding-top: 60px;
  /* shared header is position:fixed */
}

.ly_chat .ly_chat_progress {
  position: sticky;
  top: 60px;
  /* height of the original fixed .ly_header */
  z-index: 40;
  /* shared navigation stays above this bar */
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 228, 239, .9);
}

.ly_chat .ly_chat_progress_inner {
  max-width: 1120px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ly_chat .bl_chat_progress_wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.ly_chat .bl_chat_progress_track {
  min-width: 0;
  height: 8px;
  border-radius: 99px;
  background: #edf2f7;
  overflow: hidden;
  flex: 1;
}

.ly_chat .bl_chat_progress_bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--chat-pink), var(--chat-orange), var(--chat-green), var(--chat-blue));
  transition: width .35s ease;
}

.ly_chat .el_chat_ghost_btn,
.ly_chat .el_chat_primary_btn,
.ly_chat .el_chat_secondary_btn {
  border-radius: 14px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ly_chat .el_chat_ghost_btn {
  background: #fff;
  border-color: var(--chat-line);
  color: var(--chat-navy);
}

.ly_chat .el_chat_primary_btn {
  background: var(--chat-navy);
  color: white;
  box-shadow: 0 10px 24px rgba(13, 49, 95, .2);
}

.ly_chat .el_chat_secondary_btn {
  background: var(--chat-sky);
  color: var(--chat-navy);
  border-color: #cfe2f5;
}

.ly_chat .el_chat_ghost_btn:hover,
.ly_chat .el_chat_primary_btn:hover,
.ly_chat .el_chat_secondary_btn:hover {
  transform: translateY(-1px);
}

.ly_chat main {
  max-width: 1120px;
  margin: auto;
  padding: 34px 20px 80px;
}

.ly_chat .ly_chat_screen {
  display: none;
  animation: chat_fade .32s ease;
}

.ly_chat .ly_chat_screen.hp_chat_active {
  display: block;
}

@keyframes chat_fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ly_chat .el_chat_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--chat-blue);
  letter-spacing: .08em;
}

.ly_chat .el_chat_eyebrow:before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 9px;
  background: var(--chat-pink);
}

.ly_chat h1,
.ly_chat h2,
.ly_chat h3,
.ly_chat p {
  margin-top: 0;
}

.ly_chat h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.18;
  letter-spacing: -.04em;
  margin: 18px 0 22px;
  color: var(--chat-navy);
}

.ly_chat h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  color: var(--chat-navy);
  letter-spacing: -.025em;
}

.ly_chat h3 {
  line-height: 1.45;
  color: var(--chat-navy);
}

.ly_chat .bl_chat_section_head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.ly_chat .bl_chat_section_head p {
  color: var(--chat-ink);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 0;
}

.ly_chat .bl_chat_job_card,
.ly_chat .bl_chat_faq_item,
.ly_chat .bl_chat_result_card {
  background: #fff;
  border: 1px solid var(--chat-line);
  border-radius: var(--chat-radius);
  box-shadow: 0 12px 34px rgba(13, 49, 95, .07);
}

.ly_chat .bl_chat_panel {
  background: #fff;
  border: 1px solid var(--chat-line);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--chat-shadow);
}

.ly_chat .bl_chat_question_wrap {
  max-width: 820px;
  margin: auto;
}

.ly_chat .el_chat_question_title {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--chat-navy);
  line-height: 1.45;
  margin-bottom: 24px;
}

.ly_chat .bl_chat_answers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.ly_chat .el_chat_answer_btn {
  text-align: left;
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--chat-line);
  color: var(--chat-ink);
  font-size: 17px;
  font-weight: 800;
  min-height: 86px;
  transition: .18s ease;
}

.ly_chat .el_chat_answer_btn:hover {
  border-color: var(--chat-blue);
  background: var(--chat-sky);
  transform: translateY(-2px);
}

.ly_chat .el_chat_answer_btn.hp_chat_selected {
  border-color: var(--chat-navy);
  background: #e8f2ff;
  box-shadow: 0 0 0 3px rgba(31, 95, 158, .09);
}

.ly_chat .bl_chat_answer_sub {
  display: block;
  font-size: 15px;
  color: var(--chat-muted);
  font-weight: 600;
  margin-top: 4px;
}

.ly_chat .bl_chat_question_actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.ly_chat .bl_chat_result_hero {
  background: linear-gradient(135deg, #0d315f, #1f5f9e);
  color: white;
  border-radius: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}

.ly_chat .bl_chat_result_hero h2 {
  color: white;
  margin-bottom: 10px;
}

.ly_chat .bl_chat_result_hero p {
  color: #f2f7ff;
  font-size: 17px;
  margin-bottom: 0;
}

.ly_chat .bl_chat_result_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.ly_chat .bl_chat_result_card {
  padding: 24px;
}

.ly_chat .el_chat_rank {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 12px;
  font-weight: 800;
  background: var(--chat-sky);
  color: var(--chat-blue);
  border-radius: 999px;
  padding: 5px 9px;
}

.ly_chat .el_chat_category_chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: #e9eef5;
  color: #24364d;
  font-size: 13px;
  font-weight: 800;
}

.ly_chat .el_chat_eligibility_chip {
  display: inline-flex;
  margin-left: 7px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff3d9;
  color: #6b4300;
  border: 1px solid #e3bf73;
  font-size: 13px;
  font-weight: 900;
}

.ly_chat .bl_chat_result_card h3 {
  font-size: 21px;
  margin: 14px 0 8px;
  padding-right: 42px;
}

.ly_chat .bl_chat_job_title_line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.35;
}

.ly_chat .el_chat_job_title_icon {
  flex: 0 0 27px;
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--chat-blue);
  margin-top: 1px;
}

.ly_chat .el_chat_job_title_text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ly_chat .bl_chat_icon_svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ly_chat .el_chat_job_title_icon .bl_chat_icon_svg {
  width: 25px;
  height: 25px;
}

.ly_chat .el_chat_favorite_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ly_chat .bl_chat_favorite_svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ly_chat .bl_chat_final_job_item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 5px 0;
}

.ly_chat .bl_chat_final_job_item .bl_chat_icon_svg {
  width: 20px;
  height: 20px;
  color: var(--chat-blue);
  flex: 0 0 auto;
  margin-top: 3px;
}

.ly_chat .bl_chat_result_card p {
  color: var(--chat-ink);
  font-size: 16px;
}

.ly_chat .bl_chat_job_filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ly_chat .el_chat_filter_btn {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--chat-line);
  background: #fff;
  color: var(--chat-navy);
  font-weight: 700;
}

.ly_chat .el_chat_filter_btn.hp_chat_active {
  background: var(--chat-navy);
  color: #fff;
  border-color: var(--chat-navy);
}

.ly_chat .bl_chat_job_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ly_chat .bl_chat_job_card {
  padding: 24px;
}

.ly_chat .bl_chat_job_card h3 {
  font-size: 20px;
  margin: 10px 0;
}

.ly_chat .bl_chat_job_card p {
  font-size: 16px;
  color: var(--chat-ink);
}

.ly_chat .bl_chat_job_tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ly_chat .bl_chat_job_tag {
  font-size: 13px;
  color: #24364d;
  border: 1px solid var(--chat-line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #f8fafc;
}

.ly_chat .bl_chat_search_box {
  flex: 1;
  min-width: 240px;
  border: 1px solid var(--chat-line);
  border-radius: 14px;
  padding: 13px 15px;
  background: #fff;
}

.ly_chat .bl_chat_faq_list {
  display: grid;
  gap: 12px;
}

.ly_chat .bl_chat_faq_item {
  overflow: hidden;
}

.ly_chat .bl_chat_faq_q {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 21px 22px;
  text-align: left;
  font-size: 17px;
  font-weight: 900;
  color: var(--chat-navy);
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.ly_chat .bl_chat_faq_a {
  display: none;
  padding: 0 22px 22px;
  color: var(--chat-ink);
  font-size: 16px;
}

.ly_chat .bl_chat_faq_a p {
  margin: 0 0 10px;
}

.ly_chat .bl_chat_faq_source {
  display: inline-flex;
  margin-top: 4px;
  color: var(--chat-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ly_chat .bl_chat_faq_item.hp_chat_open .bl_chat_faq_a {
  display: block;
}

.ly_chat .bl_chat_faq_item.hp_chat_open .bl_chat_faq_q span:last-child {
  transform: rotate(45deg);
}

.ly_chat .bl_chat_timeline_step:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--chat-blue);
  font-weight: 900;
}

.ly_chat .el_chat_apply_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 17px 22px;
  border-radius: 16px;
  background: #fff;
  color: var(--chat-navy);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .15s ease;
}

.ly_chat .el_chat_apply_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.ly_chat .bl_chat_next_flow_step:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -19px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--chat-blue);
  font-size: 24px;
  font-weight: 900;
}

.ly_chat .bl_chat_flow_step:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--chat-blue);
  font-weight: 900;
}

.ly_chat .ly_chat_bottom_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--chat-line);
}

.ly_chat .el_chat_note {
  padding: 16px 19px;
  border-radius: 16px;
  background: #fff8e8;
  border: 1px solid #e8c989;
  color: #5b3d0d;
  font-size: 15px;
}

@media (max-width:900px) {
  .ly_chat .bl_chat_result_grid {
    grid-template-columns: 1fr 1fr;
  }

  .ly_chat .bl_chat_result_hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px) {
  .ly_chat .ly_chat_progress_inner {
    padding: 10px 14px;
  }

  .ly_chat .el_chat_brand_text {
    display: none;
  }

  .ly_chat .ly_chat_progress .el_chat_ghost_btn {
    padding: 9px 11px;
    font-size: 13px;
  }

  .ly_chat main {
    padding: 20px 14px 60px;
  }

  .ly_chat .bl_chat_result_grid,
  .ly_chat .bl_chat_job_grid,
  .ly_chat .bl_chat_answers {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_flow_step:not(:last-child):after {
    display: none;
  }

  .ly_chat .bl_chat_panel {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .ly_chat .bl_chat_section_head {
    display: block;
  }

  .ly_chat .bl_chat_timeline_step:not(:last-child):after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -23px;
    transform: translateX(50%);
  }

  .ly_chat .bl_chat_next_flow_step:not(:last-child):after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -25px;
    transform: translateX(50%);
  }

  .ly_chat .bl_chat_result_hero {
    padding: 24px;
  }

  .ly_chat .ly_chat_bottom_nav {
    flex-wrap: wrap;
  }
}

@media print {

  .ly_chat .ly_chat_progress,
  .ly_chat .ly_chat_bottom_nav {
    display: none !important;
  }

  .ly_chat {
    background: #fff;
  }

  .ly_chat .ly_chat_screen {
    display: block !important;
    page-break-after: always;
  }

  .ly_chat .bl_chat_panel,
  .ly_chat .bl_chat_job_card,
  .ly_chat .bl_chat_faq_item,
  .ly_chat .bl_chat_result_card {
    box-shadow: none;
  }
}

.ly_chat .bl_chat_start_option {
  border-radius: 18px;
  padding: 17px 18px;
  border: 1px solid var(--chat-line);
  text-align: left;
  font-weight: 900;
  transition: .18s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}

.ly_chat .bl_chat_start_option.bl_chat_primary {
  background: var(--chat-navy);
  color: #fff;
  border-color: var(--chat-navy);
  box-shadow: 0 12px 26px rgba(13, 49, 95, .22);
}

.ly_chat .bl_chat_start_option.bl_chat_secondary {
  background: #fff;
  color: var(--chat-navy);
}

.ly_chat .bl_chat_start_option:hover {
  transform: translateY(-2px);
}

.ly_chat .bl_chat_start_option small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  opacity: .82;
  margin-top: 2px;
}

.ly_chat .bl_chat_visual_story {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 22px;
  align-items: stretch;
  margin: 26px 0;
}

.ly_chat .bl_chat_visual_photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 270px;
  background: #eaf1f8;
}

.ly_chat .bl_chat_visual_photo img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  display: block;
}

.ly_chat .bl_chat_visual_copy {
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(145deg, #edf6ff, #fff);
  border: 1px solid #cfe2f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ly_chat .bl_chat_visual_copy h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.ly_chat .bl_chat_visual_copy p {
  margin-bottom: 0;
  color: var(--chat-ink);
}

.ly_chat .bl_chat_photo_strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 24px;
}

.ly_chat .bl_chat_photo_tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 210px;
  background: #edf2f7;
  border: 1px solid var(--chat-line);
}

.ly_chat .bl_chat_photo_tile img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.ly_chat .bl_chat_photo_tile:hover img {
  transform: scale(1.03);
}

.ly_chat .bl_chat_photo_tile span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(13, 49, 95, .88);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}

@media (max-width:980px) {
  .ly_chat .bl_chat_visual_story {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_visual_photo {
    min-height: 230px;
  }

  .ly_chat .bl_chat_visual_photo img {
    min-height: 230px;
  }
}

@media (max-width:640px) {
  .ly_chat .ly_chat_progress_inner {
    gap: 8px;
  }

  .ly_chat .bl_chat_photo_strip {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_photo_tile,
  .ly_chat .bl_chat_photo_tile img {
    min-height: 190px;
    height: 190px;
  }

  .ly_chat .bl_chat_visual_copy {
    padding: 22px 18px;
  }

  .ly_chat #chat-home-btn {
    display: none;
  }
}

/* Mobile experience and conversion improvements */
.ly_chat .bl_chat_progress_copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--chat-navy);
  margin-bottom: 5px;
}

.ly_chat .bl_chat_progress_wrap {
  min-width: 220px;
  flex: 1;
}

.ly_chat .el_chat_answer_btn {
  min-height: 64px;
}

.ly_chat .el_chat_answer_btn.hp_chat_selected {
  border-color: var(--chat-blue);
  background: #eef6ff;
  box-shadow: 0 0 0 2px rgba(31, 95, 158, .14);
}

.ly_chat .bl_chat_result_hero {
  grid-template-columns: 1fr !important;
}

.ly_chat .bl_chat_result_card {
  position: relative;
}

.ly_chat .bl_chat_result_reason {
  background: var(--chat-sky);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0;
  font-weight: 700;
}

.ly_chat .el_chat_favorite_btn {
  width: 100%;
  border: 1px solid var(--chat-line);
  background: #fff;
  color: var(--chat-navy);
  border-radius: 13px;
  padding: 10px 12px;
  font-weight: 900;
  margin-top: 10px;
}

.ly_chat .el_chat_favorite_btn.hp_chat_active {
  background: #fff4f7;
  border-color: #ef6fa8;
  color: #9f245b;
}

.ly_chat .bl_chat_job_view_controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.ly_chat #chat-show-all-jobs-btn:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #f7fbff, #e7f3ff);
  color: var(--chat-navy);
  border: 2px solid var(--chat-blue);
  box-shadow: 0 9px 22px rgba(31, 95, 158, .16);
  font-size: 17px;
  font-weight: 900;
}

.ly_chat #chat-show-all-jobs-btn:not([hidden])::after {
  content: "＋";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--chat-blue);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.ly_chat #chat-show-all-jobs-btn:not([hidden]):hover {
  background: #e5f2ff;
  box-shadow: 0 12px 26px rgba(31, 95, 158, .22);
}

.ly_chat #chat-show-all-jobs-btn:focus-visible {
  outline: 3px solid rgba(31, 95, 158, .25);
  outline-offset: 3px;
}

.ly_chat #chat-show-all-jobs-btn[hidden] {
  display: none;
}

.ly_chat .bl_chat_saved_jobs_bar {
  padding: 12px 14px;
  border: 1px solid #f3bfd3;
  background: #fff5f8;
  border-radius: 16px;
  margin: 14px 0;
  font-weight: 800;
}

.ly_chat .bl_chat_job_card {
  padding: 20px;
}

.ly_chat .bl_chat_job_card_head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ly_chat .bl_chat_job_card h3 {
  margin: 8px 0;
}

.ly_chat .bl_chat_job_condition_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.ly_chat .bl_chat_job_condition {
  border: 1px solid var(--chat-line);
  border-radius: 14px;
  padding: 11px;
  background: #f9fbfd;
}

.ly_chat .bl_chat_job_condition span {
  display: block;
  font-size: 12px;
  color: var(--chat-muted);
  font-weight: 800;
}

.ly_chat .bl_chat_job_condition b {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 2px;
}

.ly_chat .bl_chat_job_condition_grid.bl_chat_multi_pay {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
}

.ly_chat .bl_chat_job_pay_rows {
  display: grid;
  gap: 7px;
  margin-top: 5px;
}

.ly_chat .bl_chat_job_pay_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid #e4ebf2;
}

.ly_chat .bl_chat_job_pay_row:first-child {
  padding-top: 0;
  border-top: 0;
}

.ly_chat .bl_chat_job_pay_row span {
  color: #475569;
  font-size: 11px;
  line-height: 1.4;
}

.ly_chat .bl_chat_job_pay_row b {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.ly_chat .el_chat_job_area_choice_note {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin: -2px 0 18px;
  padding: 11px 14px;
  border: 1px solid #d7e5f2;
  border-radius: 14px;
  background: #f7fbff;
}

.ly_chat .el_chat_job_area_choice_note strong {
  color: var(--chat-navy);
  font-size: 15px;
}

.ly_chat .el_chat_job_area_choice_note span {
  color: var(--chat-blue);
  font-size: 13px;
  font-weight: 800;
}

.ly_chat .el_chat_job_pay_note {
  margin: -5px 2px 12px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.55;
}

.ly_chat .bl_chat_job_detail {
  border-top: 1px solid var(--chat-line);
  margin-top: 12px;
  padding-top: 12px;
}

.ly_chat .bl_chat_job_detail summary {
  cursor: pointer;
  color: var(--chat-navy);
  font-weight: 900;
}

.ly_chat .bl_chat_job_detail_content {
  padding-top: 10px;
}

.ly_chat .bl_chat_job_work_areas {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.ly_chat .bl_chat_job_work_area {
  padding: 10px 12px;
  border: 1px solid #dbe7f2;
  border-radius: 12px;
  background: #f8fbfe;
}

.ly_chat .bl_chat_job_work_area b {
  display: block;
  margin-bottom: 2px;
  color: var(--chat-navy);
  font-size: 13px;
}

.ly_chat .bl_chat_job_work_area span {
  display: block;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.ly_chat .bl_chat_job_interview {
  background: #f7f4ff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 12px;
}

.ly_chat .bl_chat_job_interview p {
  margin: 0 0 6px;
  font-size: 15px;
}

.ly_chat .bl_chat_job_interview a {
  color: var(--chat-blue);
  font-weight: 900;
}

.ly_chat .bl_chat_faq_category_wrap {
  margin: 0 0 18px;
}

.ly_chat .bl_chat_faq_prompt {
  font-weight: 900;
  margin: 0 0 10px;
}

.ly_chat .bl_chat_faq_categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ly_chat .bl_chat_faq_count {
  margin: 0 0 10px;
  color: var(--chat-muted);
  font-size: 14px;
  font-weight: 800;
}

.ly_chat .el_chat_faq_cat_btn {
  border: 1px solid var(--chat-line);
  background: #fff;
  color: var(--chat-navy);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
}

.ly_chat .el_chat_faq_cat_btn.hp_chat_active {
  background: var(--chat-navy);
  color: #fff;
  border-color: var(--chat-navy);
}

.ly_chat .bl_chat_faq_search_panel {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.ly_chat .bl_chat_final_favorites {
  text-align: left;
  background: #fff;
  border: 1px solid var(--chat-line);
  border-radius: 18px;
  padding: 14px;
  margin: 18px 0;
}

.ly_chat .bl_chat_final_job_group {
  border-radius: 14px;
  padding: 13px 14px;
}

.ly_chat .bl_chat_final_job_group+.bl_chat_final_job_group {
  margin-top: 10px;
}

.ly_chat .bl_chat_final_job_group.bl_chat_favorite_group {
  background: #fff5f8;
  border: 1px solid #f3bfd3;
}

.ly_chat .bl_chat_final_job_group.bl_chat_diagnosis_group {
  background: #f3f8fe;
  border: 1px solid #cfe1f2;
}

.ly_chat .bl_chat_final_job_group>b {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.ly_chat .bl_chat_final_job_group .bl_chat_status_frame {
  flex: 0 0 auto;
}

.ly_chat .bl_chat_favorite_toast {
  position: fixed;
  left: 50%;
  bottom: 94px;
  transform: translate(-50%, 12px);
  z-index: 60;
  background: rgba(13, 49, 95, .96);
  color: #fff;
  border-radius: 14px;
  padding: 11px 15px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
}

.ly_chat .bl_chat_favorite_toast.hp_chat_show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ly_chat .ly_chat_mobile_nav {
  display: none;
}

.ly_chat .bl_chat_job_filter[data-collapsed="true"] {
  display: none;
}

@media (max-width:720px) {
  .ly_chat {
    font-size: 16px;
    line-height: 1.7;
    padding-bottom: 0;
  }

  .ly_chat .ly_chat_progress_inner {
    padding: 8px 12px;
    gap: 10px;
  }

  .ly_chat .bl_chat_brand {
    display: none;
  }

  .ly_chat .bl_chat_progress_wrap {
    min-width: 0;
  }

  .ly_chat .bl_chat_progress_copy {
    font-size: 13px;
  }

  .ly_chat main {
    padding: 0;
  }

  .ly_chat .ly_chat_screen {
    padding: 18px 14px calc(82px + env(safe-area-inset-bottom));
  }

  .ly_chat #chat-screen-home,
  .ly_chat #chat-screen-complete {
    padding-bottom: 26px;
  }

  .ly_chat .bl_chat_start_option {
    min-height: 62px;
  }

  .ly_chat .bl_chat_panel {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .ly_chat .bl_chat_question_wrap {
    min-height: calc(100dvh - 175px);
  }

  .ly_chat .el_chat_question_title {
    font-size: 22px;
    line-height: 1.45;
  }

  .ly_chat .bl_chat_answers {
    gap: 9px;
  }

  .ly_chat .el_chat_answer_btn {
    min-height: 58px;
    padding: 12px 14px;
    font-size: 16px;
  }

  .ly_chat .bl_chat_answer_sub {
    font-size: 13px;
  }

  .ly_chat .bl_chat_question_actions {
    display: none;
  }

  .ly_chat .bl_chat_result_hero {
    padding: 22px 18px;
  }

  .ly_chat .bl_chat_result_hero h2 {
    font-size: 27px;
  }

  .ly_chat .bl_chat_result_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ly_chat .bl_chat_result_card {
    padding: 18px;
  }

  .ly_chat .bl_chat_photo_strip {
    display: none;
  }

  .ly_chat .bl_chat_section_head {
    display: block;
    margin-bottom: 16px;
  }

  .ly_chat .bl_chat_section_head h2 {
    font-size: 27px;
  }

  .ly_chat .bl_chat_section_head p {
    font-size: 15px;
    margin-top: 8px;
  }

  .ly_chat .bl_chat_job_view_controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_job_filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .ly_chat .bl_chat_job_filter .el_chat_filter_btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    padding: 10px 6px;
    line-height: 1.35;
  }

  .ly_chat .bl_chat_job_filter .el_chat_filter_btn:first-child {
    grid-column: 1/-1;
  }

  .ly_chat .bl_chat_job_grid {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_job_card {
    padding: 17px;
  }

  .ly_chat .bl_chat_job_condition_grid {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_job_condition_grid.bl_chat_multi_pay {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_faq_categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .ly_chat .el_chat_faq_cat_btn {
    padding: 10px 4px;
    font-size: 14px;
  }

  .ly_chat .bl_chat_faq_search_panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_faq_q {
    padding: 15px 14px;
  }

  .ly_chat .bl_chat_faq_q span:first-child {
    font-size: 16px;
  }

  .ly_chat .bl_chat_faq_a {
    padding: 0 14px 15px;
  }

  .ly_chat .el_chat_apply_btn {
    width: 100%;
    padding: 15px;
  }

  .ly_chat .ly_chat_bottom_nav {
    display: none !important;
  }

  .ly_chat .ly_chat_mobile_nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--chat-line);
    backdrop-filter: blur(12px);
  }

  .ly_chat .ly_chat_mobile_nav[hidden] {
    display: none;
  }

  .ly_chat .ly_chat_mobile_nav button {
    min-height: 52px;
    border-radius: 14px;
    font-weight: 900;
  }

  .ly_chat .bl_chat_mobile_back {
    border: 1px solid var(--chat-line);
    background: #fff;
    color: var(--chat-navy);
  }

  .ly_chat .bl_chat_mobile_next {
    border: 0;
    background: var(--chat-navy);
    color: #fff;
  }

  .ly_chat .bl_chat_mobile_next:disabled {
    opacity: .45;
  }

  .ly_chat .ly_chat_mobile_nav.hp_chat_has_optional {
    row-gap: 6px;
  }

  .ly_chat .bl_chat_mobile_optional_link {
    grid-column: 1/-1;
    min-height: 28px !important;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--chat-blue);
    font-size: clamp(11px, 3.4vw, 13px);
    line-height: 1.25;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ly_chat .bl_chat_mobile_optional_link[hidden] {
    display: none !important;
  }

  .ly_chat.hp_chat_mobile_has_optional .ly_chat_screen.hp_chat_active {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .ly_chat .bl_chat_job_card .el_chat_favorite_btn {
    min-height: 48px;
  }
}

/* Home concept: a career briefing designed for each student */
.ly_chat #chat-screen-home .bl_chat_career_hero {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: auto;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 32px;
  background: radial-gradient(circle at 94% 5%, rgba(239, 111, 168, .22), transparent 34%),
    radial-gradient(circle at 4% 92%, rgba(92, 167, 222, .20), transparent 34%),
    linear-gradient(145deg, #fff 0%, #f7fbff 58%, #fff5f9 100%);
  border: 1px solid rgba(31, 95, 158, .12);
  box-shadow: 0 24px 70px rgba(13, 49, 95, .12);
}

.ly_chat #chat-screen-home .bl_chat_career_hero:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 26px solid rgba(31, 95, 158, .06);
  border-radius: 50%;
  right: -88px;
  top: 34%;
}

.ly_chat #chat-screen-home .bl_chat_career_hero:after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: rgba(239, 111, 168, .07);
  left: -48px;
  top: 44px;
  transform: rotate(24deg);
}

.ly_chat #chat-screen-home .bl_chat_career_hero_grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.ly_chat #chat-screen-home .bl_chat_career_hero_copy {
  min-width: 0;
}

.ly_chat #chat-screen-home .bl_chat_career_hero .el_chat_eyebrow {
  letter-spacing: .14em;
}

.ly_chat #chat-screen-home .bl_chat_career_hero h1 {
  margin: 12px 0 18px;
  color: var(--chat-navy);
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ly_chat #chat-screen-home .el_chat_career_lead {
  max-width: 680px;
  margin: 0;
  color: var(--chat-ink);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.ly_chat #chat-screen-home .el_chat_career_lead strong {
  color: var(--chat-navy);
}

.ly_chat #chat-screen-home .bl_chat_career_assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 4px;
}

.ly_chat #chat-screen-home .bl_chat_career_assurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(31, 95, 158, .18);
  background: rgba(255, 255, 255, .82);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--chat-navy);
  font-size: 14px;
  font-weight: 900;
}

.ly_chat #chat-screen-home .bl_chat_career_guide {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ly_chat #chat-screen-home .bl_chat_career_guide:before {
  content: "";
  position: absolute;
  inset: 28px 14px 36px;
  border-radius: 46% 54% 48% 52% / 44% 46% 54% 56%;
  background: linear-gradient(145deg, #dceeff, #ffe7f1);
  transform: rotate(-3deg);
}

.ly_chat #chat-screen-home .bl_chat_recruiter_portrait {
  position: relative;
  z-index: 2;
  width: min(310px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(13, 49, 95, .2);
}

.ly_chat #chat-screen-home .bl_chat_recruiter_portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ly_chat #chat-screen-home .bl_chat_recruiter_message {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  max-width: 360px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 95, 158, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 35px rgba(13, 49, 95, .14);
  backdrop-filter: blur(8px);
}

.ly_chat #chat-screen-home .bl_chat_recruiter_message b {
  display: block;
  margin-bottom: 5px;
  color: var(--chat-navy);
  font-size: 15px;
}

.ly_chat #chat-screen-home .bl_chat_recruiter_message p {
  margin: 0;
  color: var(--chat-ink);
  font-size: 15px;
  line-height: 1.65;
}

.ly_chat #chat-screen-home .bl_chat_career_start_area {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: 20px;
  align-items: end;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 95, 158, .12);
}

.ly_chat #chat-screen-home .bl_chat_career_flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.ly_chat #chat-screen-home .bl_chat_career_flow_step {
  position: relative;
  min-width: 0;
  min-height: 78px;
  height: auto;
  padding: 12px 12px 12px 42px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(31, 95, 158, .11);
  color: var(--chat-ink);
  font-size: 13px;
  line-height: 1.45;
}

.ly_chat #chat-screen-home .bl_chat_career_flow_step .el_chat_num {
  position: absolute;
  left: 12px;
  top: 13px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--chat-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.ly_chat #chat-screen-home .bl_chat_career_flow_step strong {
  display: block;
  color: var(--chat-navy);
  font-size: 14px;
  margin-bottom: 3px;
}

.ly_chat #chat-screen-home .bl_chat_career_start_area .bl_chat_start_option.bl_chat_primary {
  min-height: 70px;
}

/* Keep the opening flow labels readable on desktop. */
@media (min-width:761px) {
  .ly_chat #chat-screen-home .bl_chat_career_start_area {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow_step {
    padding: 11px 8px 10px;
    text-align: center;
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow_step .el_chat_num {
    position: static;
    margin: 0 auto 5px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow_step .bl_chat_flow_desc {
    white-space: normal;
    font-size: clamp(13px, 1vw, 14px);
    letter-spacing: 0;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width:760px) {
  .ly_chat #chat-screen-home .bl_chat_career_hero {
    padding: 24px 18px 20px;
    border-radius: 0;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
  }

  .ly_chat #chat-screen-home .bl_chat_career_hero_grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_hero h1 {
    font-size: 40px;
    margin: 8px 0 13px;
  }

  .ly_chat #chat-screen-home .el_chat_career_lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .ly_chat #chat-screen-home .bl_chat_career_assurance {
    margin-top: 15px;
    gap: 6px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_assurance span {
    font-size: 12px;
    padding: 6px 9px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_guide {
    min-height: 278px;
    margin-top: -2px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_guide:before {
    inset: 12px 28px 26px;
    border-radius: 44% 56% 50% 50% / 48% 45% 55% 52%;
  }

  .ly_chat #chat-screen-home .bl_chat_recruiter_portrait {
    width: 190px;
    padding: 7px;
    align-self: flex-start;
  }

  .ly_chat #chat-screen-home .bl_chat_recruiter_message {
    max-width: none;
    left: 4px;
    right: 4px;
    bottom: 0;
    padding: 12px 14px;
    text-align: left;
  }

  .ly_chat #chat-screen-home .bl_chat_recruiter_message b {
    font-size: 13px;
  }

  .ly_chat #chat-screen-home .bl_chat_recruiter_message p {
    font-size: 13px;
    line-height: 1.55;
  }

  .ly_chat #chat-screen-home .bl_chat_career_start_area {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow {
    gap: 6px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow_step {
    min-height: 70px;
    padding: 9px 6px 8px;
    text-align: center;
    font-size: 11px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow_step .el_chat_num {
    position: static;
    margin: 0 auto 5px;
    width: 21px;
    height: 21px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow_step strong {
    font-size: 12px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_start_area .bl_chat_start_option.bl_chat_primary {
    min-height: 62px;
  }
}

@media (max-width:900px) {
  .ly_chat #chat-screen-home .bl_chat_career_flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:350px) {
  .ly_chat #chat-screen-home .bl_chat_career_flow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Japanese line wrapping and mobile readability refinements */
.ly_chat .ly_chat_screen h1,
.ly_chat .ly_chat_screen h2,
.ly_chat .ly_chat_screen h3,
.ly_chat .el_chat_question_title {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
}

.ly_chat .ly_chat_screen p,
.ly_chat .bl_chat_answer_sub,
.ly_chat .bl_chat_faq_a,
.ly_chat .bl_chat_job_card {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.ly_chat #chat-screen-home .el_chat_career_lead strong {
  display: block;
  margin-bottom: 4px;
}

.ly_chat #chat-screen-home .el_chat_career_lead>span {
  display: block;
}

.ly_chat #chat-screen-home .bl_chat_career_flow_step .bl_chat_flow_desc {
  display: block;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width:720px) {

  .ly_chat .bl_chat_section_head h2,
  .ly_chat #chat-screen-selection .bl_chat_panel>h2,
  .ly_chat #chat-screen-complete h2 {
    font-size: clamp(24px, 7vw, 27px);
    line-height: 1.42;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  .ly_chat .bl_chat_visual_copy h3 {
    font-size: clamp(20px, 5.8vw, 23px);
    text-wrap: balance;
  }
}

@media (max-width:350px) {

  .ly_chat .bl_chat_section_head h2,
  .ly_chat #chat-screen-selection .bl_chat_panel>h2 {
    font-size: 23px;
  }
}

@media (max-width:760px) {
  .ly_chat #chat-screen-home .bl_chat_career_hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.16;
    letter-spacing: -.025em;
  }

  .ly_chat #chat-screen-home .el_chat_career_lead strong {
    margin-bottom: 6px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow_step .bl_chat_flow_desc {
    line-height: 1.45;
  }
}

@media (max-width:360px) {
  .ly_chat #chat-screen-home .bl_chat_career_hero h1 {
    font-size: 32px;
  }
}

/* Company page: image-free infographic and supplied corporate logo */
.ly_chat .el_chat_brand_logo {
  width: 44px;
  height: 34px;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: #fff;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_brand {
    display: flex;
    min-width: auto;
    gap: 0;
  }

  .ly_chat .el_chat_brand_logo {
    width: 34px;
    height: 27px;
  }

  .ly_chat .el_chat_brand_text {
    display: none;
  }
}

/* Keep the longest employee-count metric inside narrow two-column cards. */
/* Company page v20: business strength + career value */
.ly_chat .el_chat_section_human_lead {
  max-width: 920px;
  margin: -8px 0 26px;
  padding: 15px 18px 15px 20px;
  border: 1px solid #dce8f5;
  border-left: 4px solid var(--chat-blue);
  border-radius: 14px;
  background: linear-gradient(135deg, #f5f9ff 0%, #fff 100%);
  color: #334155;
  font-size: 15.5px;
  line-height: 1.85;
  box-shadow: 0 8px 24px rgba(32, 71, 118, .06);
}

.ly_chat .el_chat_section_human_lead p {
  margin: 0;
}

.ly_chat .bl_chat_panel>.el_chat_section_human_lead {
  margin-top: 16px;
}

@media (max-width:720px) {
  .ly_chat .el_chat_section_human_lead {
    margin: -2px 0 18px;
    padding: 13px 14px 13px 16px;
    font-size: 14.5px;
    line-height: 1.75;
    border-radius: 12px;
  }

  .ly_chat .bl_chat_panel>.el_chat_section_human_lead {
    margin-top: 13px;
  }
}

.ly_chat .bl_chat_company_model_summary {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 7px;
  margin: 22px 0 0;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, #f4f9fd, #fff);
  border: 1px solid #d4e3f1;
}

.ly_chat .bl_chat_company_model_summary>span {
  font-size: 12px;
  font-weight: 900;
  color: var(--chat-blue);
  letter-spacing: .06em;
}

.ly_chat .bl_chat_company_model_summary>div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 20px;
  color: var(--chat-navy);
}

.ly_chat .bl_chat_company_model_summary strong {
  padding: 5px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(13, 49, 95, .07);
}

.ly_chat .bl_chat_company_model_summary i {
  font-style: normal;
  color: var(--chat-muted);
  font-size: 14px;
  font-weight: 800;
}

.ly_chat .bl_chat_company_model_summary p {
  font-size: 14px;
  color: var(--chat-muted);
  margin: 0;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_company_model_summary {
    padding: 18px 13px;
    border-radius: 18px;
    margin-top: 16px;
  }

  .ly_chat .bl_chat_company_model_summary>div {
    font-size: 17px;
    gap: 5px;
  }

  .ly_chat .bl_chat_company_model_summary strong {
    padding: 4px 7px;
  }
}

.ly_chat #chat-screen-home .bl_chat_start_option.bl_chat_primary {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 66px;
  padding: 15px 22px;
  font-size: 17px;
}

@media (max-width:720px) {
  .ly_chat #chat-screen-home .bl_chat_start_option.bl_chat_primary {
    min-height: 58px;
    font-size: 16px;
  }
}

/* Conversational diagnosis design */
.ly_chat .bl_chat_diagnosis_dialogue {
  display: grid;
  gap: 14px;
}

.ly_chat .bl_chat_question_progress_copy {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 7px;
}

.ly_chat .bl_chat_question_progress_copy strong {
  color: var(--chat-navy);
  font-size: 15px;
}

.ly_chat .bl_chat_question_progress_copy span {
  color: var(--chat-muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ly_chat .bl_chat_question_dots {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 18px;
}

.ly_chat .bl_chat_question_dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #dbe4ee;
  transition: .2s ease;
}

.ly_chat .bl_chat_question_dot.hp_chat_done {
  background: #8bb2d8;
}

.ly_chat .bl_chat_question_dot.hp_chat_current {
  width: 24px;
  background: var(--chat-blue);
}

.ly_chat .bl_chat_question_bubble {
  position: relative;
  background: linear-gradient(145deg, #f4f9ff, #fff);
  border: 1px solid #cfe0f0;
  border-left: 5px solid var(--chat-blue);
  border-radius: 8px 22px 22px 22px;
  padding: 20px 22px 18px;
  box-shadow: 0 10px 30px rgba(17, 51, 86, .06);
}

.ly_chat .bl_chat_question_bubble .el_chat_question_title {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
}

.ly_chat .bl_chat_question_bubble .el_chat_question_title {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 34px);
  text-wrap: balance;
}

.ly_chat .bl_chat_question_ack {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f2faf4;
  border: 1px solid #cfe6d4;
  color: #245f32;
  font-weight: 800;
  animation: chat_questionAckIn .22s ease both;
}

.ly_chat .bl_chat_question_ack:before {
  content: "\2713";
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d9f0df;
  color: #257238;
  font-size: 13px;
  margin-top: 1px;
}

@keyframes chat_questionAckIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width:720px) {
  .ly_chat .bl_chat_diagnosis_dialogue {
    gap: 11px;
  }

  .ly_chat .bl_chat_question_progress_copy {
    align-items: center;
    margin-bottom: 5px;
  }

  .ly_chat .bl_chat_question_progress_copy strong {
    font-size: 14px;
  }

  .ly_chat .bl_chat_question_progress_copy span {
    font-size: 12px;
  }

  .ly_chat .bl_chat_question_dots {
    margin-bottom: 13px;
    gap: 6px;
  }

  .ly_chat .bl_chat_question_dot {
    width: 8px;
    height: 8px;
  }

  .ly_chat .bl_chat_question_dot.hp_chat_current {
    width: 21px;
  }

  .ly_chat .bl_chat_question_bubble {
    padding: 16px 15px 15px;
    border-radius: 7px 18px 18px 18px;
  }

  .ly_chat .bl_chat_question_ack {
    font-size: 14px;
    padding: 10px 12px;
    margin-top: 10px;
  }
}

/* Responsive typography: natural mobile headings */
@media (max-width:720px) {

  .ly_chat .bl_chat_section_head,
  .ly_chat .bl_chat_section_head>div,
  .ly_chat .bl_chat_question_bubble,
  .ly_chat .bl_chat_visual_copy,
  .ly_chat .bl_chat_job_card_head>div,
  .ly_chat #chat-screen-selection .bl_chat_panel {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .ly_chat .ly_chat_screen h1,
  .ly_chat .ly_chat_screen h2,
  .ly_chat .ly_chat_screen h3,
  .ly_chat .ly_chat_screen h4,
  .ly_chat .el_chat_question_title,
  .ly_chat .bl_chat_faq_q span:first-child {
    max-width: none;
    min-width: 0;
    line-break: strict;
    hyphens: none;
  }

  .ly_chat .bl_chat_section_head h2,
  .ly_chat #chat-screen-selection .bl_chat_panel>h2,
  .ly_chat #chat-screen-complete h2 {
    width: 100%;
    font-size: clamp(23px, 6.4vw, 26px);
    line-height: 1.4;
    letter-spacing: -.025em;
    margin-bottom: 0;
  }

  .ly_chat .bl_chat_question_bubble {
    padding: 15px 12px 14px;
  }

  .ly_chat .bl_chat_question_bubble .el_chat_question_title {
    width: 100%;
    font-size: clamp(20px, 5.55vw, 23px);
    line-height: 1.48;
    letter-spacing: -.018em;
    text-wrap: pretty;
  }

  .ly_chat .bl_chat_visual_copy h3 {
    width: 100%;
    font-size: clamp(20px, 5.5vw, 23px);
    line-height: 1.45;
    letter-spacing: -.015em;
  }

  .ly_chat .bl_chat_result_hero h2 {
    width: 100%;
    font-size: clamp(24px, 6.8vw, 27px);
    line-height: 1.4;
  }

  .ly_chat .bl_chat_result_card h3,
  .ly_chat .bl_chat_job_card h3 {
    text-wrap: wrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .ly_chat .bl_chat_job_title_line,
  .ly_chat .el_chat_job_title_text {
    max-width: none;
    min-width: 0;
  }

  .ly_chat .bl_chat_faq_q {
    gap: 10px;
  }

  .ly_chat .bl_chat_faq_q span:first-child {
    flex: 1 1 auto;
    width: auto;
  }

  .ly_chat .bl_chat_faq_q span:last-child {
    flex: 0 0 auto;
  }
}

@media (max-width:360px) {

  .ly_chat .bl_chat_section_head h2,
  .ly_chat #chat-screen-selection .bl_chat_panel>h2,
  .ly_chat #chat-screen-complete h2 {
    font-size: 22px;
  }

  .ly_chat .bl_chat_question_bubble .el_chat_question_title {
    font-size: 19px;
  }
}

/* Responsive typography: phrase-aware headings */
.ly_chat .bl_chat_phrase_heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0;
  row-gap: 0;
}

.ly_chat .bl_chat_phrase_heading>span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width:720px) {

  .ly_chat .ly_chat_screen h1,
  .ly_chat .ly_chat_screen h2,
  .ly_chat .ly_chat_screen h3,
  .ly_chat .ly_chat_screen h4,
  .ly_chat .el_chat_question_title,
  .ly_chat .bl_chat_faq_q span:first-child {
    text-wrap: wrap;
    word-break: normal;
    word-break: auto-phrase;
    overflow-wrap: normal;
  }

  .ly_chat .bl_chat_panel.bl_chat_question_wrap {
    padding-left: 9px;
    padding-right: 9px;
  }

  .ly_chat .bl_chat_question_bubble {
    width: calc(100% + 18px);
    box-sizing: border-box;
    margin-left: -9px;
    margin-right: -9px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .ly_chat .bl_chat_question_bubble .el_chat_question_title {
    font-size: clamp(16px, 4.6vw, 18px);
    line-height: 1.55;
    letter-spacing: -.03em;
  }

  .ly_chat .bl_chat_section_head h2,
  .ly_chat #chat-screen-selection .bl_chat_panel>h2,
  .ly_chat #chat-screen-complete h2 {
    text-wrap: wrap;
    word-break: normal;
    word-break: auto-phrase;
  }

  .ly_chat #chat-screen-selection .bl_chat_panel>h2.bl_chat_selection_heading {
    font-size: clamp(20px, 6vw, 25px);
    letter-spacing: -.035em;
  }

  .ly_chat .bl_chat_visual_copy h3 {
    word-break: normal;
    word-break: auto-phrase;
  }
}

@media (max-width:360px) {
  .ly_chat #chat-screen-selection .bl_chat_panel>h2.bl_chat_selection_heading {
    font-size: 20px;
  }
}

/* Company foundation metrics v31 */
.ly_chat .bl_chat_company_foundation {
  margin: 28px 0 34px;
  padding: 22px;
  border: 1px solid #d7e5f3;
  border-radius: 24px;
  background: linear-gradient(145deg, #f5f9ff 0%, #fff 100%);
}

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

.ly_chat .bl_chat_foundation_card {
  min-width: 0;
  padding: 20px 18px 17px;
  border: 1px solid #c7d9ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(13, 49, 95, .055);
}

.ly_chat .bl_chat_foundation_card strong {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  min-width: 0;
  color: var(--chat-navy);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.ly_chat .el_chat_foundation_number {
  font-size: 1em;
}

.ly_chat .el_chat_foundation_prefix,
.ly_chat .el_chat_foundation_unit {
  flex: 0 0 auto;
  font-size: .42em;
  font-weight: 900;
  letter-spacing: 0;
}

.ly_chat .el_chat_foundation_prefix {
  margin-right: .14em;
  color: var(--chat-blue);
}

.ly_chat .el_chat_foundation_unit {
  margin-left: .08em;
}

.ly_chat .bl_chat_foundation_card>span {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #dce7f2;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_company_foundation {
    margin: 22px 0 28px;
    padding: 16px 12px;
    border-radius: 20px;
  }

  .ly_chat .bl_chat_company_foundation_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .ly_chat .bl_chat_foundation_card {
    padding: 16px 12px 14px;
    border-radius: 15px;
  }

  .ly_chat .bl_chat_foundation_employees {
    grid-column: 1 / -1;
  }

  .ly_chat .bl_chat_foundation_card strong {
    font-size: clamp(25px, 8vw, 34px);
  }

  .ly_chat .bl_chat_foundation_employees strong {
    font-size: clamp(32px, 10.7vw, 44px);
  }

  .ly_chat .bl_chat_foundation_card>span {
    margin-top: 11px;
    padding-top: 9px;
    font-size: 12.5px;
  }
}

@media (max-width:350px) {
  .ly_chat .bl_chat_foundation_card {
    padding-left: 9px;
    padding-right: 9px;
  }

  .ly_chat .bl_chat_foundation_card strong {
    font-size: 23px;
    letter-spacing: -.055em;
  }

  .ly_chat .bl_chat_foundation_employees strong {
    font-size: 31px;
  }

  .ly_chat .bl_chat_foundation_card>span {
    font-size: 11.5px;
  }
}

/* Diagnosis answer-analysis transition v32 */
.ly_chat .bl_chat_diagnosis_analysis {
  width: min(100%, 650px);
  margin: 12px auto 0;
  padding: 28px 26px 24px;
  border: 1px solid #cfe0f0;
  border-radius: 24px;
  background: linear-gradient(145deg, #f4f9ff 0%, #fff 72%);
  box-shadow: 0 16px 42px rgba(17, 51, 86, .08);
  animation: chat_diagnosisAnalysisIn .22s ease both;
}

.ly_chat .el_chat_diagnosis_analysis_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chat-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.ly_chat .el_chat_diagnosis_analysis_eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chat-blue);
  box-shadow: 0 0 0 5px rgba(31, 95, 158, .1);
}

.ly_chat .bl_chat_diagnosis_analysis h2 {
  margin: 10px 0 18px;
  color: var(--chat-navy);
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.4;
  letter-spacing: -.025em;
}

.ly_chat .bl_chat_diagnosis_analysis_list {
  display: grid;
  gap: 9px;
}

.ly_chat .bl_chat_diagnosis_analysis_item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 47px;
  padding: 10px 13px;
  border: 1px solid #dde7f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  color: #536273;
  font-weight: 800;
  opacity: .52;
  transform: translateY(3px);
  transition: opacity .16s ease, transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.ly_chat .el_chat_diagnosis_analysis_icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 2px solid #c8d5e2;
  border-radius: 50%;
  color: transparent;
  font-size: 13px;
  font-weight: 900;
  transition: .16s ease;
}

.ly_chat .bl_chat_diagnosis_analysis_item.hp_chat_active {
  opacity: 1;
  transform: none;
  border-color: #b7cee4;
  background: #f8fbff;
}

.ly_chat .bl_chat_diagnosis_analysis_item.hp_chat_active .el_chat_diagnosis_analysis_icon {
  box-shadow: 0 0 0 4px rgba(31, 95, 158, .1);
  animation: chat_diagnosisAnalysisPulse .65s ease-in-out infinite alternate;
}

.ly_chat .bl_chat_diagnosis_analysis_item.hp_chat_done {
  opacity: 1;
  border-color: #cfe6d4;
  color: #245f32;
  background: #f5fbf6;
}

.ly_chat .bl_chat_diagnosis_analysis_item.hp_chat_done .el_chat_diagnosis_analysis_icon {
  border-color: #5da36c;
  background: #dff1e3;
  color: #257238;
  box-shadow: none;
  animation: none;
}

.ly_chat .bl_chat_diagnosis_analysis_complete {
  margin: 16px 0 0;
  color: var(--chat-navy);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: .18s ease;
}

.ly_chat .bl_chat_diagnosis_analysis_complete.hp_chat_show {
  opacity: 1;
}

@keyframes chat_diagnosisAnalysisIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes chat_diagnosisAnalysisPulse {
  from {
    transform: scale(.92);
  }

  to {
    transform: scale(1.05);
  }
}

@media (max-width:720px) {
  .ly_chat .bl_chat_diagnosis_analysis {
    margin-top: 4px;
    padding: 21px 14px 18px;
    border-radius: 20px;
  }

  .ly_chat .bl_chat_diagnosis_analysis h2 {
    margin: 9px 0 15px;
    font-size: clamp(21px, 6vw, 25px);
  }

  .ly_chat .bl_chat_diagnosis_analysis_item {
    min-height: 44px;
    padding: 9px 11px;
    font-size: 14px;
  }

  .ly_chat .bl_chat_diagnosis_analysis_complete {
    font-size: 15px;
    margin-top: 13px;
  }
}

@media (prefers-reduced-motion:reduce) {

  .ly_chat .bl_chat_diagnosis_analysis,
  .ly_chat .bl_chat_diagnosis_analysis_item,
  .ly_chat .el_chat_diagnosis_analysis_icon,
  .ly_chat .bl_chat_diagnosis_analysis_complete {
    animation: none !important;
    transition: none !important;
  }
}

/* Diagnosis: navigation and question copy */
/* Company story: visual overview */
/* Company story: guided sequence */
/* 地域から仕事を見る */
.ly_chat .bl_chat_region_map_layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(310px, .98fr);
  gap: 22px;
  align-items: stretch;
}

.ly_chat .bl_chat_region_map_panel,
.ly_chat .bl_chat_region_selector_panel {
  background: #fff;
  border: 1px solid var(--chat-line);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(13, 49, 95, .07);
}

.ly_chat .el_chat_region_panel_kicker {
  display: block;
  color: var(--chat-blue);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .07em;
  margin-bottom: 8px;
}

.ly_chat .bl_chat_region_map_panel h3,
.ly_chat .bl_chat_region_selector_panel h3 {
  font-size: 22px;
  margin: 0 0 8px;
}

.ly_chat .bl_chat_region_map_panel>p,
.ly_chat .bl_chat_region_selector_panel>p {
  font-size: 15px;
  color: var(--chat-muted);
  margin-bottom: 16px;
}

.ly_chat .bl_chat_japan_region_map {
  position: relative;
  min-height: 390px;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 74% 18%, rgba(31, 95, 158, .10), transparent 27%), radial-gradient(circle at 30% 76%, rgba(239, 111, 168, .08), transparent 30%), linear-gradient(145deg, #f7fbff, #eef6fc);
  border: 1px solid #d7e5f2;
}

.ly_chat .bl_chat_japan_region_map:before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(31, 95, 158, .18), transparent);
  transform: rotate(-16deg);
  transform-origin: center;
}

.ly_chat .el_chat_region_map_button {
  position: absolute;
  border: 1px solid #b8cee3;
  background: rgba(255, 255, 255, .96);
  color: var(--chat-navy);
  border-radius: 16px;
  padding: 8px 6px;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.25;
  box-shadow: 0 8px 18px rgba(13, 49, 95, .08);
  transition: .18s ease;
}

.ly_chat .el_chat_region_map_button:hover {
  transform: translateY(-2px);
  border-color: var(--chat-blue);
}

.ly_chat .el_chat_region_map_button.hp_chat_active {
  background: var(--chat-navy);
  border-color: var(--chat-navy);
  color: #fff;
  box-shadow: 0 12px 26px rgba(13, 49, 95, .25);
}

.ly_chat .el_chat_region_map_button small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  opacity: .78;
  margin-top: 2px;
}

.ly_chat .bl_chat_region_hokkaido {
  top: 4%;
  right: 5%;
  width: 31%;
  height: 16%;
}

.ly_chat .bl_chat_region_tohoku {
  top: 23%;
  right: 10%;
  width: 23%;
  height: 18%;
}

.ly_chat .bl_chat_region_kitakanto {
  top: 44%;
  right: 16%;
  width: 21%;
  height: 12%;
}

.ly_chat .bl_chat_region_shuto {
  top: 58%;
  right: 5%;
  width: 22%;
  height: 13%;
}

.ly_chat .bl_chat_region_koshin {
  top: 43%;
  right: 38%;
  width: 24%;
  height: 15%;
}

.ly_chat .bl_chat_region_tokai {
  top: 63%;
  right: 31%;
  width: 21%;
  height: 13%;
}

.ly_chat .bl_chat_region_kansai {
  top: 59%;
  left: 31%;
  width: 20%;
  height: 15%;
}

.ly_chat .bl_chat_region_chugoku {
  top: 50%;
  left: 8%;
  width: 24%;
  height: 14%;
}

.ly_chat .bl_chat_region_shikoku {
  top: 68%;
  left: 17%;
  width: 19%;
  height: 12%;
}

.ly_chat .bl_chat_region_kyushu {
  top: 73%;
  left: 1%;
  width: 16%;
  height: 20%;
}

.ly_chat .bl_chat_region_area_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.ly_chat .el_chat_region_area_btn {
  border: 1px solid #c6d6e5;
  background: #fff;
  color: var(--chat-navy);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  transition: .16s ease;
}

.ly_chat .el_chat_region_area_btn:hover {
  border-color: var(--chat-blue);
  background: var(--chat-sky);
}

.ly_chat .el_chat_region_area_btn.hp_chat_active {
  background: var(--chat-blue);
  color: #fff;
  border-color: var(--chat-blue);
}

.ly_chat .bl_chat_region_select_helper {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #cbd5e1;
  color: var(--chat-muted);
  font-size: 13px;
}

.ly_chat .bl_chat_region_work_result {
  margin-top: 24px;
  scroll-margin-top: 92px;
}

.ly_chat .bl_chat_region_empty {
  min-height: 210px;
  border: 1px dashed #b9ccdf;
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: var(--chat-muted);
}

.ly_chat .bl_chat_region_empty strong {
  display: block;
  color: var(--chat-navy);
  font-size: 21px;
  margin-bottom: 6px;
}

.ly_chat .bl_chat_region_result_head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--chat-line);
  border-radius: 22px;
  padding: 20px 22px;
}

.ly_chat .bl_chat_region_result_head h3 {
  font-size: 27px;
  margin: 4px 0 4px;
}

.ly_chat .bl_chat_region_result_head p {
  margin: 0;
  color: var(--chat-muted);
  font-size: 15px;
}

.ly_chat .bl_chat_region_status_legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  color: var(--chat-muted);
  margin: 0 0 13px 4px;
}

.ly_chat .bl_chat_region_status_legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ly_chat .bl_chat_status_frame {
  display: block;
  width: 30px;
  height: 16px;
  border-radius: 6px;
  background: #fff;
}

.ly_chat .bl_chat_status_frame.bl_chat_diagnosis {
  border: 2px solid var(--chat-blue);
}

.ly_chat .bl_chat_status_frame.bl_chat_favorite {
  border: 2px solid var(--chat-pink);
}

.ly_chat .bl_chat_regional_job_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.ly_chat .bl_chat_regional_job_card {
  background: #fff;
  border: 1px solid var(--chat-line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(13, 49, 95, .06);
}

.ly_chat .bl_chat_regional_job_card.hp_chat_diagnosis_match {
  border: 2px solid var(--chat-blue);
  padding: 19px;
  box-shadow: 0 12px 30px rgba(31, 95, 158, .12);
}

.ly_chat .bl_chat_regional_job_card.hp_chat_favorite_match {
  border: 2px solid var(--chat-pink);
  padding: 19px;
  box-shadow: 0 12px 30px rgba(239, 111, 168, .13);
}

.ly_chat .bl_chat_regional_job_head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ly_chat .el_chat_regional_job_icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--chat-sky);
  color: var(--chat-blue);
}

.ly_chat .el_chat_regional_job_icon .bl_chat_icon_svg {
  width: 25px;
  height: 25px;
}

.ly_chat .bl_chat_regional_job_head small {
  display: block;
  color: var(--chat-muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 1px;
}

.ly_chat .bl_chat_regional_job_head h3 {
  font-size: 19px;
  margin: 0;
  line-height: 1.42;
}

.ly_chat .el_chat_regional_work_label {
  font-size: 12px;
  font-weight: 900;
  color: var(--chat-blue);
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.ly_chat .bl_chat_regional_job_card ul {
  margin: 0;
  padding-left: 1.25em;
  color: var(--chat-ink);
  font-size: 15px;
  line-height: 1.65;
}

.ly_chat .bl_chat_regional_job_card li+li {
  margin-top: 3px;
}

.ly_chat .el_chat_regional_job_note {
  margin: 12px 0 0;
  padding-top: 11px;
  border-top: 1px dashed #cbd5e1;
  color: var(--chat-muted);
  font-size: 13px;
  line-height: 1.65;
}

.ly_chat .el_chat_region_result_note {
  margin: 16px 0 0;
  color: var(--chat-muted);
  font-size: 13px;
  line-height: 1.7;
}

.ly_chat .el_chat_region_transition_note {
  margin-top: 20px;
  padding: 17px 19px;
  border-left: 4px solid var(--chat-blue);
  border-radius: 0 16px 16px 0;
  background: #f5f9fd;
  color: var(--chat-navy);
  font-size: 15px;
  line-height: 1.7;
}

.ly_chat .el_chat_region_transition_note strong {
  display: block;
  margin-bottom: 2px;
}

@media (max-width:820px) {
  .ly_chat .bl_chat_region_map_layout {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_japan_region_map {
    min-height: 340px;
  }

  .ly_chat .bl_chat_regional_job_grid {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_region_result_head {
    display: block;
  }
}

@media (max-width:520px) {

  .ly_chat .bl_chat_region_map_panel,
  .ly_chat .bl_chat_region_selector_panel {
    padding: 17px;
    border-radius: 21px;
  }

  .ly_chat .bl_chat_japan_region_map {
    min-height: 310px;
  }

  .ly_chat .el_chat_region_map_button {
    font-size: 11px;
    border-radius: 12px;
    padding: 5px 3px;
  }

  .ly_chat .el_chat_region_map_button small {
    font-size: 8px;
  }

  .ly_chat .bl_chat_region_hokkaido {
    width: 33%;
    right: 3%;
  }

  .ly_chat .bl_chat_region_tohoku {
    right: 8%;
    width: 25%;
  }

  .ly_chat .bl_chat_region_kitakanto {
    right: 14%;
    width: 23%;
  }

  .ly_chat .bl_chat_region_shuto {
    right: 2%;
    width: 25%;
  }

  .ly_chat .bl_chat_region_koshin {
    right: 36%;
    width: 27%;
  }

  .ly_chat .bl_chat_region_tokai {
    right: 28%;
    width: 24%;
  }

  .ly_chat .bl_chat_region_kansai {
    left: 28%;
    width: 23%;
  }

  .ly_chat .bl_chat_region_chugoku {
    left: 5%;
    width: 27%;
  }

  .ly_chat .bl_chat_region_shikoku {
    left: 15%;
    width: 22%;
  }

  .ly_chat .bl_chat_region_kyushu {
    left: 0;
    width: 18%;
  }

  .ly_chat .el_chat_region_area_btn {
    font-size: 13px;
    padding: 9px 11px;
  }

  .ly_chat .bl_chat_region_result_head h3 {
    font-size: 23px;
  }

  .ly_chat .bl_chat_regional_job_card {
    padding: 17px;
  }

  .ly_chat .bl_chat_regional_job_card.hp_chat_diagnosis_match,
  .ly_chat .bl_chat_regional_job_card.hp_chat_favorite_match {
    padding: 16px;
  }

  .ly_chat .bl_chat_region_status_legend {
    align-items: flex-start;
    margin-left: 0;
  }
}

/* Career story: growth, support, and career change */
.ly_chat .bl_chat_career_story_opening {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
  align-items: stretch;
  margin: 20px 0 24px;
}

.ly_chat .bl_chat_career_story_opening_copy {
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(145deg, #f4f9ff, #fff);
  border: 1px solid #cfe2f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ly_chat .bl_chat_career_story_opening_copy .el_chat_career_story_talk_label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e8f2ff;
  color: var(--chat-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.ly_chat .bl_chat_career_story_opening_copy h3 {
  font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.35;
  margin: 0 0 14px;
  color: var(--chat-navy);
}

.ly_chat .bl_chat_career_story_opening_copy p {
  font-size: 17px;
  color: var(--chat-ink);
  margin: 0;
}

.ly_chat .bl_chat_career_story_opening_photo {
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(13, 49, 95, .12);
}

.ly_chat .bl_chat_career_story_opening_photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.ly_chat .bl_chat_career_story_growth_step:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--chat-blue);
  font-size: 22px;
  font-weight: 900;
}

.ly_chat .bl_chat_career_story_explorer {
  padding: 26px;
  border-radius: 25px;
  background: #fff;
  border: 1px solid #cfe0ef;
  box-shadow: 0 14px 34px rgba(13, 49, 95, .08);
}

.ly_chat .bl_chat_career_story_explorer_head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ly_chat .bl_chat_career_story_explorer_head h3 {
  font-size: clamp(23px, 3vw, 31px);
  margin: 3px 0 7px;
  color: var(--chat-navy);
}

.ly_chat .bl_chat_career_story_explorer_head p {
  margin: 0;
  color: var(--chat-ink);
  font-size: 16px;
}

.ly_chat .bl_chat_career_story_selected_badges {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.ly_chat .el_chat_career_story_selected_badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.ly_chat .el_chat_career_story_selected_badge.bl_chat_diagnosis {
  background: #e8f2ff;
  color: var(--chat-blue);
}

.ly_chat .el_chat_career_story_selected_badge.bl_chat_favorite {
  background: #fff0f6;
  color: #a52c62;
}

.ly_chat .bl_chat_career_story_status_legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 14px 0 6px;
  color: var(--chat-muted);
  font-size: 13px;
}

.ly_chat .bl_chat_career_story_status_legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ly_chat .bl_chat_career_story_job_choices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 20px;
}

.ly_chat .el_chat_career_story_job_btn {
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid var(--chat-line);
  border-radius: 14px;
  background: #fff;
  color: var(--chat-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ly_chat .el_chat_career_story_job_btn .bl_chat_icon_svg {
  width: 19px;
  height: 19px;
  color: var(--chat-blue);
  flex: 0 0 auto;
}

.ly_chat .el_chat_career_story_job_btn:hover {
  background: #f7fafc;
}

.ly_chat .el_chat_career_story_job_btn.hp_chat_diagnosis_match {
  border: 2px solid var(--chat-blue);
  padding: 8px 9px;
}

.ly_chat .el_chat_career_story_job_btn.hp_chat_favorite_match {
  border: 2px solid var(--chat-pink);
  padding: 8px 9px;
}

.ly_chat .el_chat_career_story_job_btn.hp_chat_active {
  background: #f0f4f8;
}

.ly_chat .el_chat_career_story_job_btn.hp_chat_active:not(.hp_chat_diagnosis_match):not(.hp_chat_favorite_match) {
  border: 2px solid var(--chat-navy);
  padding: 8px 9px;
}

.ly_chat .el_chat_career_story_job_btn.hp_chat_active.hp_chat_diagnosis_match {
  background: #e8f2ff;
}

.ly_chat .el_chat_career_story_job_btn.hp_chat_active.hp_chat_favorite_match {
  background: #fff0f6;
}

.ly_chat .bl_chat_career_story_example {
  border-radius: 21px;
  background: linear-gradient(145deg, #f7fbff, #fff);
  border: 1px solid #d7e7f5;
  padding: 24px;
}

.ly_chat .bl_chat_career_story_example.hp_chat_diagnosis_match {
  border: 2px solid var(--chat-blue);
  padding: 23px;
}

.ly_chat .bl_chat_career_story_example.hp_chat_favorite_match {
  border: 2px solid var(--chat-pink);
  padding: 23px;
}

.ly_chat .el_chat_career_story_example_title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.ly_chat .el_chat_career_story_example_icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--chat-navy);
  color: #fff;
  flex: 0 0 auto;
}

.ly_chat .el_chat_career_story_example_icon .bl_chat_icon_svg {
  width: 25px;
  height: 25px;
}

.ly_chat .el_chat_career_story_example_title small {
  display: block;
  color: var(--chat-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ly_chat .el_chat_career_story_example_title h4 {
  font-size: 24px;
  color: var(--chat-navy);
  margin: 2px 0 0;
}

.ly_chat .bl_chat_career_story_stage_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 12px;
}

.ly_chat .bl_chat_career_story_stage {
  position: relative;
  padding: 18px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid var(--chat-line);
}

.ly_chat .bl_chat_career_story_stage:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--chat-blue);
  font-size: 21px;
  font-weight: 900;
}

.ly_chat .bl_chat_career_story_stage span {
  display: block;
  color: var(--chat-pink);
  font-size: 12px;
  font-weight: 900;
}

.ly_chat .bl_chat_career_story_stage h5 {
  font-size: 18px;
  color: var(--chat-navy);
  margin: 6px 0 7px;
}

.ly_chat .bl_chat_career_story_stage p {
  margin: 0;
  color: var(--chat-ink);
  font-size: 15px;
}

.ly_chat .bl_chat_career_story_paths {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.ly_chat .bl_chat_career_story_paths i {
  font-style: normal;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef5fb;
  color: #244b73;
  font-size: 12px;
  font-weight: 800;
}

.ly_chat .bl_chat_career_story_caption {
  margin: 13px 2px 0;
  color: var(--chat-muted);
  font-size: 13px;
}

.ly_chat .bl_chat_career_story_change {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  padding: 31px;
  border-radius: 25px;
  background: linear-gradient(135deg, #0d315f, #1f5f9e 68%, #347ab9);
  color: #fff;
  box-shadow: 0 20px 42px rgba(13, 49, 95, .2);
}

.ly_chat .bl_chat_career_story_change:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -70px;
  top: -90px;
  background: rgba(255, 255, 255, .08);
}

.ly_chat .el_chat_career_story_change_kicker {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: #dcecff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  margin-bottom: 7px;
}

.ly_chat .bl_chat_career_story_change h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(29px, 4vw, 42px);
  margin: 0 0 7px;
}

.ly_chat .bl_chat_career_story_change .el_chat_career_story_change_lead {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 10px;
}

.ly_chat .bl_chat_career_story_change>p {
  position: relative;
  z-index: 1;
  color: #f3f8ff;
  font-size: 16px;
  max-width: 850px;
}

.ly_chat .bl_chat_career_story_change_flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.ly_chat .bl_chat_career_story_change_step {
  position: relative;
  padding: 15px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}

.ly_chat .bl_chat_career_story_change_step:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 20px;
}

.ly_chat .el_chat_career_story_change_note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px !important;
  color: #e5effa !important;
}

@media (max-width:900px) {
  .ly_chat .bl_chat_career_story_job_choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ly_chat .bl_chat_career_story_stage_grid {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_career_story_stage:not(:last-child):after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -21px;
    transform: translateX(-50%);
  }
}

@media (max-width:640px) {
  .ly_chat .bl_chat_career_story_opening {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_career_story_opening_copy {
    padding: 22px;
  }

  .ly_chat .bl_chat_career_story_opening_photo,
  .ly_chat .bl_chat_career_story_opening_photo img {
    min-height: 210px;
  }

  .ly_chat .bl_chat_career_story_growth_step:not(:last-child):after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
  }

  .ly_chat .bl_chat_career_story_explorer {
    padding: 18px;
  }

  .ly_chat .bl_chat_career_story_explorer_head {
    display: block;
  }

  .ly_chat .bl_chat_career_story_selected_badges {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .ly_chat .bl_chat_career_story_job_choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .ly_chat .el_chat_career_story_job_btn {
    font-size: 12px;
    min-height: 50px;
    padding: 8px;
  }

  .ly_chat .el_chat_career_story_job_btn.hp_chat_diagnosis_match,
  .ly_chat .el_chat_career_story_job_btn.hp_chat_favorite_match,
  .ly_chat .el_chat_career_story_job_btn.hp_chat_active:not(.hp_chat_diagnosis_match):not(.hp_chat_favorite_match) {
    padding: 7px;
  }

  .ly_chat .bl_chat_career_story_example {
    padding: 18px;
  }

  .ly_chat .bl_chat_career_story_example.hp_chat_diagnosis_match,
  .ly_chat .bl_chat_career_story_example.hp_chat_favorite_match {
    padding: 17px;
  }

  .ly_chat .el_chat_career_story_example_title h4 {
    font-size: 20px;
  }

  .ly_chat .bl_chat_career_story_change {
    padding: 24px 19px;
  }

  .ly_chat .bl_chat_career_story_change_flow {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_career_story_change_step:not(:last-child):after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(-50%);
  }
}

@media (max-width:520px) {
  .ly_chat .bl_chat_final_favorites {
    padding: 10px;
  }

  .ly_chat .bl_chat_final_job_group {
    padding: 12px;
  }
}

/* Core route: optional pages and selection entry */
.ly_chat .bl_chat_optional_route_card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 22px 0 0;
  padding: 17px 18px;
  border: 1px dashed #b9c9da;
  border-radius: 18px;
  background: #f8fafc;
}

.ly_chat .bl_chat_optional_route_copy span {
  display: block;
  color: var(--chat-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 3px;
}

.ly_chat .bl_chat_optional_route_copy b {
  display: block;
  color: var(--chat-navy);
  font-size: 17px;
}

.ly_chat .bl_chat_optional_route_copy p {
  margin: 4px 0 0;
  color: var(--chat-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ly_chat .el_chat_optional_route_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 225px;
  border: 1px solid var(--chat-blue);
  border-radius: 14px;
  background: #fff;
  color: var(--chat-blue);
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer;
}

.ly_chat .el_chat_optional_route_btn small {
  font-size: 11px;
  font-weight: 800;
  color: var(--chat-muted);
}

.ly_chat .bl_chat_selection_entry_panel {
  max-width: 800px;
  margin: auto;
  text-align: center;
  padding: 42px 42px 34px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid #cfe1f2;
  box-shadow: 0 22px 55px rgba(13, 49, 95, .14);
}

.ly_chat .bl_chat_selection_entry_mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--chat-navy), var(--chat-blue));
  color: #fff;
  box-shadow: 0 16px 32px rgba(13, 49, 95, .22);
}

.ly_chat .bl_chat_selection_entry_mark .bl_chat_icon_svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.2;
}

.ly_chat .el_chat_selection_entry_title {
  margin: 8px auto 12px;
  color: var(--chat-navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  letter-spacing: .01em;
}

.ly_chat .el_chat_selection_entry_title span {
  display: block;
}

.ly_chat .el_chat_selection_entry_lead {
  max-width: 650px;
  margin: 0 auto 18px;
  color: var(--chat-ink);
  font-size: 17px;
  line-height: 1.8;
}

.ly_chat .bl_chat_selection_entry_panel .el_chat_apply_btn {
  background: linear-gradient(135deg, var(--chat-navy), var(--chat-blue));
  color: #fff;
  box-shadow: 0 14px 30px rgba(13, 49, 95, .24);
}

.ly_chat .bl_chat_selection_entry_panel .el_chat_apply_btn:hover {
  box-shadow: 0 18px 36px rgba(13, 49, 95, .3);
}

.ly_chat .el_chat_selection_entry_note {
  margin: 12px 0 0;
  color: var(--chat-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.ly_chat .bl_chat_optional_route_copy>p:only-child {
  margin: 0;
  font-size: 15px;
}

.ly_chat .bl_chat_briefing_thanks {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--chat-line);
  color: var(--chat-muted);
  font-size: 14px;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_optional_route_card {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 13px;
  }

  .ly_chat .el_chat_optional_route_btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  .ly_chat .bl_chat_selection_entry_panel {
    padding: 28px 16px 22px;
  }

  .ly_chat .bl_chat_selection_entry_mark {
    width: 62px;
    height: 62px;
    border-radius: 19px;
    margin-bottom: 15px;
  }

  .ly_chat .el_chat_selection_entry_title {
    font-size: 28px;
    line-height: 1.42;
    word-break: keep-all;
  }

  .ly_chat .el_chat_selection_entry_title span {
    display: block;
  }

  .ly_chat .el_chat_selection_entry_lead {
    font-size: 15px;
    line-height: 1.75;
    text-align: left;
  }

  .ly_chat .el_chat_selection_entry_note {
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
  }

  .ly_chat .bl_chat_briefing_thanks {
    font-size: 13px;
  }
}

/* Core journey: diagnosis-led flow */
.ly_chat .bl_chat_quick_company_screen {
  max-width: 1040px;
  margin: 0 auto;
}

.ly_chat .el_chat_quick_company_title {
  margin-top: 8px;
}

.ly_chat .el_chat_quick_company_lead {
  max-width: 820px;
  margin: 14px 0 22px;
  color: var(--chat-muted);
  font-size: 17px;
  line-height: 1.9;
}

.ly_chat .bl_chat_company_detail_scale {
  margin-top: 24px;
}

.ly_chat .bl_chat_company_detail_summary {
  margin-top: 22px;
}

.ly_chat .bl_chat_result_tendency_panel {
  margin: 18px 0 24px;
  padding: 20px;
  border: 1px solid #d9e5f2;
  border-radius: 20px;
  background: #f8fbff;
}

.ly_chat .bl_chat_result_tendency_panel .el_chat_eyebrow {
  font-size: 11px;
}

.ly_chat .bl_chat_result_tendency_panel h3 {
  margin: 7px 0 14px;
  color: var(--chat-navy);
  font-size: 21px;
}

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

.ly_chat .bl_chat_result_tendency_item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e0e8f1;
  color: var(--chat-navy);
  font-weight: 800;
  line-height: 1.5;
}

.ly_chat .bl_chat_result_tendency_item span {
  display: inline-flex;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f1ff;
  color: var(--chat-blue);
  font-size: 12px;
}

.ly_chat .el_chat_result_tendency_note {
  margin: 12px 0 0;
  color: var(--chat-muted);
  font-size: 13px;
  line-height: 1.7;
}

.ly_chat .bl_chat_career_summary_opening {
  margin-bottom: 18px;
}

.ly_chat .bl_chat_work_condition_summary {
  margin: 18px 0 24px;
  padding: 20px;
  border: 1px solid #d9e4ef;
  border-radius: 20px;
  background: #fff;
}

.ly_chat .bl_chat_work_condition_head {
  margin-bottom: 14px;
}

.ly_chat .bl_chat_work_condition_head h3 {
  margin: 4px 0 0;
  color: var(--chat-navy);
  font-size: clamp(20px, 2.6vw, 25px);
}

.ly_chat .bl_chat_work_condition_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e1e8f0;
  border-radius: 15px;
  overflow: hidden;
}

.ly_chat .bl_chat_work_condition_grid article {
  min-width: 0;
  padding: 14px 12px;
  background: #f9fbfd;
  border-right: 1px solid #e1e8f0;
}

.ly_chat .bl_chat_work_condition_grid article:last-child {
  border-right: 0;
}

.ly_chat .bl_chat_work_condition_grid span {
  display: block;
  color: var(--chat-blue);
  font-size: 12px;
  font-weight: 900;
}

.ly_chat .bl_chat_work_condition_grid strong {
  display: block;
  margin-top: 3px;
  color: var(--chat-ink);
  font-size: 14px;
  line-height: 1.5;
}

.ly_chat .el_chat_work_condition_note {
  margin: 9px 2px 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.55;
}

.ly_chat .bl_chat_career_detail_disclosure {
  margin: 20px 0 22px;
  border: 2px solid #b9cff3;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 100%);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(34, 79, 137, .10);
}

.ly_chat .bl_chat_career_detail_disclosure>summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--chat-navy);
}

.ly_chat .bl_chat_career_detail_disclosure>summary::-webkit-details-marker {
  display: none;
}

.ly_chat .bl_chat_career_detail_disclosure>summary:after {
  content: "+";
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--chat-blue);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.ly_chat .bl_chat_career_detail_disclosure[open]>summary:after {
  content: "-";
}

.ly_chat .bl_chat_career_detail_summary_copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ly_chat .bl_chat_career_detail_summary_copy b {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.ly_chat .bl_chat_career_detail_summary_copy small {
  color: var(--chat-muted);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.55;
}

.ly_chat .bl_chat_career_detail_disclosure_body {
  padding: 4px 18px 20px;
  border-top: 1px solid #d6e2f1;
  background: #fff;
}

@media (max-width:820px) {
  .ly_chat .bl_chat_work_condition_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ly_chat .bl_chat_work_condition_grid article {
    border-bottom: 1px solid #e1e8f0;
  }

  .ly_chat .bl_chat_work_condition_grid article:nth-child(2) {
    border-right: 0;
  }

  .ly_chat .bl_chat_work_condition_grid article:nth-child(3),
  .ly_chat .bl_chat_work_condition_grid article:nth-child(4) {
    border-bottom: 0;
  }
}

@media (max-width:560px) {
  .ly_chat .bl_chat_work_condition_summary {
    padding: 16px 13px;
  }

  .ly_chat .bl_chat_work_condition_grid article {
    padding: 12px 10px;
  }

  .ly_chat .bl_chat_work_condition_grid strong {
    font-size: 13px;
  }

  .ly_chat .el_chat_job_area_choice_note {
    align-items: flex-start;
    gap: 2px;
  }

  .ly_chat .el_chat_job_area_choice_note strong,
  .ly_chat .el_chat_job_area_choice_note span {
    width: 100%;
  }

  .ly_chat .el_chat_quick_company_lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .ly_chat .bl_chat_result_tendency_list {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_result_tendency_panel {
    padding: 16px 13px;
  }

  .ly_chat .bl_chat_result_tendency_panel h3 {
    font-size: 19px;
  }

  .ly_chat .bl_chat_career_detail_disclosure>summary {
    padding: 16px 14px;
    gap: 10px;
  }

  .ly_chat .bl_chat_career_detail_summary_copy b {
    font-size: clamp(14px, 4.1vw, 17px);
  }

  .ly_chat .bl_chat_career_detail_summary_copy small {
    font-size: 11px;
  }

  .ly_chat .bl_chat_career_detail_disclosure>summary:after {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .ly_chat .bl_chat_career_detail_disclosure_body {
    padding: 4px 12px 16px;
  }
}

/* Company story: business breadth and group scale */
.ly_chat .bl_chat_company_detail_section_head {
  margin: 30px 2px 16px;
}

.ly_chat .bl_chat_company_detail_section_head h3 {
  margin: 6px 0 5px;
  color: var(--chat-navy);
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.38;
  letter-spacing: -.025em;
}

.ly_chat .bl_chat_company_detail_section_head p {
  max-width: 860px;
  margin: 0;
  color: var(--chat-muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.ly_chat .bl_chat_company_domain_card {
  --chat-domain-color: #356c9d;
  --chat-domain-soft: #eef6fc;
  position: relative;
  min-width: 0;
  padding: 18px 17px;
  border: 1px solid #d6e2ed;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(13, 49, 95, .055);
  overflow: hidden;
}

.ly_chat .bl_chat_company_domain_card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--chat-domain-color);
}

.ly_chat .bl_chat_company_domain_card>span {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: var(--chat-domain-soft);
  color: var(--chat-domain-color);
  font-size: 11px;
  font-weight: 900;
}

.ly_chat .bl_chat_company_domain_card h4 {
  margin: 11px 0 6px;
  color: var(--chat-navy);
  font-size: 18px;
  line-height: 1.4;
}

.ly_chat .bl_chat_company_domain_card p {
  margin: 0;
  color: #53697d;
  font-size: 13.5px;
  line-height: 1.7;
}

.ly_chat .bl_chat_domain_construction {
  --chat-domain-color: #a6672b;
  --chat-domain-soft: #fff4e7;
}

.ly_chat .bl_chat_domain_it {
  --chat-domain-color: #4a58a7;
  --chat-domain-soft: #f0f1ff;
}

.ly_chat .bl_chat_domain_public {
  --chat-domain-color: #357d72;
  --chat-domain-soft: #ecf8f5;
}

.ly_chat .bl_chat_domain_medical {
  --chat-domain-color: #a64f67;
  --chat-domain-soft: #fff0f4;
}

.ly_chat .bl_chat_domain_learning {
  --chat-domain-color: #5d7d3f;
  --chat-domain-soft: #f1f7ea;
}

@media (max-width:900px) {
  .ly_chat .bl_chat_company_domain_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:720px) {
  .ly_chat .bl_chat_company_detail_section_head {
    margin-top: 25px;
  }

  .ly_chat .bl_chat_company_detail_section_head h3 {
    font-size: 21px;
  }

  .ly_chat .bl_chat_company_detail_section_head p {
    font-size: 14px;
    line-height: 1.65;
  }

  .ly_chat .bl_chat_company_domain_grid {
    gap: 9px;
  }

  .ly_chat .bl_chat_company_domain_card {
    padding: 15px 13px;
    border-radius: 16px;
  }

  .ly_chat .bl_chat_company_domain_card h4 {
    font-size: 16px;
  }

  .ly_chat .bl_chat_company_domain_card p {
    font-size: 12.5px;
    line-height: 1.6;
  }
}

@media (max-width:470px) {
  .ly_chat .bl_chat_company_domain_grid {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_company_domain_card {
    display: grid;
    grid-template-columns: 33px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
  }

  .ly_chat .bl_chat_company_domain_card>span {
    grid-row: 1 / span 2;
  }

  .ly_chat .bl_chat_company_domain_card h4 {
    margin: 2px 0 4px;
    font-size: 16px;
  }

  .ly_chat .bl_chat_company_domain_card p {
    grid-column: 2;
    margin: 0;
  }
}

/* Result sharing: story-size image generation and native share fallback */
.ly_chat .el_chat_result_share_btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

/* Conversion: diagnosis-result reservation call to action */
/* Visual hierarchy: home, company, jobs, and career */
.ly_chat #chat-screen-home .bl_chat_start_option.bl_chat_primary {
  background: linear-gradient(135deg, #f39a53 0%, #ffb05f 100%);
  color: var(--chat-navy);
  border-color: #e98a3e;
  box-shadow: 0 14px 30px rgba(243, 154, 83, .28);
}

.ly_chat #chat-screen-home .bl_chat_start_option.bl_chat_primary:hover {
  background: linear-gradient(135deg, #ee8e45 0%, #f9a653 100%);
  box-shadow: 0 17px 34px rgba(236, 137, 61, .32);
}

.ly_chat #chat-screen-home .bl_chat_start_option.bl_chat_primary:focus-visible {
  outline: 3px solid rgba(243, 154, 83, .34);
  outline-offset: 4px;
}

/* Use compact, soft tiles for business fields so the larger three-pillar cards retain emphasis. */
.ly_chat .bl_chat_company_domain_grid {
  gap: 10px;
}

.ly_chat .bl_chat_company_domain_card {
  min-height: 138px;
  padding: 16px 15px;
  border: 1px solid rgba(13, 49, 95, .10);
  border-radius: 17px;
  background: var(--chat-domain-soft);
  box-shadow: none;
  text-align: center;
}

.ly_chat .bl_chat_company_domain_card:before {
  display: none;
}

.ly_chat .bl_chat_company_domain_card>span {
  margin: 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(13, 49, 95, .07);
}

.ly_chat .bl_chat_company_domain_card h4 {
  margin: 10px 0 5px;
  font-size: 17px;
}

.ly_chat .bl_chat_company_domain_card p {
  font-size: 13px;
  line-height: 1.62;
}

/* Integrate employment status into the opening story instead of adding another card. */
.ly_chat .bl_chat_mobile_only_photo_caption {
  display: none;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_company_domain_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ly_chat .bl_chat_company_domain_card {
    display: block;
    min-height: 132px;
    padding: 14px 10px;
    border-radius: 15px;
  }

  .ly_chat .bl_chat_company_domain_card>span {
    margin: 0 auto;
    width: 31px;
    height: 31px;
  }

  .ly_chat .bl_chat_company_domain_card h4 {
    margin: 8px 0 4px;
    font-size: 15px;
  }

  .ly_chat .bl_chat_company_domain_card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .ly_chat #chat-screen-jobs .bl_chat_photo_strip {
    display: block;
    position: relative;
    margin: 0 0 20px;
  }

  .ly_chat #chat-screen-jobs .bl_chat_photo_tile {
    display: none;
  }

  .ly_chat #chat-screen-jobs .bl_chat_photo_tile:first-child {
    display: block;
    min-height: 168px;
    height: 168px;
    border-radius: 18px;
  }

  .ly_chat #chat-screen-jobs .bl_chat_photo_tile:first-child img {
    display: block;
    width: 100%;
    height: 168px;
    min-height: 168px;
    object-fit: cover;
  }

  .ly_chat #chat-screen-jobs .bl_chat_photo_tile:first-child>span:not(.bl_chat_mobile_only_photo_caption) {
    display: none;
  }

  .ly_chat #chat-screen-jobs .bl_chat_mobile_only_photo_caption {
    position: absolute;
    display: block;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(13, 49, 95, .9);
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 900;
  }
}

@media (max-width:470px) {
  .ly_chat .bl_chat_company_domain_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ly_chat .bl_chat_company_domain_card {
    display: block;
  }

  .ly_chat .bl_chat_company_domain_card>span {
    margin: 0 auto;
  }

  .ly_chat .bl_chat_company_domain_card h4 {
    margin: 8px 0 4px;
    font-size: 14px;
  }

  .ly_chat .bl_chat_company_domain_card p {
    grid-column: auto;
    font-size: 11.5px;
  }
}

/* Interaction details: labels, arrows, and search reset */
.ly_chat #chat-screen-home .bl_chat_start_option.bl_chat_primary .el_chat_start_arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 4px;
  font-size: 21px;
  line-height: 1;
  transition: transform .18s ease;
}

.ly_chat #chat-screen-home .bl_chat_start_option.bl_chat_primary:hover .el_chat_start_arrow {
  transform: translateX(3px);
}

.ly_chat #chat-faq-reset[hidden] {
  display: none !important;
}


/* Student reassurance and reservation support */
.ly_chat .el_chat_employment_relationship_note {
  margin-top: 10px !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.ly_chat .el_chat_selection_entry_flow_note {
  max-width: 620px;
  margin: 13px auto 0;
  padding: 11px 14px;
  border: 1px solid #d6e4f2;
  border-radius: 13px;
  background: #f7fbff;
  color: #36536f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
  text-align: left;
}

.ly_chat .bl_chat_selection_faq_link,
.ly_chat .bl_chat_faq_return_banner button {
  border: 0;
  background: transparent;
  color: var(--chat-blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.ly_chat .bl_chat_selection_faq_link {
  margin-top: 11px;
  padding: 7px 10px;
  font-size: 14px;
}

.ly_chat .bl_chat_faq_return_banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid #cfe2f5;
  border-radius: 15px;
  background: #f3f8fe;
  color: var(--chat-navy);
  font-size: 14px;
  font-weight: 900;
}

.ly_chat .bl_chat_faq_return_banner[hidden] {
  display: none;
}

.ly_chat #chat-screen-faq.hp_chat_return_to_reservation .ly_chat_bottom_nav {
  display: none;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_faq_return_banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .ly_chat .bl_chat_faq_return_banner button {
    min-height: 44px;
    border: 1px solid var(--chat-blue);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
  }
}


/* v71: expressive diagnosis styling without opacity flicker */
.ly_chat #chat-screen-diagnosis {
  position: relative;
  isolation: isolate;
  overflow: clip;
  /* prevents programmatic horizontal scrolling of the decorative pseudo-elements */
  background:
    radial-gradient(circle at 4% 8%, rgba(243, 154, 83, .17), transparent 28%),
    radial-gradient(circle at 96% 18%, rgba(53, 137, 219, .16), transparent 29%),
    radial-gradient(circle at 84% 92%, rgba(98, 191, 170, .13), transparent 28%),
    linear-gradient(145deg, #eef6ff 0%, #fbfdff 49%, #fff9f1 100%);
}

.ly_chat #chat-screen-diagnosis::before,
.ly_chat #chat-screen-diagnosis::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(31, 95, 158, .12);
}

.ly_chat #chat-screen-diagnosis::before {
  width: 320px;
  height: 320px;
  top: 7%;
  left: -185px;
  box-shadow: 0 0 0 34px rgba(31, 95, 158, .035), 0 0 0 68px rgba(31, 95, 158, .025);
}

.ly_chat #chat-screen-diagnosis::after {
  width: 230px;
  height: 230px;
  right: -145px;
  bottom: 8%;
  box-shadow: 0 0 0 28px rgba(243, 154, 83, .045), 0 0 0 56px rgba(243, 154, 83, .025);
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_wrap {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(180, 207, 232, .88);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 64px rgba(13, 49, 95, .13);
}

.ly_chat #chat-screen-diagnosis .bl_chat_diagnosis_dialogue {
  --chat-q-accent: #1f6fbd;
  --chat-q-deep: #0d315f;
  --chat-q-soft: #edf6ff;
  gap: 16px;
}

.ly_chat .bl_chat_diagnosis_header {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 15px;
  align-items: stretch;
}

.ly_chat .el_chat_question_number_badge {
  display: grid;
  place-content: center;
  min-height: 76px;
  border-radius: 22px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, var(--chat-q-deep), var(--chat-q-accent));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--chat-q-accent) 22%, transparent);
}

.ly_chat .el_chat_question_number_badge small {
  display: block;
  margin-bottom: 1px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.ly_chat .el_chat_question_number_badge strong {
  display: block;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.04em;
}

.ly_chat .bl_chat_question_progress_block {
  min-width: 0;
  padding: 9px 0 3px;
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy {
  align-items: center;
  margin-bottom: 12px;
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy strong {
  color: var(--chat-q-deep);
  font-size: 16px;
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--chat-q-deep);
  background: var(--chat-q-soft);
  border: 1px solid color-mix(in srgb, var(--chat-q-accent) 26%, #fff);
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_dots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_dot {
  width: auto;
  height: 8px;
  background: #e4ebf2;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_dot.hp_chat_done {
  background: color-mix(in srgb, var(--chat-q-accent) 54%, #cddbea);
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_dot.hp_chat_current {
  width: auto;
  background: linear-gradient(90deg, var(--chat-q-deep), var(--chat-q-accent));
  box-shadow: 0 4px 12px color-mix(in srgb, var(--chat-q-accent) 28%, transparent);
  transform: scaleY(1.28);
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_bubble {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 26px 28px 24px;
  border: 1px solid color-mix(in srgb, var(--chat-q-accent) 27%, #dbe7f1);
  border-left: 7px solid var(--chat-q-accent);
  border-radius: 10px 28px 28px 28px;
  background:
    radial-gradient(circle at 96% 8%, color-mix(in srgb, var(--chat-q-accent) 13%, transparent), transparent 34%),
    linear-gradient(145deg, var(--chat-q-soft), #fff 72%);
  box-shadow: 0 18px 42px rgba(13, 49, 95, .10);
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_bubble::before {
  content: attr(data-question-number);
  position: absolute;
  z-index: -1;
  right: 18px;
  top: -20px;
  color: color-mix(in srgb, var(--chat-q-accent) 9%, transparent);
  font-size: clamp(86px, 13vw, 132px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.08em;
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_bubble::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 0;
  width: 116px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--chat-q-accent), #ffb05f);
  transform-origin: left center;
}

.ly_chat #chat-screen-diagnosis .el_chat_question_title {
  position: relative;
  z-index: 1;
  color: var(--chat-q-deep);
  font-weight: 900;
  letter-spacing: -.025em;
}

.ly_chat #chat-screen-diagnosis .bl_chat_answers {
  gap: 14px;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  overflow: hidden;
  min-height: 82px;
  padding: 15px 48px 15px 15px;
  border: 1px solid #d8e3ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(13, 49, 95, .065);
  transform: translateZ(0);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--chat-q-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn::after {
  content: "\2713";
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: var(--chat-q-accent);
  transform: translateY(-50%) scale(0);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1.2);
}

.ly_chat #chat-screen-diagnosis .bl_chat_answer_index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: var(--chat-q-accent);
  background: var(--chat-q-soft);
  border: 1px solid color-mix(in srgb, var(--chat-q-accent) 24%, #fff);
  font-size: 16px;
  font-weight: 950;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.ly_chat #chat-screen-diagnosis .bl_chat_answer_copy {
  min-width: 0;
  line-height: 1.55;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn:hover {
  border-color: color-mix(in srgb, var(--chat-q-accent) 56%, #b9c9d8);
  background: color-mix(in srgb, var(--chat-q-soft) 56%, #fff);
  box-shadow: 0 13px 27px rgba(13, 49, 95, .10);
  transform: translateY(-2px) translateZ(0);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selected {
  border-color: var(--chat-q-accent);
  background: linear-gradient(135deg, var(--chat-q-soft), #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--chat-q-accent) 13%, transparent), 0 13px 28px rgba(13, 49, 95, .11);
  transform: translateY(-1px) translateZ(0);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selected::before {
  transform: scaleY(1);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selected::after {
  transform: translateY(-50%) scale(1);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selected .bl_chat_answer_index {
  color: #fff;
  background: var(--chat-q-accent);
  transform: scale(1.04);
}

.ly_chat #chat-screen-diagnosis .bl_chat_answer_sub {
  line-height: 1.45;
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_ack {
  margin-top: 4px;
  border-color: color-mix(in srgb, var(--chat-q-accent) 22%, #cfe6d4);
  background: linear-gradient(135deg, #f2faf4, color-mix(in srgb, var(--chat-q-soft) 44%, #fff));
  box-shadow: 0 8px 20px rgba(13, 49, 95, .055);
  animation: none;
}

.ly_chat #chat-screen-diagnosis .bl_chat_question_ack[hidden] {
  display: none !important;
}

.ly_chat .hp_chat_diagnosis_question_enter .bl_chat_question_bubble {
  animation: chat_diagnosisQuestionSlide .34s cubic-bezier(.2, .75, .25, 1) both;
}

.ly_chat .hp_chat_diagnosis_question_enter .bl_chat_question_bubble::after {
  animation: chat_diagnosisAccentDraw .42s cubic-bezier(.2, .75, .25, 1) both;
}

.ly_chat .hp_chat_diagnosis_question_enter .el_chat_answer_btn {
  animation: chat_diagnosisAnswerRise .32s cubic-bezier(.2, .75, .25, 1) both;
  animation-delay: calc(var(--answer-order, 0) * 42ms);
}

@keyframes chat_diagnosisQuestionSlide {
  from {
    transform: translateY(10px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes chat_diagnosisAccentDraw {
  from {
    transform: scaleX(.15);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes chat_diagnosisAnswerRise {
  from {
    transform: translateY(8px) translateZ(0);
  }

  to {
    transform: translateY(0) translateZ(0);
  }
}

@media (max-width:720px) {
  .ly_chat #chat-screen-diagnosis::before {
    width: 210px;
    height: 210px;
    left: -145px;
  }

  .ly_chat #chat-screen-diagnosis::after {
    width: 170px;
    height: 170px;
    right: -118px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_wrap {
    padding-top: 16px;
    border-radius: 24px;
  }

  .ly_chat .bl_chat_diagnosis_header {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
  }

  .ly_chat .el_chat_question_number_badge {
    min-height: 62px;
    border-radius: 17px;
  }

  .ly_chat .el_chat_question_number_badge small {
    font-size: 7px;
  }

  .ly_chat .el_chat_question_number_badge strong {
    font-size: 25px;
  }

  .ly_chat .bl_chat_question_progress_block {
    padding-top: 4px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy {
    margin-bottom: 8px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy strong {
    font-size: 13px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy span {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_dots {
    gap: 4px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_dot {
    height: 7px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_bubble {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 19px 15px 18px;
    border-left-width: 5px;
    border-radius: 9px 21px 21px 21px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_bubble::before {
    right: 9px;
    top: -5px;
    font-size: 76px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_bubble::after {
    left: 15px;
    width: 88px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_answers {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    min-height: 64px;
    padding: 11px 43px 11px 11px;
    border-radius: 17px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_answer_index {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 14px;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn::after {
    right: 12px;
    width: 23px;
    height: 23px;
  }
}

@media (prefers-reduced-motion:reduce) {

  .ly_chat .hp_chat_diagnosis_question_enter .bl_chat_question_bubble,
  .ly_chat .hp_chat_diagnosis_question_enter .bl_chat_question_bubble::after,
  .ly_chat .hp_chat_diagnosis_question_enter .el_chat_answer_btn {
    animation: none !important;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_dot,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn::before,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn::after,
  .ly_chat #chat-screen-diagnosis .bl_chat_answer_index {
    transition: none !important;
  }
}


/* v72: stronger one-shot motion without screen flicker */
.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_burst {
  animation: chat_diagnosisSelectionConfirm .34s cubic-bezier(.18, .82, .25, 1) both;
}

@keyframes chat_diagnosisSelectionConfirm {
  0% {
    transform: translateY(-1px) scale(1);
  }

  48% {
    transform: translateY(-2px) scale(1.018);
  }

  100% {
    transform: translateY(-1px) scale(1);
  }
}

/* v75: clearly differentiated answer reactions without full-screen flashing */
.ly_chat #chat-screen-diagnosis .el_chat_answer_btn {
  isolation: isolate;
  --chat-effect-color: var(--chat-q-accent);
  --chat-effect-soft: var(--chat-q-soft);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect="ripple"] {
  --chat-effect-color: #df5f86;
  --chat-effect-soft: #fff0f5;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect="trace"] {
  --chat-effect-color: #2579cf;
  --chat-effect-soft: #edf6ff;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect="steps"] {
  --chat-effect-color: #159476;
  --chat-effect-soft: #eaf9f4;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect="spark"] {
  --chat-effect-color: #7959d1;
  --chat-effect-soft: #f3efff;
}

.ly_chat #chat-screen-diagnosis .bl_chat_answer_copy,
.ly_chat #chat-screen-diagnosis .bl_chat_answer_index {
  position: relative;
  z-index: 4;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn::before {
  z-index: 2;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn::after {
  z-index: 5;
}

.ly_chat #chat-screen-diagnosis .bl_chat_answer_effect {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect] .bl_chat_answer_index {
  color: var(--chat-effect-color);
  background: var(--chat-effect-soft);
  border-color: color-mix(in srgb, var(--chat-effect-color) 25%, #fff);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect]:hover {
  border-color: color-mix(in srgb, var(--chat-effect-color) 58%, #b9c9d8);
  background: color-mix(in srgb, var(--chat-effect-soft) 60%, #fff);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect].hp_chat_selected {
  border-color: var(--chat-effect-color);
  background: linear-gradient(135deg, var(--chat-effect-soft), #fff 70%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--chat-effect-color) 15%, transparent), 0 15px 30px rgba(13, 49, 95, .12);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect].hp_chat_selected::before,
.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect].hp_chat_selected::after {
  background: var(--chat-effect-color);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn[data-answer-effect].hp_chat_selected .bl_chat_answer_index {
  color: #fff;
  background: var(--chat-effect-color);
  border-color: var(--chat-effect-color);
}

/* Support / people: coral concentric rings expand broadly from the answer letter. */
.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_ripple {
  animation: chat_diagnosisCardRipple .62s cubic-bezier(.16, .82, .24, 1) both;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_ripple .bl_chat_answer_effect {
  left: 33px;
  top: 50%;
  width: 66px;
  height: 66px;
  border: 4px solid color-mix(in srgb, var(--chat-effect-color) 72%, #fff);
  border-radius: 50%;
  box-shadow: 0 0 0 15px color-mix(in srgb, var(--chat-effect-color) 18%, transparent), 0 0 0 31px color-mix(in srgb, var(--chat-effect-color) 10%, transparent);
  animation: chat_diagnosisAnswerRippleStrong .62s cubic-bezier(.12, .72, .22, 1) both;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_ripple .bl_chat_answer_effect::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--chat-effect-color) 28%, transparent);
}

@keyframes chat_diagnosisCardRipple {
  0% {
    transform: translateY(-1px) scale(1);
  }

  40% {
    transform: translateY(-2px) scale(1.025);
  }

  100% {
    transform: translateY(-1px) scale(1);
  }
}

@keyframes chat_diagnosisAnswerRippleStrong {
  0% {
    transform: translate(-50%, -50%) scale(.35);
    opacity: .9;
  }

  72% {
    transform: translate(-12%, -50%) scale(3.4);
    opacity: .28;
  }

  100% {
    transform: translate(4%, -50%) scale(4.1);
    opacity: 0;
  }
}

/* Technology / precision: a crisp blue scanner and measurement ticks sweep across. */
.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_trace {
  animation: chat_diagnosisCardTrace .62s cubic-bezier(.18, .76, .22, 1) both;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_trace .bl_chat_answer_effect {
  inset: 8px auto 8px -24%;
  width: 27%;
  border-radius: 14px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--chat-effect-color) 14%, transparent) 24%, color-mix(in srgb, var(--chat-effect-color) 48%, transparent) 72%, transparent);
  border-right: 4px solid var(--chat-effect-color);
  box-shadow: 12px 0 24px color-mix(in srgb, var(--chat-effect-color) 25%, transparent);
  animation: chat_diagnosisAnswerTraceStrong .62s cubic-bezier(.18, .72, .22, 1) both;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_trace .bl_chat_answer_effect::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 12px;
  bottom: 12px;
  width: 24px;
  background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--chat-effect-color) 80%, #fff) 0 3px, transparent 3px 9px);
}

@keyframes chat_diagnosisCardTrace {
  0% {
    transform: translateY(-1px) translateX(0);
  }

  44% {
    transform: translateY(-1px) translateX(6px);
  }

  100% {
    transform: translateY(-1px) translateX(0);
  }
}

@keyframes chat_diagnosisAnswerTraceStrong {
  0% {
    left: -28%;
    opacity: .25;
  }

  16% {
    opacity: 1;
  }

  88% {
    opacity: .92;
  }

  100% {
    left: 108%;
    opacity: 0;
  }
}

/* Team / field: four green bars rise in sequence and settle upward. */
.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_steps {
  animation: chat_diagnosisCardSteps .68s cubic-bezier(.16, .82, .24, 1) both;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_steps .bl_chat_answer_effect {
  right: 54px;
  bottom: 11px;
  width: 16px;
  height: 22px;
  border-radius: 5px 5px 2px 2px;
  background: color-mix(in srgb, var(--chat-effect-color) 48%, #fff);
  box-shadow:
    24px -12px 0 color-mix(in srgb, var(--chat-effect-color) 62%, #fff),
    48px -25px 0 color-mix(in srgb, var(--chat-effect-color) 76%, #fff),
    72px -39px 0 var(--chat-effect-color);
  transform-origin: center bottom;
  animation: chat_diagnosisAnswerStepsStrong .68s cubic-bezier(.14, .8, .24, 1) both;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_steps .bl_chat_answer_effect::after {
  content: "";
  position: absolute;
  left: -8px;
  bottom: -1px;
  width: 104px;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--chat-effect-color) 28%, transparent);
}

@keyframes chat_diagnosisCardSteps {
  0% {
    transform: translateY(-1px);
  }

  42% {
    transform: translateY(-7px);
  }

  72% {
    transform: translateY(1px);
  }

  100% {
    transform: translateY(-1px);
  }
}

@keyframes chat_diagnosisAnswerStepsStrong {
  0% {
    transform: translateY(34px) scaleY(.18);
    opacity: .15;
  }

  58% {
    transform: translateY(-5px) scaleY(1.12);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scaleY(1);
    opacity: 0;
  }
}

/* Idea / challenge: a large purple diamond burst opens from the card center. */
.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_spark {
  animation: chat_diagnosisCardSpark .66s cubic-bezier(.14, .8, .24, 1) both;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_spark .bl_chat_answer_effect {
  left: 58%;
  top: 50%;
  width: 72px;
  height: 72px;
  border: 4px solid color-mix(in srgb, var(--chat-effect-color) 76%, #fff);
  border-radius: 15px;
  transform: translate(-50%, -50%) rotate(45deg) scale(.2);
  box-shadow: 0 0 0 16px color-mix(in srgb, var(--chat-effect-color) 14%, transparent), 0 0 26px color-mix(in srgb, var(--chat-effect-color) 32%, transparent);
  animation: chat_diagnosisAnswerSparkStrong .66s cubic-bezier(.12, .78, .22, 1) both;
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_spark .bl_chat_answer_effect::before,
.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_spark .bl_chat_answer_effect::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--chat-effect-color), transparent);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_spark .bl_chat_answer_effect::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes chat_diagnosisCardSpark {
  0% {
    transform: translateY(-1px) rotate(0);
  }

  42% {
    transform: translateY(-3px) rotate(-.7deg) scale(1.018);
  }

  100% {
    transform: translateY(-1px) rotate(0) scale(1);
  }
}

@keyframes chat_diagnosisAnswerSparkStrong {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(.18);
    opacity: .25;
  }

  54% {
    transform: translate(-50%, -50%) rotate(135deg) scale(1.35);
    opacity: .95;
  }

  100% {
    transform: translate(-50%, -50%) rotate(180deg) scale(2.15);
    opacity: 0;
  }
}

@media (max-width:720px) {
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_ripple .bl_chat_answer_effect {
    left: 28px;
    width: 58px;
    height: 58px;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_steps .bl_chat_answer_effect {
    right: 47px;
    bottom: 9px;
    transform: scale(.86);
  }

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_spark .bl_chat_answer_effect {
    left: 61%;
    width: 62px;
    height: 62px;
  }
}

@media (prefers-reduced-motion:reduce) {

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_ripple,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_trace,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_steps,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_spark,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_ripple .bl_chat_answer_effect,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_trace .bl_chat_answer_effect,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_steps .bl_chat_answer_effect,
  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_spark .bl_chat_answer_effect {
    animation: none !important;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn .bl_chat_answer_effect {
    display: none !important;
  }
}

/* Keep the analysis sequence vivid, but avoid opacity flashing and looping pulses. */
.ly_chat .bl_chat_diagnosis_analysis {
  position: relative;
  overflow: hidden;
  border-color: #bdd7ee;
  background:
    radial-gradient(circle at 92% 2%, rgba(91, 200, 255, .18), transparent 31%),
    radial-gradient(circle at 4% 100%, rgba(243, 166, 75, .14), transparent 29%),
    linear-gradient(145deg, #f0f8ff 0%, #fff 68%);
  animation: none;
}

.ly_chat .bl_chat_diagnosis_analysis::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #1e6bd6, #5bc8ff, #f3a64b);
}

.ly_chat .bl_chat_diagnosis_analysis_item {
  opacity: 1;
  transform: none;
  color: #788696;
  background: rgba(255, 255, 255, .82);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.ly_chat .bl_chat_diagnosis_analysis_item.hp_chat_active {
  transform: translateX(5px);
  border-color: #75afe3;
  color: var(--chat-navy);
  background: #edf7ff;
  box-shadow: 0 8px 20px rgba(31, 95, 158, .12);
}

.ly_chat .bl_chat_diagnosis_analysis_item.hp_chat_active .el_chat_diagnosis_analysis_icon {
  animation: none;
  transform: scale(1.08);
  border-color: var(--chat-blue);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(31, 95, 158, .10);
}

.ly_chat .bl_chat_diagnosis_analysis_item.hp_chat_done {
  transform: none;
}

.ly_chat .bl_chat_diagnosis_analysis_complete {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 1;
  color: transparent;
  clip-path: inset(0 0 100% 0);
  transform: translateY(7px);
  transition: max-height .22s ease, margin-top .22s ease, clip-path .22s ease, transform .22s ease, color .12s ease;
}

.ly_chat .bl_chat_diagnosis_analysis_complete.hp_chat_show {
  max-height: 56px;
  margin-top: 16px;
  color: var(--chat-navy);
  clip-path: inset(0);
  transform: none;
}

/* Result reveal: transform-only, staggered once when the result is rendered. */
.ly_chat #chat-result-area .bl_chat_result_hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ly_chat #chat-result-area .bl_chat_result_hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  right: -105px;
  top: -125px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 200, 255, .34), transparent 68%);
}

.ly_chat #chat-result-area .bl_chat_result_card {
  overflow: hidden;
}

.ly_chat #chat-result-area .bl_chat_result_card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #1e6bd6, #5bc8ff);
  transform-origin: left center;
}

.ly_chat #chat-result-area .bl_chat_result_card:nth-child(2)::before {
  background: linear-gradient(90deg, #168b82, #56c9ae);
}

.ly_chat #chat-result-area .bl_chat_result_card:nth-child(3)::before {
  background: linear-gradient(90deg, #ef7b35, #ffb45f);
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_tendency_panel,
.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_hero {
  animation: chat_resultSectionLift .40s cubic-bezier(.2, .75, .25, 1) both;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_tendency_panel {
  animation-delay: 45ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_hero {
  animation-delay: 90ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card {
  animation: chat_resultCardLift .38s cubic-bezier(.2, .75, .25, 1) both;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card:nth-child(1) {
  animation-delay: 155ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card:nth-child(2) {
  animation-delay: 205ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card:nth-child(3) {
  animation-delay: 255ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card::before {
  animation: chat_resultAccentDraw .48s cubic-bezier(.2, .75, .25, 1) both;
  animation-delay: inherit;
}

@keyframes chat_resultSectionLift {
  from {
    transform: translateY(13px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes chat_resultCardLift {
  from {
    transform: translateY(15px) scale(.988);
  }

  to {
    transform: translateY(0) scale(1);
  }
}

@keyframes chat_resultAccentDraw {
  from {
    transform: scaleX(.12);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion:reduce) {

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn.hp_chat_selection_burst,
  .ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_tendency_panel,
  .ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_hero,
  .ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card,
  .ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card::before {
    animation: none !important;
  }

  .ly_chat .bl_chat_diagnosis_analysis_item,
  .ly_chat .el_chat_diagnosis_analysis_icon,
  .ly_chat .bl_chat_diagnosis_analysis_complete {
    transition: none !important;
  }
}


/* Conversion: stronger selection reservation CTA and visible recruiting flow */
.ly_chat .bl_chat_selection_speed_panel {
  margin: 26px 0 6px;
  padding: 22px;
  border: 1px solid #d7e5f2;
  border-radius: 22px;
  background: linear-gradient(145deg, #f8fbff 0%, #ffffff 58%, #fff7ef 100%);
  box-shadow: 0 14px 30px rgba(13, 49, 95, .08);
}

.ly_chat .bl_chat_selection_speed_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ly_chat .bl_chat_selection_speed_head h3 {
  margin: 0;
  color: var(--chat-navy);
  font-size: clamp(20px, 2.7vw, 27px);
  line-height: 1.45;
}

.ly_chat .el_chat_selection_speed_badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f39853, #ffb45f);
  color: var(--chat-navy);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.3;
  box-shadow: 0 8px 20px rgba(243, 152, 83, .24);
}

.ly_chat .el_chat_selection_speed_badge strong {
  font-size: 19px;
  line-height: 1;
}

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

.ly_chat .bl_chat_selection_flow_item {
  position: relative;
  min-width: 0;
  padding: 15px 13px 14px;
  border: 1px solid #dce8f3;
  border-radius: 16px;
  background: #fff;
}

.ly_chat .bl_chat_selection_flow_item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 16px;
  height: 16px;
  border-top: 3px solid #7ea9d0;
  border-right: 3px solid #7ea9d0;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.ly_chat .bl_chat_selection_flow_item span {
  display: block;
  margin-bottom: 6px;
  color: var(--chat-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.ly_chat .bl_chat_selection_flow_item b {
  display: block;
  color: var(--chat-navy);
  font-size: 14px;
  line-height: 1.55;
}

.ly_chat .bl_chat_selection_flow_item:last-child {
  border-color: #efb17a;
  background: #fff8f1;
}

.ly_chat .bl_chat_selection_flow_item:last-child span,
.ly_chat .bl_chat_selection_flow_item:last-child b {
  color: #9a4d16;
}

.ly_chat .el_chat_selection_speed_note {
  margin: 14px 2px 0;
  color: var(--chat-muted);
  font-size: 12px;
  line-height: 1.65;
}

.ly_chat .bl_chat_selection_entry_cta_box {
  max-width: 680px;
  margin: 24px auto 0;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, #0d315f, #125da2);
  box-shadow: 0 22px 44px rgba(13, 49, 95, .26);
}

.ly_chat .el_chat_selection_entry_cta_kicker {
  display: block;
  margin-bottom: 10px;
  color: #dcecff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-align: center;
}

.ly_chat .bl_chat_selection_entry_panel .bl_chat_selection_entry_cta_box .el_chat_apply_btn {
  position: relative;
  max-width: none;
  min-height: 67px;
  padding: 17px 24px;
  border: 2px solid rgba(255, 255, 255, .65);
  border-radius: 18px;
  background: linear-gradient(135deg, #f39853, #ffb45f);
  color: var(--chat-navy);
  font-size: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .23);
}

.ly_chat .bl_chat_selection_entry_panel .bl_chat_selection_entry_cta_box .el_chat_apply_btn:hover {
  background: linear-gradient(135deg, #ed8f49, #faaa56);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
}

.ly_chat .bl_chat_selection_entry_cta_box .el_chat_selection_entry_flow_note {
  margin: 13px 5px 0;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.ly_chat .bl_chat_selection_entry_cta_box .el_chat_selection_entry_note {
  margin-top: 6px;
  color: #cbdcf0;
  font-weight: 600;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_selection_speed_panel {
    padding: 18px 15px;
  }

  .ly_chat .bl_chat_selection_speed_head {
    display: block;
  }

  .ly_chat .el_chat_selection_speed_badge {
    margin-top: 12px;
  }

  .ly_chat .bl_chat_selection_flow_grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .ly_chat .bl_chat_selection_flow_item:not(:last-child)::after {
    display: none;
  }

  .ly_chat .bl_chat_selection_flow_item {
    min-height: 94px;
  }

  .ly_chat .bl_chat_selection_entry_cta_box {
    margin-top: 20px;
    padding: 14px;
    border-radius: 20px;
  }

  .ly_chat .bl_chat_selection_entry_panel .bl_chat_selection_entry_cta_box .el_chat_apply_btn {
    min-height: 64px;
    font-size: 18px;
  }
}

@media (max-width:390px) {
  .ly_chat .bl_chat_selection_flow_grid {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_selection_flow_item {
    min-height: 0;
  }
}


/* v95: compact mobile rhythm for company, work/career, and selection screens */
.ly_chat .bl_chat_company_support_compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.ly_chat .bl_chat_company_support_compact article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 16px;
  border: 1px solid #d7e3ef;
  border-radius: 17px;
  background: #fff;
}

.ly_chat .bl_chat_company_support_compact .bl_chat_support_compact_no {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #edf5fc;
  color: var(--chat-blue);
  font-size: 11px;
  font-weight: 900;
}

.ly_chat .bl_chat_company_support_compact small {
  display: block;
  color: var(--chat-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ly_chat .bl_chat_company_support_compact h4 {
  margin: 2px 0 5px;
  color: var(--chat-navy);
  font-size: 17px;
  line-height: 1.4;
}

.ly_chat .bl_chat_company_support_compact p {
  margin: 0;
  color: #4d6478;
  font-size: 13px;
  line-height: 1.62;
}

.ly_chat .bl_chat_company_support_compact p strong {
  color: var(--chat-navy);
  font-weight: 800;
}

.ly_chat .bl_chat_company_scale_compact {
  margin-top: 20px;
  margin-bottom: 20px;
}

.ly_chat .bl_chat_company_scale_compact .bl_chat_foundation_card>span {
  margin-top: 8px;
  padding-top: 7px;
}

.ly_chat .bl_chat_career_priority_strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 15px 0 20px;
  border: 1px solid #dce6f0;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.ly_chat .bl_chat_career_priority_strip>div {
  min-width: 0;
  padding: 15px 16px;
  border-right: 1px solid #dce6f0;
}

.ly_chat .bl_chat_career_priority_strip>div:last-child {
  border-right: 0;
}

.ly_chat .bl_chat_career_priority_strip span {
  color: var(--chat-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ly_chat .bl_chat_career_priority_strip b {
  display: block;
  margin-top: 3px;
  color: var(--chat-navy);
  font-size: 15px;
  line-height: 1.45;
}

.ly_chat .bl_chat_career_priority_strip p {
  margin: 4px 0 0;
  color: var(--chat-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.ly_chat .bl_chat_career_story_change_flow_compact {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width:720px) {

  /* Company detail: reduce stacked-card fatigue without dropping meaning. */
  .ly_chat #chat-screen-company-detail .bl_chat_company_detail_section_head {
    margin-top: 20px;
    margin-bottom: 11px;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_detail_section_head p {
    line-height: 1.55;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_domain_card {
    min-height: 0;
    padding: 12px 9px;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_domain_card>span {
    width: 27px;
    height: 27px;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_domain_card h4 {
    margin: 6px 0 3px;
    font-size: 14px;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_domain_card p {
    font-size: 11px;
    line-height: 1.45;
  }

  .ly_chat .bl_chat_company_support_compact {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #d7e3ef;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
  }

  .ly_chat .bl_chat_company_support_compact article {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid #e1e9f1;
    border-radius: 0;
  }

  .ly_chat .bl_chat_company_support_compact article:last-child {
    border-bottom: 0;
  }

  .ly_chat .bl_chat_company_support_compact .bl_chat_support_compact_no {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .ly_chat .bl_chat_company_support_compact h4 {
    margin: 1px 0 2px;
    font-size: 14px;
  }

  .ly_chat .bl_chat_company_support_compact p {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .ly_chat .bl_chat_company_support_compact p strong {
    display: inline;
  }

  .ly_chat .bl_chat_company_scale_compact {
    margin: 16px 0;
    padding: 13px 10px;
  }

  .ly_chat .bl_chat_company_scale_compact .bl_chat_company_foundation_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .ly_chat .bl_chat_company_scale_compact .bl_chat_foundation_employees {
    grid-column: auto;
  }

  .ly_chat .bl_chat_company_scale_compact .bl_chat_foundation_card {
    padding: 10px 6px 8px;
    text-align: center;
  }

  .ly_chat .bl_chat_company_scale_compact .bl_chat_foundation_card strong,
  .ly_chat .bl_chat_company_scale_compact .bl_chat_foundation_employees strong {
    justify-content: center;
    font-size: clamp(19px, 6vw, 27px);
  }

  .ly_chat .bl_chat_company_scale_compact .el_chat_foundation_prefix,
  .ly_chat .bl_chat_company_scale_compact .el_chat_foundation_unit {
    font-size: .36em;
  }

  .ly_chat .bl_chat_company_scale_compact .bl_chat_foundation_card>span {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 9.5px;
    line-height: 1.35;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_detail_summary {
    margin-top: 14px;
    padding: 14px 12px;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_detail_summary>div {
    font-size: 16px;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_detail_summary p {
    font-size: 12px;
    line-height: 1.55;
  }

  /* Work & career: make the mobile version scan like one story instead of stacked cards. */
  .ly_chat #chat-screen-work .bl_chat_career_story_opening {
    margin: 12px 0 14px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_opening_copy {
    border-radius: 18px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_opening_copy .el_chat_career_story_talk_label {
    margin-bottom: 8px;
    padding: 5px 8px;
    font-size: 10.5px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_opening_copy h3 {
    margin-bottom: 8px;
    font-size: 21px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_opening_copy>p {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_opening_photo {
    display: none;
  }

  .ly_chat #chat-screen-work .el_chat_employment_relationship_note {
    margin-top: 7px !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  .ly_chat .bl_chat_career_priority_strip {
    grid-template-columns: 1fr;
    margin: 11px 0 15px;
    border-radius: 15px;
  }

  .ly_chat .bl_chat_career_priority_strip>div {
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr);
    column-gap: 8px;
    padding: 9px 11px;
    border-right: 0;
    border-bottom: 1px solid #e1e9f1;
  }

  .ly_chat .bl_chat_career_priority_strip>div:last-child {
    border-bottom: 0;
  }

  .ly_chat .bl_chat_career_priority_strip span {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 2px;
    font-size: 9.5px;
  }

  .ly_chat .bl_chat_career_priority_strip b {
    margin: 0;
    font-size: 13px;
  }

  .ly_chat .bl_chat_career_priority_strip p {
    margin: 1px 0 0;
    font-size: 10.5px;
    line-height: 1.45;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_summary {
    margin: 14px 0 17px;
    padding: 13px 11px;
    border-radius: 16px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_head {
    margin-bottom: 9px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_head h3 {
    font-size: 18px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid article {
    padding: 9px 8px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid span {
    font-size: 10px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid strong {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .ly_chat #chat-screen-work .el_chat_work_condition_note {
    margin-top: 6px;
    font-size: 9.5px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change {
    margin: 16px 0;
    padding: 18px 15px;
    border-radius: 19px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change h3 {
    font-size: 23px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change .el_chat_career_story_change_lead {
    margin-bottom: 6px;
    font-size: 14.5px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change>p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_flow_compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 11px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_step {
    padding: 9px 5px;
    border-radius: 11px;
    font-size: 10px;
    line-height: 1.4;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_step:not(:last-child):after {
    right: -10px;
    font-size: 13px;
  }

  .ly_chat #chat-screen-work .el_chat_career_story_change_note {
    margin-top: 9px !important;
    padding-top: 8px;
    font-size: 9.5px !important;
    line-height: 1.45;
  }

  .ly_chat #chat-screen-work .bl_chat_career_growth_overview .bl_chat_career_story_growth_step:not(:last-child):after {
    display: none;
  }

  .ly_chat #chat-screen-work .bl_chat_career_detail_disclosure {
    margin: 14px 0;
  }

  .ly_chat #chat-screen-work .bl_chat_optional_route_card {
    margin-top: 13px;
  }

  /* Selection: keep persuasion, but scan faster on a phone. */
  .ly_chat #chat-screen-selection .bl_chat_visual_story {
    margin-top: 14px;
  }

  .ly_chat #chat-screen-selection .bl_chat_selection_speed_panel {
    margin-top: 16px;
    padding: 16px 13px;
  }

  .ly_chat #chat-screen-selection .bl_chat_selection_flow_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .ly_chat #chat-screen-selection .bl_chat_selection_flow_item {
    min-height: 0;
    padding: 10px 8px;
  }

  .ly_chat #chat-screen-selection .bl_chat_selection_flow_item span {
    font-size: 9px;
  }

  .ly_chat #chat-screen-selection .bl_chat_selection_flow_item b {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .ly_chat #chat-screen-selection .el_chat_selection_speed_note {
    font-size: 10px;
    line-height: 1.45;
  }
}

@media (max-width:390px) {
  .ly_chat #chat-screen-selection .bl_chat_selection_flow_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ly_chat #chat-screen-selection .bl_chat_selection_flow_item {
    min-height: 0;
  }
}

/* v96: simplify the work/career screen and fix career-change connectors */
.ly_chat #chat-screen-work .bl_chat_career_story_change_flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ly_chat #chat-screen-work .bl_chat_career_story_change_step {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px 8px;
}

.ly_chat #chat-screen-work .bl_chat_career_story_change_step:not(:last-child):after {
  content: "→";
  right: -18px;
  left: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

@media (max-width:720px) {
  .ly_chat #chat-screen-work .bl_chat_section_head {
    margin-bottom: 10px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_opening_copy {
    padding: 17px 15px;
  }

  .ly_chat #chat-screen-work .el_chat_career_story_talk_label {
    margin-bottom: 5px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_opening_copy h3 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.4;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_opening_copy>p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .ly_chat #chat-screen-work .bl_chat_career_priority_strip {
    margin: 9px 0 13px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_priority_strip>div {
    padding: 8px 10px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_summary {
    margin: 12px 0 14px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change {
    margin: 14px 0;
    padding: 16px 14px;
  }

  .ly_chat #chat-screen-work .el_chat_career_story_change_kicker {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change h3 {
    margin-bottom: 5px;
    font-size: 21px;
    line-height: 1.35;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change .el_chat_career_story_change_lead {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_flow,
  .ly_chat #chat-screen-work .bl_chat_career_story_change_flow_compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 10px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_step {
    min-height: 46px;
    padding: 8px 4px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.3;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_step:not(:last-child):after {
    content: "→";
    right: -13px;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    font-size: 14px;
  }

  .ly_chat #chat-screen-work .el_chat_career_story_change_note {
    margin-top: 8px !important;
    padding-top: 7px;
    font-size: 9px !important;
    line-height: 1.4;
  }
}

@media (max-width:360px) {

  .ly_chat #chat-screen-work .bl_chat_career_story_change_flow,
  .ly_chat #chat-screen-work .bl_chat_career_story_change_flow_compact {
    gap: 14px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_step {
    font-size: 10px;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_step:not(:last-child):after {
    right: -12px;
  }
}


/* v97: mobile readability audit - keep all meaningful copy legible without re-expanding the pages. */
@media (max-width:760px) {

  /* Global small labels / captions */
  .ly_chat .bl_chat_job_pay_row span,
  .ly_chat .el_chat_job_pay_note {
    font-size: 12px;
  }

  .ly_chat .el_chat_optional_route_btn small {
    font-size: 11.5px !important;
  }

  .ly_chat #chat-screen-home .bl_chat_career_flow_step {
    font-size: 12px;
  }

  .ly_chat .bl_chat_career_detail_summary_copy small {
    font-size: 12px;
  }

  /* Company guide */
  .ly_chat .bl_chat_company_domain_card p {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Diagnosis */
  .ly_chat .el_chat_question_number_badge small {
    font-size: 10.5px;
    letter-spacing: .04em;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy span {
    font-size: 12px;
  }

  /* Company detail */
  .ly_chat #chat-screen-company-detail .bl_chat_company_domain_card p {
    font-size: 12px;
    line-height: 1.5;
  }

  .ly_chat .bl_chat_company_support_compact .bl_chat_support_compact_no {
    font-size: 11px;
  }

  .ly_chat .bl_chat_company_support_compact p {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .ly_chat .bl_chat_company_scale_compact .bl_chat_foundation_card>span {
    font-size: 11.5px;
    line-height: 1.4;
  }

  /* Work & career */
  .ly_chat #chat-screen-work .bl_chat_career_story_opening_copy .el_chat_career_story_talk_label,
  .ly_chat #chat-screen-work .el_chat_career_story_change_kicker {
    font-size: 11.5px;
  }

  .ly_chat #chat-screen-work .el_chat_employment_relationship_note {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }

  .ly_chat .bl_chat_career_priority_strip span {
    font-size: 11px;
  }

  .ly_chat .bl_chat_career_priority_strip p {
    font-size: 12px;
    line-height: 1.5;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid span {
    font-size: 11px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid strong {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .ly_chat #chat-screen-work .el_chat_work_condition_note {
    font-size: 11.5px;
    line-height: 1.45;
  }

  .ly_chat #chat-screen-work .bl_chat_career_story_change_step {
    font-size: 12px;
    line-height: 1.35;
  }

  .ly_chat #chat-screen-work .el_chat_career_story_change_note {
    font-size: 11.5px !important;
    line-height: 1.5;
  }

  /* Selection */
  .ly_chat #chat-screen-selection .bl_chat_selection_flow_item span {
    font-size: 10.5px;
  }

  .ly_chat #chat-screen-selection .bl_chat_selection_flow_item b {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .ly_chat #chat-screen-selection .el_chat_selection_speed_note {
    font-size: 11.5px;
    line-height: 1.5;
  }
}

@media (max-width:520px) {
  .ly_chat .el_chat_region_map_button {
    font-size: 12px;
    line-height: 1.25;
  }

  .ly_chat .el_chat_region_map_button small {
    font-size: 10.5px;
    line-height: 1.2;
  }
}

@media (max-width:360px) {
  .ly_chat #chat-screen-work .bl_chat_career_story_change_step {
    font-size: 11.5px;
  }
}


/* v98: final mobile journey refinements */
@media (max-width:720px) {

  /* Put students directly on the recommended jobs; desktop keeps the visual strip. */
  .ly_chat #chat-screen-jobs .bl_chat_photo_strip {
    display: none !important;
  }

  /* Optional routes remain secondary, but the tap target should be comfortable. */
  .ly_chat .bl_chat_mobile_optional_link {
    min-height: 40px !important;
    padding: 6px 8px;
    font-size: clamp(12px, 3.5vw, 13px);
  }

  .ly_chat.hp_chat_mobile_has_optional .ly_chat_screen.hp_chat_active {
    padding-bottom: calc(132px + env(safe-area-inset-bottom));
  }

  /* The final conversion action appears before saved/recommended job recap. */
  .ly_chat #chat-screen-complete .bl_chat_selection_entry_cta_box {
    margin-top: 16px;
    margin-bottom: 18px;
  }

  .ly_chat #chat-screen-complete .bl_chat_final_favorites {
    margin-top: 0;
  }
}


/* v100: keep the final reservation action in the familiar navigation position */
@media (max-width:720px) {
  .ly_chat #chat-screen-complete {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .ly_chat .ly_chat_mobile_nav.hp_chat_final_action {
    grid-template-columns: 1fr;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .ly_chat .ly_chat_mobile_nav.hp_chat_final_action .bl_chat_mobile_back,
  .ly_chat .ly_chat_mobile_nav.hp_chat_final_action .bl_chat_mobile_optional_link {
    display: none !important;
  }

  .ly_chat .ly_chat_mobile_nav.hp_chat_final_action .bl_chat_mobile_next {
    min-height: 56px;
    border: 0;
    background: linear-gradient(135deg, #f39853, #ffb45f);
    color: var(--chat-navy);
    font-size: 16px;
    box-shadow: 0 10px 24px rgba(239, 126, 50, .24);
  }
}


/* v101: Keep the chat background on its own element.
   A fixed ::before layer painted over the following shared WordPress footer,
   making the footer appear missing even though get_footer() had run.
   Fixed background attachments preserve the stationary visual treatment
   without creating a viewport-wide overlay or an extra stacking layer. */
.ly_chat {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 5% 0%, rgba(239, 111, 168, .12), transparent 30%),
    radial-gradient(circle at 95% 5%, rgba(31, 95, 158, .13), transparent 31%),
    var(--chat-bg);
  background-attachment: fixed, fixed, scroll;
}

@media print {
  .ly_chat {
    background: #fff;
  }
}


/* v102: harden narrow-phone layouts found in real-device testing */
@media (max-width:720px) {

  /* Keep recap rows on one alignment grid; only the job name may wrap. */
  .ly_chat #chat-screen-complete .bl_chat_final_job_item {
    width: 100%;
    min-width: 0;
    align-items: start;
    margin: 8px 0;
    line-height: 1.45;
  }

  .ly_chat #chat-screen-complete .bl_chat_final_job_item_favorite {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 9px;
  }

  .ly_chat #chat-screen-complete .bl_chat_final_job_item_recommended {
    display: grid;
    grid-template-columns: 72px 22px minmax(0, 1fr);
    column-gap: 8px;
  }

  .ly_chat #chat-screen-complete .el_chat_final_job_rank {
    min-width: 0;
    white-space: nowrap;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
  }

  .ly_chat #chat-screen-complete .bl_chat_final_job_name {
    min-width: 0;
    font-size: 15px;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .ly_chat #chat-screen-complete .bl_chat_final_job_item .bl_chat_icon_svg {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }
}

/* Three equal metric cards become cramped on iPhone-class widths.
   Give the longest employee metric a full row rather than shrinking text until unreadable. */
@media (max-width:430px) {
  .ly_chat #chat-screen-company-detail .bl_chat_company_scale_compact .bl_chat_company_foundation_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_scale_compact .bl_chat_foundation_employees {
    grid-column: 1 / -1;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_scale_compact .bl_chat_foundation_card {
    min-width: 0;
    padding: 10px 9px 9px;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_scale_compact .bl_chat_foundation_card strong {
    width: 100%;
    min-width: 0;
    justify-content: center;
    font-size: clamp(22px, 7vw, 27px);
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_scale_compact .bl_chat_foundation_employees strong {
    font-size: clamp(27px, 8.8vw, 34px);
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_scale_compact .el_chat_foundation_prefix,
  .ly_chat #chat-screen-company-detail .bl_chat_company_scale_compact .el_chat_foundation_unit {
    flex: 0 0 auto;
    font-size: .38em;
    white-space: nowrap;
  }

  .ly_chat #chat-screen-company-detail .bl_chat_company_scale_compact .bl_chat_foundation_card>span {
    font-size: 11.5px;
    line-height: 1.4;
  }
}

@media (max-width:360px) {
  .ly_chat #chat-screen-complete .bl_chat_final_job_item_recommended {
    grid-template-columns: 68px 20px minmax(0, 1fr);
    column-gap: 7px;
  }

  .ly_chat #chat-screen-complete .el_chat_final_job_rank {
    font-size: 12.5px;
  }

  .ly_chat #chat-screen-complete .bl_chat_final_job_name {
    font-size: 14.5px;
  }
}


/* v104: mobile layout hardening - let prose wrap naturally instead of forcing phrase breaks. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width:720px) {

  /* Headings may still wrap, but the browser chooses the line break on phones. */
  .ly_chat .bl_chat_phrase_heading {
    display: block;
  }

  .ly_chat .bl_chat_phrase_heading>span {
    display: inline;
    max-width: none;
    white-space: normal;
  }

  .ly_chat #chat-screen-complete .el_chat_selection_entry_title {
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
    text-wrap: pretty;
  }

  .ly_chat #chat-screen-complete .el_chat_selection_entry_title span {
    display: inline;
  }

  /* Body copy uses the available card width and receives no artificial line breaks. */
  .ly_chat #chat-screen-complete .el_chat_selection_entry_lead {
    width: 100%;
    max-width: none;
    margin: 0 auto 18px;
    text-align: left;
    line-height: 1.75;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
    text-wrap: pretty;
  }

  .ly_chat .ly_chat_screen p,
  .ly_chat .el_chat_section_human_lead p,
  .ly_chat .bl_chat_visual_copy p,
  .ly_chat .bl_chat_job_card>p,
  .ly_chat .bl_chat_faq_a p,
  .ly_chat .bl_chat_optional_route_copy p {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
    text-wrap: pretty;
  }

  /* Remove desktop-only no-wrap constraints that can create awkward phone layouts. */
  .ly_chat .bl_chat_career_detail_summary_copy b {
    white-space: normal;
  }

  .ly_chat .bl_chat_career_detail_summary_copy,
  .ly_chat .bl_chat_visual_copy,
  .ly_chat .bl_chat_job_card_head>div,
  .ly_chat .bl_chat_section_head>div,
  .ly_chat #chat-screen-complete .bl_chat_final_job_name {
    min-width: 0;
  }
}


/* v105: result-first diagnosis presentation while keeping recommendations 1-3 equal */
.ly_chat .bl_chat_result_summary_hero {
  display: block;
  padding: 30px;
}

.ly_chat .bl_chat_result_summary_head {
  max-width: 820px;
  margin-bottom: 20px;
}

.ly_chat .bl_chat_result_summary_head h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
  letter-spacing: -.03em;
}

.ly_chat .bl_chat_result_summary_head p {
  max-width: 760px;
  margin: 0;
  color: #eef7ff;
  font-size: 15.5px;
  line-height: 1.7;
}

.ly_chat .bl_chat_result_summary_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ly_chat .bl_chat_result_summary_item {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .10);
}

.ly_chat .el_chat_result_summary_rank {
  white-space: nowrap;
  color: #dcecff;
  font-size: 11.5px;
  font-weight: 900;
}

.ly_chat .el_chat_result_summary_icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
}

.ly_chat .el_chat_result_summary_icon .bl_chat_icon_svg {
  width: 24px;
  height: 24px;
}

.ly_chat .bl_chat_result_summary_item strong {
  min-width: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.ly_chat .bl_chat_result_tendency_compact {
  margin: 16px 0 20px;
  padding: 16px 18px;
}

.ly_chat .bl_chat_result_tendency_compact_head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.ly_chat .bl_chat_result_tendency_compact_head .el_chat_eyebrow {
  flex: 0 0 auto;
}

.ly_chat .bl_chat_result_tendency_compact_head h3 {
  margin: 0;
  font-size: 18px;
}

.ly_chat .bl_chat_result_tendency_compact .bl_chat_result_tendency_list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ly_chat .bl_chat_result_tendency_compact .bl_chat_result_tendency_item {
  align-items: center;
  padding: 10px 12px;
  line-height: 1.45;
}

.ly_chat .bl_chat_result_tendency_compact .bl_chat_result_tendency_item b {
  min-width: 0;
  font-size: 13.5px;
}

.ly_chat .bl_chat_result_tendency_compact .el_chat_result_tendency_note {
  margin-top: 9px;
  font-size: 11.5px;
  line-height: 1.55;
}

.ly_chat .bl_chat_result_detail_heading {
  margin: 22px 2px 10px;
}

.ly_chat .bl_chat_result_detail_heading h3 {
  margin: 5px 0 4px;
  color: var(--chat-navy);
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.4;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_hero {
  animation-delay: 0ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_tendency_panel {
  animation-delay: 55ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_detail_heading {
  animation: chat_resultSectionLift .40s cubic-bezier(.2, .75, .25, 1) both;
  animation-delay: 95ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card:nth-child(1) {
  animation-delay: 130ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card:nth-child(2) {
  animation-delay: 175ms;
}

.ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_card:nth-child(3) {
  animation-delay: 220ms;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_result_summary_hero {
    padding: 21px 16px 17px;
    border-radius: 22px;
  }

  .ly_chat .bl_chat_result_summary_head {
    margin-bottom: 14px;
  }

  .ly_chat .bl_chat_result_summary_head h2 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.38;
  }

  .ly_chat .bl_chat_result_summary_head p {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .ly_chat .bl_chat_result_summary_grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ly_chat .bl_chat_result_summary_item {
    grid-template-columns: 73px 26px minmax(0, 1fr);
    gap: 7px;
    padding: 10px 11px;
    border-radius: 13px;
  }

  .ly_chat .el_chat_result_summary_rank {
    font-size: 11px;
  }

  .ly_chat .el_chat_result_summary_icon,
  .ly_chat .el_chat_result_summary_icon .bl_chat_icon_svg {
    width: 22px;
    height: 22px;
  }

  .ly_chat .bl_chat_result_summary_item strong {
    font-size: 14.5px;
    line-height: 1.45;
  }

  .ly_chat .bl_chat_result_tendency_compact {
    padding: 14px 12px;
    margin: 13px 0 17px;
  }

  .ly_chat .bl_chat_result_tendency_compact_head {
    display: block;
    margin-bottom: 8px;
  }

  .ly_chat .bl_chat_result_tendency_compact_head h3 {
    margin-top: 4px;
    font-size: 18px;
  }

  .ly_chat .bl_chat_result_tendency_compact .bl_chat_result_tendency_list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ly_chat .bl_chat_result_tendency_compact .bl_chat_result_tendency_item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 10px;
  }

  .ly_chat .bl_chat_result_tendency_compact .bl_chat_result_tendency_item b {
    font-size: 13px;
  }

  .ly_chat .bl_chat_result_detail_heading {
    margin: 18px 1px 9px;
  }

  .ly_chat .bl_chat_result_detail_heading h3 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .ly_chat #chat-result-area.hp_chat_result_reveal .bl_chat_result_detail_heading {
    animation: none !important;
  }
}



/* v107: clearer job-view return state and shorter mobile diagnosis viewport */
.ly_chat .bl_chat_job_view_status {
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 13px;
  border: 1px solid #d6e4f1;
  border-radius: 14px;
  background: #f7fbff;
  color: var(--chat-ink);
}

.ly_chat .bl_chat_job_view_status[hidden] {
  display: none !important;
}

.ly_chat .bl_chat_job_view_status strong {
  color: var(--chat-navy);
  font-size: 13px;
  white-space: nowrap;
}

.ly_chat .bl_chat_job_view_status span {
  color: var(--chat-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.ly_chat #chat-compare-top-btn:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ly_chat #chat-compare-top-btn:not([hidden])::before {
  content: "\2190";
  font-size: 18px;
  line-height: 1;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_job_view_status {
    display: grid;
    gap: 2px;
    padding: 9px 11px;
  }

  .ly_chat .bl_chat_job_view_status strong {
    font-size: 12.5px;
  }

  .ly_chat .bl_chat_job_view_status span {
    font-size: 11.5px;
  }

  .ly_chat #chat-compare-top-btn:not([hidden]) {
    width: 100%;
    min-height: 50px;
  }

  /* Keep all four choices as high in the first viewport as practical. */
  .ly_chat #chat-screen-diagnosis {
    padding-top: 10px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_wrap {
    min-height: calc(100dvh - 158px);
    padding-top: 10px;
    padding-bottom: 14px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_diagnosis_dialogue {
    gap: 8px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_diagnosis_header {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_question_number_badge {
    min-height: 54px;
    border-radius: 15px;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_question_number_badge strong {
    font-size: 23px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_progress_block {
    padding-top: 2px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy {
    margin-bottom: 5px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_progress_copy span {
    min-height: 22px;
    padding: 2px 7px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_bubble {
    padding-top: 13px;
    padding-bottom: 12px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_answers {
    gap: 7px;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    min-height: 58px;
    padding: 9px 40px 9px 9px;
    border-radius: 15px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_answer_index {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_answer_copy {
    line-height: 1.42;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_answer_sub {
    margin-top: 2px;
    line-height: 1.35;
  }
}

/* On short phone viewports, the secondary answer descriptions are hidden so all four
   actual choices remain visible; the choice labels themselves are unchanged. */
@media (max-width:720px) and (max-height:780px) {
  .ly_chat #chat-screen-diagnosis .bl_chat_answer_sub {
    display: none;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_wrap {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_diagnosis_dialogue {
    gap: 7px;
  }

  .ly_chat #chat-screen-diagnosis .bl_chat_question_bubble {
    padding-top: 11px;
    padding-bottom: 10px;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_answer_btn {
    min-height: 54px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}


/* v108: distinguish recommended and saved jobs while browsing all jobs */
.ly_chat #chat-screen-jobs .bl_chat_job_view_status {
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.ly_chat #chat-screen-jobs .bl_chat_job_card.hp_chat_job_card_recommended {
  border: 2px solid #86b5df;
  box-shadow: 0 12px 32px rgba(31, 95, 158, .10);
}

.ly_chat #chat-screen-jobs .bl_chat_job_card.hp_chat_job_card_favorite {
  border: 2px solid #e2a0b9;
  box-shadow: 0 12px 32px rgba(175, 76, 117, .09);
}

/* If a job is both, keep a normal single frame; the two labels carry both states. */
.ly_chat #chat-screen-jobs .bl_chat_job_card.hp_chat_job_card_recommended.hp_chat_job_card_favorite {
  border-color: #86b5df;
  box-shadow: 0 12px 32px rgba(31, 95, 158, .10);
}

.ly_chat #chat-screen-jobs .bl_chat_job_card_state_labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 9px;
}

.ly_chat #chat-screen-jobs .el_chat_job_state_chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid #b8d4eb;
  border-radius: 999px;
  background: #eef6fd;
  color: #245d91;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1.25;
}

.ly_chat #chat-screen-jobs .el_chat_job_state_chip.bl_chat_favorite {
  border-color: #ecc0d0;
  background: #fff4f8;
  color: #9b486a;
}

@media (max-width:720px) {
  .ly_chat #chat-screen-jobs .bl_chat_job_view_status {
    align-items: flex-start;
    flex-direction: column;
  }

  .ly_chat #chat-screen-jobs .bl_chat_job_card_state_labels {
    margin-bottom: 8px;
  }
}



/* v110: result jump links, compact all-jobs status, and clear focus feedback */
.ly_chat .bl_chat_result_summary_link {
  width: 100%;
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.ly_chat .bl_chat_result_summary_link:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .52);
  transform: translateY(-1px);
}

.ly_chat .bl_chat_result_summary_link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .78);
  outline-offset: 2px;
}

.ly_chat .bl_chat_result_summary_jump {
  color: #dcecff;
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
}

.ly_chat .bl_chat_result_summary_link {
  grid-template-columns: auto 28px minmax(0, 1fr) auto;
}

.ly_chat #chat-result-area .bl_chat_result_card {
  scroll-margin-top: 88px;
}

.ly_chat #chat-result-area .bl_chat_result_card.hp_chat_result_jump_focus {
  box-shadow: 0 0 0 3px rgba(31, 95, 158, .18), 0 16px 38px rgba(13, 49, 95, .12);
}

.ly_chat #chat-screen-jobs .bl_chat_job_view_status_compact {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
  padding: 8px 10px;
}

.ly_chat #chat-screen-jobs .bl_chat_job_view_status_compact[hidden] {
  display: none !important;
}

.ly_chat #chat-screen-jobs .bl_chat_job_view_stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 29px;
  padding: 5px 9px;
  border: 1px solid #d8e3ed;
  border-radius: 999px;
  background: #fff;
  color: #40566d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.ly_chat #chat-screen-jobs .bl_chat_job_view_stat b {
  color: var(--chat-navy);
  font-size: inherit;
}

.ly_chat #chat-screen-jobs .bl_chat_job_view_stat i {
  width: 11px;
  height: 11px;
  border: 2px solid #86b5df;
  border-radius: 4px;
  background: #fff;
}

.ly_chat #chat-screen-jobs .bl_chat_job_view_stat.bl_chat_favorite i {
  border-color: #e2a0b9;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_result_summary_link {
    grid-template-columns: 73px 24px minmax(0, 1fr) auto;
  }

  .ly_chat .bl_chat_result_summary_jump {
    font-size: 10px;
  }

  .ly_chat #chat-screen-jobs .bl_chat_job_view_status_compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 9px;
  }

  .ly_chat #chat-screen-jobs .bl_chat_job_view_stat {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .ly_chat .bl_chat_result_summary_link {
    transition: none !important;
  }
}



/* v111: student-first briefing flow */
.ly_chat .bl_chat_career_hero_intro .bl_chat_career_hero_copy {
  align-self: start;
}

.ly_chat .el_chat_home_title {
  margin-bottom: 14px !important;
  font-weight: 700;
}

.ly_chat .el_chat_home_title span {
  display: block;
}

/* Keep semantic title phrases together rather than allowing mid-phrase breaks. */
.ly_chat #chat-screen-home .el_chat_home_title>span:first-child,
.ly_chat #chat-screen-home .el_chat_home_title_phrase {
  white-space: nowrap;
}

.ly_chat #chat-screen-home .el_chat_home_title_phrase>span {
  display: inline;
  white-space: nowrap;
}

@media (max-width:760px) {
  .ly_chat #chat-screen-home .el_chat_home_title_phrase {
    white-space: normal;
  }

  .ly_chat #chat-screen-home .el_chat_home_title_phrase>span {
    display: block;
  }
}

.ly_chat .el_chat_home_lead {
  max-width: 760px;
}

.ly_chat .bl_chat_firstview_cta {
  margin-top: 18px;
  max-width: 560px;
}

.ly_chat .bl_chat_firstview_cta .bl_chat_start_option {
  width: 100%;
  min-height: 62px;
}

.ly_chat .bl_chat_firstview_cta .js-chat-skip-diagnosis {
  margin-top: 8px;
  min-height: 52px;
  padding: 11px 15px;
  justify-content: space-between;
  border-color: #cfdbe7;
  background: #fff;
  box-shadow: none;
}

.ly_chat .bl_chat_firstview_cta .bl_chat_skip_diagnosis_copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.ly_chat .bl_chat_firstview_cta .bl_chat_skip_diagnosis_copy b {
  font-size: 14px;
  line-height: 1.35;
}

.ly_chat .bl_chat_firstview_cta .bl_chat_skip_diagnosis_copy small {
  margin: 0;
  color: var(--chat-muted);
  font-size: 12px;
  font-weight: 700;
}

.ly_chat .bl_chat_firstview_cta .js-chat-skip-diagnosis .el_chat_start_arrow {
  color: var(--chat-blue);
}

.ly_chat .bl_chat_flow_area {
  margin-top: 18px;
  grid-template-columns: 1fr !important;
}

.ly_chat .bl_chat_company_after_jobs .bl_chat_company_support {
  margin: 20px 0 18px;
}

.ly_chat .bl_chat_company_details {
  margin: 16px 0;
  border: 1px solid #d7e3ed;
  border-radius: 18px;
  background: #f8fbfe;
  overflow: hidden;
}

.ly_chat .bl_chat_company_details>summary {
  cursor: pointer;
  padding: 15px 17px;
  color: var(--chat-navy);
  font-weight: 900;
  list-style: none;
}

.ly_chat .bl_chat_company_details>summary::-webkit-details-marker {
  display: none;
}

.ly_chat .bl_chat_company_details>summary:after {
  content: '＋';
  float: right;
  color: var(--chat-blue);
}

.ly_chat .bl_chat_company_details[open]>summary:after {
  content: '\2212';
}

.ly_chat .bl_chat_company_details .bl_chat_domain_grid {
  padding: 0 14px 16px;
}

.ly_chat .bl_chat_company_scale {
  margin-top: 16px;
}

.ly_chat .bl_chat_company_point {
  margin-top: 16px;
}

.ly_chat .bl_chat_employment_card {
  margin: 18px 0 22px;
  padding: 22px;
  border: 1px solid #cfe0ef;
  border-radius: 22px;
  background: linear-gradient(135deg, #f5faff, #fff);
}

.ly_chat .el_chat_employment_kicker {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--chat-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ly_chat .bl_chat_employment_card h3 {
  margin: 0 0 18px;
  color: var(--chat-navy);
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.45;
}

.ly_chat .bl_chat_placement_flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.ly_chat .bl_chat_placement_flow>div {
  min-width: 0;
  padding: 15px;
  border: 1px solid #dbe6ef;
  border-radius: 17px;
  background: #fff;
}

.ly_chat .bl_chat_placement_flow>div span {
  display: block;
  color: var(--chat-blue);
  font-size: 11px;
  font-weight: 900;
}

.ly_chat .bl_chat_placement_flow>div b {
  display: block;
  margin: 4px 0;
  color: var(--chat-navy);
  font-size: 16px;
}

.ly_chat .bl_chat_placement_flow>div small {
  color: var(--chat-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ly_chat .bl_chat_placement_flow>i {
  color: var(--chat-blue);
  font-size: 22px;
  font-style: normal;
}

.ly_chat .bl_chat_placement_faq {
  margin: 22px 0;
}

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

.ly_chat .bl_chat_placement_faq_grid article {
  padding: 17px;
  border: 1px solid #dce6ef;
  border-radius: 18px;
  background: #fff;
}

.ly_chat .bl_chat_placement_faq_grid h4 {
  margin: 0 0 7px;
  color: var(--chat-navy);
  font-size: 17px;
}

.ly_chat .bl_chat_placement_faq_grid p {
  margin: 0;
  color: #40566d;
  font-size: 14px;
  line-height: 1.65;
}

.ly_chat .bl_chat_placement_support {
  margin-top: 18px;
}

.ly_chat .bl_chat_result_grid_detail {
  align-items: stretch;
}

.ly_chat .bl_chat_result_card_detail {
  display: flex;
  flex-direction: column;
}

.ly_chat .bl_chat_result_card_detail .el_chat_favorite_btn {
  margin-top: auto;
}

.ly_chat .bl_chat_result_facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.ly_chat .bl_chat_result_facts>div {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid #dce6ef;
  border-radius: 14px;
  background: #f8fbfe;
}

.ly_chat .bl_chat_result_facts>div>span {
  display: block;
  margin-bottom: 4px;
  color: var(--chat-muted);
  font-size: 11px;
  font-weight: 800;
}

.ly_chat .bl_chat_result_facts b {
  display: block;
  color: var(--chat-navy);
  font-size: 14px;
  line-height: 1.35;
}

.ly_chat .bl_chat_result_facts small {
  display: block;
  margin-top: 3px;
  color: var(--chat-muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.ly_chat .bl_chat_result_pay_lines {
  display: grid;
  gap: 5px;
}

.ly_chat .bl_chat_result_pay_lines>span {
  display: block;
}

.ly_chat .bl_chat_result_pay_lines small {
  margin: 0;
}

.ly_chat .bl_chat_result_first_step {
  margin: 4px 0 12px;
  padding: 12px 13px;
  border-left: 4px solid var(--chat-blue);
  border-radius: 0 13px 13px 0;
  background: #f5f9fd;
}

.ly_chat .bl_chat_result_first_step>span {
  display: block;
  color: var(--chat-blue);
  font-size: 11px;
  font-weight: 900;
}

.ly_chat .bl_chat_result_first_step b {
  display: block;
  margin: 3px 0;
  color: var(--chat-navy);
  font-size: 15px;
}

.ly_chat .bl_chat_result_first_step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.ly_chat .bl_chat_result_reason>b {
  display: block;
  margin-bottom: 4px;
}

.ly_chat #chat-screen-result #chat-retry-btn {
  display: grid;
  gap: 2px;
}

.ly_chat #chat-screen-result #chat-retry-btn small {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--chat-muted);
}

.ly_chat .bl_chat_job_condition_grid_summary,
.ly_chat .bl_chat_job_condition_grid_summary.bl_chat_multi_pay {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ly_chat .bl_chat_job_condition_grid_summary .bl_chat_job_condition small {
  display: block;
  margin-top: 4px;
  color: var(--chat-muted);
  font-size: 11px;
  line-height: 1.4;
}

.ly_chat .bl_chat_work_condition_grid_summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ly_chat .bl_chat_work_condition_grid_summary article {
  min-width: 0;
}

.ly_chat .bl_chat_work_condition_grid_summary article small {
  display: block;
  margin-top: 4px;
  color: var(--chat-muted);
  font-size: 11px;
}

.ly_chat .bl_chat_career_opening {
  margin-top: 20px;
}

.ly_chat .bl_chat_real_interview {
  margin-top: 14px;
  padding: 14px 15px;
  border: 1px solid #d7e4ef;
  border-radius: 15px;
  background: #f8fbfe;
}

.ly_chat .bl_chat_real_interview b {
  color: var(--chat-navy);
}

.ly_chat .bl_chat_real_interview p {
  margin: 5px 0 8px;
  font-size: 13px;
}

.ly_chat .bl_chat_real_interview a {
  color: var(--chat-blue);
  font-weight: 900;
}

.ly_chat .bl_chat_fit_check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 20px;
}

.ly_chat .bl_chat_fit_check article {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #dce6ef;
}

.ly_chat .bl_chat_fit_check .bl_chat_fit_positive {
  background: #f3faf6;
  border-color: #cfe6d7;
}

.ly_chat .bl_chat_fit_check .bl_chat_fit_caution {
  background: #fff9f2;
  border-color: #f1d7ba;
}

.ly_chat .bl_chat_fit_check article>span {
  display: block;
  margin-bottom: 10px;
  color: var(--chat-navy);
  font-size: 17px;
  font-weight: 900;
}

.ly_chat .bl_chat_fit_check ul {
  margin: 0;
  padding-left: 1.2em;
}

.ly_chat .bl_chat_fit_check li {
  margin: 7px 0;
  line-height: 1.55;
}

.ly_chat .bl_chat_fit_check p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--chat-muted);
}

.ly_chat .bl_chat_final_facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 15px 0 4px;
}

.ly_chat .bl_chat_final_facts span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--chat-navy);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width:720px) {
  .ly_chat #chat-screen-home .bl_chat_career_hero_intro {
    padding-top: 20px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_hero_grid {
    gap: 14px;
  }

  .ly_chat #chat-screen-home .bl_chat_career_guide {
    margin-top: 2px;
  }

  .ly_chat .el_chat_home_title {
    font-size: clamp(30px, 9vw, 39px) !important;
    line-height: 1.2 !important;
  }

  .ly_chat .el_chat_home_lead {
    margin-bottom: 10px;
  }

  .ly_chat .bl_chat_firstview_cta {
    margin-top: 12px;
  }

  .ly_chat .bl_chat_firstview_cta .bl_chat_start_option {
    min-height: 58px;
  }

  .ly_chat .bl_chat_flow_area {
    margin-top: 12px;
  }

  .ly_chat .bl_chat_placement_flow {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ly_chat .bl_chat_placement_flow>i {
    transform: rotate(90deg);
    justify-self: center;
    line-height: 1;
  }

  .ly_chat .bl_chat_placement_faq_grid {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_result_facts {
    grid-template-columns: 1fr 1fr;
  }

  .ly_chat .bl_chat_result_facts>div:first-child {
    grid-column: 1/-1;
  }

  .ly_chat .bl_chat_job_condition_grid_summary {
    grid-template-columns: 1fr !important;
  }

  .ly_chat .bl_chat_work_condition_grid_summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ly_chat .bl_chat_work_condition_grid_summary article:last-child {
    grid-column: 1/-1;
  }

  .ly_chat .bl_chat_fit_check {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_company_details .bl_chat_domain_grid {
    grid-template-columns: 1fr;
  }

  .ly_chat .bl_chat_company_support {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* v112: reduce repetition and keep long job titles readable */
.ly_chat .bl_chat_result_facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ly_chat .bl_chat_result_common_condition,
.ly_chat .bl_chat_job_common_condition {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 3px 12px;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid #d8e5ef;
  border-radius: 15px;
  background: #f7fbfe;
}

.ly_chat .bl_chat_result_common_condition>span,
.ly_chat .bl_chat_job_common_condition>span {
  grid-row: 1 / span 2;
  color: var(--chat-blue);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.ly_chat .bl_chat_result_common_condition strong,
.ly_chat .bl_chat_job_common_condition strong {
  color: var(--chat-navy);
  font-size: 15px;
}

.ly_chat .bl_chat_result_common_condition small,
.ly_chat .bl_chat_job_common_condition small {
  color: var(--chat-muted);
  font-size: 11px;
  line-height: 1.45;
}

.ly_chat .bl_chat_result_all_jobs_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin: 10px 0 18px;
  border: 1px solid #c9d9e8;
  border-radius: 14px;
  background: #fff;
  color: var(--chat-blue);
  font-weight: 900;
}

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

.ly_chat .el_chat_career_story_more_btn {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: -8px 0 16px;
  border: 1px solid #c9d9e8;
  border-radius: 13px;
  background: #fff;
  color: var(--chat-blue);
  font-weight: 900;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_result_facts {
    grid-template-columns: 1fr 1fr !important;
  }

  .ly_chat .bl_chat_result_facts>div:first-child {
    grid-column: auto !important;
  }

  .ly_chat .bl_chat_result_common_condition,
  .ly_chat .bl_chat_job_common_condition {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .ly_chat .bl_chat_result_common_condition>span,
  .ly_chat .bl_chat_job_common_condition>span {
    grid-row: auto;
    white-space: normal;
  }

  .ly_chat .bl_chat_job_title_line {
    min-width: 0;
    width: 100%;
  }

  .ly_chat .el_chat_job_title_text,
  .ly_chat .bl_chat_result_summary_item strong,
  .ly_chat .el_chat_career_story_job_btn span,
  .ly_chat #chat-screen-complete .bl_chat_final_job_name {
    min-width: 0;
    max-width: 100%;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* v115: student-benefit cards in company section */
.ly_chat .bl_chat_company_support article {
  align-content: start;
}

.ly_chat .bl_chat_company_support h4 {
  margin-top: 1px;
}

.ly_chat .bl_chat_company_support p {
  line-height: 1.7;
}

@media (max-width:720px) {
  .ly_chat .bl_chat_company_support article {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 14px 15px;
  }

  .ly_chat .bl_chat_company_support h4 {
    font-size: 16px;
  }
}

/* PDF confirmed corrections: borders, number fitting, and question badge. */
@media (max-width: 720px) {
  .ly_chat #chat-screen-work .bl_chat_work_condition_grid_summary {
    gap: 10px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid_summary article {
    border: 1px solid var(--chat-line);
    border-radius: 14px;
    padding: 14px 12px;
  }

  .ly_chat #chat-screen-company .bl_chat_company_scale .bl_chat_company_foundation_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .ly_chat #chat-screen-company .bl_chat_company_scale .bl_chat_foundation_card {
    min-width: 0;
    padding: 12px 4px;
  }

  .ly_chat #chat-screen-company .bl_chat_company_scale .bl_chat_foundation_card strong {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: 2px;
    max-width: 100%;
  }

  .ly_chat #chat-screen-company .bl_chat_company_scale .el_chat_foundation_prefix {
    flex-basis: 100%;
    text-align: center;
  }

  .ly_chat #chat-screen-company .bl_chat_company_scale .el_chat_foundation_number {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.25;
  }

  .ly_chat #chat-screen-company .bl_chat_company_scale .el_chat_foundation_unit {
    font-size: 10px;
    white-space: nowrap;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_question_number_badge {
    flex: 0 0 58px;
    width: 58px;
    min-width: 58px;
    padding-inline: 2px;
  }

  .ly_chat #chat-screen-diagnosis .el_chat_question_number_badge small {
    font-size: 8px;
    letter-spacing: .02em;
    white-space: nowrap;
  }
}

.ly_chat .el_chat_chat_break_note {
  display: block;
}

.ly_chat .hp_chat_chat_text_white {
  color: #fff;
}

/* Required for hidden controls and pending/empty UI states. */
.ly_chat [hidden] {
  display: none !important;
}

.ly_chat .ly_chat_screen:focus {
  outline: none;
}

@media (max-width: 360px) {
  .ly_chat .bl_chat_regional_job_grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ly_chat .bl_chat_regional_job_head>div {
    min-width: 0;
  }

  .ly_chat .bl_chat_regional_job_head h3 {
    white-space: normal;
  }
}

/* Integrating the common theme footer without obstructing the chat's mobile actions.
   The standard floating FAQ promo covers the full-width fixed chat controls when
   present, so suppress that overlay ONLY while the chat mobile nav is active.
   The normal footer structure, nav links, logos, and go-to-top remain unchanged. */
@media (max-width: 720px) {
  body:has(.ly_chat .ly_chat_mobile_nav:not([hidden])) .bl_footBnr {
    display: none !important;
    /* overrides jQuery's inline fadeIn() display value */
  }

  body:has(.ly_chat .ly_chat_mobile_nav:not([hidden])) .bl_pageTop {
    display: none !important;
    /* fixed back-to-top control would obscure the chat Next button */
  }

  /* Reserve space below the shared footer so the final legal links and marks
     remain reachable above the chat's fixed Back / Next navigation. */
  body:has(.ly_chat .ly_chat_mobile_nav:not([hidden])) .ly_footer {
    padding-bottom: calc(132px + env(safe-area-inset-bottom));
  }
}

/* いつでもふらっと説明会：追加情報に伴う最小限の表示調整 */
.ly_chat .bl_chat_placement_support_head {
  margin: 20px 0 0;
}

.ly_chat .bl_chat_placement_support_head h3 {
  margin: 5px 0 0;
  color: var(--chat-navy);
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.4;
}

.ly_chat .bl_chat_placement_support {
  margin-top: 11px;
}

.ly_chat .bl_chat_career_priority_strip>div small {
  display: block;
  margin-top: 5px;
  color: var(--chat-muted);
  font-size: 11px;
  line-height: 1.5;
}

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

.ly_chat .el_chat_career_story_change_support {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: #f3f8ff;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .ly_chat .bl_chat_career_priority_strip>div small {
    grid-column: 2;
    margin-top: 3px;
    font-size: 10px;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid_summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid_summary article:last-child {
    grid-column: auto;
  }

  .ly_chat #chat-screen-work .el_chat_career_story_change_support {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .ly_chat #chat-screen-home .bl_chat_career_flow_step .bl_chat_flow_desc {
    overflow-wrap: anywhere;
  }

  .ly_chat #chat-screen-work .bl_chat_work_condition_grid_summary article {
    padding: 12px 9px;
  }
}

@media (min-width: 761px) {
  .ly_chat #chat-screen-home .bl_chat_career_hero h1.el_chat_home_title {
    font-size: clamp(26px, 3.05vw, 42px);
    line-height: 1.14;
  }
}

@media (min-width: 481px) and (max-width: 760px) {
  .ly_chat #chat-screen-home .bl_chat_career_hero h1.el_chat_home_title {
    font-size: clamp(34px, 6vw, 40px) !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 480px) {
  .ly_chat #chat-screen-home .bl_chat_career_hero h1.el_chat_home_title {
    font-size: clamp(24px, 6.9vw, 28px) !important;
    line-height: 1.25 !important;
  }
}