/* Tra cứu nên/không nên + triệu chứng (docs/114, docs/109; design duyệt 27/11/2026). Mọi lớp gói trong .tc-page. */
.tc-page { max-width: 1080px; margin: 0 auto; padding: 16px 16px 24px; color: #212529; }
.tc-page h1, .tc-page h2, .tc-page .btn { text-transform: none !important; }
/* Chữ căn trái: lấp đầy dòng trên, chống chữ lẻ bằng &nbsp; ở hai chữ cuối (TracuuData::nb). Không dùng text-wrap: pretty:
   Chrome kéo chữ xuống làm dòng đầu trống 30–41% (đo 27/11/2026 trên 344/375px), trái luật "lấp đầy dòng trên". */
.tc-page p, .tc-page li, .tc-page .t { text-wrap: wrap; }
.tc-page .blk { background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.05); padding: 16px; margin-bottom: 16px; border: 0; }
.tc-page .tc-h1 { font-size: 1.4rem; font-weight: 700; line-height: 1.3; margin: 0; color: #2C3E50; text-wrap: wrap; }
.tc-page .tc-h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: #2C3E50; text-wrap: wrap; }
.tc-page .muted { color: #6c757d; }
.tc-page a { color: inherit; }
.tc-page a.lnk, .tc-page .box a { color: #2980b9; }

/* ⓘ nguồn */
.tc-page .ttl { display: flex; align-items: flex-start; gap: 8px; }
.tc-page .ttl .tc-h1 { flex: 1; }
.tc-page details.info summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px;
  min-height: 44px; margin-top: -6px; color: #6c757d; font-size: 1.1rem; cursor: pointer; }
.tc-page details.info summary::-webkit-details-marker { display: none; }
.tc-page .box { font-size: .85rem; color: #495057; background: #f8f9fa; border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.tc-page .box ul { margin: 0 0 6px; padding-left: 18px; }
.tc-page .box p { margin: 0; }
.tc-page .box a { display: inline-block; min-height: 28px; line-height: 1.4; padding: 2px 0; }

/* Ô tìm + chip */
.tc-page .search { position: relative; margin-top: 12px; }
.tc-page .search input { width: 100%; min-height: 48px; border: 1px solid #dee2e6; border-radius: 999px; padding: 0 44px; font-size: 16px; outline: 0; -webkit-appearance: none; appearance: none; }
.tc-page .search input:focus { border-color: #3498DB; }
.tc-page .search input::-webkit-search-cancel-button { display: none; }
.tc-page .search .ic { position: absolute; left: 16px; top: 16px; color: #95a5a6; }
.tc-page .search .clr { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; display: none; align-items: center;
  justify-content: center; color: #95a5a6; background: none; border: 0; }
.tc-page .search.has .clr { display: flex; }
.tc-page .chips { display: flex; gap: 8px; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px; scrollbar-width: none; }
.tc-page .chips::-webkit-scrollbar { display: none; }
.tc-page .chip { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 0;
  background: #f1f3f5; color: #2C3E50; font-size: .9rem; white-space: nowrap; cursor: pointer; }
.tc-page .chip.on { background: #3498DB; color: #fff; }
@media (min-width: 576px) { .tc-page .chips { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 0; } }

/* Dòng mục */
.tc-page .rows { margin: 0 -16px -16px; }
.tc-page .row-i { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; border-top: 1px solid #f1f3f5;
  color: #212529; text-decoration: none !important; cursor: pointer; }
.tc-page .rows > :first-child, .tc-page .rows > :first-child > .row-i { border-top: 0; }
.tc-page .row-i:hover { background: #fafbfc; }
.tc-page .row-i .nm { flex: 1; min-width: 0; text-wrap: wrap; }
.tc-page .row-i .wk { font-size: .85rem; color: #6c757d; white-space: nowrap; }
.tc-page .row-i .fa-chevron-right, .tc-page .row-i .fa-chevron-down { color: #ced4da; font-size: .8rem; }
.tc-page details.row-d > summary { list-style: none; }
.tc-page details.row-d > summary::-webkit-details-marker { display: none; }
.tc-page details.row-d[open] > summary .fa-chevron-down { transform: rotate(180deg); }
.tc-page .row-b { padding: 0 16px 16px; color: #495057; font-size: .95rem; margin: 0; }
.tc-page .more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 0;
  border-top: 1px solid #f1f3f5; background: none; color: #2980b9; font-weight: 600; }
.tc-page .x { display: none; }

/* Nhãn kết luận: chữ màu trên nền nhạt, không icon */
.tc-page .vd { flex: none; display: inline-block; font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.tc-page .vd.ok { color: #128f76; background: #e8f8f5; }
.tc-page .vd.cn { color: #b8730a; background: #fef5e7; }
.tc-page .vd.no { color: #d0392b; background: #fdedec; }

/* Khối kết luận */
.tc-page .verdict { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.tc-page .verdict .me { font-size: .9rem; color: #6c757d; }
.tc-page .verdict .big { font-size: 1.25rem; font-weight: 700; }
.tc-page .big.no { color: #E74C3C; } .tc-page .big.cn { color: #c87f0a; } .tc-page .big.ok { color: #18BC9C; }
.tc-page .verdict p { margin: 0; }
.tc-page .verdict .note { font-size: .85rem; color: #6c757d; }
.tc-page .bu { background: #f0f7fd; border-radius: 12px; padding: 10px 12px; }
.tc-page .stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tc-page .stg { border: 1px solid #e9ecef; border-radius: 12px; padding: 8px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 6px; background: #fff; min-height: 44px; font: inherit; color: inherit; }
.tc-page button.stg { cursor: pointer; }
.tc-page .stg.cur { border-color: #3498DB; background: #f0f7fd; }
.tc-page .stg .sn { font-size: .8rem; color: #6c757d; line-height: 1.25; text-wrap: balance; }
.tc-page .stg .vd { white-space: nowrap; }
@media (max-width: 359.98px) { .tc-page .stg { padding: 8px 4px; } .tc-page .stg .vd { font-size: .75rem; padding: 4px 8px; } }

.tc-page ul.dots { margin: 0; padding-left: 20px; }
.tc-page ul.dots li { margin-top: 6px; }
.tc-page ul.dots li:first-child { margin-top: 0; }
.tc-page .alarm { background: #fdedec; box-shadow: none; border: 1px solid #f5b7b1; }
.tc-page .alarm .tc-h2 { color: #c0392b; }
.tc-page .alarm .sub { font-weight: 700; color: #c0392b; margin: 16px 0 8px; padding-top: 16px; border-top: 1px solid #f5b7b1; }
.tc-page .alarm .act { font-weight: 700; margin: 12px 0 0; }
.tc-page .alarm .act a { color: #c0392b; text-decoration: underline; display: inline-block; min-height: 44px; line-height: 44px; margin: -12px 0; }
.tc-page .hear { background: #f8f9fa; box-shadow: none; }
.tc-page .hear p { margin: 0; font-size: .95rem; color: #495057; }

.tc-page .acts { display: flex; gap: 12px; justify-content: center; }
.tc-page .btn-h { flex: 1 1 0; max-width: 160px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 20px; border-radius: 999px; border: 1px solid #3498DB; color: #3498DB; background: #fff; font-weight: 600; cursor: pointer; }
.tc-page .btn-h.on { background: #3498DB; color: #fff; }
.tc-page .flip-v { transform: scaleY(-1); }
.tc-page .vote { text-align: center; }
.tc-page .vote .tc-h2 { text-wrap: balance; margin-bottom: 12px; }
.tc-page .btn-shp { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px;
  background: #ee4d2d; color: #fff !important; font-weight: 700; text-decoration: none !important; margin-top: 16px; }
.tc-page .empty { text-align: center; padding: 8px 0; }
.tc-page .empty p { margin: 0 0 12px; text-wrap: balance; }
.tc-page .btn-p { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: #3498DB; color: #fff !important; font-weight: 600; text-decoration: none !important; }

/* iPad, PC: hai cột */
@media (min-width: 768px) {
  .tc-page .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .tc-page .cols.item { grid-template-columns: 3fr 2fr; }
  .tc-page .cols > div > .blk:last-child { margin-bottom: 0; }
}
/* ≤575px: khối ngoài cùng tràn mép, góc vuông */
@media (max-width: 575.98px) {
  .tc-page { padding: 16px 0 24px; }
  .tc-page .blk.panel-mobile-fullwidth { border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
  .tc-page .alarm.panel-mobile-fullwidth { border-left: 0; border-right: 0; }
}
