@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
html,
body {
  padding: 0;
  margin: 0;
  line-height: 1.5;
  font-family:
    Pretendard,
    Inter var,
    -apple-system,
    BlinkMacSystemFont,
    Noto Sans KR,
    ui-sans-serif,
    system-ui,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    Segoe UI Symbol,
    "Noto Color Emoji",
    sans-serif;
}

.manual {
  /* Orange */
  --orange100: #fff6eb;
  --orange300: #fce1bc;
  --orange600: #f89b6c;
  --orange700: #f37321;

  /* Gray */
  --gray0: #ffffff;
  --gray50: #f7f7f7;
  --gray75: #efefef;
  --gray100: #e7e7e7;
  --gray200: #d1d1d1;
  --gray250: #c1c1c1;
  --gray300: #b0b0b0;
  --gray350: #9c9c9c;
  --gray400: #888888;
  --gray600: #5d5d5d;
  --gray800: #454545;
  --gray950: #181818;

  /* Neutral */
  --neutral50: #fbfaf9;

  /* State */
  --red500: #ff4d4f;
  --green500: #22c55e;
  --blue500: #3b82f6;
  --black: #000;
  --white: #fff;

  --dim65: rgba(22, 22, 22, 0.65);

  /* Black Opacity */
  --black10: rgba(0, 0, 0, 0.1);
  --black20: rgba(0, 0, 0, 0.2);
  --black30: rgba(0, 0, 0, 0.3);
  --black40: rgba(0, 0, 0, 0.4);
  --black50: rgba(0, 0, 0, 0.5);
  --black60: rgba(0, 0, 0, 0.6);
  --black70: rgba(0, 0, 0, 0.7);
  --black80: rgba(0, 0, 0, 0.8);
  --black90: rgba(0, 0, 0, 0.9);
  --black100: rgba(0, 0, 0, 1);

  /* White Opacity */
  --white10: rgba(255, 255, 255, 0.1);
  --white20: rgba(255, 255, 255, 0.2);
  --white30: rgba(255, 255, 255, 0.3);
  --white40: rgba(255, 255, 255, 0.4);
  --white50: rgba(255, 255, 255, 0.5);
  --white60: rgba(255, 255, 255, 0.6);
  --white70: rgba(255, 255, 255, 0.7);
  --white80: rgba(255, 255, 255, 0.8);
  --white90: rgba(255, 255, 255, 0.9);
  --white100: rgba(255, 255, 255, 1);

  --sidebar-width: 283px;

  /* bold */
  --light: 300;
  --regular: 400;
  --semibold: 600;
  --bold: 700;

  /* -------------------------------------------------------------------------- */
  /*                                    asis                                    */
  /* -------------------------------------------------------------------------- */
  --bg: #f2f4f6;
  --panel: #ffffff;
  --text-main: #191f28;
  --text-muted: #4e5968;
  --text-grey: #8b95a1;
  --primary: var(--orange700);
  --primary-soft: #e8f3ff;
  --highlight: #ffd600;
  --border: rgba(0, 0, 0, 0.04);

  width: 1440px;
  max-width: 100%;
  margin-inline: auto;

  .layout {
    display: flex;
    height: 100vh;
  }
  * {
    padding: 0;
    margin: 0;
  }
  a {
    color: var(--gray950);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  ul,
  li,
  ol {
    list-style: none;
  }
  @media (width < 768px) {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }

  .light {
    font-weight: var(--light);
  }
  .demilight {
    font-weight: var(--regular);
  }
  .regular {
    font-weight: var(--regular);
  }
  .medium {
    font-weight: var(--semibold);
  }
  .semibold {
    font-weight: var(--semibold);
  }
  .bold {
    font-weight: var(--bold);
  }
  .product-title {
    font-size: 28px;
    font-weight: 600;
    &:has(span:nth-child(7)) {
      font-size: 20px;
    }
    span {
      display: block;
    }
  }
  .model-name {
    display: none;
  }
  [class*="empty"] {
    display: block;
    height: 200px;
  }

  /* -------------------------------------------------------------------------- */
  /*                                   Sidebar                                  */
  /* -------------------------------------------------------------------------- */
  .sidebar {
    width: var(--sidebar-width);
    border-right: 1px solid var(--gray100);
    display: flex;
    flex-direction: column;
    padding: 60px 24px 60px 48px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: content-box;
    @media (max-width: 767px) {
      position: fixed;
      left: -356px;
      z-index: 1000;
      height: 100vh;
      padding: 20px;
      background-color: var(--white);
      top: 0;
    }
    .product-title {
      border-bottom: 1px solid var(--gray100);
      padding-bottom: 16px;
      word-break: break-all;
    }
    .language-select-wrapper {
      display: none;
      .language-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        .sidebar-actions {
          display: flex;
          align-items: center;
          gap: 8px;
        }
        .toc-toggle-all {
          border: 1px solid var(--gray200);
          background: var(--white);
          color: var(--gray800);
          border-radius: 4px;
          font-size: 12px;
          line-height: 1;
          padding: 6px 8px;
          cursor: pointer;
        }
        .toc-toggle-all:hover {
          border-color: var(--gray300);
          color: var(--gray950);
        }
        .sidebar-close {
          display: none;
          border: none;
          background-color: transparent;
          cursor: pointer;
        }
        @media (width < 768px) {
          .sidebar-close {
            display: block;
          }
        }
      }
      label {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 16px;
        color: var(--gray950);
        span {
          color: var(--primary);
          line-height: 1;
          translate: 0 5px;
        }
      }

      .custom-select {
        position: relative;

        .custom-select__trigger {
          width: 100%;
          height: 36px;
          padding-inline: 12px;
          border-radius: 4px;
          border: 1px solid var(--gray200);
          background: url("https://hvsiwebgblstorageprd.blob.core.windows.net/hanwha-resource/manual/converter-Manuals_PNM-A32084RQZ,PNM-A20084RQZ,PNM-A24084RTZ,PNM-A15084RTZ_261019-JA/source/ico_select.svg") no-repeat right 12px
            center / 16px auto var(--white);
          color: var(--gray950);
          font-size: 16px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          cursor: pointer;
          text-align: left;
        }

        .custom-select__label {
          flex: 1;
        }

        .custom-select__list {
          position: absolute;
          top: calc(100% + 6px);
          left: 0;
          right: 0;
          background: var(--white);
          border-radius: 7px;
          box-shadow: 0px 4px 24px 0px #66666626;
          padding: 8px;
          display: none;
          max-height: 220px;
          overflow-y: auto;
          z-index: 5;
          &::-webkit-scrollbar {
            width: 3px;
            background-color: transparent;
            border-radius: 100px;
          }
          &::-webkit-scrollbar-thumb {
            width: 3px;
            background-color: var(--gray350);
            border-radius: 100px;
          }
        }

        .custom-select__option {
          width: 100%;
          border: none;
          background: transparent;
          padding: 7px;
          font-size: 16px;
          color: var(--gray950);
          text-align: left;
          cursor: pointer;
        }

        .custom-select__option:hover,
        .custom-select__option:focus {
          background: var(--gray50);
          outline: none;
        }

        .custom-select__option[aria-selected="true"] {
          color: var(--primary);
          font-weight: 600;
        }

        &.is-open {
          .custom-select__list {
            display: block;
          }

          .custom-select__trigger {
            border-color: var(--gray300);
          }
        }

        &.is-placeholder {
          .custom-select__label {
            color: var(--gray400);
          }
        }
      }
    }

    .toc {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      margin-top: 16px;
      &::-webkit-scrollbar {
        width: 6px;
      }
      &::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0);
        border-radius: 10px;
      }
      &:hover {
        &::-webkit-scrollbar-thumb {
          background: rgba(0, 0, 0, 0.03);
        }
      }
      ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }
      li {
        cursor: pointer;
        transition: 0.2s;

        &.active {
          --fw: 600;
          color: var(--primary);
          font-weight: 700;
        }

        &.depth-1 {
          &:not(.collapsed) {
            padding-bottom: 24px;
            margin-bottom: 24px;
            border-bottom: 1px solid var(--gray100);
          }
          > ul {
            display: grid;
            gap: 20px;
            padding-left: 12px;
            padding-top: 24px;
          }
        }
        &.depth-2:not(:has(ul)) span {
          &::after {
            display: none;
          }
        }
        &.depth-2 {
          &:first-child {
            --top: 8px;
          }
          &.active {
            --dot: var(--primary);
          }
          > span {
            display: block;
            font-weight: 500;
            font-size: 16px;
            line-height: 140%;
            word-break: keep-all;
            color: var(--gray950);
            position: relative;
            &::before {
              position: absolute;
              left: -12px;
              top: var(--top, 11px);
              content: "";
              width: 3px;
              border-radius: 100%;
              height: 3px;
              background-color: var(--dot, var(--gray950));
            }
          }
          &:not(:has(ul)) > span {
            color: var(--gray950);
            display: block;
            padding-block: 3px;
          }
          &:not(:has(ul)).active > span {
            color: var(--primary);
          }

          > ul {
            margin-block: 16px 4px;
            display: grid;
            background: linear-gradient(
                to right,
                var(--gray100),
                var(--gray100)
              )
              no-repeat 0 0 / 1px 100%;
          }
        }

        &.depth-3 {
          padding-block: 3px;
          font-size: 16px;
          line-height: 24px;
          letter-spacing: -0.02em;
          color: var(--gray950);
          font-weight: 400;
          &:first-child {
            padding-top: 0;
          }
          > span {
            display: block;
            padding-block: 4px;
            padding-left: 20px;
            color: var(--gray950);
          }
          &:has(.depth-4.active),
          &.active {
            --bar: var(--primary);
            color: var(--primary);
            background: linear-gradient(to right, var(--bar), var(--bar))
              no-repeat 0 0 / 2px 100%;
            background-clip: content-box;
          }
          &.active > span {
            color: var(--primary);
          }
          > ul {
            padding-block: 12px;
          }
        }

        &.depth-4 {
          display: grid;
          grid-template-columns: 20px 1fr;
          align-items: center;
          font-size: 14px;
          color: var(--gray950);
          padding-left: 16px;
          font-weight: 400;
          &::before {
            content: "";
            width: 2.5px;
            height: 2.5px;
            border-radius: 100px;
            background-color: var(--gray950);
            justify-self: center;
            margin-top: 10px;
            align-self: start;
          }
        }

        &.toc-root-item {
          --manual-toggle: url("https://hvsiwebgblstorageprd.blob.core.windows.net/hanwha-resource/manual/converter-Manuals_PNM-A32084RQZ,PNM-A20084RQZ,PNM-A24084RTZ,PNM-A15084RTZ_261019-JA/source/ico_toggle_off.svg");
          &:not(.collapsed) {
            --color: var(--primary);
            /* --color: var(--gray400); */
          }
          > span {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            padding: 14.5px 0;
            color: var(--color);
            font-weight: 400;
            font-size: 20px;
            line-height: 1;
            letter-spacing: -0.02em;
            &::after {
              content: var(--manual-toggle);
            }
          }

          &.collapsed {
            --color: var(--gray950);
            --manual-toggle: url("https://hvsiwebgblstorageprd.blob.core.windows.net/hanwha-resource/manual/converter-Manuals_PNM-A32084RQZ,PNM-A20084RQZ,PNM-A24084RTZ,PNM-A15084RTZ_261019-JA/source/ico_toggle_on.svg");
          }
        }
      }
    }
  }

  /* -------------------------------------------------------------------------- */
  /*                                   Content                                  */
  /* -------------------------------------------------------------------------- */
  .content {
    position: relative;
    flex: 1;
    overflow-y: auto;
    height: 100vh;
    background: var(--panel);
    scroll-behavior: smooth;
    .product-title {
      color: var(--primary);
      padding: 60px 48px 0;
      span {
        padding-right: 4px;
      }
      @media (max-width: 767px) {
        padding: 60px 24px 0;
      }
    }
    &::-webkit-scrollbar {
      width: 6px;
    }
    &::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.1);
      border-radius: 10px;
    }
    .content-inner {
      padding: 48px 48px 120px;
      @media (max-width: 767px) {
        padding: 48px 24px 120px;
      }
      > img:nth-child(1),
      > img:nth-child(2) {
        display: none;
      }
      section {
        margin-bottom: 120px;
        h2 {
          font-size: 38px;
          font-weight: 700;
          margin-bottom: 24px;
          letter-spacing: -0.03em;
        }
        h3 {
          font-size: 22px;
          margin-top: 48px;
          font-weight: 700;
        }
        p {
          font-size: 17px;
          line-height: 1.8;
          color: var(--text-muted);
          word-break: keep-all;
        }
      }
    }
  }

  /* -------------------------------------------------------------------------- */
  /*                                   Search                                   */
  /* -------------------------------------------------------------------------- */
  .search-container {
    display: grid;
    /* grid-template-columns: min-content 1fr min-content; */
    gap: 12px;
    position: fixed;
    bottom: 32px;
    left: 50%;
    translate: -50% 0;
    z-index: 1000;
    margin-left: calc(var(--sidebar-width) / 2);
    @media (max-width: 767px) {
      left: 12px;
      right: 12px;
      translate: 0;
      margin-left: 0;
    }
    .search-icon {
      width: 24px;
      height: 24px;
      background: url("https://hvsiwebgblstorageprd.blob.core.windows.net/hanwha-resource/manual/converter-Manuals_PNM-A32084RQZ,PNM-A20084RQZ,PNM-A24084RTZ,PNM-A15084RTZ_261019-JA/source/ico_search.svg") no-repeat center / contain;
    }
    .search-box {
      position: relative;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(20px);
      border: 1px solid var(--primary);
      border-radius: 40px;
      padding: 0 28px;
      box-shadow: 0px 4px 24px 0px #6666664d;
      display: grid;
      grid-template-columns: min-content 1fr min-content;
      align-items: center;
      gap: 12px;
      white-space: nowrap;
      input {
        border: none;
        outline: none;
        background: transparent;
        width: 280px;
        height: 63px;
        font-size: 16px;
        &::placeholder {
          color: var(--gray400);
        }
        @media (max-width: 767px) {
          width: 100%;
        }
      }
      #count {
        color: var(--primary);
        font-weight: 700;
        font-size: 14px;
        i {
          color: var(--gray200);
          font-style: normal;
          font-weight: 400;
        }
        em {
          font-style: normal;
          font-weight: 400;
          color: var(--gray400);
        }
      }
    }
    .search-results-list {
      gap: 8px;
      position: absolute;
      bottom: calc(100% + 12px);
      width: 410px;
      left: 0;

      background: var(--white);
      backdrop-filter: blur(20px);
      border-radius: 12px;
      border: 1px solid var(--primary);
      box-shadow: 0px 4px 24px 0px #6666664d;
      padding: 12px;
      margin: 0;
      list-style: none;
      max-height: 300px;
      overflow-y: auto;
      display: none;
      font-size: 14px;
      box-sizing: border-box;
      @media (max-width: 767px) {
        width: 100%;
      }
      &.active {
        display: block;
        animation: slideUp 0.3s ease;
      }

      li {
        padding: 8px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        color: var(--gray400);
        transition: all 0.2s ease;
        .result-item-inner {
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: normal;
          word-break: break-all;
        }

        &:hover {
          background: #fff6eb;
        }

        mark {
          background: transparent;
          color: var(--primary);
          font-weight: 600;
          text-decoration: underline;
          text-underline-offset: 2px;
        }

        &:last-child {
          margin-bottom: 0;
        }
      }
    }
  }
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /* -------------------------------------------------------------------------- */
  /*                                    Mark                                    */
  /* -------------------------------------------------------------------------- */
  mark {
    background: var(--highlight);
    border-radius: 4px;
    padding: 0 2px;
    &.current {
      background: var(--primary);
      color: #fff;
      box-shadow: 0 4px 12px rgba(49, 130, 246, 0.3);
    }
  }

  /* -------------------------------------------------------------------------- */
  /*                                 Responsive                                 */
  /* -------------------------------------------------------------------------- */
  .mobile-header {
    display: none;
    position: fixed;
    inset: 50% 20px auto auto;
    z-index: 1000;
    translate: 0 -50%;
    @media (max-width: 767px) {
      display: block;
    }
    .toc-toggle {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: url("https://hvsiwebgblstorageprd.blob.core.windows.net/hanwha-resource/manual/converter-Manuals_PNM-A32084RQZ,PNM-A20084RQZ,PNM-A24084RTZ,PNM-A15084RTZ_261019-JA/source/menu.svg") no-repeat center var(--primary);
      outline: none;
      border: none;
      cursor: pointer;
      box-shadow: 0px 4px 24px 0px #6666664d;
    }
    .mobile-logo {
      font-weight: 700;
      font-size: 18px;
    }
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    box-sizing: content-box;
  }
  .sidebar-overlay.active {
    /* display: block; */
  }
  @media (max-width: 767px) {
    .sidebar.open {
      --sidebar-width: 100%;
      box-sizing: border-box;
      left: 0;
    }
  }
}
body:has(.sidebar.open) {
  overflow: hidden;
  .search-container {
    display: none;
  }
}

.manual {
  /* -------------------------------------------------------------------------- */
  /*                                   heading                                  */
  /* -------------------------------------------------------------------------- */
  .heading_type1 {
    font-weight: 200;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.02em;
    color: var(--gray950);
    ~ .heading_type1 {
      margin-top: 80px;
    }
  }
  .heading_type2 {
    font-weight: 600;
    font-size: 28px;
    line-height: 33px;
    letter-spacing: -0.02em;
    color: var(--gray950);
    margin-block: 48px 24px;
    padding-top: 48px;
    border-top: 1px solid var(--gray200);
  }
  .heading_type3 {
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: var(--gray950);
    margin-block: 44px 24px;
  }
  .heading_type4 {
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -2%;
    color: var(--gray950);
    margin-block: 40px 15px;

    &:has([src*="1.png"], [src*="2.png"]) {
      display: flex;
      gap: 8px;
      padding-bottom: 8px;
      img {
        width: 28px;
        object-fit: contain;
      }
    }
  }
  .heading_type5 {
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -2%;
    color: var(--gray950);
    padding-block: 30px 15px;
    &:has([src*="1.png"], [src*="2.png"]) {
      display: flex;
      gap: 8px;
      padding-bottom: 8px;
      img {
        width: 28px;
        object-fit: contain;
      }
    }
  }
  [class*="heading_type6"] {
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -2%;
    color: var(--gray950);
    padding-block: 30px 10px;
  }

  /* -------------------------------------------------------------------------- */
  /*                                 Typography                                 */
  /* -------------------------------------------------------------------------- */
  .text-xs {
    font-size: 12px;
    color: var(--color, var(--gray950));
  }
  .text-sm {
    font-size: 14px;
    color: var(--color, var(--gray950));
    line-height: 20px;
  }
  .text-base {
    font-size: 16px;
    color: var(--color, var(--gray950));
    line-height: 24px;
  }
  .text-md {
    font-size: 18px;
    color: var(--color, var(--gray950));
    &:has([src*="5.png"], [src*="4.png"]) {
      padding-top: 7px;
    }
  }
  ul + .text-md {
    padding-top: 24px;
    &:has([src*="5.png"], [src*="4.png"]) {
      padding-top: 26px;
    }
  }

  .text-lg {
    font-size: 20px;
    color: var(--color, var(--gray950));
  }
  .text-4xl {
    font-size: 60px;
    color: var(--color, var(--gray950));
  }

  .bold-100 {
    font-weight: 100;
  }
  .bold-200 {
    font-weight: 200;
  }
  .bold-300 {
    font-weight: 300;
  }
  .bold-400 {
    font-weight: 400;
  }
  .bold-500 {
    font-weight: 500;
  }
  .bold-600 {
    font-weight: 600;
  }
  .bold-700 {
    font-weight: 700;
  }
  .bold-800 {
    font-weight: 800;
  }
  .bold-900 {
    font-weight: 900;
  }
  [class*="hidden"] {
    display: none;
  }

  /* -------------------------------------------------------------------------- */
  /*                                    Table                                   */
  /* -------------------------------------------------------------------------- */
  table {
    width: 100%;
    border-collapse: collapse;
    margin-block: 24px 30px;
    img {
      @media (width < 768px) {
        max-width: 100%;
        height: auto;
      }
    }
    [class*="RoundNum"] {
      display: inline-block;
      width: 24px;
      height: 24px;
      border-radius: 100%;
      background-color: var(--gray950);
      color: var(--white);
      font-size: 14px;
      align-content: center;
      text-align: center;
    }
    &.type1 {
      border: 1px solid var(--black);
      table-layout: fixed;
      margin-top: 16px;
      colgroup {
        display: none;
      }
      td {
        padding: 24px 0;
        &:nth-child(1) {
          width: 60px;
        }
        &:nth-child(2) {
          width: 90px;
        }
      }
      img {
        max-width: 100%;
      }
    }
    &.type2 {
      border-top: 2px solid var(--primary);
      border-bottom: 1px solid var(--primary);
      .th {
        padding: 10px;
        background-color: var(--gray75);
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -2%;
        color: var(--gray950);
        border-bottom: 1px solid var(--gray200);
        border-right: 1px solid var(--gray200);
        &:first-child {
          border-left: none;
        }
        .text-base {
          --color: var(--gray950);
        }
      }
      td {
        padding: 10px;
        border-top: 1px solid var(--gray200);
        border-left: 1px solid var(--gray200);
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: #555;
        letter-spacing: -2%;
        text-align: center;
      }
      tr {
        &:not(:first-child) {
          .th {
            background-color: var(--gray50);
            font-weight: 300;
          }
        }
        &:last-child {
          .th {
            border-bottom-color: var(--primary);
          }
        }
      }
      img {
        max-width: 100%;
      }
    }
    &.type3 {
      border: none;
      [class*="text-list-"] {
        margin-top: 0;
      }
      col {
        width: calc(100% / var(--col));
      }
      th,
      td {
        border: none;
      }
      td:first-child {
        width: 0;
        vertical-align: top;
        padding-right: 8px;
        img {
          max-width: 300px;
        }
      }
      img {
        max-width: 100%;
      }
    }
    &.type4 {
      td + td {
        border-left: 1px dashed var(--black);
      }
    }
    &.type5,
    &.type6,
    &.type7,
    &.type8 {
      border-top: 2px solid var(--primary);
      border-bottom: 1px solid var(--primary);
      tr:not(:has(> :not(.th))) {
        .th {
          background-color: var(--gray75);
          &:first-child {
            background-color: var(--gray75);
          }
          &:last-child {
            border-right: none;
          }
        }
      }
      tr:first-child:has(.th):not(:has(~ tr .th)) {
        .th {
          background-color: var(--gray75);
          &:first-child {
            border-left: none;
          }
        }
        ~ tr > td:first-child {
          border-left: none;
        }
      }

      tbody {
        .th:first-child {
          border-left: none;
          background-color: var(--gray50);
        }
      }
      &:has(tbody .th) thead {
        .th:first-child {
          background-color: var(--gray75) !important;
        }
      }
      .th {
        padding: 10px;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -2%;
        color: var(--gray950);
        border-right: 1px solid var(--gray100);
        border-top: 1px solid var(--gray100);
      }
      td {
        padding: 10px;
        border-left: 1px solid var(--gray100);
        border-top: 1px solid var(--gray100);
        font-family: Pretendard, sans-serif;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -2%;
        color: #555;
        ul[class*="text-list-type"] {
          text-align: left;
        }
      }
    }

    &.type6 {
      tbody {
        td:first-child {
          border-left: none;
        }
      }
    }
    /* &.type8:has(thead .th) {
      thead {
        .th:first-child {
          background-color: var(--orange300) !important;
        }
      }
    } */
    &[class*="type12"] {
      border: 1px solid var(--primary);
      td {
        padding: 16px 16px 16px 0;
        vertical-align: top;
        ul:first-child {
          padding-block: 0;
        }
      }
      > tbody > tr > td:first-child {
        padding: 16px 0 16px 16px;
        width: 34px;
        [class*="text-"] {
          font-size: 0;
          line-height: 0;
        }
        img {
          width: 20px;
        }
      }
    }
    /* &.type11 {
      border-top: 1px solid var(--gray800);
      border-bottom: 1px solid var(--gray800);
      thead {
        th {
          background-color: var(--orange100);
          &:last-child {
            border-right: none;
          }
        }
      }
      th {
        padding: 10px;
        font-weight: 600;
        font-size: 18px;
        line-height: 140%;
        letter-spacing: -2%;
        border-right: 1px solid var(--gray800);
        border-bottom: 1px solid var(--gray800);
      }
      td {
        padding: 10px;
        border-bottom: 1px solid var(--gray800);
        font-family: Pretendard, sans-serif;
        font-size: 18px;
        line-height: 140%;
        letter-spacing: -2%;
        text-align: center;
        color: var(--gray400);
        + td {
          border-left: 1px solid var(--gray800);
        }
      }
    } */

    &.type5 {
      td {
        padding: 10px;
        text-align: center;
      }
    }
    &.type13 {
      border: 1px solid var(--gray950);
      td {
        padding: 10px;
      }
      [colspan] {
        border-top: 1px solid var(--gray950);
      }
      table {
        margin-top: 0;
        border: 1px solid var(--gray950);
        tr:first-child {
          td {
            background-color: var(--gray950);
            color: var(--white);
            text-align: center;
          }
        }
      }
    }
    &.type14 {
      td:first-child {
        width: 130px;
      }
    }
    &.type14,
    &.type14-fixed {
      border: 1px solid var(--gray100);
      color: var(--gray950);
      font-size: 16px;
      line-height: 24px;
      letter-spacing: -2%;
      td {
        padding: 24px;
        vertical-align: top;
        &:first-child {
          padding-right: 0;
        }
      }
      [class*="UnderLine"] {
        font-size: 20px;
        font-weight: 700;
        line-height: 140%;
        border-bottom: 1px solid var(--gray100);
        padding-bottom: 12px;
        margin-bottom: 12px;
      }
      [colspan] {
        padding: 16px !important;
        padding-top: 0 !important;
      }
    }
  }
  .table-type4 {
    border: 1px solid var(--black);
    padding: 20px;
    > table {
      margin-top: 0;
    }
  }
  .table-mobile {
    overflow-x: auto;
    &:has(.type3) {
      overflow: visible;
    }
    > table {
      width: 1024px;
      &.type3 {
        width: 100%;
      }
    }
  }

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

  /* -------------------------------------------------------------------------- */
  /*                                  Text List                                 */
  /* -------------------------------------------------------------------------- */

  [class*="text-list"] {
    display: grid;
    gap: 16px;
    color: var(--gray950);
    padding-block: 8px 15px;
    img {
      line-height: 0;
      font-size: 0;
      vertical-align: text-top;
    }
    > li {
      padding-left: var(--pl, 20px);
      text-indent: calc(var(--ti, 20px) * -1);
      &[class*="-7-"] {
        font-size: 16px;
      }
      &[class*="-7-5-"] {
        font-size: 17px;
      }
      &[class*="-8-"] {
        font-size: 18px;
      }
      &[class*="-8-5-"] {
        font-size: 19px;
      }
      &[class*="light"] {
        font-weight: var(--light);
      }
      &[class*="semibold"] {
        font-weight: var(--semibold);
      }
      &[class*="bold"] {
        font-weight: var(--bold);
      }
      &[class*="demilight"] {
        font-weight: var(--regular);
      }
      &[class*="medium"] {
        font-weight: var(--semibold);
      }
      &[class*="12-regular"] {
        font-weight: var(--semibold);
      }
      strong,
      b {
        font-weight: 700 !important;
      }
      > .number,
      &::before {
        content: "";
        display: inline-block;
        width: var(--size);
        height: var(--size);
        background: var(--dotBg);
        border-radius: 100%;
        translate: var(--position);
        margin-right: var(--mr, 20px);
        text-indent: 0;
      }
      > img {
        max-width: 15px;
      }
      > ul {
        grid-column: span 2;
        padding-block: 4px 0;
        margin-top: 0;
      }
      > .text-list-type11 {
        padding-top: 0;
      }
      &:has(.number) {
        &::before {
          display: none;
        }
      }
    }
    &.text-list-type1 {
      > li {
        --pl: 25px;
        --ti: 25px;
        > .number {
          --size: 25px;
          --mr: 0;
        }
      }
    }
    &.text-list-type2 {
      --size: 12px;
      --dotBg: var(--gray950);
      --position: 0 0;
      --pl: 18px;
      --ti: 18px;
      --mr: 5px;
      > li::before {
        border: 4px solid var(--white);
        outline: 1px solid rgba(24, 24, 24, 0.2);
        box-sizing: border-box;
      }
    }
    &.text-list-type10,
    &.text-list-type3 {
      --size: 8px;
      --dotBg: var(--white);
      --position: 0 -2px;
      --pl: 16px;
      --ti: 16px;
      --mr: 8px;
      line-height: 24px;

      > li::before {
        border: 2px solid var(--gray950);
        box-sizing: border-box;
      }

      ul {
        padding-bottom: 0;
      }
    }
    &.text-list-type4 {
      --size: 20px;
      --dotBg: url("https://hvsiwebgblstorageprd.blob.core.windows.net/hanwha-resource/manual/converter-Manuals_PNM-A32084RQZ,PNM-A20084RQZ,PNM-A24084RTZ,PNM-A15084RTZ_261019-JA/source/ico_check.svg") no-repeat center / contain;
      --position: 0 5px;
      --mr: 4px;
      --pl: 25px;
      --ti: 25px;
    }
    &.text-list-type5 {
      --size: 17px;
      --dotBg: linear-gradient(to right, var(--gray950), var(--gray950))
        no-repeat center / 4px 1px;
      --position: 0 5px;
      --mr: 0;
      color: var(--gray950);
      font-size: 14px;
    }
    &.text-list-type6 {
      --size: 12px;
      --dotBg: url("https://hvsiwebgblstorageprd.blob.core.windows.net/hanwha-resource/manual/converter-Manuals_PNM-A32084RQZ,PNM-A20084RQZ,PNM-A24084RTZ,PNM-A15084RTZ_261019-JA/source/ico_list6.svg") no-repeat center / 4px auto;
      --position: 0 -1px;
      --mr: 7px;
      > li::before {
        border: 1px solid rgba(24, 24, 24, 0.2);
        box-sizing: border-box;
      }
    }
    &.text-list-type7 {
      --position: 0 0;
      --pl: 28px;
      --ti: 28px;
      --mr: 6px;
      counter-reset: type7 calc(var(--start, 1) - 1);
      > li {
        grid-template-columns: min-content 1fr;
        gap: 4px;
        counter-increment: type7;
        &::before {
          white-space: nowrap;
          content: "1-" counter(type7);
        }
      }
    }
    &.text-list-type8 {
      --position: 0 0;
      --pl: 30px;
      --ti: 30px;
      --mr: 6px;
      --prefix: 2;

      > li {
        > .number {
          white-space: nowrap;
        }
      }
    }
    &.text-list-type9 {
      --position: 0 -1px;
      --pl: 30px;
      --ti: 30px;
      --mr: 11px;
      --size: 17px;
      counter-reset: type9 calc(var(--start, 1) - 1);
      > li {
        counter-increment: type9;
        gap: 4px;
        &::before {
          content: counter(type9);
          border: 1px solid var(--gray950);
          aspect-ratio: 1;
          text-align: center;
          align-content: center;
          line-height: 1;
          font-size: 14px;
        }
      }
    }
    &.text-list-type11 {
      --size: 20px;
      --dotBg: url("https://hvsiwebgblstorageprd.blob.core.windows.net/hanwha-resource/manual/converter-Manuals_PNM-A32084RQZ,PNM-A20084RQZ,PNM-A24084RTZ,PNM-A15084RTZ_261019-JA/source/ico_bill.svg") no-repeat center / contain;
      --position: 0 3px;
      --mr: 0px;
      --pl: 20px;
      --ti: 20px;
    }
  }

  /* -------------------------------------------------------------------------- */
  /*                                 Tobe Delete                                */
  /* -------------------------------------------------------------------------- */
  .content-inner > img:last-child,
  [class*="cover_"],
  [class*="contents_"] {
    display: none;
  }
}

html:has(.manual) {
  &[lang] {
    --font-en: system-ui, sans-serif;
    --font-de: system-ui, sans-serif;
    --font-zh: "Noto Sans SC", "PingFang SC", sans-serif;
    --font-th: "Noto Sans Thai", sans-serif;
    --font-ru: "Noto Sans", sans-serif;

    --word-break: break-word;
    --line-break: auto;
    --hyphens: manual;

    word-break: var(--word-break, keep-all);
    line-break: var(--line-break);
    hyphens: var(--hyphens);
  }

  &[lang="en"] {
    font-family: var(--font-en);
    --word-break: normal;
  }

  &[lang="de"] {
    font-family: var(--font-de);
    --word-break: break-word;
    --hyphens: auto;
  }

  &[lang="zh"] {
    font-family: var(--font-zh);
    --word-break: break-all;
    --line-break: strict;
  }

  &[lang="th"] {
    font-family: var(--font-th);
    --word-break: break-word;
    --line-break: loose;
  }

  &[lang="ru"] {
    font-family: var(--font-ru);
    --word-break: break-word;
  }

  &[lang="de"] .manual {
    button,
    .btn {
      white-space: normal;
    }
  }
}
