/* Incoterms 2020 자료(/library/incoterms-2020): 한 장 표(inco-chart)에만 필요한 모양. 나머지는 ctu·battery CSS를 쓴다. */
.library-view .inco-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0 10px;
  font-size: 13px;
}
.library-view .inco-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 700;
}
.library-view .inco-chart-wrap {
  overflow-x: auto;
  margin: 6px 0 8px;
  border: 1px solid #c9d9ea;
  border-radius: 12px;
  background: #fff;
}
.library-view table.inco-chart {
  width: 100%;
  min-width: 1040px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  line-height: 1.3;
  table-layout: fixed;
}
.library-view .inco-chart th,
.library-view .inco-chart td {
  padding: 5px 3px;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
  word-break: keep-all;
  border-right: 1px solid #fff;
}
.library-view .inco-chart thead th {
  background: #eef3f8;
  color: #123d70;
  font-weight: 700;
  border-bottom: 1px solid #c9d9ea;
}
.library-view .inco-chart thead .inco-zone {
  background: #dfeaf6;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.library-view .inco-chart thead .inco-zone-main {
  background: #cfe0f2;
}
.library-view .inco-chart th.inco-rule {
  width: 132px;
  padding: 6px 8px;
  word-break: keep-all;
  text-align: left;
  background: #fff;
  border-right: 1px solid #c9d9ea;
  position: sticky;
  left: 0;
  z-index: 1;
}
.library-view .inco-chart thead th.inco-rule {
  background: #eef3f8;
}
.library-view .inco-chart th.inco-rule b {
  display: block;
  color: #0b4a99;
  font-size: 16px;
}
.library-view .inco-chart th.inco-rule small {
  display: block;
  color: #3a4148;
  font-size: 11.5px;
  font-weight: 600;
}
.library-view .inco-chart th.inco-rule em {
  display: block;
  margin-top: 2px;
  color: #7a4d00;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.library-view .inco-chart th.inco-kind {
  width: 38px;
  background: #fff;
  color: #5f6763;
  font-size: 11px;
  font-weight: 700;
  border-right: 1px solid #c9d9ea;
}
.library-view .inco-chart thead th.inco-kind {
  background: #eef3f8;
}
.library-view .inco-chart tr.inco-group th {
  padding: 7px 10px;
  text-align: left;
  background: #123d70;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.library-view .inco-chart tr.inco-cost td {
  height: 38px;
  font-weight: 700;
  border-top: 6px solid #fff;
}
.library-view .inco-chart tr.inco-cost th {
  border-top: 6px solid #fff;
}
.library-view .inco-chart tr.inco-risk td {
  height: 20px;
  padding: 0 2px;
  font-size: 10.5px;
  font-weight: 800;
  border-top: 2px solid #fff;
}
.library-view .inco-s,
.library-view .inco-chart .inco-rs {
  background: #2b6cb8;
  color: #fff;
}
.library-view .inco-b,
.library-view .inco-chart .inco-rb {
  background: #f2a23a;
  color: #3b2500;
}
.library-view .inco-c {
  background: repeating-linear-gradient(135deg, #2b6cb8 0 7px, #f2a23a 7px 14px);
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.75);
}
.library-view .inco-n {
  background: #eef1f3;
  color: #5f6763;
  font-weight: 600;
}
.library-view .inco-chart td.inco-np {
  opacity: 0.86;
}
.library-view .inco-chart tr.inco-risk td.inco-rs {
  background: #7fa9db;
}
.library-view .inco-chart tr.inco-risk td.inco-rb {
  background: #f7cf94;
}
.library-view .inco-chart tr.inco-risk td.inco-edge {
  border-right: 4px solid #c8102e;
  color: #7a0b1d;
  text-align: right;
  white-space: nowrap;
  overflow: visible;
}
.library-view .inco-chart tr.inco-risk td.inco-edge span {
  display: inline-block;
  padding-right: 2px;
}
.library-view .inco-chart sup {
  margin-left: 1px;
  font-size: 9.5px;
  font-weight: 800;
}
.library-view .inco-edge-key {
  border-right: 4px solid #c8102e !important;
  border-radius: 6px !important;
  background: #fff;
  color: #7a0b1d;
}
.library-view .lib-article ol.inco-notes {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
}
.library-view ol.inco-notes b {
  margin-right: 4px;
  color: #0b4a99;
}
/* 비용 상세표의 칸 색 */
.library-view .lib-table td.inco-ts {
  background: #e3efff;
  color: #0b3f85;
  font-weight: 600;
}
.library-view .lib-table td.inco-tb {
  background: #fdeed6;
  color: #6b4300;
  font-weight: 600;
}
.library-view .lib-table td.inco-tc {
  background: repeating-linear-gradient(135deg, #e3efff 0 6px, #fdeed6 6px 12px);
  color: #3a2f18;
  font-weight: 700;
}
@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }
  .library-view .inco-chart-wrap {
    overflow: visible;
    border: 0;
  }
  .library-view table.inco-chart {
    min-width: 0;
    font-size: 9.5px;
  }
  .library-view .inco-chart th.inco-rule {
    position: static;
  }
  .library-view .inco-chart * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
