@font-face {
  font-family: 'CK Condensed';
  src: url('/public/fonts/roboto-condensed/RobotoCondensed-Variable.woff2?v=3.3.0') format('woff2'),
       url('/public/fonts/roboto-condensed/RobotoCondensed-Variable.ttf?v=3.3.0') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
/* Shared by chart, form, iframe and print. All font requests stay local. */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/public/fonts/roboto-condensed/RobotoCondensed-Variable.woff2?v=3.3.0') format('woff2'),
       url('/public/fonts/roboto-condensed/RobotoCondensed-Variable.ttf?v=3.3.0') format('truetype');
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/public/fonts/roboto-condensed/RobotoCondensed-Italic-Variable.woff2?v=3.3.0') format('woff2'),
       url('/public/fonts/roboto-condensed/RobotoCondensed-Italic-Variable.ttf?v=3.3.0') format('truetype');
}
.table-la-so .txt-tiny,
.table-la-so .txt-tiny-mid { letter-spacing: normal; }
.table-la-so .txt-tiny-bold {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -.39px;
  color: #000;
}
.table-la-so .text-chinh-chinh {
  font-size: 14.3px;
  line-height: 1.32;
  white-space: nowrap;
}
.table-la-so .text-sao-xau-tot {
  font-size: 14.5px;
  line-height: 1.38;
}
/* Shared school annotations: compact, upright and keyed by Hoa identity.
   Scoped important colors replace the old inline palette, including Tự. */
.table-la-so .cung-middle-tu-hoa-phai { border-top: 1px solid rgba(20,25,35,.15); padding-top: 3px; }
.table-la-so .cung-middle-tu-hoa-phai p { font: 400 13.5px/1.3 'Roboto Condensed', Arial, sans-serif; letter-spacing: normal; color: #141923 !important; }
/* UX-10: chú giải độ sáng dưới bàn (M:Miếu, V:Vượng...) dùng #ff3110 chỉ đạt 3,13:1; #b3260e đạt 5,58:1 trên nền giấy. */
.table-la-so:not(.la-so-den-trang) .note-la-so .item-note-abbr { color: #b3260e; }
.table-la-so .cung-middle-tu-hoa-phai p[data-hoa-key="loc"] { --ck-thp-color: #0f6b28; }
.table-la-so .cung-middle-tu-hoa-phai p[data-hoa-key="quyen"] { --ck-thp-color: #b91c1c; }
.table-la-so .cung-middle-tu-hoa-phai p[data-hoa-key="khoa"] { --ck-thp-color: #0053b5; }
.table-la-so .cung-middle-tu-hoa-phai p[data-hoa-key="ky"] { --ck-thp-color: #6d28d9; }
.table-la-so .cung-middle-tu-hoa-phai p:has(> .color-highlight),
.table-la-so .cung-middle-tu-hoa-phai p span { color: var(--ck-thp-color, #141923) !important; font-style: normal; }
.table-la-so .cung-middle-tu-hoa-phai p span { font-weight: 600; }
.table-la-so.la-so-den-trang .cung-middle-tu-hoa-phai p,
.table-la-so.la-so-den-trang .cung-middle-tu-hoa-phai p span { color: #000 !important; }
/* Preserve emphasis without the previous heavy secondary-star strokes. */
.table-la-so .text-sao-xau-tot.font-weight-bold { font-weight: 500 !important; }
/* Let the row sizer measure actual star columns instead of a 50% height box. */
.table-la-so .cung-middle { height: auto; }
