.syntaxResultBox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 110px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #4520ff;
}
.syntaxAnalysisResult {
  position: relative;
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR';
  font-size: 15px;
  line-height: 72px;
  font-weight: 400;
  word-spacing: 2px;
  display: block;
  width: 97%;
  white-space: pre-wrap;
}
.collapseSyntaxAnalysis {
  position: relative;
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR';
  font-size: 14px;
  line-height: 68px;
  font-weight: 400;
  word-spacing: 1px;
  display: block;
  width: 100%;
  /* min-width: 1140px; */
  white-space: pre-wrap;
  max-width: -moz-fit-content;
  max-width: fit-content;
  &.pdfviewer {
    min-width: 100% !important;
  }
  *::after {
    word-spacing: 1px;
    white-space: nowrap !important;
  }
  &.chipMod {
    span {
      border-bottom: none !important;
      border-image-width: 0px;
      color: #000000 !important;
    }
    *::after {
      opacity: 0;
    }
    *::before {
      opacity: 0;
    }
    .parens {
      opacity: 0;
    }
    /* .lineEnd {
        display: none;
      } */
    canvas {
      opacity: 0;
    }
    .highlighting {
      font-weight: 400;
      color: #ffffff !important;
      background: #4520ff;
      border-radius: 6px;
      padding: 4px 10px;
      span {
        color: #ffffff !important;
      }
    }
  }
}
@media print {
  :root {
    font-size: 12px;
  }
  .syntaxAnalysisResult {
    word-break: break-word;
  }
  .collapseSyntaxAnalysis {
    word-break: break-word;
  }
}
.syntaxAnalysisResult .syntax {
  position: relative;
}
.syntaxAnalysisResult .lineEnd {
  font-size: 1em;
  vertical-align: bottom;
}

.collapseSyntaxAnalysis .syntax {
  position: relative;
}
.collapseSyntaxAnalysis .lineEnd {
  font-size: 1em;
  vertical-align: bottom;
}

.syntax.elac[data-se]::before {
  width: 100%;
  text-align: center;
  left: 0;
}
.syntax.elac[data-se].positionChange::before {
  left: var(--indent) !important;
  text-align: left;
  width: auto;
}
.syntax.elac[data-ge]::after {
  left: 4px;
}
/* .syntax.elas[data-ge],
.syntax.elas[data-se] {
  line-height: 64px;
} */
.syntax.elas[data-ge]::after,
.syntax.elas[data-se]::before {
  /* left: 0.5rem; */
  left: 7px;
}
.syntax[data-ge]::after,
.syntax[data-se]::before {
  pointer-events: none;
}
.syntax[data-se]:not([class*='cls'])::before {
  content: attr(data-se);
  /* line-height: 0.8rem; */
  line-height: 11px;
}
.syntax {
  font-weight: 500;
}
.syntax.inside {
  --dotted-border-svg: url('/assets/grammer/bottom_S.svg');
  border-image-source: var(--dotted-border-svg);
  border-image-slice: 0 7 19 11;
  border-image-width: 38px auto 6px;
  padding-bottom: 5px;
  border-bottom: solid 2px;
}
.syntax.outside .syntax.inside {
  border: none;
  padding-bottom: 4px;
}
.syntax.outside .syntax.inside[data-se].positionChange::before {
  /* bottom: -0.7rem; */
  bottom: -9.8px;
}
.syntax[data-se]::before {
  font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR';
}
/* .syntax.inside[data-se] {
  line-height: 64px;
} */
.syntax.inside[data-se]::before {
  position: absolute;
  top: 27px;
  font-size: 10px;
  /* top: 2rem; */
  /* font-size: 0.8rem; */
}
.syntax.inside[data-se].makeImg::before {
  position: absolute;
  top: 3.5rem;
  font-size: 20px;
}
.syntax.inside[data-se].positionChange::before {
  top: auto !important;
  /* bottom: -1rem; */
  bottom: -14px;
}
.syntax.inside[data-se].positionChange.captureImg::before {
  top: auto !important;
  bottom: -12.5px;
  /* bottom: -0.9rem; */
}
.syntax.inside.elas[data-se][data-test]::before,
.syntax.outside.elas[data-se][data-test]::before {
  width: auto;
}
.syntax.inside.elas[data-se]::before,
.syntax.outside.elas[data-se]::before {
  width: auto;
}
.syntax.outside .syntax.inside[data-se]::before {
  /* font-size: 0.8rem; */
  /* top: 1.5rem; */
  font-size: 10px;
  top: 19px;
}
.syntax.outside .syntax.inside[data-se].makeImg::before {
  font-size: 18px;
  left: 0.5rem;
  top: 2.125rem;
  position: absolute;
}
.syntax.outside .syntax.inside[data-se]::before .syntax.outside .syntax.inside.positionChange[data-se]::before {
  top: auto !important;
  /* bottom: -0.25rem; */
  bottom: -3.5px;
}
.syntax.outside[data-se]::before {
  position: absolute;
  /* top: 2.8rem; */
  text-overflow: ellipsis;
  /* font-size: 0.8rem; */
  top: 35px;
  font-size: 10px;
}
.syntax.outside[data-se].makeImg::before {
  font-size: 18px;
}
.syntax.outside[data-se].positionChange::before {
  top: auto !important;
  /* bottom: -1rem; */
  bottom: -14px;
}
.syntax[data-section='2'][data-se]::before {
  /* top: 4.15rem; */
  top: 51px;
}
.syntax[data-section='3'][data-se]::before {
  /* top: 5.35rem; */
  top: 66px;
}
.syntax[data-section='4'][data-se]::before {
  /* top: 6.5rem; */
  top: 81px;
}
.syntax[data-section='5'][data-se]::before {
  /* top: 7.8rem; */
  top: 96px;
}
.syntax[data-section][data-se] {
  border-bottom: dashed 1px #007afc;
  background-clip: content-box;
}
.ss.syntax[data-section][data-se] {
  border-bottom: dashed 1px #074f9c;
}
.rs.syntax[data-section][data-se] {
  border-bottom: dashed 1px #4598f2;
}
.fs.syntax[data-section][data-se] {
  border-bottom: dashed 1px #0069d9;
}
.o.syntax[data-section][data-se] {
  border-bottom: dashed 1px #0ac54f;
}
.io.syntax[data-section][data-se] {
  border-bottom: dashed 1px #2ea65b;
}
.do.syntax[data-section][data-se] {
  border-bottom: dashed 1px #056f2c;
}
.fo.syntax[data-section][data-se] {
  border-bottom: dashed 1px #4aa61f;
}
.ro.syntax[data-section][data-se] {
  border-bottom: dashed 1px #65ba3d;
}
.sc.syntax[data-section][data-se] {
  border-bottom: dashed 1px #004ea2;
}
.oc.syntax[data-section][data-se] {
  border-bottom: dashed 1px #056f2c;
}
.v.syntax[data-section][data-se] {
  border-bottom: dashed 1px #e63323;
}
.syntax[data-section='1'][data-se] {
  /* padding-bottom: 1.4rem; */
  padding-bottom: 14px;
}
.syntax[data-section='2'][data-se] {
  /* padding-bottom: 2.6rem; */
  padding-bottom: 30px;
}
.syntax[data-section='3'][data-se] {
  /* padding-bottom: 3.8rem; */
  padding-bottom: 46px;
}
.syntax[data-section='4'][data-se] {
  /* padding-bottom: 5rem; */
  padding-bottom: 61px;
}
.syntax[data-section='5'][data-se] {
  /* padding-bottom: 6.2rem; */
  padding-bottom: 76px;
}
.syntax[data-ge]::after {
  content: attr(data-ge);
  font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR';
  /* line-height: 0.625rem; */
  line-height: 10px;
  width: -moz-max-content;
  width: max-content;
  /* background-color: #ffffff; */
  z-index: 2;
}
.syntax[data-ge][data-modifier]::after {
  background-color: #ffffff;
}
.syntax.inside[data-ge]::after {
  position: absolute;
  /* top: -0.625rem;
  font-size: 0.71rem; */
  top: -8.5px;
  font-size: 12px;
  /* font-size: 0.71rem; */
}
.syntax.outside .syntax.inside[data-ge]::after {
  /* font-size: 0.71rem; */
  font-size: 12px;
}
.syntax.outside[data-ge]::after {
  position: absolute;
  top: -0.625rem;
  width: 9.375rem;
  /* font-size: 0.71rem; */
  font-size: 12px;
}
.syntax[data-ge][data-ge-section='1']::after {
  /* top: -1.85rem; */
  /* top: -28px; */
  top: -22px;
}
.syntax[data-ge][data-ge-section='2']::after {
  /* top: -2.78rem; */
  /* top: -42px; */
  top: -33px;
}
.parens[data-section='1'] {
  font-size: 1.8rem;
  top: 0.35rem;
}
.parens[data-section='2'] {
  font-size: 32px;
  top: 6px;
}
.syntax.s.inside,
.syntax.s.outside[data-se]::before {
  --dotted-border-svg: url('/assets/grammer/bottom_S.svg');
  color: #007afc;
}
.syntax.ss,
.syntax.ss.inside,
.syntax.ss.outside[data-se]::before {
  color: #074f9c;
}
.syntax.o.inside,
.syntax.o.outside[data-se]::before {
  --dotted-border-svg: url('/assets/grammer/bottom_O.svg');
  color: #0ac54f;
}
.syntax.o.io.inside,
.syntax.o.io.outside[data-se]::before {
  --dotted-border-svg: url('/assets/grammer/bottom_IO.svg');
  color: #2ea65b;
}
.syntax.o.do.inside,
.syntax.o.do.outside[data-se]::before {
  --dotted-border-svg: url('/assets/grammer/bottom_DO.svg');
  color: #056f2c;
}
.syntax.go.inside,
.syntax.go.outside[data-se]::before,
.syntax.po.inside,
.syntax.po.outside[data-se]::before,
.syntax.ptco.inside,
.syntax.ptco.outside[data-se]::before,
.syntax.to.inside,
.syntax.to.outside[data-se]::before {
  color: #006379;
}
.syntax.a.inside,
.syntax.a.outside[data-se]::before,
.syntax.c.inside,
.syntax.c.outside[data-se]::before {
  color: #283593;
}
.syntax.sc.inside,
.syntax.sc.outside[data-se]::before {
  --dotted-border-svg: url('/assets/grammer/bottom_SC.svg');
  color: #004ea2;
}
.syntax.v.inside,
.syntax.v.outside[data-se]::before {
  --dotted-border-svg: url('/assets/grammer/bottom_V.svg');
  color: #e63323;
}
.syntax.oc.inside,
.syntax.oc.outside[data-se]::before {
  --dotted-border-svg: url('/assets/grammer/bottom_OC.svg');
  color: #056f2c;
}
.syntax.appo.inside,
.syntax.appo.outside[data-se]::before {
  color: #f53586;
}
.syntax.appo::after {
  color: #f53586 !important;
}
.syntax.m.inside,
.syntax.m.outside[data-se]::before {
  padding-bottom: 0;
  border-bottom: none;
  border-image-width: 0;
}
.syntax.rs.inside,
.syntax.rs.outside[data-se]::before {
  color: #4598f2;
}
.syntax.fs.inside,
.syntax.fs.outside[data-se]::before {
  color: #0069d9;
}
.syntax.fo.inside,
.syntax.fo.outside[data-se]::before {
  color: #4aa61f;
  --dotted-border-svg: url('/assets/grammer/bottom_IO.svg');
}
.syntax.ro.inside,
.syntax.ro.outside[data-se]::before {
  color: #65ba3d;
  --dotted-border-svg: url('/assets/grammer/bottom_O.svg');
}
.syntax.cleft {
  color: #555;
  font-weight: 700;
}
.syntax.rcm[data-ge]::after {
  display: none;
  color: #ffb266;
  position: absolute;
  left: auto !important;
  top: -0.9rem;
  right: 0.5rem;
  min-width: 2rem;
  font-size: 0.71rem;
}
.syntax.rcm[data-ge].makeImg::after {
  top: -1.125rem;
}
.syntax.rcm.elas[data-ge]::after {
  left: -1rem !important;
}
.syntaxAnalysisResult :not([class*='cmnt-align'])[class*='-end'],
.syntaxAnalysisResult :not([class*='cmnt-align'])[class*='-start'] {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
}

.collapseSyntaxAnalysis :not([class*='cmnt-align'])[class*='-end'],
.collapseSyntaxAnalysis :not([class*='cmnt-align'])[class*='-start'] {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
}

.cls-end,
.cls-start {
  color: #93baf4;
  font-size: 24px;
  top: 2px;
  /* font-size: 1.6rem; */
  /* top: 0.18rem; */
  font-family: 'Acme', 'Pretendard Variable', Pretendard !important;
  font-weight: 650;
  &.makeImg {
    font-size: 37px;
  }
}
.parens.ptcphr-end,
.parens.ccls-end,
.parens.acls-end,
.parens.pcl-end,
.parens.cls-end {
  margin: 0 3px 0 0px;
}
.parens.ptcphr-start,
.parens.ccls-start,
.parens.acls-start,
.parens.pcl-start,
.parens.cls-start {
  margin: 0 0px 0 3px;
}
.advcls.cls-end,
.advcls.cls-start {
  color: #693fb7;
}
.pcl-end,
.pcl-start {
  font-size: 24px;
  top: 2px;
  font-family: 'Acme', 'Pretendard Variable', Pretendard !important;
  font-weight: 650;
  color: #4a0a7e;
}
.ncls.cls-end,
.ncls.cls-start {
  color: #764bf2;
}
.cls-end[data-section='1'],
.cls-start[data-section='1'] {
  top: 9px;
  font-size: 42px;
  /* top: 0.9rem;
  font-size: 2.8rem; */
  font-weight: 360;
}
.cls-end[data-section='2'],
.cls-start[data-section='2'] {
  top: 14px;
  font-size: 58px;
  /* top: 2rem;
  font-size: 4rem; */
  font-weight: 160;
}
.cls-end[data-section='3'],
.cls-start[data-section='3'] {
  top: 3.1rem;
  font-size: 5.8rem;
  font-weight: 180;
}
.cls-end[data-section='4'],
.cls-start[data-section='4'] {
  top: 4.05rem !important;
  font-size: 7.2rem !important;
  font-weight: 140;
}
.cls-end[data-section='5'],
.cls-start[data-section='5'] {
  top: 5.05rem !important;
  font-size: 8.7rem !important;
  font-weight: 100;
}
.cls-start {
  margin: 0 0.025rem 0 -0.125rem;
}
.cls-end {
  margin: 0 -0.11rem 0 -0.005rem;
}
.cls-start[data-section='1'] {
  margin: 0 0px 0 4px;
}
.cls-end[data-section='1'] {
  margin: 0 4px 0 0px;
}
.cls-start[data-section='2'] {
  margin: 0 0px 0 4px;
}
.cls-end[data-section='2'] {
  margin: 0 4px 0 0px;
}
.cls-start[data-section='3'] {
  margin: 0 4px 0 0px;
}
.cls-end[data-section='3'] {
  margin: 0 0px 0 4px;
}
.cls-start[data-section='4'] {
  margin: 0 4px 0 0px;
}
.cls-end[data-section='4'] {
  margin: 0 0px 0 4px;
}
.cls-start[data-section='5'] {
  margin: 0 4px 0 0px;
}
.cls-end[data-section='5'] {
  margin: 0 0px 0 4px;
}
.ccls-end,
.ccls-start {
  color: #8440d9;
  top: 0.08rem;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR';
  margin-right: -0.1rem;
  margin-left: -0.1rem;
}
.acls-end,
.acls-start {
  color: #c51b86;
  /* top: 0.08rem; */
  top: 1px;
  font-size: 18px;
  /* font-size: 1.2rem; */
  font-weight: 700;
  font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR';
  margin-right: -0.1rem;
  margin-left: -0.1rem;
}
.adjphr-end,
.adjphr-start,
.conj-end,
.conj-start,
.phr-end,
.phr-start {
  font-family: 'Acme', 'Pretendard Variable', Pretendard, 'Noto Sans KR';
  /* top: 0.05rem; */
  top: 1px;
  font-size: 20px;
  font-weight: 400;
}
.phr-end,
.phr-start {
  color: #cc5500;
}
.ptcphr-end,
.ptcphr-start {
  color: #8b4000;
}
.adjphr-end,
.adjphr-start {
  color: #ffc680;
}
.advphr-end,
.advphr-start {
  color: #ff8500;
}
.conj-end,
.conj-start {
  color: #8440d9;
}
.adjphr-start,
.conj-start,
.phr-start {
  margin-right: 0.1rem;
}
.adjphr-end,
.conj-end,
.phr-end {
  margin-left: 0.1rem;
}
[class*='others-'] {
  font-family: 'Raleway Dots', 'Acme', 'Pretendard Variable', Pretendard;
  color: #764bf2;
  font-weight: 350;
}
[class*='others-'][data-section='1'] {
  top: 0.8rem;
  font-size: 42px;
  line-height: 100%;
  font-weight: 180;
  &.makeImg {
    font-size: 56px;
  }
}
[class*='others-'][data-section='2'] {
  top: 2.6rem;
  font-size: 5.5rem;
  font-weight: 100;
}
[class*='others-'][data-section='3'] {
  top: 3.75rem;
  font-size: 7.3rem;
  font-weight: 100;
}
[class*='others-'][data-section='4'] {
  top: 4.925rem;
  font-size: 9.25rem;
  font-weight: 100;
}
[class*='others-'][data-section='5'] {
  top: 5.925rem;
  font-size: 11.05rem;
  font-weight: 100;
}
.others-start[data-section='1'] {
  margin: 0 -0.15rem 0 -0.35rem;
}
.others-end[data-section='1'] {
  margin: 0 -0.35rem 0 -0.15rem;
}
.others-start[data-section='2'] {
  margin-left: -0.53rem;
  margin-right: -0.2rem;
}
.others-end[data-section='2'] {
  margin-left: -0.2rem;
  margin-right: -0.5625rem;
}
.others-start[data-section='3'] {
  margin-left: -0.6875rem;
  margin-right: -0.25rem;
}
.others-end[data-section='3'] {
  margin-left: -0.27rem;
  margin-right: -0.5rem;
}
.others-start[data-section='4'] {
  margin-left: -0.8rem;
  margin-right: -0.275rem;
}
.others-end[data-section='4'] {
  margin-left: -0.27rem;
  margin-right: -0.8rem;
}
.others-start[data-section='5'] {
  margin-left: -0.8rem;
  margin-right: -0.275rem;
}
.others-end[data-section='5'] {
  margin-left: -0.27rem;
  margin-right: -0.8rem;
}
.syntax[data-ge]::after {
  position: absolute;
  width: -moz-max-content;
  width: max-content;
  left: 2px;
  top: -11px;
  font-size: 10px;
  line-height: 10px;
  /* top: -0.9rem; */
  /* font-size: 0.9rem; */
  /* line-height: 0.9rem; */
  font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR';
  color: #222429;
}
.syntax.adjust-after[data-ge]::after {
  left: var(--after-max-width) !important;
}
.syntax[data-ge].makeImg::after {
  font-size: 16px;
  white-space: nowrap;
}
.syntax[data-ge].phr::after {
  color: #cc5500;
  left: 2px;
}
.syntax[data-ge].pcl::after,
.syntax[data-ge].acls::after {
  color: #c51b86;
  left: 2px;
}
.syntax[data-ge].pp::after,
.syntax[data-ge].prp::after,
.syntax[data-ge].adjphr::after {
  color: #ffc680;
  left: 2px;
}
.syntax[data-ge].advphr::after {
  color: #ff8500;
  left: 2px;
}
.syntax[data-ge].ptc::after,
.syntax[data-ge].ger::after,
.syntax[data-ge].tor::after {
  color: #222222;
  left: 2px;
}
.syntax[data-ge].tor::after {
  color: #222429;
  left: 2px;
}
.syntax[data-ge].test::after {
  color: #521583;
  left: 2px;
}
.syntax[data-ge].ccls::after {
  color: #8440d9;
  left: 2px;
  display: none;
}
.syntax[data-ge].advcls::after {
  color: #c51b86;
  left: 2px;
}
.syntax[data-ge].ncls::after {
  color: #c51b86;
  left: 2px;
}
.syntax[data-ge].ptcphr::after {
  color: #8b4000;
  left: 2px;
}
.syntax:not(.s, .ss, .v, .o, .po, .to, .go, .ptco, .c, .sc, .oc, .m, .a).positionChange[data-ge]::after {
  left: -8px !important;
  top: -1.1rem !important;
  bottom: 1.55rem;
}
.syntax:not(
    .s,
    .ss,
    .v,
    .o,
    .po,
    .to,
    .go,
    .ptco,
    .c,
    .sc,
    .oc,
    .m,
    .a
  ).positionChange[data-ge][data-section='1']::after {
  bottom: 2.4rem;
}
.syntax:not(
    .s,
    .ss,
    .v,
    .o,
    .po,
    .to,
    .go,
    .ptco,
    .c,
    .sc,
    .oc,
    .m,
    .a
  ).positionChange[data-ge][data-section='2']::after {
  bottom: 3.75rem;
}
.syntax:not(
    .s,
    .ss,
    .v,
    .o,
    .po,
    .to,
    .go,
    .ptco,
    .c,
    .sc,
    .oc,
    .m,
    .a
  ).positionChange[data-ge][data-section='3']::after {
  bottom: 5rem;
}
.syntax:not(
    .s,
    .ss,
    .v,
    .o,
    .po,
    .to,
    .go,
    .ptco,
    .c,
    .sc,
    .oc,
    .m,
    .a
  ).positionChange[data-ge][data-section='4']::after {
  bottom: 6.125rem;
}
.syntax.rcm.positionChange[data-ge]::after {
  left: auto !important;
  right: calc(0.5rem - var(--indent));
  bottom: 1.25rem;
}
.syntax.positionChange[data-ge-section='1']::after {
  bottom: 2.4rem !important;
}
.syntax.positionChange[data-ge-section='2']::after {
  bottom: 3.15rem !important;
}
.syntax.positionChange[data-ge-section='3']::after {
  bottom: 3.75rem !important;
}
.syntax.positionChange[data-ge-section='4']::after {
  bottom: 4.5rem !important;
}

.editSyntaxBox {
  position: relative;
  cursor: auto;
  border-style: outset;
  border-radius: 8px;
  -moz-user-select: text;
  -webkit-user-select: text;
  user-select: text;
}
.modIndicator,
.modifierBox {
  position: absolute;
  font-weight: 500;
  color: #222429;
  font-size: 13px;
  z-index: 50;
}

.uselessBox {
  display: none !important;
}

/*  */
[data-role] {
  width: 1em;
  height: 1em;
  display: inline-flex;
  overflow: hidden;
  background: black;
  line-height: 1;
}

[data-role]::before {
  content: attr(data-role);
  color: white;
}

.shift .editSyntaxBox[data-mode='erasing'] {
  cursor:
    url(/assets/basic/eraseIcon.svg) 9 31,
    pointer;
}

.editSyntaxBox[data-mode='erasing'] {
  cursor:
    url(/assets/basic/eraseIcon.svg) 9 23,
    pointer;
}

.eraseContainer,
.eraseContainer::after,
.eraseContainer::before {
  color: #ff4500 !important;
}

.eraseContainer.modiferArrow {
  background: #ff4500;
}

.commentTar::after {
  content: '문법 코멘트';
  position: absolute;
  top: calc(-0.625rem - 2px);
  height: 1rem;
  width: -moz-max-content;
  width: max-content;
  line-height: 0.625rem;
  font-size: 0.71rem;
  font-family:
    'Pretendard Variable',
    Pretendard,
    'Noto Sans KR',
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    'Segoe UI',
    'Apple SD Gothic Neo',
    'Noto Sans KR',
    'Malgun Gothic',
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    sans-serif;
  color: #2440a8;
  left: 0;
  border: dashed 2px red;
}

.btnGroup > .btn:not(:first-child) {
  margin-left: 0 !important;
}

.btnGroup > .btn {
  position: static !important;
  flex: unset !important;
}

.btn:hover {
  color: #ffffff !important;
}

.syntaxAnalysisToolBox {
  border: solid 2px #dddd;
  border-radius: 10px;
  padding: 10px;
  background: #f5f5f5;
  width: 100%;
  margin: 0 0 1rem 0;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

.syntaxAnalysisToolBox button {
  font-family:
    'Pretendard Variable',
    Pretendard,
    'Noto Sans KR',
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    'Segoe UI',
    'Apple SD Gothic Neo',
    'Noto Sans KR',
    'Malgun Gothic',
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    sans-serif;
}

.editorBtn.unchosen {
  opacity: 0.5;
  transition: opacity 0.2s;
  cursor: default;
  &:hover {
    background-color: #ffffff !important;
  }
}

.syntaxAnalysisToolBox [disabled] {
  opacity: 0.5;
}

.navigationBtnBox {
  position: absolute;
  top: -44px;
  right: 0;
  display: flex;
  gap: 10px;
  button {
    background-color: transparent;
    padding: 0;
    min-width: -moz-max-content;
    min-width: max-content;
  }
}

.naviBtn {
  width: 68px !important;
  height: 28px !important;
  line-height: 28px !important;
  background-color: #ffffff !important;
  border: 1px solid #e9e9e9;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  color: #000000 !important;
  font-size: 14px !important;
  font-weight: 300;
  text-align: center;
  &:hover:not(:disabled) {
    background-color: #e2ecff !important;
    .navi-icon {
      filter: invert(34%) sepia(100%) saturate(7426%) hue-rotate(234deg) brightness(97%) contrast(98%);
    }
  }
  &:disabled {
    background-color: #e6eaee !important;
    opacity: 0.5 !important;
  }
  &.active {
    border: 1px solid #4520ff;
  }
}

.editorBtn {
  /* width: 100% !important; */
  height: 28px !important;
  line-height: 28px !important;
  background-color: #ffffff !important;
  border: 1px solid;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 400;
  text-align: center;
  &:disabled {
    background-color: #e6eaee !important;
    opacity: 1 !important;
  }
  &.active {
    color: #ffffff !important;
  }
}

.editorBtn.s {
  border-color: #007afc;
  &:hover {
    background-color: #007afc1a !important;
    color: #007afc !important;
  }
  &.active {
    background-color: #007afc1a !important;
    color: #007afc !important;
  }
}
.editorBtn.v {
  border-color: #f44434;
  &:hover {
    background-color: #f444341a !important;
    color: #f44434 !important;
  }
  &.active {
    background-color: #f444341a !important;
    color: #f44434 !important;
  }
}
.editorBtn.o {
  border-color: #35b47d;
  &:hover {
    background-color: #35b47d1a !important;
    color: #35b47d !important;
  }
  &.active {
    background-color: #35b47d1a !important;
    color: #35b47d !important;
  }
}
.editorBtn.r {
  border-color: #222222;
  &:hover {
    background-color: #2222221a !important;
    color: #222222 !important;
  }
  &.active {
    background-color: #2222221a !important;
    color: #222222 !important;
  }
}
.editorBtn.ptcphr {
  border-color: #8b4000;
  &:hover {
    background-color: #8b40001a !important;
    color: #8b4000 !important;
  }
  &.active {
    background-color: #8b40001a !important;
    color: #8b4000 !important;
  }
}
.editorBtn.phr {
  border-color: #cc5500;
  &:hover {
    background-color: #cc55001a !important;
    color: #cc5500 !important;
  }
  &.active {
    background-color: #cc55001a !important;
    color: #cc5500 !important;
  }
}
.editorBtn.advphr {
  border-color: #ff8500;
  &:hover {
    background-color: #ff85001a !important;
    color: #ff8500 !important;
  }
  &.active {
    background-color: #ff85001a !important;
    color: #ff8500 !important;
  }
}
.editorBtn.adjphr {
  border-color: #ffc680;
  &:hover {
    background-color: #ffc6801a !important;
    color: #ffc680 !important;
  }
  &.active {
    background-color: #ffc6801a !important;
    color: #ffc680 !important;
  }
}
.editorBtn.co {
  border-color: #8440d9;
  &:hover {
    background-color: #8440d91a !important;
    color: #8440d9 !important;
  }
  &.active {
    background-color: #8440d91a !important;
    color: #8440d9 !important;
  }
}
.editorBtn.cls {
  border-color: #c51b86;
  &:hover {
    background-color: #c51b861a !important;
    color: #c51b86 !important;
  }
  &.active {
    background-color: #c51b861a !important;
    color: #c51b86 !important;
  }
}

.editSyntaxBox .syntax::after,
.editSyntaxBox .syntax::before {
  pointer-events: auto !important;
}

.editSyntaxBox:not([data-mode='erasing']) .syntax::after,
.editSyntaxBox:not([data-mode='erasing']) .syntax::before {
  cursor:
    /* url('/assets/basic/bluePenIcon2.png') 9 18, */ pointer;
}

.editSyntaxBox {
  border: none !important;
}
/* .roleInFirstRole,
  .firstRoleMenu,
  .commentEditContainer,
  .gerListBox,
  .ptcListBox,
  .torListBox {
    margin: 5px 0;
    z-index: 1000;
  } */

.firstRoleMenu {
  display: flex !important;
  justify-content: flex-end;
  flex-direction: row;
  /* gap: 10px; */
  margin: 10px 0 0 90px !important;
  width: calc(100% - 90px) !important;
  max-width: calc(100% - 90px) !important;
  div:first-of-type {
    margin-bottom: 10px;
  }
  button {
    font-weight: 400 !important;
    color: #222222 !important;
    border: 1px solid #c51b86 !important;
    min-width: 100px;
    border-radius: 0px !important;
    border-left: none !important;
    &:hover {
      font-weight: 700 !important;
      background-color: #c51b861a !important;
    }
  }
  /* margin: 5px 0; */
  border-radius: 8px;
  button:first-of-type {
    border-radius: 8px 0px 0px 8px !important;
    border-left: 1px solid #c51b86 !important;
  }
  button:last-of-type {
    border-radius: 0px 8px 8px 0px !important;
  }
  .editorBtn:hover {
    /* mix-blend-mode: darken; */
    transform: scale(1) !important;
    opacity: 1;
  }
}

.commentEditContainer {
  display: flex;
  align-items: center;
  height: 32px;
  input {
    height: 100%;
    padding: 4px 8px;
    margin-top: 1px;
    margin-right: 4px;
  }
  button {
    background-color: #ffffff;
    color: #222222;
    border: 1px solid #e9e9e9 !important;
    padding: 0px 12px;
    height: 100%;
    font-size: 16px;
    line-height: 29.5px;
    border-radius: 0px !important;
    border-left: none !important;
    white-space: nowrap;
    &:hover {
      font-weight: 700 !important;
      background-color: #e9e9e9 !important;
      color: #222222 !important;
    }
  }
  button:first-of-type {
    border-radius: 8px 0px 0px 8px !important;
    border-left: 1px solid #e9e9e9 !important;
  }
  button:last-of-type {
    border-radius: 0px 8px 8px 0px !important;
  }
  .editorBtn:hover {
    /* mix-blend-mode: darken; */
    transform: scale(1) !important;
    opacity: 1;
  }
}

.roleInFirstRole {
  /* margin: 10px 0 10px 90px !important; */
  margin: 10px 0 10px 0px !important;
  padding-right: 69px !important;
  justify-content: flex-end;
  border-radius: 8px;
  button {
    font-weight: 400 !important;
    color: #764bf2;
    border: 1px solid #764bf2 !important;
    padding: 5px 12px;
    font-size: 18px;
    line-height: 26px;
    border-radius: 0px !important;
    border-left: none !important;
    &:hover {
      color: #764bf2 !important;
      font-weight: 700 !important;
      background-color: #764bf240 !important;
    }
  }
  button:first-of-type {
    border-radius: 8px 0px 0px 8px !important;
    border-left: 1px solid #764bf2 !important;
  }
  button:last-of-type {
    border-radius: 0px 8px 8px 0px !important;
  }
  .editorBtn:hover {
    /* mix-blend-mode: darken; */
    transform: scale(1) !important;
    opacity: 1;
  }
}

.aclsListBox {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 0px 0px !important;
  justify-content: flex-end;
  border-radius: 8px;
  width: 100%;
  button {
    font-weight: 400 !important;
    color: #222222 !important;
    border: 1px solid #c51b86 !important;
    padding: 0px 20px;
    border-radius: 0px !important;
    border-left: none !important;
    &:hover {
      color: #222222 !important;
      font-weight: 700 !important;
      background-color: #c51b861a !important;
    }
  }
  button:first-of-type {
    border-radius: 8px 0px 0px 8px !important;
    border-left: 1px solid #c51b86 !important;
  }
  button:last-of-type {
    border-radius: 0px 8px 8px 0px !important;
  }
  .editorBtn:hover {
    transform: scale(1) !important;
    opacity: 1;
  }
}

.ptcListBox,
.gerListBox,
.torListBox {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 0;
  margin-top: 10px !important;
  border-radius: 8px;
  button {
    font-weight: 400 !important;
    color: #222222 !important;
    padding: 0 25px;
    border: 1px solid #222222 !important;
    min-width: 100px;
    border-radius: 0px !important;
    border-left: none !important;
    &:hover {
      color: #222222 !important;
      font-weight: 700 !important;
      background-color: #2222221a !important;
    }
  }
  button:first-of-type {
    border-radius: 8px 0px 0px 8px !important;
    border-left: 1px solid #222222 !important;
  }
  button:last-of-type {
    border-radius: 0px 8px 8px 0px !important;
  }
  .editorBtn:hover {
    /* mix-blend-mode: darken; */
    transform: scale(1) !important;
    opacity: 1;
  }
}

.position-absolute {
  position: absolute !important;
  z-index: 9999;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

/* TAG number markers (① ② ③) */
.tag-num {
  font-size: 11px;
  color: #4520ff;
  font-weight: 700;
  margin-right: 1px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}
.tag-highlight {
  -webkit-text-decoration: underline dotted #7c6cd6;
          text-decoration: underline dotted #7c6cd6;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.2px;
}

