.ai-open {
  --point-color:#fd7903;
  overflow: hidden;
}
.ai-open #wrapper {
  overflow-y: auto;
  height: 100vh;
  padding: 0;
}
.ai-open #footer_wrap {
  position: static;
}
.ai-open .header_lnb.on {
  width: calc(100% - 600px);
  right: unset;
  left: 0;
}

.ai-open #header_wrap,
.ai-open #wrapper {
  width: calc(100% - 600px);
}

p {
  white-space: pre-wrap;
}

.ai-view {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 600px;
  height: 100vh;
  z-index: 100001;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-height: 0;
  background-color: #f2f2f2;
  text-underline-offset: 3px;
}
.ai-open .ai-view {
  display: block;
}
@media screen and (max-width: 1023px) {
  .ai-view {
    width: 100% !important;
  }
}

.ai-view-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  height: 100vh;
  min-height: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
}

.ai-view .ai-view-header {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  z-index: 30;
  padding-left: 88px;
  background: url(/images/img/aipopup/ai-view-header-bg.png) 0 0 no-repeat;
  background-size: 100% 100%;
  height: 80px;
  -webkit-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
          box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
}
.ai-view .ai-view-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 68px;
  height: 114px;
  background-image: url("/images/img/aipopup/ai-logo-new.png");
  background-repeat: no-repeat;
  background-size: 68px auto;
  background-position: center center;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-view .ai-view-header::before {
    background-image: url("/images/img/aipopup/ai-logo-new@2x.png");
  }
}

.ai-view .layer-title {
  color: #000;
}

.ai-view .layer-title h2 {
  padding-top: 16px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: -0.5px;
  text-align: left;
}

.ai-view .layer-title p {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: -0.35px;
}

.ai-view-header .btn-ai-view-close {
  position: absolute;
  right: 22px;
  top: 21px;
  width: 36px;
  height: 36px;
  background-image: url("/images/img/aipopup/btn-close.png");
  background-repeat: no-repeat;
  background-size: 20px auto;
  background-position: center center;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-view-header .btn-ai-view-close {
    background-image: url("/images/img/aipopup/btn-close@2x.png");
  }
}

.ai-view-header .btn-ai-reset {
  position: absolute;
  right: 61px;
  top: 22px;
  width: 36px;
  height: 36px;
  background-image: url("/images/img/aipopup/btn-reset.png");
  background-repeat: no-repeat;
  background-size: 26px auto;
  background-position: center center;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-view-header .btn-ai-reset {
    background-image: url("/images/img/aipopup/btn-reset@2x.png");
  }
}

.layer-main {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 20px;
  padding-top: 0;
  overflow-y: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.contents-header {
  position: relative;
  z-index: 20;
  padding: 20px 50px 0;
  font-size: 18px;
  line-height: 1.33;
  letter-spacing: -0.45px;
  text-align: center;
  color: #000;
}
.contents-header .title {
  font-weight: bold;
}
.contents-header .sub-title {
  font-weight: normal;
}

.summary-options-wrapper {
  position: sticky;
  top: 20px;
  z-index: 10;
  background-color: #f2f2f2;
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 109px;
  gap: 8px;
  -webkit-box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.08);
          box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.08);
  margin: 0 -20px;
  padding-inline: 20px;
  padding-bottom: 10px;
}
.summary-options-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: -20px;
  width: 100%;
  height: 20px;
  background-color: #f2f2f2;
}
.summary-options-wrapper .tab-help {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 6px 9px;
  border: solid 1px rgba(30, 56, 113, 0.75);
  background-color: #fff;
  font-size: 14px;
}
.summary-options-wrapper a:hover + .tab-help {
  display: block;
}

.con-trans {
  position: relative;
}
.con-trans .btn-trans {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 42px;
  padding: 12px 25px;
  border-radius: 5px;
  border: solid 1px rgba(30, 56, 113, 0.75);
  background-color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: -0.4px;
  text-align: center;
  color: #1e3871;
}
.con-trans .btn-trans:hover, .con-trans .btn-trans:focus {
  color: #fff;
  background-color: #1e3871;
}
.con-trans .btn-trans.disabled {
  color: #999999;
  pointer-events: none;
}
.con-trans .btn-trans.disabled:hover, .con-trans .btn-trans.disabled:focus {
  color: #5e5e5e;
  background-color: #fff;
  cursor: not-allowed;
}
.con-trans .tab-help {
  left: unset;
  right: 0;
}

.summary-options-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px rgba(255, 133, 2, 0.75);
  text-align: center;
}

.summary-options-tabs a {
  color: var(--point-color);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.summary-options-tabs a.disabled {
  color: #999999;
  pointer-events: none;
}

.summary-options-tabs a .sm-fnt {
  font-size: 12px;
  font-weight: 300;
}

.summary-options-tabs li {
  width: 25%;
  position: relative;
}
.summary-options-tabs li:not(:first-child, :has(.on), :has(.on) + li)::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 1px;
  height: 26px;
  background: #dcdcdc;
}

.summary-options-tabs li:nth-child(3) a {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.summary-options-tabs a:hover,
.summary-options-tabs a.on {
  color: #fff;
  background-color: var(--point-color);
}

.summary-options-tabs a .sm-fnt {
  font-size: 12px;
  font-weight: 300;
}

.option-text-view {
  border-radius: 30px;
  border: 1px solid #aad3e7;
  background: #fff;
  width: 100%;
  padding: 0 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 44px;
  margin-bottom: 8px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.option-text-view p {
  border: none;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.71;
}

.layer-contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  font-size: 14px;
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 12px;
  color: #333;
  line-height: 160%;
  overflow-y: auto;
  min-height: 0;
}

.layer-contents p {
  font-size: 16px;
  line-height: 150%;
  word-break: normal;
}

.contents-view {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  min-height: 0;
}

.select-view {
  padding: 14px 20px;
  border-radius: 18px;
  background: #fff;
}

.select-view-title, .text-view-title {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: bold;
  color: var(--point-color);
}

.select-card ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 9px;
}
.select-card li {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border: solid 1px #bbb;
  border-radius: 5px;
  padding: 10px 14px;
}
.select-card a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #333;
  font-size: 16px;
  line-height: normal;
}
.select-card a::after {
  content: "";
  width: 17px;
  height: 14px;
  margin-left: 10px;
  background-image: url("/images/img/aipopup/ico-submit.png");
  background-repeat: no-repeat;
  background-size: 17px auto;
  background-position: center center;
}
/* btn-download, btn-print 클래스를 가진 A 태그에는 종이비행기 아이콘 제거 */
.select-card a.btn-download::after,
.select-card a.btn-print::after {
  content: none;
  display: none;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .select-card a::after {
    background-image: url("/images/img/aipopup/ico-submit@2x.png");
  }
  .select-card a.btn-download::after,
  .select-card a.btn-print::after {
    content: none;
    display: none;
  }
}
.select-card a:hover .text {
  text-decoration: underline;
  color: #000;
}
.select-card .num, .select-card .tit {
  font-weight: bold;
  margin-right: 6px;
  font-size: 12px;
  line-height: normal;
  color: var(--point-color);
}
.select-card .num {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 30px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.select-card .num::before {
  content: "Q";
}

.select-answer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--point-color);
}
.answer-card {
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.layer-contents::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.layer-contents::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #ececec;
}

.layer-contents::-webkit-scrollbar-track:hover {
  background-color: #ececec;
}

.layer-contents::-webkit-scrollbar-track:active {
  background-color: #ececec;
}

.layer-contents::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #b9cfd9;
}

.layer-contents::-webkit-scrollbar-thumb:hover {
  background-color: #b9cfd9;
}

.layer-contents::-webkit-scrollbar-thumb:active {
  background-color: #b9cfd9;
}

.text-view-title {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--point-color);
}

.text-view {
  white-space: wrap;
  height: auto;
  word-break: keep-all;
  padding: 14px 20px;
  background: #fff;
  border-radius: 18px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.ai-view .util-btns {
  padding: 5px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.ai-view .util-btns-trans a {
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  overflow: hidden;
  text-indent: -100px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  scale: 0.7;
}

.ai-view .util-btns-trans a.btn-download {
  background-image: url(/images/img/aipopup/ico-download.png);
  background-size: auto;
}

.ai-view .util-btns-trans a.btn-copy {
  background-image: url(/images/img/aipopup/ico-copy.png);
}

.new_icoDocument {
  width: 13px;
  margin-left: 10px;
}

.trans-view {
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  margin-bottom: 22px;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.trans-view .util-btns {
  margin: 0;
}

.trans-view .file a {
  font-weight: bold;
  color: var(--point-color);
}

.trans-view .file a:hover {
  text-decoration: underline;
}

@media (max-width: 639px) {
  .layer-main {
    padding: 8px;
  }
  .ai-view .layer-title h2 {
    font-size: 18px;
  }
  .ai-view .layer-title p {
    font-size: 12px;
  }
  .contents-header .title {
    font-size: 20px;
  }
  .contents-header .sub-title {
    font-size: 14px;
  }
  .main-tabs a {
    font-size: 18px;
  }
  .summary-options-wrapper {
    padding: 10px;
  }
  .summary-options-wrapper:after {
    display: none;
  }
  .summary-options-tabs {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .summary-options-tabs li {
    width: calc((100% - 16px) / 2);
  }
  .layer-contents {
    padding: 16px 10px;
  }
  .option-text-view p {
    font-size: 14px;
  }
  .select-card a {
    font-size: 13px;
  }
  .layer-contents p {
    font-size: 12px;
  }
  .answer-card {
    padding: 10px;
  }
}
@media (max-width: 360px) {
  .main-tabs a {
    font-size: 16px;
  }
  .main-tabs a:before {
    display: none;
  }
  .summary-options-tabs a {
    font-size: 13px;
  }
  .summary-options-tabs a .sm-fnt {
    font-size: 11px;
  }
}
.chat-message {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.chat-message .meta {
  margin-top: 2px;
}

.ai-message {
  position: relative;
}
.ai-message .meta {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  /* display: flex; */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 8px;
}
.ai-message .meta .chat-time {
  color: #999;
  font-size: 12px;
  white-space: nowrap;
}
.ai-message .meta .meta-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin-left: auto;
}
.ai-message .ai-message-logo {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-image: url("/images/img/aipopup/ai-logo.png");
  background-repeat: no-repeat;
  background-size: 50px auto;
  background-position: center center;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-message .ai-message-logo {
    background-image: url("/images/img/aipopup/ai-logo@2x.png");
  }
}
.ai-message .btn-message-copy {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background-image: url("/images/img/aipopup/btn-copy.png");
  background-repeat: no-repeat;
  background-size: 16px auto;
  background-position: center center;
}
.ai-message .btn-message-copy:hover, .ai-message .btn-message-copy:focus {
  background-color: #fff;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-message .btn-message-copy {
    background-image: url("/images/img/aipopup/btn-copy@2x.png");
  }
}
.ai-message .btn-download {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background-image: url("/images/img/aipopup/btn-down.png");
  background-repeat: no-repeat;
  background-size: 12px auto;
  background-position: center center;
}
.ai-message .btn-download:hover, .ai-message .btn-download:focus {
  background-color: #fff;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-message .btn-download {
    background-image: url("/images/img/aipopup/btn-down@2x.png");
  }
}
.ai-message .btn-print {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background-image: url("/images/img/aipopup/btn-print.png");
  background-repeat: no-repeat;
  background-size: 16px auto;
  background-position: center center;
}
.ai-message .btn-print:hover, .ai-message .btn-print:focus {
  background-color: #fff;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-message .btn-print {
    background-image: url("/images/img/aipopup/btn-print@2x.png");
  }
}

.user-message {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: var(--meta-top);
}
.user-message .meta .chat-time {
  margin-right: 8px;
  color: #999;
  font-size: 12px;
}
.user-message .user-bubble {
  border-radius: 18px;
  line-height: 1.5;
  word-break: break-word;
  padding: 10px 15px;
  background-color: var(--point-color);
  color: #fff;
  font-size: 16px;  
  /* border-top-right-radius: 0; */ /* 2025-12-16 말풍선 모양은 공통으로 */
  max-width: calc(100% - 20px);
}
.no-select {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.ai-question-container {
  -webkit-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
          box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  background-color: #fff;
}
.ai-question-container p {
  white-space: unset;
}
.ai-question-container .ai-input-group {
  position: relative;
  margin: 5px;
}
.ai-question-container .ai-input-group textarea {
  border-radius: 0 0 18px 0;
  height: 103px;
  padding: 18px;
  border: solid 3px var(--point-color);
  background-color: #fff;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  text-align: left;
  color: #000;
}
.ai-question-container .ai-input-group textarea::-webkit-input-placeholder {
  color: #000;
}
.ai-question-container .ai-input-group textarea::-moz-placeholder {
  color: #000;
}
.ai-question-container .ai-input-group textarea:-ms-input-placeholder {
  color: #000;
}
.ai-question-container .ai-input-group textarea::-ms-input-placeholder {
  color: #000;
}
.ai-question-container .ai-input-group textarea::placeholder {
  color: #000;
}
.ai-question-container .ai-infor {
  position: relative;
  padding: 25px 60px 25px 96px;
  background: url(/images/img/aipopup/ico-info-ai.png) 19px 35px no-repeat;
  background-size: 61px auto;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-question-container .ai-infor {
    background-image: url("/images/img/aipopup/ico-info-ai@2x.png");
  }
}
.ai-question-container .ai-infor.hide {
  display: none;
}
.ai-question-container .ai-infor p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  text-align: left;
  color: #000;
}
.ai-question-container .ai-infor .star {
  margin-top: 10px;
  color: #fd4f03;
}
.ai-question-container .ai-btn-infor-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 25px;
  height: 100%;
  background-image: url("/images/img/aipopup/ai-btn-infor-close.png");
  background-repeat: no-repeat;
  background-size: 20px 12px;
  background-position: center center;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-question-container .ai-btn-infor-close {
    background-image: url("/images/img/aipopup/ai-btn-infor-close@2x.png");
  }
}
.ai-question-container:has(.hide) .ai-btn-infor-open {
  display: block;
}
.ai-question-container .ai-btn-infor-open {
  display: none;
  position: absolute;
  right: 0;
  top: -25px;
  width: 25px;
  height: 25px;
  background-color: #fff;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  border-radius: 0 0 5px 5px;
  background-image: url("/images/img/aipopup/ai-btn-infor-close.png");
  background-repeat: no-repeat;
  background-size: 20px 12px;
  background-position: center center;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-question-container .ai-btn-infor-open {
    background-image: url("/images/img/aipopup/ai-btn-infor-close@2x.png");
  }
}
.ai-question-container .btn-submit {
  position: absolute;
  right: 18px;
  bottom: 17px;
  width: 29px;
  height: 33px;
  background-image: url("/images/img/aipopup/btn-submit.png");
  background-repeat: no-repeat;
  background-size: 25px 21px;
  background-position: center center;
}
@media (-webkit-min-device-pixel-ratio: 2) {
  .ai-question-container .btn-submit {
    background-image: url("/images/img/aipopup/btn-submit@2x.png");
  }
}/*# sourceMappingURL=ai.css.map */