/* ============================================================
   Xem ngày tốt xấu — lịch tháng tô màu + chi tiết ngày
   Prefix: xnt-
   ============================================================ */

.xnt-wrap {
    max-width: 1100px;
    margin: 0 auto;
    font-family: var(--tvq-font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    color: #2d1f10;
    padding: 12px;
}

/* ===== Form ===== */
.xnt-form {
    background: linear-gradient(135deg, #fff8e7, #fef5e0);
    border: 1px solid #d4a943;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.xnt-title {
    margin: 0 0 8px;
    font-size: 1.45rem;
    color: #7b1414;
    text-align: center;
}

.xnt-intro {
    margin: 0 0 16px;
    color: #5a4a30;
    font-size: 0.92rem;
    line-height: 1.55;
    text-align: center;
}

.xnt-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}

@media (max-width: 720px) {
    .xnt-form-grid {
        grid-template-columns: 1fr;
    }
}

.xnt-fieldset {
    border: 1px solid #e0c896;
    border-radius: 10px;
    padding: 14px 16px 16px;
    background: #fffefb;
    margin: 0;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.xnt-fieldset legend {
    padding: 0 8px;
    color: #7b1414;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.xnt-fieldset legend small {
    text-transform: none;
    font-weight: 500;
    color: #a07a3a;
    letter-spacing: 0;
    font-size: 0.78rem;
}

.xnt-toggle-label {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #fff8e7;
    border: 1px solid #e0c896;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #5a4a30;
    transition: background 0.15s, border-color 0.15s;
}

.xnt-toggle-label:hover {
    background: #fef5d6;
    border-color: #d4a943;
}

.xnt-toggle-label input {
    width: 18px;
    height: 18px;
    accent-color: #7b1414;
    cursor: pointer;
    flex-shrink: 0;
}

.xnt-personal-hint {
    color: #6b5430;
    font-size: 0.85rem;
    line-height: 1.55;
    padding: 6px 4px;
    text-align: center;
}
.xnt-personal-hint strong { color: #7b1414; }

.xnt-field-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.xnt-field-row > .xnt-select {
    flex: 1 1 0;
    min-width: 0;
}

.xnt-field-row-3 > * {
    flex: 1 1 0;
    min-width: 0;
}

.xnt-select {
    padding: 10px 12px;
    border: 1px solid #d4a943;
    border-radius: 6px;
    background: #fff;
    font-size: 0.98rem;
    font-weight: 500;
    color: #2d1f10;
    width: 100%;
    min-height: 44px;
    line-height: 1.3;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: menulist;
    appearance: menulist;
}

.xnt-select:focus {
    outline: 2px solid #d4a943;
    outline-offset: 1px;
}

.xnt-radio-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-top: 10px;
    font-size: 0.92rem;
}

.xnt-radio {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.xnt-radio input { accent-color: #7b1414; }

.xnt-radio-divider {
    color: #c0a060;
    margin: 0 4px;
}

.xnt-submit {
    display: block;
    margin: 0 auto;
    padding: 12px 32px;
    background: #7b1414;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.xnt-submit:hover {
    background: #5a0e0e;
}

.xnt-error {
    background: #fee;
    border-left: 4px solid #c00;
    padding: 12px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
    color: #800;
}

/* ===== Month section ===== */
.xnt-month-section {
    margin-bottom: 28px;
}

.xnt-month-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.xnt-month-title {
    margin: 0;
    font-size: 1.4rem;
    color: #7b1414;
    text-align: center;
}

.xnt-personalized-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    background: #b8860b;
    color: #fff;
    padding: 2px 9px;
    border-radius: 12px;
    margin-left: 6px;
    vertical-align: middle;
}

.xnt-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #d4a943;
    border-radius: 50%;
    color: #7b1414;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.15s;
}

.xnt-nav-btn:hover {
    background: #d4a943;
    color: #fff;
}

/* ===== Legend ===== */
.xnt-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: #5a4a30;
}

.xnt-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.xnt-legend-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

/* ===== Calendar grid ===== */
.xnt-calendar {
    background: #fff;
    border: 1px solid #d4a943;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(123, 20, 20, 0.06);
}

.xnt-calendar-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #7b1414;
    color: #fff;
}

.xnt-calendar-dow {
    text-align: center;
    padding: 10px 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.xnt-calendar-dow.xnt-weekend {
    background: #5a0e0e;
}

.xnt-calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.xnt-calendar-cell {
    position: relative;
    min-height: 100px;
    border-right: 1px solid #f0e6c8;
    border-bottom: 1px solid #f0e6c8;
    padding: 5px 6px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
    transition: transform 0.1s, box-shadow 0.1s;
}

.xnt-calendar-cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.xnt-cell-empty {
    background: #faf6ec;
    min-height: 100px;
}

.xnt-cell-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.xnt-cell-day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.xnt-cell-canchi {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8a4040;
    text-align: right;
    line-height: 1.1;
    opacity: 0.9;
}

.xnt-cell-mid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.xnt-cell-truc {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.xnt-truc-cat {
    color: #1d5710;
    background: rgba(135, 191, 120, 0.25);
    border-color: rgba(135, 191, 120, 0.4);
}

.xnt-truc-hung {
    color: #7a0d0d;
    background: rgba(214, 136, 136, 0.25);
    border-color: rgba(214, 136, 136, 0.4);
}

.xnt-truc-binh {
    color: #6a5410;
    background: rgba(212, 169, 67, 0.18);
    border-color: rgba(212, 169, 67, 0.4);
}

.xnt-cell-bot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.72rem;
    line-height: 1;
}

.xnt-cell-lunar {
    opacity: 0.75;
}

.xnt-cell-score {
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.75rem;
}

.xnt-cell-icon {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.85rem;
    line-height: 1;
    pointer-events: none;
}

/* Khi ô có icon, dịch Can Chi xuống tránh chồng */
.xnt-calendar-cell:has(.xnt-cell-icon) .xnt-cell-canchi {
    margin-top: 14px;
}

@media (max-width: 600px) {
    .xnt-calendar-cell {
        min-height: 80px;
        padding: 4px;
    }
    .xnt-cell-day { font-size: 1rem; }
    .xnt-cell-canchi { font-size: 0.62rem; }
    .xnt-cell-truc { font-size: 0.68rem; padding: 1px 4px; }
    .xnt-cell-bot { font-size: 0.65rem; }
    .xnt-cell-score { font-size: 0.65rem; padding: 0 3px; }
}

.xnt-cell-today {
    box-shadow: inset 0 0 0 3px #7b1414;
}

.xnt-cell-focus {
    box-shadow: inset 0 0 0 3px #b8860b;
}

/* ===== Color scale ===== */
.xnt-color-excellent {
    background: #d6f0d2;
    color: #1d5710;
}
.xnt-color-good {
    background: #ecf6c8;
    color: #4a5a10;
}
.xnt-color-neutral {
    background: #fff8d7;
    color: #6a5410;
}
.xnt-color-bad {
    background: #ffd9b0;
    color: #7a3a05;
}
.xnt-color-terrible {
    background: #f7c0c0;
    color: #7a0d0d;
}

.xnt-calendar-cell.xnt-weekend .xnt-cell-day {
    color: #b80c0c;
}

.xnt-legend-swatch.xnt-color-excellent { background: #d6f0d2; }
.xnt-legend-swatch.xnt-color-good      { background: #ecf6c8; }
.xnt-legend-swatch.xnt-color-neutral   { background: #fff8d7; }
.xnt-legend-swatch.xnt-color-bad       { background: #ffd9b0; }
.xnt-legend-swatch.xnt-color-terrible  { background: #f7c0c0; }

/* ===== Top 5 ===== */
.xnt-top5 {
    margin-top: 18px;
}

.xnt-section-h {
    color: #7b1414;
    font-size: 1.1rem;
    margin: 18px 0 10px;
    border-left: 4px solid #b8860b;
    padding-left: 10px;
}

.xnt-top5-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.xnt-top5-card {
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.1s, box-shadow 0.1s;
    position: relative;
}

.xnt-top5-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(123, 20, 20, 0.15);
}

.xnt-top5-rank {
    position: absolute;
    top: 6px;
    right: 8px;
    font-weight: 700;
    color: #7b1414;
}

.xnt-top5-date {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.xnt-top5-date strong {
    color: #7b1414;
}

.xnt-top5-date span {
    margin-left: 6px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.xnt-top5-score {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.xnt-top5-verdict {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.92;
}

/* ===== Detail block ===== */
.xnt-detail {
    background: #fff;
    border: 1px solid #d4a943;
    border-radius: 12px;
    padding: 0;
    margin-top: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(123, 20, 20, 0.08);
    scroll-margin-top: 20px;
}

.xnt-detail-head {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.xnt-detail-date {
    margin-bottom: 8px;
    font-size: 1.02rem;
    line-height: 1.6;
}

.xnt-detail-weekday {
    display: inline-block;
    margin-right: 6px;
    font-weight: 600;
}

.xnt-detail-verdict {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.xnt-verdict-emoji {
    font-size: 1.6rem;
}

.xnt-verdict-label {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.xnt-verdict-score {
    background: rgba(0, 0, 0, 0.12);
    padding: 4px 12px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
}

.xnt-detail-summary {
    margin: 8px 0 0;
    font-style: italic;
    font-size: 0.95rem;
}

/* ===== Sections inside detail ===== */
.xnt-section {
    padding: 14px 20px;
    border-bottom: 1px solid #f0e6c8;
}

.xnt-section:last-child {
    border-bottom: none;
}

.xnt-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 20px;
}

@media (max-width: 600px) {
    .xnt-grid2 {
        grid-template-columns: 1fr;
    }
}

.xnt-card {
    background: #fffefb;
    border: 1px solid #e0c896;
    border-radius: 8px;
    padding: 12px 14px;
}

.xnt-card h5 {
    margin: 0 0 6px;
    color: #7b1414;
    font-size: 0.95rem;
}

.xnt-card-main {
    margin: 0 0 4px;
    font-size: 1.02rem;
}

.xnt-card-note {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #4a3a20;
}

.xnt-card-good {
    border-color: #87bf78;
    background: #f4fbef;
}

.xnt-card-bad {
    border-color: #d68888;
    background: #fdf2f2;
}

.xnt-card-neutral {
    background: #fffaeb;
}

.xnt-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

.xnt-tag-good { background: #d6f0d2; color: #1d5710; }
.xnt-tag-bad  { background: #f7c0c0; color: #7a0d0d; }

/* ===== Pillars ===== */
.xnt-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 6px;
}

@media (max-width: 480px) {
    .xnt-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

.xnt-pillar {
    background: #fffefb;
    border: 1px solid #e0c896;
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
}

.xnt-pillar-label {
    display: block;
    font-size: 0.78rem;
    color: #8a6e30;
    margin-bottom: 4px;
}

.xnt-pillar strong {
    color: #7b1414;
    font-size: 0.98rem;
}

.xnt-pillar-day {
    background: linear-gradient(135deg, #fff5d6, #ffeab0);
    border-color: #d4a943;
}

/* ===== Lists ===== */
.xnt-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.xnt-list li {
    margin-bottom: 3px;
}

.xnt-muted {
    color: #998060;
    font-style: italic;
    margin: 0;
}

/* ===== Hours grid ===== */
.xnt-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.xnt-hour-cell {
    background: linear-gradient(135deg, #f4fbef, #e8f5dc);
    border: 1px solid #87bf78;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.xnt-hour-name {
    font-weight: 600;
    color: #1d5710;
    font-size: 0.9rem;
}

.xnt-hour-branch {
    font-size: 0.85rem;
    color: #4a5a10;
    margin-top: 2px;
}

.xnt-hour-range {
    font-size: 0.82rem;
    color: #6a6020;
    margin-top: 2px;
}

/* ===== Directions ===== */
.xnt-dirs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.xnt-dir {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid;
}

.xnt-dir-good {
    background: #f4fbef;
    border-color: #87bf78;
}

.xnt-dir-bad {
    background: #fdf2f2;
    border-color: #d68888;
}

.xnt-dir-label {
    display: block;
    font-size: 0.82rem;
    color: #5a4a30;
    margin-bottom: 4px;
}

.xnt-dir strong {
    font-size: 1.1rem;
    color: #7b1414;
}

/* ===== Personal section ===== */
.xnt-personal-section {
    background: linear-gradient(135deg, #fff8e7, #fef0d3);
}

.xnt-personal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.xnt-personal-card {
    background: #fff;
    border: 1px solid #e0c896;
    border-radius: 8px;
    padding: 10px 12px;
}

.xnt-personal-label {
    display: block;
    font-size: 0.82rem;
    color: #8a6e30;
    margin-bottom: 3px;
}

.xnt-personal-card strong {
    font-size: 1rem;
}

.xnt-personal-note {
    display: block;
    font-size: 0.82rem;
    font-style: italic;
    color: #5a4a30;
    margin-top: 4px;
    line-height: 1.4;
}

.xnt-personal-verdict {
    background: linear-gradient(135deg, #fffbe0, #fff5c8);
    border-color: #d4a943;
    grid-column: 1 / -1;
}

.xnt-personal-verdict strong {
    color: #7b1414;
    font-size: 1.05rem;
}

.xnt-text-good { color: #1d5710; }
.xnt-text-bad  { color: #b80c0c; }

/* ============================================================
   v0.50.x — DAY DETAIL ENRICHMENTS
   ============================================================ */

.xnt-letiet {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 0 0 14px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fff7e6 0%, #fff3c4 100%);
    border-left: 4px solid #b8860b;
    border-radius: 8px;
}
.xnt-letiet-tet        { background: linear-gradient(135deg, #fef2f2 0%, #ffe4e6 100%); border-left-color: #b91c1c; }
.xnt-letiet-le-phat    { background: linear-gradient(135deg, #fef9e7 0%, #fef3c7 100%); border-left-color: #b8860b; }
.xnt-letiet-le-to-tien { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-left-color: #1d4ed8; }
.xnt-letiet-le-vh      { background: linear-gradient(135deg, #fff7e6 0%, #fef3c7 100%); border-left-color: #d97706; }
.xnt-letiet-icon { font-size: 28px; flex-shrink: 0; }
.xnt-letiet-body h5 { margin: 0 0 4px; color: #7b1414; font-size: 16px; }
.xnt-letiet-body p  { margin: 0; font-size: 14.5px; color: #5a4a3a; line-height: 1.55; }

.xnt-tag-element {
    display: inline-block;
    padding: 1px 8px;
    background: #b8860b;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 6px;
}
.xnt-ntbt-group {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    margin-left: 6px;
    vertical-align: middle;
}
.xnt-ntbt-group-thanh-long { background: #047857; }
.xnt-ntbt-group-huyen-vu   { background: #1d4ed8; }
.xnt-ntbt-group-bach-ho    { background: #6b7280; }
.xnt-ntbt-group-chu-tuoc   { background: #b91c1c; }
.xnt-ntbt-good { margin: 6px 0 2px; padding: 4px 0; font-size: 13px; color: #15803d; }
.xnt-ntbt-bad  { margin: 2px 0 0; padding: 4px 0; font-size: 13px; color: #b91c1c; }
.xnt-ntbt-good strong { color: #047857; }
.xnt-ntbt-bad  strong { color: #991b1b; }

.xnt-hours-block { display: flex; flex-direction: column; gap: 14px; }
.xnt-hours-group { padding: 10px 12px; border-radius: 8px; }
.xnt-hours-good  { background: #ecfdf5; border-left: 3px solid #15803d; }
.xnt-hours-bad   { background: #fef2f2; border-left: 3px solid #b91c1c; }
.xnt-hours-group-h { margin: 0 0 8px; font-size: 14px; color: #2c1810; }
.xnt-hours-good .xnt-hours-group-h { color: #047857; }
.xnt-hours-bad  .xnt-hours-group-h { color: #991b1b; }
.xnt-hour-cell-bad {
    background: linear-gradient(135deg, #fef9f8, #fee4e2);
    border-color: #fca5a5;
}
.xnt-hour-cell-bad .xnt-hour-name { color: #991b1b; }

.xnt-energy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 720px) { .xnt-energy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .xnt-energy-grid { grid-template-columns: 1fr; } }
.xnt-energy-card {
    background: #fff;
    border: 1px solid #e5dccc;
    border-radius: 8px;
    padding: 12px 14px;
}
.xnt-energy-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.xnt-energy-icon  { font-size: 18px; }
.xnt-energy-label { flex: 1; font-weight: 600; color: #2c1810; font-size: 14px; }
.xnt-energy-score { font-weight: 700; color: #7b1414; font-size: 14px; }
.xnt-energy-bar {
    background: #f0f0f0;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 6px;
}
.xnt-energy-bar > span { display: block; height: 100%; transition: width 0.35s; }
.xnt-energy-note { margin: 0; font-size: 12px; color: #6b5a40; line-height: 1.5; }

.xnt-checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (max-width: 900px) { .xnt-checklist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .xnt-checklist-grid { grid-template-columns: 1fr; } }
.xnt-checklist-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5dccc;
    border-left-width: 4px;
    border-radius: 6px;
    align-items: flex-start;
}
.xnt-checklist-tot  { border-left-color: #15803d; background: #ecfdf5; }
.xnt-checklist-binh { border-left-color: #6b7280; }
.xnt-checklist-xau  { border-left-color: #b91c1c; background: #fef2f2; }
.xnt-checklist-icon {
    font-size: 18px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
}
.xnt-checklist-tot  .xnt-checklist-icon { background: #15803d; }
.xnt-checklist-binh .xnt-checklist-icon { background: #6b7280; }
.xnt-checklist-xau  .xnt-checklist-icon { background: #b91c1c; }
.xnt-checklist-body { display: flex; flex-direction: column; gap: 2px; }
.xnt-checklist-body strong { font-size: 13px; color: #2c1810; }
.xnt-checklist-body small  { font-size: 12px; color: #5a4a3a; line-height: 1.5; }

.xnt-hopky-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
@media (max-width: 720px) { .xnt-hopky-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .xnt-hopky-grid { grid-template-columns: repeat(2, 1fr); } }
.xnt-hopky-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5dccc;
    border-left-width: 4px;
    border-radius: 6px;
}
.xnt-hopky-cell strong { font-size: 14px; color: #2c1810; }
.xnt-hopky-cell small  { font-size: 11px; color: #5a4a3a; line-height: 1.45; margin-top: 2px; }
.xnt-hopky-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 10px;
    color: #fff;
    width: fit-content;
    margin-top: 2px;
}
.xnt-hopky-dai-hop { border-left-color: #047857; background: #ecfdf5; }
.xnt-hopky-dai-hop .xnt-hopky-label { background: #047857; }
.xnt-hopky-hop     { border-left-color: #15803d; }
.xnt-hopky-hop     .xnt-hopky-label { background: #15803d; }
.xnt-hopky-binh    { border-left-color: #94a3b8; }
.xnt-hopky-binh    .xnt-hopky-label { background: #94a3b8; }
.xnt-hopky-ky      { border-left-color: #d97706; background: #fff7ed; }
.xnt-hopky-ky      .xnt-hopky-label { background: #d97706; }
.xnt-hopky-dai-ky  { border-left-color: #b91c1c; background: #fef2f2; }
.xnt-hopky-dai-ky  .xnt-hopky-label { background: #b91c1c; }

