
html body .qi-lct {
    --lct-nen: #f5f7fb;
    --lct-nhat: color-mix(in srgb, var(--cm-mau) 9%, #fff);
    --lct-bo: 12px;
    color: var(--cm-chu);
    font-size: 15px;
    line-height: 1.5;
    padding: 4px 2px 8px;
}
html body .qi-lct *, html body .qi-lct *::before, html body .qi-lct *::after { box-sizing: border-box; }
html body .qi-lct a { text-decoration: none; }
html body .qi-lct [hidden] { display: none !important; }

html body .qi-lct .qi-lct-dau {
    display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
    gap: 14px 24px; margin: 4px 0 18px;
}
html body .qi-lct .qi-lct-dau-chu { flex: 1 1 380px; min-width: 0; }
html body .qi-lct h1.qi-cm-tieude { margin: 4px 0 6px; }
html body .qi-lct .qi-lct-nhan {
    display: inline-block; padding: 2px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    background: var(--lct-nhat); color: var(--cm-mau);
}
html body .qi-lct .qi-lct-nhan--bo-sung { background: #fff4e0; color: #9a5b00; }
html body .qi-lct .qi-lct-nhan--dieu-chinh { background: #fdecec; color: #b42318; }
html body .qi-lct .qi-lct-tuan { margin: 0; font-size: 19px; font-weight: 700; color: var(--cm-mau); }
html body .qi-lct .qi-lct-tuan span { font-weight: 600; }
html body .qi-lct .qi-lct-nguon { margin: 4px 0 0; font-size: 13.5px; color: var(--cm-phu); }

html body .qi-lct .qi-lct-nut { display: flex; flex-wrap: wrap; gap: 8px; }
html body .qi-lct .qi-lct-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px;
    border: 1px solid var(--cm-mau); border-radius: 10px; background: #fff;
    color: var(--cm-mau) !important; font-weight: 600; font-size: 14.5px; cursor: pointer;
    transition: background .15s, color .15s;
}
html body .qi-lct .qi-lct-btn:hover { background: var(--lct-nhat); }
html body .qi-lct .qi-lct-btn--chinh { background: var(--cm-mau); color: #fff !important; }
html body .qi-lct .qi-lct-btn--chinh:hover { background: color-mix(in srgb, var(--cm-mau) 85%, #000); }

html body .qi-lct .qi-lct-cc {
    display: grid; grid-template-columns: auto minmax(220px, 1fr); gap: 12px 16px; align-items: center;
    padding: 14px 16px; margin-bottom: 18px;
    background: #fff; border: 1px solid var(--cm-vien); border-radius: var(--lct-bo);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
}
html body .qi-lct .qi-lct-tuannav {
    display: flex; border: 1px solid var(--cm-vien); border-radius: 10px; overflow: hidden; background: var(--lct-nen);
}
html body .qi-lct .qi-lct-tuannav > * {
    display: flex; align-items: center; min-height: 42px; padding: 0 14px; font-size: 14px; white-space: nowrap;
    color: var(--cm-chu) !important;
}
html body .qi-lct .qi-lct-tuannav a:hover { background: #fff; color: var(--cm-mau) !important; }
html body .qi-lct .qi-lct-tuannav .dang { background: var(--cm-mau); color: #fff !important; font-weight: 700; }
html body .qi-lct .qi-lct-tuannav .tat { color: #a0a8b4 !important; }
html body .qi-lct .qi-lct-tim {
    display: flex; align-items: center; gap: 8px; margin: 0; min-height: 42px; padding: 0 12px;
    background: var(--lct-nen); border: 1px solid var(--cm-vien); border-radius: 10px; color: var(--cm-phu);
}
html body .qi-lct .qi-lct-tim:focus-within { border-color: var(--cm-mau); background: #fff; }
html body .qi-lct .qi-lct-tim input {
    flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent;
    font-size: 15px; color: var(--cm-chu); box-shadow: none;
}
html body .qi-lct .qi-lct-loc {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
}
html body .qi-lct .qi-lct-loc label { display: flex; align-items: center; gap: 8px; margin: 0; flex: 0 1 380px; min-width: 0; }
html body .qi-lct .qi-lct-loc label > span {
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cm-phu); white-space: nowrap;
}
html body .qi-lct .qi-lct-loc select {
    flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--cm-vien); border-radius: 10px;
    background: #fff; font-size: 14.5px; color: var(--cm-chu);
}
html body .qi-lct .qi-lct-dem { margin-left: auto; font-size: 14px; color: var(--cm-phu); }
html body .qi-lct .qi-lct-dem b { color: var(--cm-mau); }
html body .qi-lct .qi-lct-datlai {
    min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px;
    background: var(--cm-mau); color: #fff; font-weight: 600; cursor: pointer;
}

html body .qi-lct .qi-lct-luoi { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
html body .qi-lct .qi-lct-chinh { min-width: 0; }
html body .qi-lct .qi-lct-phai { display: grid; gap: 16px; position: sticky; top: 12px; }

html body .qi-lct .qi-lct-chip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
html body .qi-lct .qi-lct-chip button {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
    min-width: 84px; min-height: 46px; padding: 4px 14px;
    border: 1px solid var(--cm-vien); border-radius: 10px; background: #fff; cursor: pointer;
    color: var(--cm-chu); font-size: 14.5px; line-height: 1.25;
    transition: border-color .15s, background .15s, color .15s;
}
html body .qi-lct .qi-lct-chip button b { font-weight: 600; }
html body .qi-lct .qi-lct-chip button small { font-size: 12px; color: var(--cm-phu); }
html body .qi-lct .qi-lct-chip button:hover { border-color: var(--cm-mau); color: var(--cm-mau); }
html body .qi-lct .qi-lct-chip button.homnay { border-color: var(--cm-mau); }
html body .qi-lct .qi-lct-chip button.dang { background: var(--cm-mau); border-color: var(--cm-mau); color: #fff; font-weight: 700; }
html body .qi-lct .qi-lct-chip button.dang small { color: rgba(255, 255, 255, .85); }

html body .qi-lct .qi-lct-ngay { margin-bottom: 18px; scroll-margin-top: 80px; }
html body .qi-lct h2.qi-lct-ngay-dau {
    display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 11px 16px;
    background: var(--lct-nhat); border-radius: 10px;
    font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--cm-mau);
    line-height: 1.35;
}
html body .qi-lct h2.qi-lct-ngay-dau::before {
    content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}
html body .qi-lct h2.qi-lct-ngay-dau em {
    font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--cm-mau); color: #fff;
}
html body .qi-lct h2.qi-lct-ngay-dau small {
    margin-left: auto; font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; white-space: nowrap;
}
html body .qi-lct .qi-lct-ngay.daqua h2.qi-lct-ngay-dau { background: #eef0f4; color: #5b6675; }

html body .qi-lct ol.qi-lct-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html body .qi-lct .qi-lct-sk {
    display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px;
    padding: 16px 18px; background: #fff;
    border: 1px solid var(--cm-vien); border-left: 4px solid var(--cm-mau); border-radius: var(--lct-bo);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
html body .qi-lct .qi-lct-ngay.daqua .qi-lct-sk { border-left-color: #c3c9d3; }
html body .qi-lct .qi-lct-gio {
    font-size: 24px; font-weight: 700; line-height: 1.15; color: var(--cm-mau);
    font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
html body .qi-lct .qi-lct-gio--chu { font-size: 15px; text-transform: uppercase; }
html body .qi-lct .qi-lct-ngay.daqua .qi-lct-gio { color: #5b6675; }
html body .qi-lct p.qi-lct-nd {
    margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--cm-chu); white-space: pre-line;
}
html body .qi-lct dl.qi-lct-tt { margin: 0; display: grid; gap: 3px; font-size: 14px; }
html body .qi-lct dl.qi-lct-tt > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
html body .qi-lct dl.qi-lct-tt dt { margin: 0; font-weight: 400; color: var(--cm-phu); }
html body .qi-lct dl.qi-lct-tt dd { margin: 0; color: var(--cm-chu); white-space: pre-line; overflow-wrap: anywhere; }

html body .qi-lct .qi-lct-chan { margin: 8px 0 0; font-size: 13px; color: var(--cm-phu); }
html body .qi-lct .qi-lct-chan a { color: var(--cm-mau) !important; text-decoration: underline; }

html body .qi-lct .qi-lct-trong {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 40px 16px; text-align: center; color: var(--cm-phu);
    background: #fff; border: 1px dashed var(--cm-vien); border-radius: var(--lct-bo);
}
html body .qi-lct .qi-lct-trong[hidden] { display: none; }
html body .qi-lct .qi-lct-trong p { margin: 0; }

html body .qi-lct .qi-lct-hop {
    padding: 16px; background: #fff; border: 1px solid var(--cm-vien); border-radius: var(--lct-bo);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
}
html body .qi-lct .qi-lct-hop-dau { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
html body .qi-lct .qi-lct-hop-dau b { font-size: 16px; color: var(--cm-mau); }
html body .qi-lct .qi-lct-hop-dau a { font-size: 13px; color: var(--cm-mau) !important; }
html body .qi-lct .qi-lct-namhoc { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #fdecec; color: #b42318; white-space: nowrap; }

html body .qi-lct .qi-lct-lich table { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; margin: 0; }
html body .qi-lct .qi-lct-lich th { padding: 4px 0; border: 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--cm-phu); background: none; }
html body .qi-lct .qi-lct-lich td { padding: 0; border: 0; text-align: center; background: none; }
html body .qi-lct .qi-lct-lich td > * {
    display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px; font-size: 14px; color: var(--cm-chu) !important;
}
html body .qi-lct .qi-lct-lich td a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html body .qi-lct .qi-lct-lich td.cn > * { color: #c0392b !important; }
html body .qi-lct .qi-lct-lich td.ngoai > * { color: #b5bcc7 !important; }
html body .qi-lct .qi-lct-lich td.tuan > * { background: var(--lct-nhat); }
html body .qi-lct .qi-lct-lich td.homnay > * { background: var(--cm-mau); color: #fff !important; }
html body .qi-lct .qi-lct-chuthich { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12.5px; color: var(--cm-phu); }
html body .qi-lct .qi-lct-chuthich i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--lct-nhat); }
html body .qi-lct .qi-lct-chuthich i.homnay { margin-left: 8px; background: var(--cm-mau); }

html body .qi-lct ul.qi-lct-tuankhac { list-style: none; margin: 0; padding: 0; }
html body .qi-lct ul.qi-lct-tuankhac li + li { border-top: 1px solid var(--cm-vien); }
html body .qi-lct ul.qi-lct-tuankhac a { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 10px 2px; color: var(--cm-chu) !important; }
html body .qi-lct ul.qi-lct-tuankhac a:hover b { color: var(--cm-mau); }
html body .qi-lct ul.qi-lct-tuankhac b { font-size: 14.5px; }
html body .qi-lct ul.qi-lct-tuankhac span { grid-column: 1; font-size: 13px; color: var(--cm-phu); }
html body .qi-lct ul.qi-lct-tuankhac em {
    grid-column: 2; grid-row: 1 / span 2; align-self: center;
    font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #fff4e0; color: #9a5b00;
}

html body .qi-lct .qi-lct-tep {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 24px; background: #fff; border: 1px solid var(--cm-vien); border-radius: var(--lct-bo); color: var(--cm-mau);
}
html body .qi-lct .qi-lct-tep h2 { margin: 0; font-size: 19px; font-weight: 700; color: var(--cm-chu); }
html body .qi-lct .qi-lct-tep p { margin: 0; color: var(--cm-phu); }

html body .qi-lct ol.qi-lct-dsdot { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html body .qi-lct ol.qi-lct-dsdot > li {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 16px;
    background: #fff; border: 1px solid var(--cm-vien); border-radius: var(--lct-bo);
}
html body .qi-lct .qi-lct-dot { display: flex; align-items: center; gap: 16px; flex: 1 1 320px; min-width: 0; color: var(--cm-chu) !important; }
html body .qi-lct .qi-lct-dot-ngay {
    flex: none; display: flex; flex-direction: column; align-items: center; min-width: 96px; padding: 8px 10px;
    border-radius: 10px; background: var(--lct-nhat); color: var(--cm-mau); font-weight: 700;
}
html body .qi-lct .qi-lct-dot-ngay small { font-size: 12px; font-weight: 400; }
html body .qi-lct .qi-lct-dot-ten { display: flex; flex-direction: column; font-weight: 600; font-size: 16px; min-width: 0; }
html body .qi-lct .qi-lct-dot:hover .qi-lct-dot-ten { color: var(--cm-mau); }
html body .qi-lct .qi-lct-dot-ten small { font-size: 13px; font-weight: 400; color: var(--cm-phu); }
html body .qi-lct .qi-lct-dot-tep { font-size: 14px; color: var(--cm-mau) !important; text-decoration: underline; }
html body .qi-lct .qi-lct-trang { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
html body .qi-lct .qi-lct-trang > * {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px;
    border: 1px solid var(--cm-vien); border-radius: 10px; color: var(--cm-chu) !important; background: #fff;
}
html body .qi-lct .qi-lct-trang > span { background: var(--cm-mau); border-color: var(--cm-mau); color: #fff !important; font-weight: 700; }

@media (max-width: 1100px) {
    html body .qi-lct .qi-lct-luoi { grid-template-columns: minmax(0, 1fr); }
    html body .qi-lct .qi-lct-phai { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 767px) {
    html body .qi-lct { font-size: 15px; }
    html body .qi-lct .qi-lct-cc { grid-template-columns: minmax(0, 1fr); padding: 12px; }
    html body .qi-lct .qi-lct-tuannav > * { flex: 1 1 auto; justify-content: center; padding: 0 8px; font-size: 13.5px; }
    html body .qi-lct .qi-lct-loc label { flex: 1 1 100%; }
    html body .qi-lct .qi-lct-dem { margin-left: 0; }
    html body .qi-lct .qi-lct-chip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
    html body .qi-lct .qi-lct-chip button { min-width: 0; padding: 4px 6px; font-size: 13.5px; }
    html body .qi-lct .qi-lct-sk { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px; }
    html body .qi-lct .qi-lct-gio { font-size: 20px; }
    html body .qi-lct dl.qi-lct-tt > div { grid-template-columns: 82px minmax(0, 1fr); }
    html body .qi-lct h2.qi-lct-ngay-dau { font-size: 14px; padding: 10px 12px; }
    html body .qi-lct .qi-lct-nut { width: 100%; }
    html body .qi-lct .qi-lct-nut .qi-lct-btn { flex: 1 1 0; justify-content: center; }
}
