﻿.tv2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tv2__parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #6b6f8a;
  background: #f9faff;
  border: 1px solid #c3c6d7;
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-start;
  transition: border-color 0.15s;
}
.tv2__parent code {
  color: #26377c;
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 10px;
}
.tv2__parent:hover {
  border-color: #26377c;
}
.tv2__parent-est {
  background: #26377c;
  color: #fff;
  padding: 0 4px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 800;
}
.tv2__desc {
  background: rgba(249, 250, 255, 0.5);
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #3a3f54;
  overflow-wrap: break-word;
}
.tv2__desc p {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1f2e;
  line-height: 1.4;
}
.tv2__desc p:last-child {
  margin-bottom: 0;
}
.tv2__desc code {
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 5px;
  border-radius: 3px;
}
.tv2__desc a {
  color: #26377c;
}
.tv2__card {
  background: #fff;
  border: 1px solid #c3c6d7;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.tv2__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.tv2__card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #eef0fa;
  border-bottom: 1px solid rgba(195, 198, 215, 0.3);
  transition: background 0.15s;
}
.tv2__card-head:hover {
  background: rgb(230.1181818182, 233.0454545455, 247.6818181818);
}
.tv2__card-title {
  font-size: 14px;
  font-weight: 700;
  color: #126;
  flex-shrink: 0;
}
.tv2__card-body {
  padding: 14px 16px;
}
.tv2__head-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
  margin-right: 8px;
}
.tv2__grid {
  display: grid;
  gap: 12px 10px;
}
.tv2__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.tv2__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.tv2__f {
  min-width: 0;
  padding: 12px 10px 8px;
  border-radius: 4px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  position: relative;
  margin-top: 6px;
  transition: border-color 0.15s;
}
.tv2__f:hover {
  border-color: rgba(38, 55, 124, 0.3);
}
.tv2__f--full {
  grid-column: 1/-1;
  margin-bottom: 4px;
}
.tv2__lbl {
  position: absolute;
  top: -7px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0a143c;
  background: #fff;
  padding: 0 4px;
  line-height: 1.2;
}
.tv2__val {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #1a1f2e;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv2__val--mono {
  font-size: 12px;
  letter-spacing: 0.2px;
}
.tv2__val--bold {
  font-weight: 700;
}
.tv2__val--empty {
  color: rgba(107, 111, 138, 0.5);
}
.tv2__link {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #26377c;
  text-decoration: none;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv2__link:hover {
  text-decoration: underline;
  color: #122164;
}
.tv2__dw {
  padding: 8px 10px 0;
}
.tv2__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.tv2__chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #26377c;
  background: rgba(38, 55, 124, 0.06);
  border: 1px solid rgba(38, 55, 124, 0.12);
  padding: 3px 10px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.tv2__chip:hover {
  background: rgba(38, 55, 124, 0.12);
  border-color: rgba(38, 55, 124, 0.25);
}

.te2__tag--sm {
  padding: 2px 8px 2px 10px !important;
  font-size: 11px !important;
  border-radius: 12px !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .tv2__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .tv2__grid--3,
  .tv2__grid--2 {
    grid-template-columns: 1fr;
  }
  .tv2__card-body {
    padding: 12px 14px;
  }
  .tv2__head-tags {
    display: none;
  }
}
