/* ==========================================================================
   Profile
   ========================================================================== */
   .profile-section {
    padding: 40px 15px;
    position: relative;
    text-align: center;
    padding-top: 300px;
    --h4-color: #B66CDD;
  }

  /* Set password / one-time login lands on /user/*/edit; hide profile wizard chrome. */
  .pass-reset-token-body .profile-section,
  .pass-reset-password .profile-section {
    display: none;
  }

  /* ==========================================================================
     My profile
     ========================================================================== */
  .page-node-type-course-activity main {
    margin-top: 250px;
    margin-bottom: 200px;
  }

  .MyProfile-section>.content>ul li:first-child .title,
  .MyProfile-section>.content>ul li:first-child .number {
    color: #4D95CB;
  }

  /* Profile + Profile Detail: shared title and account badge */
  .profile-detail-section h2,
  .profile-section-header h2 {
    color: var(--i2-theme-color-green);
    line-height: 1.375;
    text-align: center;
    display: block;
    width: fit-content;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    max-width: calc(100vw - 150px);
    font-size: var(--font-size-lg);
  }

  .profile-detail-section h2::after,
  .profile-section-header h2::after {
    background: url(../images/icon/h2_leaf.png) no-repeat;
    background-size: contain;
    content: '';
    display: block;
    width: 75px;
    height: 57px;
    position: absolute;
    right: 12px;
    top: 10px;
    transform: translate(100%, -100%);
  }

  .profile-detail-section .account,
  .profile-section-header .account {
    margin: auto;
    text-align: center;
    margin-bottom: 46px;
    display: none;
  }

  .profile-detail-section .account li,
  .profile-section-header .account li {
    border-radius: 100px;
    background: #B66CDD;
    font-size: 20px;
    font-weight: 900;
    padding: 13px 27px;
    display: inline-block;
    color: #ffff;
  }

  .user-admin-child .profile-detail-section .account,
  .user-admin-adult .profile-detail-section .account,
  .user-admin-child .profile-section-header .account,
  .user-admin-adult .profile-section-header .account {
    display: block;
  }

  .user-admin-child .profile-detail-section .account li:nth-child(1),
  .user-admin-adult:not(.user-form-child-account) .profile-detail-section .account li:nth-child(2),
  .user-admin-child .profile-section-header .account li:nth-child(1),
  .user-admin-adult:not(.user-form-child-account) .profile-section-header .account li:nth-child(2),
  .user-form-child-account .profile-detail-section .account li:nth-child(1),
  .user-form-child-account .profile-section-header .account li:nth-child(1) {
    display: none;
  }

  .profile-detail-section .account li:nth-child(2),
  .profile-section-header .account li:nth-child(2) {
    background-color: #569A20;
    padding-left: 90px;
    position: relative;
  }

  .profile-detail-section .account li:nth-child(2)::before,
  .profile-section-header .account li:nth-child(2)::before {
    content: '';
    display: block;
    width: 70px;
    height: 60px;
    background: url(/themes/custom/i2_theme/images/icon/joy.svg);
    background-repeat: no-repeat;
    position: absolute;
    left: 14px;
    top: 16px;
    transform: translateY(-50%);
  }

  /* Profile process stepper */
  .profile-section-header .process {
    counter-reset: process-step;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1000px;
    width: 100%;
  }

  .profile-section-header .process li {
    counter-increment: process-step;
    position: relative;
    flex: 1;
    padding: 43px 10px 0;
    color: #B66CDD;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
  }

  .profile-section-header .process li::before {
    content: counter(process-step);
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #975AB6;
    background: #975AB6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    z-index: 1;
    line-height: 34px;
  }

  .profile-section-header .process li::after {
    content: '';
    position: absolute;
    top: 17px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    border-top: 2px solid #B66CDD;
  }

  .profile-section-header .process li:last-child::after {
    display: none;
  }

  .profile-section-header .process li.active~li::before,
  .profile-section-header .process:not(:has(li.active)) li:first-child~li::before {
    background: #fff;
    color: #B66CDD;
  }

  .profile-section-header .process li.active~li::after,
  .profile-section-header .process:not(:has(li.active)) li:first-child~li::after {
    border-top-style: dotted;
  }

  @media screen and (max-width: 767px) {
    .profile-section-header .process li {
      font-size: 12px;
      padding: 42px 4px 0;
    }

    .profile-section-header .process li::before {
      width: 28px;
      height: 28px;
      font-size: 14px;
    }

    .profile-section-header .process li::after {
      top: 13px;
      left: calc(50% + 16px);
      width: calc(100% - 32px);
    }
  }

  /* ==========================================================================
     Profile edit wizard (/user/{id}/edit)
     ========================================================================== */
  .profile-edit-wizard-page .profile-section-header .process li {
    cursor: pointer;
  }

  .profile-edit-wizard-page .profile-section-header .process li.is-step-skipped,
  .profile-edit-wizard-page .profile-wizard-card.is-step-skipped {
    display: none;
  }

  .profile-edit-wizard-page input[type=checkbox]:checked {
    border-radius: 6px;
    border: 1px solid #D9D9D9;
    background-color: #569A20 !important;
  }
  .profile-edit-wizard-page fieldset.form-item > .fieldset-wrapper,
  .profile-edit-wizard-page .form-type-managed-file > div {
    padding: 0;
    margin-bottom: 20px;
  }
  /* custom_tom.css forces #user-form .contact-information { display: block } for adults.
     Adult self-edit must keep that group off the wizard. */
  body.profile-edit-wizard-page.user-admin-adult:not(.user-form-child-account) #user-form .contact-information,
  body.profile-edit-wizard-page.user-admin-adult:not(.user-form-child-account) #user-form #edit-group-contact-information {
    display: none !important;
  }

  body.profile-edit-wizard-page.user-admin-adult:not(.user-form-child-account) #user-form #edit-parent-user {
    display: none !important;
  }

  body.profile-edit-wizard-page.user-admin-child #user-form #edit-child-account,
  body.profile-edit-wizard-page.user-form-child-account #user-form #edit-child-account {
    display: none !important;
  }

  .profile-edit-wizard-page .profile-content-4 .profile-wizard-title {
    margin-bottom: 24px;
  }

  .profile-edit-wizard-page .profile-content-4 .profile-wizard-subtitle {
    margin-top: 0;
  }

  .profile-edit-wizard-page .profile-content-4 .profile-wizard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-edit-wizard-page .profile-content-4 #edit-parent-user,
  .profile-edit-wizard-page .profile-content-4 #edit-child-account {
    max-width: 100%;
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .profile-edit-wizard-page .profile-content-4 #edit-parent-user>.details-wrapper,
  .profile-edit-wizard-page .profile-content-4 #edit-parent-user>.claro-details__wrapper,
  .profile-edit-wizard-page .profile-content-4 #edit-child-account>.details-wrapper,
  .profile-edit-wizard-page .profile-content-4 #edit-child-account>.card-body {
    padding: 0;
    max-width: 100%;
    overflow-x: auto;
  }

  .profile-edit-wizard-page .profile-content-4 #edit-parent-user table,
  .profile-edit-wizard-page .profile-content-4 #edit-child-account table,
  .profile-edit-wizard-page .profile-content-4 #edit-parent-user .table,
  .profile-edit-wizard-page .profile-content-4 #edit-child-account .table {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 0;
    border: none;
    background: transparent;
    --bs-table-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-hover-bg: transparent;
    --bs-table-border-color: transparent;
  }

  .profile-edit-wizard-page .profile-content-4 table> :not(caption)>*>* {
    border: none;
    box-shadow: none;
    background-color: transparent;
  }

  .profile-edit-wizard-page .profile-content-4 table th,
  .profile-edit-wizard-page .profile-content-4 table td {
    border: none;
    border-bottom: 1px solid #E6E6E6;
    background: transparent !important;
    vertical-align: middle;
    padding: 12px 12px 12px 0;
    text-align: left;
    color: #000;
  }

  .profile-edit-wizard-page .profile-content-4 table th:first-child,
  .profile-edit-wizard-page .profile-content-4 table td:first-child {
    padding-left: 0;
  }

  .profile-edit-wizard-page .profile-content-4 table th:last-child,
  .profile-edit-wizard-page .profile-content-4 table td:last-child {
    padding-right: 0;
  }

  .profile-edit-wizard-page .profile-content-4 table thead th {
    font-weight: 700;
    color: #000;
    border-bottom: 2px solid #000;
  }

  .profile-edit-wizard-page .profile-content-4 table tbody tr.odd,
  .profile-edit-wizard-page .profile-content-4 table tbody tr.even {
    background: transparent;
  }

  .profile-edit-wizard-page .profile-content-4 table th:nth-child(1),
  .profile-edit-wizard-page .profile-content-4 table td:nth-child(1) {
    width: 12%;
  }

  .profile-edit-wizard-page .profile-content-4 table th:nth-child(2),
  .profile-edit-wizard-page .profile-content-4 table td:nth-child(2) {
    width: 32%;
  }

  .profile-edit-wizard-page .profile-content-4 table th:nth-child(3),
  .profile-edit-wizard-page .profile-content-4 table td:nth-child(3),
  .profile-edit-wizard-page .profile-content-4 table th:nth-child(4),
  .profile-edit-wizard-page .profile-content-4 table td:nth-child(4) {
    width: 28%;
  }

  .profile-edit-wizard-page .profile-content-4 table .form-item,
  .profile-edit-wizard-page .profile-content-4 table .js-form-wrapper {
    margin: 0;
  }

  .profile-edit-wizard-page .profile-content-4 table .form-select,
  .profile-edit-wizard-page .profile-content-4 table .form-control,
  .profile-edit-wizard-page .profile-content-4 table select,
  .profile-edit-wizard-page .profile-content-4 table input[type="text"] {
    min-width: 0;
    width: 100%;
  }

  .profile-edit-wizard-page .profile-content-4 table select:has(option[value=""]:checked),
  .profile-edit-wizard-page .profile-content-4 table .form-select:has(option[value=""]:checked) {
    color: #BCBCBC;
  }

  .profile-edit-wizard-page .profile-content-4 tr[data-drupal-selector="edit-table-add-child"] td {
    border-bottom: none;
    padding-top: 16px;
    padding-bottom: 8px;
  }

  .profile-edit-wizard-page .profile-content-4 tr[data-drupal-selector="edit-table-add-child"] td:not(:first-child) {
    display: none;
  }

  .profile-edit-wizard-page #user-form .profile-content-4 #edit-child-account tbody a,
  .profile-edit-wizard-page #user-form .profile-content-4 tr[data-drupal-selector="edit-table-add-child"] a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #AC885D;
    border-radius: 10px;
    background: #FFFFF9;
    color: #AC885D;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    white-space: nowrap;
  }

  .profile-edit-wizard-page #user-form .profile-content-4 #edit-child-account tbody a:hover,
  .profile-edit-wizard-page #user-form .profile-content-4 #edit-child-account tbody a:focus,
  .profile-edit-wizard-page #user-form .profile-content-4 tr[data-drupal-selector="edit-table-add-child"] a:hover,
  .profile-edit-wizard-page #user-form .profile-content-4 tr[data-drupal-selector="edit-table-add-child"] a:focus {
    background: #FFFFF9;
    color: #AC885D;
    border-color: #AC885D;
    text-decoration: none;
  }

  .profile-edit-wizard-page #user-form .profile-content-4 tr[data-drupal-selector="edit-table-add-child"] a::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(/themes/custom/i2_theme/images/icon/add-user.svg) no-repeat center / contain;
    flex-shrink: 0;
  }

  .profile-edit-wizard-page #block-i2-theme-content h1 {
    display: none;
  }

  .profile-edit-wizard-page #block-i2-theme-content {
    margin: 0;
    max-width: none;
    padding: 0;
  }

  .profile-edit-wizard-page .profile-section .content {
    max-width: 1100px;
    margin: 0 auto;
  }

  .profile-edit-wizard-page #user-form {
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 60px 0 0;
    margin: 0 auto;
    max-width: 100%;
    text-align: left;
    position: relative;
  }

  .profile-edit-wizard-page #user-form::before {
    display: none;
  }

  .profile-edit-wizard-page .profile-wizard-remainder {
    display: none !important;
  }

  .profile-edit-wizard-page .profile-wizard-cards {
    max-width: 714px;
    margin: 0 auto;
    position: relative;
  }

  .profile-edit-wizard-page .profile-wizard-cards::before {
    background: url(../images/form/form_style1_bubble.svg) no-repeat;
    background-size: contain;
    content: '';
    display: block;
    width: 91px;
    height: 111px;
    position: absolute;
    right: -17px;
    top: -21px;
    z-index: 1;
  }

  .profile-edit-wizard-page .profile-wizard-card {
    display: none;
    position: relative;
    background: #FFFFF9;
    padding: 25px 23px 0 25px;
    text-align: left;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
  }

  .profile-edit-wizard-page .profile-wizard-card.is-active {
    display: block;
  }

  .profile-edit-wizard-page .profile-wizard-card-deco {
    position: absolute;
    top: 18px;
    right: 28px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
  }

  .profile-edit-wizard-page .profile-wizard-card-deco img {
    display: block;
  }

  .profile-edit-wizard-page .profile-wizard-card-deco img:first-child {
    width: 52px;
    height: auto;
  }

  .profile-edit-wizard-page .profile-wizard-card-deco img:last-child {
    width: 36px;
    height: auto;
    margin-top: 18px;
  }

  .profile-edit-wizard-page .profile-wizard-title {
    color: #B66CDD;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.375;
    text-align: center;
    margin: 0 0 40px 0;
  }

  .profile-edit-wizard-page .profile-wizard-subtitle {
    color: #AC885D;
    font-size: 20px;
    font-weight: 900;
    margin: 30px 0 20px;
    line-height: 24px;
  }

  .profile-edit-wizard-page .profile-wizard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 36px;
  }

  .profile-edit-wizard-page .profile-wizard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 36px;
  }

  .profile-edit-wizard-page .profile-wizard-span-2 {
    grid-column: 1 / -1;
  }

  .profile-edit-wizard-page .profile-content-2 .profile-wizard-grid,
  .profile-edit-wizard-page .profile-content-3 .profile-wizard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-edit-wizard-page .profile-content-2 .fieldset-legend {
    color: #AC885D;
    font-size: 20px;
    font-weight: 900;
  }

  .profile-edit-wizard-page .profile-content-2 fieldset,
  .profile-edit-wizard-page .profile-content-2 fieldset.form-item>legend {
    border: unset;
    background-color: unset;
    padding-left: 0;
    padding-right: 0;
  }

  .profile-edit-wizard-page #edit-field-living-conditions-news.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .profile-edit-wizard-page #edit-field-living-conditions-news.form-checkboxes .form-check {
    margin: 0;
  }

  .profile-edit-wizard-page .profile-content-3 .profile-wizard-subtitle:has(+ details.contact-person-1):before,
  .profile-edit-wizard-page .profile-content-3 .profile-wizard-subtitle:has(+ details.contact-person-2):before,
  .profile-edit-wizard-page .profile-content-3 .profile-wizard-subtitle.profile-wizard-extra-contact-title:before {
    content: "";
    display: inline-block;
    width: 24px;
    /* 依你的 icon 大小調整 */
    height: 24px;
    margin-right: 8px;
    background-image: url("../images/icon/profile_detail_contact.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
  }

  .profile-edit-wizard-page .profile-wizard-card .form-item,
  .profile-edit-wizard-page .profile-wizard-card .js-form-wrapper,
  .profile-edit-wizard-page .profile-wizard-card .field--type-image,
  .profile-edit-wizard-page .profile-wizard-card .field--type-file {
    margin: 0;
  }

  .profile-edit-wizard-page .profile-wizard-card .form-type-managed-file {
    border: unset;
    background-color: #FFFFF9;
  }

  .profile-edit-wizard-page .form-managed-file input[name$="_remove_button"],
  .profile-edit-wizard-page .image-widget input[data-drupal-selector$="-remove-button"],
  .profile-edit-wizard-page .profile-content-3 .profile-wizard-contact-remove {
    background: #DBF9D9;
    color: #569A20;
    border: 1px solid #569A20;
    border-radius: 100px;
    padding: 5px 25px;
    border-radius: 6px;
    font-size: 15px;
    min-width: unset;
    box-shadow: none;
  }
  .profile-edit-wizard-page .profile-content-3 .profile-wizard-contact-remove {
    grid-column: 1 / -1;
    justify-self: end;
    margin-left: auto;
    max-width: 110px;
  }

  .profile-edit-wizard-page .form-managed-file input[name$="_remove_button"]:hover,
  .profile-edit-wizard-page .form-managed-file input[name$="_remove_button"]:focus,
  .profile-edit-wizard-page .profile-content-3 .profile-wizard-contact-remove:hover,
  .profile-edit-wizard-page .profile-content-3 .profile-wizard-contact-remove:focus,
  .profile-edit-wizard-page .image-widget input[data-drupal-selector$="-remove-button"]:hover,
  .profile-edit-wizard-page .image-widget input[data-drupal-selector$="-remove-button"]:focus {
    background: #C8E6A0;
    color: #2F5D12;
    font-weight: 700;
    border-color: #2F5D12;
    box-shadow: none;
  }

  /* Living Condition uploads: tan box with title sitting above the border */
  .profile-edit-wizard-page .profile-wizard-card.profile-content-2 .form-type-managed-file {
    position: relative;
    border: 1px solid #AC885D;
    border-radius: 10px;
    background-color: #FFFFF9;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .profile-edit-wizard-page .profile-wizard-card.profile-content-2 .form-type-managed-file>label {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(calc(-100% - 8px));
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #AC885D;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
  }

  .profile-edit-wizard-page .profile-wizard-card.profile-content-2 .form-type-managed-file>div {
    padding: 0;
  }

  .profile-edit-wizard-page .profile-wizard-card.profile-content-2 .form-type-managed-file>.js-upload-fee-link {
    margin-top: 12px;
  }

  .profile-edit-wizard-page .profile-wizard-card.profile-content-2 .form-type-managed-file>.description {
    margin-top: 8px;
    font-size: 13px;
    color: #888;
    line-height: 1.4;
  }

  .profile-edit-wizard-page .profile-wizard-card .form-item.js-form-item-field-birthday-0-value-date {
    width: 100%;
  }

  /* 收合狀態：_none 為當前選中值時，讓 select 方框本身顯示灰色 placeholder；
     選了真實選項後 :has() 不再匹配，自動恢復正常顏色。
     option 必須單獨設 #000，否則下拉清單會繼承 select 的灰色。 */
  .profile-edit-wizard-page .profile-wizard-card .form-item select:has(option[value="_none"]:checked) {
    color: #BCBCBC;
  }

  .profile-edit-wizard-page .profile-wizard-card select option,
  .profile-edit-wizard-page .profile-wizard-card .form-select option {
    color: #000;
  }

  .profile-edit-wizard-page .profile-wizard-card label {
    font-weight: 400;
    color: #000;
    margin-bottom: 5px;
    background-color: unset;
    border: none;
    padding: 0;
  }

  .profile-edit-wizard-page .profile-wizard-card .field--name-field-birthday label {
    color: #B66CDD;
  }

  .profile-edit-wizard-page .profile-wizard-card .form-control,
  .profile-edit-wizard-page .profile-wizard-card .form-select,
  .profile-edit-wizard-page .profile-wizard-card input[type="text"],
  .profile-edit-wizard-page .profile-wizard-card input[type="email"],
  .profile-edit-wizard-page .profile-wizard-card input[type="tel"],
  .profile-edit-wizard-page .profile-wizard-card input[type="date"],
  .profile-edit-wizard-page .profile-wizard-card select,
  .profile-edit-wizard-page .profile-wizard-card textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    min-height: 40px;
    background: #FFFFF9;
  }

  body.profile-edit-wizard-page:is(.user-admin-child, .user-form-child-account, .user-admin-adult:not(.user-form-child-account)) .profile-wizard-card .form-control.profile-progress-incomplete,
  body.profile-edit-wizard-page:is(.user-admin-child, .user-form-child-account, .user-admin-adult:not(.user-form-child-account)) .profile-wizard-card .form-select.profile-progress-incomplete,
  body.profile-edit-wizard-page:is(.user-admin-child, .user-form-child-account, .user-admin-adult:not(.user-form-child-account)) .profile-wizard-card input.profile-progress-incomplete,
  body.profile-edit-wizard-page:is(.user-admin-child, .user-form-child-account, .user-admin-adult:not(.user-form-child-account)) .profile-wizard-card select.profile-progress-incomplete,
  body.profile-edit-wizard-page:is(.user-admin-child, .user-form-child-account, .user-admin-adult:not(.user-form-child-account)) .profile-wizard-card textarea.profile-progress-incomplete {
    border-color: #dc3545;
  }

  body.profile-edit-wizard-page:is(.user-admin-child, .user-form-child-account, .user-admin-adult:not(.user-form-child-account)) .profile-wizard-card .form-check-input.profile-progress-incomplete {
    border-color: #dc3545;
    outline: 2px solid #dc3545;
    outline-offset: 2px;
  }

  body.profile-edit-wizard-page:is(.user-admin-child, .user-form-child-account, .user-admin-adult:not(.user-form-child-account)) .profile-wizard-card .form-check.profile-progress-incomplete {
    outline: 1px solid #dc3545;
    outline-offset: 4px;
    border-radius: 8px;
  }

  /* Select 自訂箭頭：默認朝下、聚焦(展開)朝上 */
  .profile-edit-wizard-page .profile-wizard-card select,
  .profile-edit-wizard-page .profile-wizard-card .form-select {
    color: #000;
    -webkit-appearance: none;
    appearance: none;
    padding: 8px 40px 8px 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
  }

  .profile-edit-wizard-page .profile-wizard-card select:focus,
  .profile-edit-wizard-page .profile-wizard-card .form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 6.5L6 2L10.5 6.5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .profile-edit-wizard-page .profile-wizard-card input[readonly],
  .profile-edit-wizard-page .profile-wizard-card input:disabled,
  .profile-edit-wizard-page .profile-wizard-card .form-control[readonly],
  .profile-edit-wizard-page .profile-wizard-card .form-control:disabled {
    background: #E9ECEF;
    cursor: not-allowed;
  }

  .profile-edit-wizard-page .profile-wizard-card input[type="file"]::file-selector-button {
    background: #C8E6A0;
    color: #2F5D12;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    margin-right: 12px;
    font-weight: 700;
    cursor: pointer;
  }

  .profile-edit-wizard-page .profile-wizard-card details,
  .profile-edit-wizard-page .profile-wizard-card details.card {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .profile-edit-wizard-page .profile-wizard-card details>summary,
  .profile-edit-wizard-page .profile-wizard-card .vertical-tabs__menu,
  .profile-edit-wizard-page .profile-wizard-card .nav-tabs,
  .profile-edit-wizard-page .profile-wizard-card .horizontal-tabs-list {
    display: none !important;
  }

  .profile-edit-wizard-page .profile-wizard-card details>.details-wrapper,
  .profile-edit-wizard-page .profile-wizard-card details>.card-body,
  .profile-edit-wizard-page .profile-wizard-card details>.claro-details__wrapper {
    padding: 0;
    display: block;
  }

  .profile-edit-wizard-page .profile-wizard-card .tab-content>.tab-pane,
  .profile-edit-wizard-page .profile-wizard-card .horizontal-tabs-pane,
  .profile-edit-wizard-page .profile-wizard-card .vertical-tabs__panes>.vertical-tabs__pane {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
  }

  .profile-edit-wizard-page .profile-wizard-card .contact-information .js-form-wrapper,
  .profile-edit-wizard-page .profile-wizard-card .contact-information .form-item {
    margin-bottom: 18px;
  }

  .profile-edit-wizard-page .profile-wizard-card .contact-person-1,
  .profile-edit-wizard-page .profile-wizard-card .contact-person-2 {
    display: block;
    margin: 0 0 12px;
  }

  .profile-edit-wizard-page .profile-wizard-card .contact-person-1>.details-wrapper,
  .profile-edit-wizard-page .profile-wizard-card .contact-person-2>.details-wrapper,
  .profile-edit-wizard-page .profile-wizard-card .contact-person-1>.claro-details__wrapper,
  .profile-edit-wizard-page .profile-wizard-card .contact-person-2>.claro-details__wrapper {
    display: block !important;
  }

  .profile-edit-wizard-page .profile-content-3 .contact-person-1>.details-wrapper,
  .profile-edit-wizard-page .profile-content-3 .contact-person-2>.details-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
    border-radius: 10px;
    border: 1px solid #AC885D;
    padding: 20px;
  }

  .profile-edit-wizard-page .profile-wizard-card .contact-person-1 .field--type-email,
  .profile-edit-wizard-page .profile-wizard-card .contact-person-2 .field--type-email {
    grid-column: 1 / -1;
  }

  .profile-edit-wizard-page .profile-wizard-card .contact-information .contact-person-1 .js-form-wrapper,
  .profile-edit-wizard-page .profile-content-3 .contact-information .contact-person-1 .form-item,
  .profile-edit-wizard-page .profile-wizard-card .contact-information .contact-person-2 .js-form-wrapper,
  .profile-edit-wizard-page .profile-content-3 .contact-information .contact-person-2 .form-item {
    margin-bottom: 0;
  }

  .profile-edit-wizard-page .profile-wizard-card .contact-person-1 .js-form-wrapper,
  .profile-edit-wizard-page .profile-wizard-card .contact-person-2 .js-form-wrapper {
    display: block;
    width: 100%;
    max-width: none;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-tabs,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .tableresponsive-toggle-columns,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .tabledrag-toggle-weight-wrapper,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .tabledrag-toggle-weight,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person table thead,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .field-multiple-drag,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person td.delta-order,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraph-type-title,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-actions,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraph-top,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .placeholder {
    display: none !important;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-subform .field--name-field-full-name,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-subform .field--name-field-name {
    display: block !important;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person table,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person tbody,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person tr,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person td {
    display: block !important;
    width: 100%;
    max-width: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person tbody > tr {
    margin: 0 0 12px;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .profile-wizard-extra-contact-title {
    margin: 30px 0 20px;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-subform {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
    border-radius: 10px;
    border: 1px solid #AC885D;
    padding: 20px;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-subform .field--type-email {
    grid-column: 1 / -1;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-subform .js-form-wrapper,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-subform .form-item {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .clearfix {
    font-size: 0;
    margin: 12px 0 0;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-add-wrapper,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-dropbutton-wrapper {
    position: relative;
    display: block;
    width: 100%;
    font-size: 16px;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .field-add-more-submit,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person input.btn-secondary.field-add-more-submit {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #AC885D;
    border-radius: 10px;
    background: #FFFFF9;
    color: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: none;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .field-add-more-submit:hover,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .field-add-more-submit:focus,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person input.btn-secondary.field-add-more-submit:hover,
  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person input.btn-secondary.field-add-more-submit:focus {
    background: #fff8f0;
    border-color: #8C6A45;
    color: transparent;
    box-shadow: none;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .profile-wizard-extra-add-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
    z-index: 1;
    color: #AC885D;
    font-size: 20px;
    font-weight: 900;
    line-height: 24px;
  }

  .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .profile-wizard-extra-add-label::before {
    content: "";
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url("../images/icon/add-user.svg") no-repeat center / contain;
  }

  @media screen and (max-width: 767px) {
    .profile-edit-wizard-page .profile-content-3 .contact-person-1>.details-wrapper,
    .profile-edit-wizard-page .profile-content-3 .contact-person-2>.details-wrapper,
    .profile-edit-wizard-page .profile-content-3 .field--name-field-contact-person .paragraphs-subform {
      grid-template-columns: 1fr;
    }
  }

  .profile-edit-wizard-page .profile-wizard-empty {
    margin: 0;
    color: #666;
  }

  .profile-edit-wizard-page .profile-wizard-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
    background-color: #FFFFF9;
    max-width: 714px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    padding: 50px 0 24px;
  }

  .profile-edit-wizard-page .profile-wizard-back,
  .profile-edit-wizard-page .profile-wizard-next,
  .profile-edit-wizard-page .profile-wizard-save,
  .profile-edit-wizard-page #user-form .profile-wizard-save {
    min-width: 140px;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 22px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .profile-edit-wizard-page .profile-wizard-back,
  .profile-edit-wizard-page .profile-wizard-next {
    min-width: unset;
  }

  .profile-edit-wizard-page .profile-wizard-back,
  .profile-edit-wizard-page .profile-wizard-next {
    background: #F5F5F5;
    border: none;
    color: #333;
  }

  .profile-edit-wizard-page .profile-wizard-back::before,
  .profile-edit-wizard-page .profile-wizard-next::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 16px;
    vertical-align: -3px;
    background: url(/themes/custom/i2_theme/images/icon/swiper-arrow-green.svg) no-repeat center / contain;
  }

  .profile-edit-wizard-page .profile-wizard-back::before {
    margin-right: 8px;
    transform: rotate(180deg);
  }

  .profile-edit-wizard-page .profile-wizard-save,
  .profile-edit-wizard-page #user-form .profile-wizard-save {
    background: #B66CDD;
    border: none;
    color: #fff;
    height: 44px;
  }

  .profile-edit-wizard-page .profile-wizard-save:hover,
  .profile-edit-wizard-page #user-form .profile-wizard-save:hover,
  .profile-edit-wizard-page .profile-wizard-save:focus,
  .profile-edit-wizard-page #user-form .profile-wizard-save:focus {
    background-color: var(--i2-theme-color-light-purple);
    color: #fff;
  }

  .profile-edit-wizard-page .profile-wizard-next::after {
    margin-left: 8px;
  }

  .profile-edit-wizard-page .profile-wizard-back:hover,
  .profile-edit-wizard-page .profile-wizard-next:hover,
  .profile-edit-wizard-page .profile-wizard-back:focus,
  .profile-edit-wizard-page .profile-wizard-next:focus {
    background: #4D95CB;
    color: #fff;
  }

  .profile-edit-wizard-page .profile-wizard-back.is-hidden,
  .profile-edit-wizard-page .profile-wizard-back:disabled,
  .profile-edit-wizard-page .profile-wizard-next.is-hidden,
  .profile-edit-wizard-page .profile-wizard-next:disabled {
    display: inline-flex;
    color: #C8C8C8;
    pointer-events: none;
    cursor: default;
    opacity: 1;
  }

  .profile-edit-wizard-page .profile-wizard-back.is-hidden::before,
  .profile-edit-wizard-page .profile-wizard-back:disabled::before,
  .profile-edit-wizard-page .profile-wizard-next.is-hidden::after,
  .profile-edit-wizard-page .profile-wizard-next:disabled::after {
    opacity: 0.35;
    filter: grayscale(1);
  }

  .profile-edit-wizard-page .profile-wizard-next.is-hidden:hover,
  .profile-edit-wizard-page .profile-wizard-next:disabled:hover {
    background: #F5F5F5;
    color: #C8C8C8;
  }

  .profile-edit-wizard-page #user-form .contact-information {
    display: block !important;
  }

  .profile-edit-wizard-page h4.label {
    color: var(--h4-color);
    font-weight: 400;
  }

  @media screen and (max-width: 767px) {
    .profile-edit-wizard-page .profile-wizard-card {
      padding: 32px 18px 20px;
    }

    .profile-edit-wizard-page .profile-wizard-grid {
      grid-template-columns: 1fr;
    }

    .profile-edit-wizard-page .profile-wizard-title {
      font-size: 22px;
      padding-right: 70px;
    }

    .profile-edit-wizard-page .profile-wizard-subtitle {
      font-size: 18px;
    }

    .profile-edit-wizard-page .profile-wizard-card-deco {
      right: 12px;
      top: 12px;
    }

    .profile-edit-wizard-page .profile-wizard-card-deco img:first-child {
      width: 40px;
    }

    .profile-edit-wizard-page .profile-wizard-card-deco img:last-child {
      width: 26px;
    }

    .profile-edit-wizard-page .profile-wizard-actions {
      flex-direction: column;
      flex-wrap: nowrap;
      gap: 12px;
      padding: 32px 18px 24px;
    }

    .profile-edit-wizard-page .profile-wizard-back,
    .profile-edit-wizard-page .profile-wizard-next,
    .profile-edit-wizard-page .profile-wizard-save,
    .profile-edit-wizard-page #user-form .profile-wizard-save {
      width: 100%;
      min-width: 0;
    }
  }

  /* ==========================================================================
     My Course Journey Section Styles (Legacy / Widget)
     ========================================================================== */
  .MyCourseJourney-section {
    padding: 40px 15px;
    position: relative;
    text-align: center;
    padding-bottom: 200px;
  }

  .MyCourseJourney-section .content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 標題與葉子裝飾 */
  .MyCourseJourney-section h2 {
    color: var(--i2-theme-color-green, #569A20);
    font-size: clamp(28px, 2.8vw, 38px);
    font-weight: 900;
    line-height: 1.375;
    text-align: center;
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
  }

  .MyCourseJourney-section h2::after {
    background: url(../images/icon/h2_leaf.png) no-repeat;
    background-size: contain;
    content: '';
    display: block;
    width: 75px;
    height: 57px;
    position: absolute;
    right: -25px;
    top: 8px;
    transform: translate(100%, -100%);
    pointer-events: none;
  }

  /* 島嶼插畫 */
  .MyCourseJourney-section .island {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
  }

  /* Read More 紫色膠囊按鈕 */
  .MyCourseJourney-section .content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #B66CDD;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    padding: 10px 32px;
    border-radius: 50px;
    margin-top: -45px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    top: -46px;
  }

  /* 右箭頭圖標 */
  .MyCourseJourney-section .content a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #ffffff;
    margin-left: 4px;
    transition: transform 0.2s ease;
  }

  /* Hover 懸停效果 */
  .MyCourseJourney-section .content a:hover {
    background: #a956f0;
    transform: translateY(-2px);
  }

  .MyCourseJourney-section .content a:hover::after {
    transform: translateX(3px);
  }

  /* 手機版適配 */
  @media screen and (max-width: 576px) {
    .MyCourseJourney-section h2 {
      font-size: 24px;
      margin-bottom: 15px;
    }

    .MyCourseJourney-section h2::after {
      width: 50px;
      height: 38px;
      right: -15px;
    }

    .MyCourseJourney-section .content a {
      font-size: 16px;
      padding: 8px 24px;
      margin-top: -30px;
    }
  }

  /* ==========================================================================
     Page-wide Background & Reset for Course Journey Page (body.journey-section-body)
     ========================================================================== */
  body.journey-section-body {
    background: radial-gradient(ellipse 83% 570px at 50% 0, #DBF9D9 100%, #B5EAF6 100%) no-repeat, #B5EAF6 !important;
    background-attachment: scroll !important;
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* Drupal 管理員工具列適配：補償 Toolbar 高度，防止背景弧線與內容元素錯位 */
  body.journey-section-body.toolbar-horizontal,
  body.journey-section-body.toolbar-vertical {
    background: radial-gradient(ellipse 83% 570px at 50% 39px, #DBF9D9 100%, #B5EAF6 100%) no-repeat, #B5EAF6 !important;
  }

  body.journey-section-body.toolbar-horizontal.toolbar-tray-open {
    background: radial-gradient(ellipse 83% 570px at 50% 79px, #DBF9D9 100%, #B5EAF6 100%) no-repeat, #B5EAF6 !important;
  }

  @media screen and (max-width: 767px) {
    body.journey-section-body {
      background: radial-gradient(ellipse 149% 443px at 50% 0, #DBF9D9 100%, #B5EAF6 100%) no-repeat, #B5EAF6 !important;
    }

    body.journey-section-body.toolbar-horizontal,
    body.journey-section-body.toolbar-vertical {
      background: radial-gradient(ellipse 85% 230px at 50% 39px, #DBF9D9 100%, #B5EAF6 100%) no-repeat, #B5EAF6 !important;
    }

    body.journey-section-body.toolbar-horizontal.toolbar-tray-open {
      background: radial-gradient(ellipse 85% 230px at 50% 79px, #DBF9D9 100%, #B5EAF6 100%) no-repeat, #B5EAF6 !important;
    }
  }

  /* Ensure all Drupal intermediate wrappers on node-1554 are transparent */
  body.journey-section-body header,
  body.journey-section-body .header,
  body.journey-section-body #header,
  body.journey-section-body .navbar,
  body.journey-section-body main,
  body.journey-section-body #main-content,
  body.journey-section-body .region-content,
  body.journey-section-body .layout-container,
  body.journey-section-body .my-course-journey-section,
  body.journey-section-body .field--name-field-html-content,
  body.journey-section-body .paragraph--type--section-paragraphs,
  body.journey-section-body .paragraph__column {
    background: transparent !important;
    background-color: transparent !important;
  }

  /* Hide Drupal raw metadata fields */
  body.journey-section-body .field--name-field-section-style,
  body.journey-section-body .field--name-field-animation-style {
    display: none !important;
  }

  /* Reset Drupal WYSIWYG paragraph margins and empty tags */
  .journey-section p,
  .journey-section .island p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    display: block !important;
  }

  .journey-section br {
    display: none !important;
  }

  /* ==========================================================================
     Course Journey Layout Section Styles (.journey-section)
     ========================================================================== */
  body.journey-section-body .my-course-journey-section {
    margin-top: 250px;
    margin-bottom: 0px;
    padding: 0 !important;
  }

  .journey-section {
    position: relative;
    width: 100%;
    padding: 0 15px 80px;
    background: transparent !important;
    box-sizing: border-box;
    --journey-svg-scale: 1;
  }

  .journey-section * {
    box-sizing: border-box;
  }

  .journey-section .content {
    max-width: none;
    margin: 0 auto;
    position: relative;
    width: 100%;
    z-index: 2;
  }

  /* --------------------------------------------------------------------------
     D3 zoom viewport (replaces HTML islands when JS builds the SVG map)
     -------------------------------------------------------------------------- */
  .journey-section .decorations.is-d3-replaced,
  .journey-section ul.course-journey.is-d3-replaced {
    display: none !important;
  }

  .journey-section .journey-map-viewport {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
  }

  .journey-section .journey-map-viewport svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
    user-select: none;
    font-family: inherit;
  }

  .journey-section .journey-map-viewport svg image,
  .journey-section .journey-map-viewport svg text,
  .journey-section .journey-map-viewport svg rect {
    pointer-events: none;
  }

  /* Island / sky / icon tweaks — CSS variables; JS bakes them into SVG user-unit transforms. */
  .journey-section {
    --journey-svg-scale: 1;
    --journey-point-scale: 1;
    --journey-point-offset-x: 0px;
    --journey-point-offset-y: 0px;
    --journey-world-pad-x: 280;
    --journey-shift-y: 4px;
    --journey-sky-x: 0px;
    --journey-sky-y: -130px;
    --cloud-2-x: 0px;
    --cloud-2-y: 40px;
    --journey-islands-x: 0px;
    --journey-islands-y: 170px;
    --island-map-4-x: 94px;
    --island-map-4-y: -207px;
    --island-map-3-x: -167px;
    --island-map-3-y: -340px;
    --island-map-2-x: 89px;
    --island-map-2-y: -595px;
    --island-map-1-x: -163px;
    --island-map-1-y: -647px;
    --icon-map-4-flourishing-x: 1%;
    --icon-map-4-flourishing-y: 44%;
    --icon-map-4-flourishing-w: 101px;
    --icon-map-4-flourishing-h: 109px;
    --icon-map-4-girl-x: 84%;
    --icon-map-4-girl-y: 61%;
    --icon-map-4-girl-w: 58px;
    --icon-map-4-girl-h: 128px;
    --icon-map-3-characters-x: 44%;
    --icon-map-3-characters-y: 40%;
    --icon-map-3-characters-w: 111px;
    --icon-map-3-characters-h: 91px;
    --icon-map-2-characters-x: 33%;
    --icon-map-2-characters-y: 41%;
    --icon-map-2-characters-w: 182px;
    --icon-map-2-characters-h: 131px;
    --icon-map-2-bee-x: 80%;
    --icon-map-2-bee-y: 36%;
    --icon-map-2-bee-w: 84px;
    --icon-map-2-bee-h: 52px;
    --icon-map-2-char-x: 76%;
    --icon-map-2-char-y: 78%;
    --icon-map-2-char-w: 58px;
    --icon-map-2-char-h: 71px;
    --icon-map-1-seed-x: 48%;
    --icon-map-1-seed-y: 74%;
    --icon-map-1-seed-w: 91px;
    --icon-map-1-seed-h: 63px;
    --icon-map-1-dawn-w: 102px;
    --icon-map-1-dawn-h: 203px;
    --icon-map-1-dawn-x: 58%;
    --icon-map-1-dawn-y: 61%;
    --icon-map-2-dawn-w: 102px;
    --icon-map-2-dawn-h: 203px;
    --icon-map-2-dawn-x: 4%;
    --icon-map-2-dawn-y: 42%;
    --icon-map-3-dawn-x: 3%;
    --icon-map-3-dawn-y: 46%;
    --icon-map-3-dawn-w: 102px;
    --icon-map-3-dawn-h: 203px;
    --icon-map-4-dawn-x: 45%;
    --icon-map-4-dawn-y: 54%;
    --icon-map-4-dawn-w: 102px;
    --icon-map-4-dawn-h: 203px;
    --label-map-4-x: 71%;
    --label-map-4-y: 21%;
    --label-map-3-x: 72%;
    --label-map-3-y: 48%;
    --label-map-2-x: 64%;
    --label-map-2-y: 58%;
    --label-map-1-x: 33%;
    --label-map-1-y: 64%;
    --point-map-4-1-x: 22%;
    --point-map-4-1-y: 69%;
    --point-map-4-2-x: 38%;
    --point-map-4-2-y: 54%;
    --point-map-4-3-x: 57%;
    --point-map-4-3-y: 56%;
    --point-map-4-4-x: 81%;
    --point-map-4-4-y: 59%;
    --point-map-4-5-x: 40%;
    --point-map-4-5-y: 28%;
    --point-map-4-6-x: 24%;
    --point-map-4-6-y: 37%;
    --point-map-3-1-x: 55%;
    --point-map-3-1-y: 64%;
    --point-map-3-2-x: 39%;
    --point-map-3-2-y: 62%;
    --point-map-3-3-x: 19%;
    --point-map-3-3-y: 61%;
    --point-map-3-4-x: 22%;
    --point-map-3-4-y: 38%;
    --point-map-3-5-x: 43%;
    --point-map-3-5-y: 32%;
    --point-map-3-6-x: 61%;
    --point-map-3-6-y: 23%;
    --point-map-2-1-x: 18%;
    --point-map-2-1-y: 65%;
    --point-map-2-2-x: 40%;
    --point-map-2-2-y: 66%;
    --point-map-2-3-x: 72%;
    --point-map-2-3-y: 72%;
    --point-map-2-4-x: 87%;
    --point-map-2-4-y: 61%;
    --point-map-2-5-x: 65%;
    --point-map-2-5-y: 42%;
    --point-map-2-6-x: 47%;
    --point-map-2-6-y: 38%;
    --point-map-1-1-x: 9%;
    --point-map-1-1-y: 55%;
    --point-map-1-2-x: 32%;
    --point-map-1-2-y: 27%;
    --point-map-1-3-x: 54%;
    --point-map-1-3-y: 51%;
    --point-map-1-4-x: 76%;
    --point-map-1-4-y: 55%;
    --point-map-1-5-x: 70%;
    --point-map-1-5-y: 24%;
    --point-map-1-6-x: 50%;
    --point-map-1-6-y: 9%;
    --workshop-map-4-x: 100%;
    --workshop-map-4-y: 44%;
    --workshop-map-3-x: 95%;
    --workshop-map-3-y: 40%;
    --workshop-map-2-x: 102%;
    --workshop-map-2-y: 58%;
    --workshop-map-1-x: 95%;
    --workshop-map-1-y: 40%;
  }

  .journey-section .journey-icon-slot {
    transform-box: fill-box;
    transform-origin: 0 0;
  }

  .journey-section.has-active-map .journey-island:not(.map-active),
  .journey-section.has-active-map .journey-island-points:not(.map-active),
  .journey-section.has-active-map .journey-html-point:not(.map-active) {
    filter: grayscale(100%) brightness(120%);
  }

  .journey-section.has-active-map .journey-html-point.map-active:not(.point-active) {
    filter: grayscale(100%) brightness(120%);
  }

  .journey-section .journey-html-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
  }

  .journey-section .journey-html-point {
    position: absolute;
    left: 0;
    top: 0;
    /* Same anchor as old foreignObject centering — keeps tuned --point-map-* % values. */
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    will-change: left, top;
  }

  .journey-section .journey-html-point-scale {
    transform: scale(var(--journey-point-scale, 1));
    transform-origin: 50% 50%;
  }

  .journey-section .journey-html-point .journey-step-item {
    pointer-events: auto;
  }

  .journey-section .journey-point-anchor,
  .journey-section .journey-workshop-anchor {
    pointer-events: none;
  }

  .journey-section .journey-workshop-slot {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 6;
    will-change: left, top;
  }

  .journey-section .journey-workshop-btn {
    pointer-events: auto;
    position: relative;
    display: block;
    width: 245px;
    height: 135px;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    user-select: none;
    animation: journey-workshop-float 5s ease-in-out infinite alternate;
  }

  .journey-section .journey-workshop-btn:focus {
    outline: none;
  }

  .journey-section .journey-workshop-btn:focus-visible {
    outline: 2px solid #4D95CB;
    outline-offset: 2px;
    border-radius: 40px;
  }

  .journey-section .journey-workshop-btn:hover .journey-workshop-copy,
  .journey-section .journey-workshop-btn:focus-visible .journey-workshop-copy {
    color: #2E6FB3;
  }

  .journey-section .journey-workshop-cloud {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: fill;
    pointer-events: none;
  }

  .journey-section .journey-workshop-copy {
    position: absolute;
    left: 50%;
    top: 56%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    width: max-content;
    height: auto;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    color: #4D95CB;
    font-size: 1em;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .journey-section .journey-workshop-btn .journey-workshop-label,
  .journey-section .journey-workshop-btn .journey-project-card-action-icon {
    margin: 0;
    flex: none;
  }

  .journey-section .journey-workshop-btn .journey-project-card-action-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
  }

  .journey-section .journey-workshop-btn .journey-project-card-action-icon circle {
    fill: currentColor;
  }

  .journey-section.has-active-map ul.course-journey>li.map:not(.map-active) .course-points,
  .journey-section.has-active-map ul.course-journey>li.map:not(.map-active) .island img {
    filter: grayscale(100%) brightness(120%);
  }

  .journey-section .journey-icon-slot image {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: sway 4s ease-in-out infinite;
  }

  .journey-section .journey-icon-girl image {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: girl-move 10s ease-in-out infinite;
  }

  .journey-section .map-2 .journey-icon-characters image {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: girl-move 20s ease-in-out infinite;
  }

  .journey-section .journey-icon-bee image {
    transform-box: fill-box;
    transform-origin: center center;
    animation: bee-move 10s ease-in-out infinite;
  }

  .journey-section .journey-label-fo {
    overflow: visible;
    pointer-events: none;
  }

  .journey-section .journey-label-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .journey-section .journey-label-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #FFF;
    border-radius: 50px;
    box-shadow: 0 15px 4px 0 rgba(0, 0, 0, 0.20);
    color: var(--i2-theme-color-green, #569A20);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .journey-section .journey-label rect {
    fill: #FFF;
    filter: drop-shadow(0 15px 4px rgba(0, 0, 0, 0.20));
  }

  .journey-section .journey-label text {
    fill: var(--i2-theme-color-green, #569A20);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.2px;
  }

  /* Point / label / island / workshop positions are SVG+HTML overlays from JS (user units).
     Edit --point-* / --label-* / --island-* / --workshop-* here; JS re-reads within ~250ms (or resize).
     Inspected left/top on .journey-html-point are runtime pixels — change the CSS vars, not those. */

  /* --------------------------------------------------------------------------
     Course Points Styles (ForeignObject)
     -------------------------------------------------------------------------- */
  .journey-section .journey-point-fo {
    overflow: visible;
    pointer-events: none;
  }

  .journey-section .journey-point-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .journey-section .journey-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: auto;
    cursor: default;
  }

  .journey-section .point-active .journey-step-item {
    cursor: pointer;
  }

  .journey-section .journey-step-item .course-name {
    position: relative;
    border-radius: 50px;
    padding: 7px 12px;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 4px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
    line-height: 1.2;
    box-sizing: border-box;
  }

  .journey-section .point-notice {
    position: absolute;
    right: 0;
    top: -5px;
    left: auto;
    width: 54px;
    height: 49px;
    transform: translate(42%, -58%);
    transform-origin: center bottom;
    pointer-events: auto;
    cursor: pointer;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(239, 142, 117, 0.55));
    animation: point-notice-pop 4s ease-in-out infinite;
  }

  .journey-section .point-1 .point-notice {
    animation-delay: 0s;
  }

  .journey-section .point-2 .point-notice {
    animation-delay: 0.85s;
  }

  .journey-section .point-3 .point-notice {
    animation-delay: 1.7s;
  }

  .journey-section .point-4 .point-notice {
    animation-delay: 2.55s;
  }

  .journey-section .point-5 .point-notice {
    animation-delay: 3.4s;
  }

  .journey-section .point-6 .point-notice {
    animation-delay: 4.25s;
  }

  @keyframes point-notice-pop {

    0%,
    100% {
      transform: translate(42%, -58%) scale(1) rotate(-6deg);
    }

    18% {
      transform: translate(42%, -78%) scale(1.08) rotate(8deg);
    }

    32% {
      transform: translate(42%, -52%) scale(0.94) rotate(-4deg);
    }

    48% {
      transform: translate(42%, -70%) scale(1.1) rotate(6deg);
    }

    64% {
      transform: translate(42%, -56%) scale(1) rotate(-2deg);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .journey-section .point-notice,
    .journey-section .journey-workshop-btn {
      animation: none;
    }
  }

  .journey-section .journey-step-item .course-name.course-name-enrolled {
    font-size: 16px;
    font-weight: 700;
    margin-top: 2px;
    margin-bottom: 6px;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.1);
  }

  /* 4 Islands color themes for course-name */
  .journey-section .map-4 .course-name {
    border-radius: 20px;
    border: 1.5px solid #975AB6;
    background: #F8EBFF;
    color: #975AB6;
  }

  .journey-section .map-3 .course-name {
    border-radius: 20px;
    border: 1.5px solid #177388;
    background: #C4F4FF;
    color: #177388;
  }

  .journey-section .map-2 .course-name {
    border-radius: 20px;
    border: 1.5px solid #EB7A24;
    background: #FFF5DA;
    color: #EB7A24;
  }

  .journey-section .map-1 .course-name {
    border-radius: 20px;
    border: 1.5px solid #569A20;
    background: #DBF9D9;
    color: #569A20;
  }

  /* Course step pin & number */
  .journey-section .journey-step-item .course-step {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 32px;
  }

  .journey-section .journey-step-item .course-step img {
    width: 38px;
    height: 32px;
    display: block;
  }

  .journey-section .journey-step-item .course-step .number {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 900;
    color: #FFF;
    line-height: 1;
  }

  .journey-section image.journey-sun {
    transform-box: fill-box;
    transform-origin: center center;
    animation: journey-sun-spin 40s linear infinite;
    filter: drop-shadow(0 4px 14px rgba(255, 195, 0, 0.3));
  }

  .journey-section image.journey-cloud-1 {
    transform-box: fill-box;
    transform-origin: 0 0;
    animation: journey-cloud-float-1 8s ease-in-out infinite alternate;
  }

  .journey-section image.journey-cloud-2 {
    transform-box: fill-box;
    transform-origin: 0 0;
    animation: journey-cloud-float-2 10s ease-in-out infinite alternate;
  }

  .journey-section image.journey-cloud-3 {
    transform-box: fill-box;
    transform-origin: 0 0;
    animation: journey-cloud-float-3 9s ease-in-out infinite alternate;
  }

  @keyframes journey-sun-spin {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  @keyframes sway {

    0%,
    100% {
      transform: rotate(-4deg);
    }

    50% {
      transform: rotate(4deg);
    }
  }

  @keyframes girl-move {
    0% {
      transform: translateX(0px) scaleX(1);
    }

    47% {
      transform: translateX(35px) scaleX(1);
    }

    50% {
      transform: translateX(35px) scaleX(-1);
    }

    97% {
      transform: translateX(0px) scaleX(-1);
    }

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

  @keyframes bee-move {
    0% {
      transform: translateX(0px) scaleX(1);
    }

    47% {
      transform: translateX(-45px) scaleX(1);
    }

    50% {
      transform: translateX(-45px) scaleX(-1);
    }

    97% {
      transform: translateX(0px) scaleX(-1);
    }

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

  /* --------------------------------------------------------------------------
     Header Title & Leaf Decoration (h2)
     -------------------------------------------------------------------------- */
  .journey-section h2 {
    color: var(--i2-theme-color-green, #569A20);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    display: block;
    width: fit-content;
    margin: 15px auto 10px;
    position: relative;
    z-index: 20;
    letter-spacing: -0.5px;
  }

  .journey-section h2::after {
    background: url(../images/icon/h2_leaf.png) no-repeat;
    background-size: contain;
    content: '';
    display: block;
    width: 60px;
    height: 46px;
    position: absolute;
    right: -20px;
    top: 4px;
    transform: translate(100%, -40%);
    pointer-events: none;
  }

  body.journey-section-body .journey-child-name,
  .my-course-journey-section .journey-child-name {
    color: var(--i2-theme-color-green, #569A20);
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin: 0 auto 12px;
    position: relative;
    z-index: 20;
  }

  /* --------------------------------------------------------------------------
     Decorations (Sun & Floating Clouds)
     -------------------------------------------------------------------------- */
  .journey-section .decorations {
    position: relative;
    width: 100%;
    height: 130px;
    margin-bottom: -15px;
    z-index: 5;
    pointer-events: none;
  }

  .journey-section .decorations .sun,
  .journey-section .decorations .decorations-3 {
    position: absolute;
    top: -29%;
    left: 32%;
    transform: translateX(-50%);
    width: 144px;
    height: 144px;
    transform-origin: 50% 50%;
    animation: journey-sun-rotate 40s linear infinite;
    filter: drop-shadow(0 4px 14px rgba(255, 195, 0, 0.3));
    z-index: 3;
  }

  .journey-section .decorations .sun img,
  .journey-section .decorations .decorations-3 img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .journey-section .decorations .cloud {
    position: absolute;
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.04));
    z-index: 3;
  }

  .journey-section .decorations .cloud img {
    width: 100%;
    height: auto;
    display: block;
  }

  .journey-section .decorations .decorations-1 {
    top: -2%;
    left: 14%;
    width: 159px;
    height: auto;
    animation: journey-cloud-float-1 8s ease-in-out infinite alternate;
  }

  .journey-section .decorations .decorations-2 {
    top: 62%;
    left: 3%;
    width: 132px;
    height: auto;
    animation: journey-cloud-float-2 10s ease-in-out infinite alternate;
  }

  .journey-section .decorations .decorations-4 {
    top: 65%;
    left: 78%;
    width: 122px;
    height: auto;
    animation: journey-cloud-float-3 9s ease-in-out infinite alternate;
  }

  @keyframes journey-sun-rotate {
    from {
      transform: translateX(-50%) rotate(0deg);
    }

    to {
      transform: translateX(-50%) rotate(360deg);
    }
  }

  @keyframes journey-cloud-float-1 {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(25px);
    }
  }

  @keyframes journey-cloud-float-2 {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-20px);
    }
  }

  @keyframes journey-cloud-float-3 {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(30px);
    }
  }

  @keyframes journey-workshop-float {
    from {
      transform: translate(0, 0);
    }

    to {
      transform: translate(10px, -12px);
    }
  }

  /* --------------------------------------------------------------------------
     Course Journey Islands List (Continuous S-Curve Deep Overlap)
     -------------------------------------------------------------------------- */
  .journey-section ul.course-journey {
    display: flex;
    flex-direction: column-reverse;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    position: relative;
  }

  .journey-section ul.course-journey>li.map {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
  }

  /* Island Z-Index & Gentle S-Curve Overlapping Margins */
  .journey-section ul.course-journey>li.map.map-4 {
    z-index: 1;
    margin-top: 0;
  }

  .journey-section ul.course-journey>li.map.map-3 {
    z-index: 2;
    margin-top: -6%;
  }

  .journey-section ul.course-journey>li.map.map-2 {
    z-index: 3;
    margin-top: -6%;
  }

  .journey-section ul.course-journey>li.map.map-1 {
    z-index: 4;
    margin-top: -6%;
  }

  /* Island container & image */
  .journey-section .island {
    position: relative;
    width: 100%;
    display: block;
  }

  .journey-section .island .submap {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
  }

  /* --------------------------------------------------------------------------
     Audience Pill Badges (.seed-target-audience)
     -------------------------------------------------------------------------- */
  .journey-section .seed-target-audience {
    background-color: #FFFFFF;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
    color: var(--i2-theme-color-green, #569A20);
    font-size: clamp(14px, 1.5vw, 21px);
    font-weight: 900;
    line-height: 1.3;
    padding: 8px 24px;
    position: absolute;
    z-index: 10;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    user-select: none;
    cursor: default;
  }

  .journey-section .seed-target-audience:hover {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18), 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  /* Badge positions precisely matching the design mockup for each island */
  .journey-section .map.map-4 .seed-target-audience {
    top: 22%;
    left: 70%;
  }

  .journey-section .map.map-3 .seed-target-audience {
    top: 45%;
    left: 60%;
  }

  .journey-section .map.map-2 .seed-target-audience {
    top: 48%;
    left: 64%;
  }

  .journey-section .map.map-1 .seed-target-audience {
    top: 72%;
    left: 33%;
  }

  /* --------------------------------------------------------------------------
     Small Graphic Characters & Elements Positioning
     -------------------------------------------------------------------------- */
  .journey-section ul.small-graphic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    pointer-events: none;
    z-index: 5;
  }

  .journey-section ul.small-graphic>li {
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 0;
  }

  .journey-section ul.small-graphic img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: auto;
    user-select: none;
    -webkit-user-drag: none;
  }

  /* Idle Character Sway Animations */
  @keyframes journey-char-sway-soft {

    0%,
    100% {
      transform: rotate(-1.5deg);
    }

    50% {
      transform: rotate(1.5deg);
    }
  }

  @keyframes journey-char-sway-cute {

    0%,
    100% {
      transform: rotate(-3deg) translateY(0);
    }

    50% {
      transform: rotate(3deg) translateY(-3px);
    }
  }

  @keyframes journey-bee-hover {

    0%,
    100% {
      transform: translate(0, 0) rotate(0deg);
    }

    25% {
      transform: translate(4px, -6px) rotate(5deg);
    }

    50% {
      transform: translate(-3px, -10px) rotate(-3deg);
    }

    75% {
      transform: translate(3px, -4px) rotate(4deg);
    }
  }

  /* Map 4 Characters: Flourishing boy (left hill) & Standing girl (right fruit tree) */
  .journey-section .map.map-4 ul.small-graphic>li:has(.flourishing),
  .journey-section .map.map-4 ul.small-graphic>li:nth-child(1) {
    left: 23%;
    top: 48%;
    width: 5.7%;
    transform-origin: center bottom;
    animation: journey-char-sway-soft 4s ease-in-out infinite;
  }

  .journey-section .map.map-4 ul.small-graphic>li:has(.girl),
  .journey-section .map.map-4 ul.small-graphic>li:nth-child(2) {
    left: 65%;
    top: 56%;
    width: 3.1%;
    transform-origin: center bottom;
    animation: journey-char-sway-soft 5s ease-in-out infinite 0.5s;
  }

  /* Map 3 Character: Girl watering plants (center clearing) */
  .journey-section .map.map-3 ul.small-graphic>li:has(.characters),
  .journey-section .map.map-3 ul.small-graphic>li:nth-child(1) {
    left: 42%;
    top: 38%;
    width: 7.2%;
    transform-origin: center bottom;
    animation: journey-char-sway-soft 4.5s ease-in-out infinite 1s;
  }

  /* Map 2 Characters: Girl raking (center), Bee (right), Char / Pink tree (bottom right) */
  .journey-section .map.map-2 ul.small-graphic>li:has(.characters),
  .journey-section .map.map-2 ul.small-graphic>li:nth-child(1) {
    left: 46%;
    top: 40%;
    width: 10.5%;
    transform-origin: center bottom;
    animation: journey-char-sway-soft 5s ease-in-out infinite 0.3s;
  }

  .journey-section .map.map-2 ul.small-graphic>li:has(.bee),
  .journey-section .map.map-2 ul.small-graphic>li:nth-child(2) {
    left: 77%;
    top: 37%;
    width: 2.6%;
    animation: journey-bee-hover 3.5s ease-in-out infinite;
  }

  .journey-section .map.map-2 ul.small-graphic>li:has(.char),
  .journey-section .map.map-2 ul.small-graphic>li:nth-child(3) {
    left: 73%;
    top: 67%;
    width: 3.2%;
    transform-origin: center bottom;
    animation: journey-char-sway-cute 3s ease-in-out infinite 0.8s;
  }

  /* Map 1 Character: Seed / Waving boy (bottom left start) */
  .journey-section .map.map-1 ul.small-graphic>li:has(.seed),
  .journey-section .map.map-1 ul.small-graphic>li:nth-child(1) {
    left: 14%;
    top: 45%;
    width: 5.5%;
    transform-origin: center bottom;
    animation: journey-char-sway-cute 3.5s ease-in-out infinite;
  }

  /* --------------------------------------------------------------------------
     Responsive Media Queries
     -------------------------------------------------------------------------- */
  @media screen and (max-width: 991px) {

    .journey-section .journey-map-viewport.is-zoomable,
    .journey-section .journey-map-viewport {
      touch-action: none;
      cursor: grab;
    }

    .journey-section .journey-map-viewport:active {
      cursor: grabbing;
    }

    .journey-section .journey-map-viewport svg {
      touch-action: none;
    }

    .journey-section {
      padding: 40px 10px 100px;
    }

    .journey-section .decorations {
      height: 90px;
      margin-bottom: -25px;
    }

    .journey-section .decorations .sun,
    .journey-section .decorations .decorations-3 {
      width: 72px;
      height: 72px;
    }

    .journey-section .decorations .decorations-1 {
      width: 70px;
      left: calc(50% - 135px);
      top: 20px;
    }

    .journey-section .decorations .decorations-2 {
      width: 65px;
      left: calc(50% - 210px);
      top: 40px;
    }

    .journey-section .decorations .decorations-4 {
      width: 70px;
      left: calc(50% + 75px);
      top: 25px;
    }

    .journey-section .seed-target-audience {
      padding: 6px 18px;
      font-size: 15px;
    }
  }

  @media screen and (max-width: 767px) {

    body.journey-section-body .my-course-journey-section,
    .journey-section {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }

    .journey-section {
      padding: 30px 0px 0px;
    }

    .journey-section h2 {
      font-size: 26px;
    }

    .journey-section h2::after {
      width: 45px;
      height: 35px;
      right: -15px;
      top: 2px;
    }

    .journey-section .decorations {
      height: 75px;
      margin-bottom: -20px;
    }

    .journey-section .decorations .sun,
    .journey-section .decorations .decorations-3 {
      width: 54px;
      height: 54px;
    }

    .journey-section .decorations .decorations-1 {
      width: 52px;
      left: calc(50% - 95px);
      top: 15px;
    }

    .journey-section .decorations .decorations-2 {
      width: 48px;
      left: calc(50% - 145px);
      top: 30px;
    }

    .journey-section .decorations .decorations-4 {
      width: 52px;
      left: calc(50% + 55px);
      top: 20px;
    }

    .journey-section .seed-target-audience {
      padding: 4px 12px;
      font-size: 12px;
      border-radius: 30px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
  }

  @media screen and (max-width: 480px) {
    .journey-section h2 {
      font-size: 22px;
    }

    .journey-section .seed-target-audience {
      padding: 3px 8px;
      font-size: 10px;
    }
  }

  /* --------------------------------------------------------------------------
     Journey project list modal (Bootstrap shell from #bepricelessModal)
     -------------------------------------------------------------------------- */
  #JourneyProjectModal .modal-dialog {
    max-width: 700px;
  }

  #JourneyProjectModal button.btn-close {
    position: absolute;
    left: auto;
    right: -11px;
    top: -10px;
    transform: none;
    z-index: 3;
  }

  #JourneyProjectModal .modal-body {
    padding-top: 44px;
  }

  #JourneyProjectModal .journey-project-modal-title {
    margin-bottom: 10px;
    color: var(--i2-theme-color-green, #569A20);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
  }

  #JourneyProjectModal .journey-project-modal-node {
    margin-bottom: 20px;
    color: var(--i2-theme-color-green, #569A20);
    font-size: 36px;
    font-weight: 900;
    text-align: center;
  }

  #JourneyProjectModal .journey-project-modal-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2px 4px 8px;
    max-height: min(52vh, 420px);
  }

  #JourneyProjectModal .journey-project-card {
    position: relative;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #569A20;
  }

  #JourneyProjectModal .journey-project-card-name {
    margin-bottom: 10px;
    color: #000;
    font-size: 20px;
    font-weight: 700;
  }

  #JourneyProjectModal .journey-project-card-time {
    color: #000;
    font-size: 18px;
    margin-bottom: 20px;
  }

  #JourneyProjectModal .journey-project-card-status {
    font-size: 20px;
    font-weight: 700;
  }

  #JourneyProjectModal .journey-project-card-status.is-in-progress {
    color: #569A20;
  }

  #JourneyProjectModal .journey-project-card-status.is-scheduled {
    color: #4D95CB;
  }

  #JourneyProjectModal .journey-project-card-status.is-completed {
    color: #6C6C6C;

  }

  #JourneyProjectModal .journey-project-card-action {
    position: absolute;
    top: 15px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 60%;
    color: #4D95CB;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
  }

  #JourneyProjectModal .journey-project-card-action>span {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #JourneyProjectModal .journey-project-card-action:hover,
  #JourneyProjectModal .journey-project-card-action:focus {
    color: #2E6FB3;
  }

  #JourneyProjectModal .journey-project-card-action-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  #JourneyProjectModal .journey-project-card-action-icon circle {
    fill: currentColor;
  }

  #JourneyProjectModal .journey-project-modal-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    min-height: 44px;
  }

  #JourneyProjectModal .modal-content:not(.has-pager-arrows) .journey-project-pager-arrow {
    display: none;
  }

  #JourneyProjectModal .journey-project-pager-nums {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  #JourneyProjectModal .journey-project-pager-arrow,
  #JourneyProjectModal .journey-project-pager-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #B66CDD;
    background: #fff;
    color: #222;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  #JourneyProjectModal .journey-project-pager-arrow {
    color: #B66CDD;
    font-size: 20px;
    font-weight: 700;
  }

  #JourneyProjectModal .journey-project-pager-prev {
    transform: rotate(180deg);
  }

  #JourneyProjectModal .journey-project-pager-num.is-active {
    background: #B66CDD;
    border-color: #B66CDD;
    color: #fff;
  }

  #JourneyProjectModal .journey-project-pager-arrow:disabled {
    opacity: 0.35;
    cursor: default;
  }

  #JourneyProjectModal .journey-project-pager-num:hover,
  #JourneyProjectModal .journey-project-pager-arrow:hover:not(:disabled) {
    background: #F3E7FB;
  }

  #JourneyProjectModal .journey-project-pager-num.is-active:hover {
    background: #C9A0E8;
  }

  @media screen and (max-width: 767px) {
    #JourneyProjectModal .journey-project-modal-title {
      font-size: 24px;
    }

    #JourneyProjectModal .journey-project-modal-node {
      font-size: 16px;
    }

    #JourneyProjectModal .journey-project-card-name {
      font-size: 16px;
    }

  }

  /* ==========================================================================
     Register (#user-register-form) extra contact people / Add Person
     Scoped to registration only — not #user-form / profile edit wizard.
     ========================================================================== */
  #user-register-form .register-add-person {
    position: relative;
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 12px 0 0;
    padding: 10px 16px;
    border: 1px solid #AC885D;
    border-radius: 10px;
    background: #FFFFF9;
    color: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: none;
  }

  #user-register-form .register-add-person:hover,
  #user-register-form .register-add-person:focus {
    background: #fff8f0;
    border-color: #8C6A45;
    color: transparent;
    box-shadow: none;
  }

  #user-register-form .register-add-person::after {
    content: "Add Person";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-left: 32px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    color: #AC885D;
    font-size: 20px;
    font-weight: 900;
    line-height: 24px;
    background: url("../images/icon/add-user.svg") no-repeat left center / 24px 24px;
  }

  html[lang="zh-hant"] #user-register-form .register-add-person::after,
  html[lang="zh-tw"] #user-register-form .register-add-person::after {
    content: "新增聯絡人";
  }

  #user-register-form:has(.field--name-field-contact-person .field-add-more-submit) .register-add-person {
    display: none !important;
  }

  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-tabs,
  #user-register-form .contact-information .field--name-field-contact-person .tableresponsive-toggle-columns,
  #user-register-form .contact-information .field--name-field-contact-person .tabledrag-toggle-weight-wrapper,
  #user-register-form .contact-information .field--name-field-contact-person .tabledrag-toggle-weight,
  #user-register-form .contact-information .field--name-field-contact-person table thead,
  #user-register-form .contact-information .field--name-field-contact-person .field-multiple-drag,
  #user-register-form .contact-information .field--name-field-contact-person td.delta-order,
  #user-register-form .contact-information .field--name-field-contact-person .paragraph-type-title,
  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-actions,
  #user-register-form .contact-information .field--name-field-contact-person .paragraph-top,
  #user-register-form .contact-information .field--name-field-contact-person .placeholder {
    display: none !important;
  }

  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-subform .field--name-field-full-name,
  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-subform .field--name-field-name,
  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-subform .field--name-field-phone-number {
    display: block !important;
  }

  #user-register-form .contact-information .field--name-field-contact-person table {
    counter-reset: register-extra-contact 2;
  }

  #user-register-form .contact-information .field--name-field-contact-person table,
  #user-register-form .contact-information .field--name-field-contact-person tbody,
  #user-register-form .contact-information .field--name-field-contact-person tr,
  #user-register-form .contact-information .field--name-field-contact-person td {
    display: block !important;
    width: 100%;
    max-width: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
  }

  #user-register-form .contact-information .field--name-field-contact-person tbody > tr {
    counter-increment: register-extra-contact;
    margin: 0 0 12px;
  }

  #user-register-form:not(.register-extras-visible) .contact-information .field--name-field-contact-person table,
  #user-register-form:not(.register-extras-visible) .contact-information .field--name-field-contact-person tbody,
  #user-register-form:not(.register-extras-visible) .contact-information .field--name-field-contact-person tbody > tr {
    display: none !important;
  }

  #user-register-form .contact-information .field--name-field-contact-person tbody > tr::before {
    content: "Contact Person " counter(register-extra-contact);
    display: block;
    color: #AC885D;
    font-size: 20px;
    font-weight: 900;
    margin: 30px 0 20px;
    line-height: 24px;
    padding-left: 32px;
    background: url("../images/icon/profile_detail_contact.svg") no-repeat left center / 24px 24px;
  }

  html[lang="zh-hant"] #user-register-form .contact-information .field--name-field-contact-person tbody > tr::before,
  html[lang="zh-tw"] #user-register-form .contact-information .field--name-field-contact-person tbody > tr::before {
    content: "聯絡人 " counter(register-extra-contact);
  }

  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-subform {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
    border-radius: 10px;
    border: 1px solid #AC885D;
    padding: 20px;
  }

  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-subform .field--type-email {
    grid-column: 1 / -1;
  }

  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-subform .js-form-wrapper,
  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-subform .form-item {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  #user-register-form .contact-information .field--name-field-contact-person .clearfix {
    font-size: 0;
    margin: 12px 0 0;
  }

  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-add-wrapper,
  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-dropbutton-wrapper {
    position: relative;
    display: block;
    width: 100%;
    font-size: 16px;
  }

  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-add-wrapper::after,
  #user-register-form .contact-information .field--name-field-contact-person .paragraphs-dropbutton-wrapper::after {
    content: "Add Person";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-left: 32px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    color: #AC885D;
    font-size: 20px;
    font-weight: 900;
    line-height: 24px;
    background: url("../images/icon/add-user.svg") no-repeat left center / 24px 24px;
  }

  html[lang="zh-hant"] #user-register-form .contact-information .field--name-field-contact-person .paragraphs-add-wrapper::after,
  html[lang="zh-tw"] #user-register-form .contact-information .field--name-field-contact-person .paragraphs-add-wrapper::after,
  html[lang="zh-hant"] #user-register-form .contact-information .field--name-field-contact-person .paragraphs-dropbutton-wrapper::after,
  html[lang="zh-tw"] #user-register-form .contact-information .field--name-field-contact-person .paragraphs-dropbutton-wrapper::after {
    content: "新增聯絡人";
  }

  #user-register-form .contact-information .field--name-field-contact-person .field-add-more-submit,
  #user-register-form .contact-information .field--name-field-contact-person input.btn-secondary.field-add-more-submit {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #AC885D;
    border-radius: 10px;
    background: #FFFFF9;
    color: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: none;
  }

  #user-register-form .contact-information .field--name-field-contact-person .field-add-more-submit:hover,
  #user-register-form .contact-information .field--name-field-contact-person .field-add-more-submit:focus,
  #user-register-form .contact-information .field--name-field-contact-person input.btn-secondary.field-add-more-submit:hover,
  #user-register-form .contact-information .field--name-field-contact-person input.btn-secondary.field-add-more-submit:focus {
    background: #fff8f0;
    border-color: #8C6A45;
    color: transparent;
    box-shadow: none;
  }

  #user-register-form .contact-information .field--name-field-contact-person .register-contact-remove {
    grid-column: 1 / -1;
    justify-self: end;
    margin-left: auto;
    max-width: 110px;
    background: #DBF9D9;
    color: #569A20;
    border: 1px solid #569A20;
    border-radius: 6px;
    padding: 5px 25px;
    font-size: 15px;
    min-width: unset;
    box-shadow: none;
  }

  #user-register-form .contact-information .field--name-field-contact-person .register-contact-remove:hover,
  #user-register-form .contact-information .field--name-field-contact-person .register-contact-remove:focus {
    background: #C8E6A0;
  }

  @media screen and (max-width: 767px) {
    #user-register-form .contact-information .field--name-field-contact-person .paragraphs-subform {
      grid-template-columns: 1fr;
    }
  }
