/* ==========================================================================
   TRA CỨU THỜI HẠN DỊCH VỤ (trang công khai cho khách) – phong cách Caffi
   ========================================================================== */
body.ox-lookup { position: relative; min-height: 100vh; background: #f7f5f2; overflow-x: hidden; }
.lk-bg { position: absolute; z-index: 0; inset: 0 0 auto; height: 760px; overflow: hidden; pointer-events: none; }
.lk-bg::before { content: ""; position: absolute; left: 50%; top: -760px; width: 1600px; height: 1600px; transform: translateX(-50%); border-radius: 50%;
    background: repeating-conic-gradient(from 3deg, rgba(232, 64, 28, .07) 0deg 2.5deg, transparent 2.5deg 9deg), repeating-radial-gradient(circle, transparent 0 28px, rgba(232, 64, 28, .05) 28px 30px);
    -webkit-mask-image: radial-gradient(circle, transparent 20%, #000 21%, #000 50%, transparent 66%); mask-image: radial-gradient(circle, transparent 20%, #000 21%, #000 50%, transparent 66%); }
.lk-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 15% 0, rgba(255, 122, 46, .16), transparent 70%), radial-gradient(600px 300px at 85% 10%, rgba(232, 64, 28, .10), transparent 70%); }
.lk-top, .lk-wrap, .lk-foot { position: relative; z-index: 1; }

/* Thanh trên */
.lk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 14px auto 0; padding: 8px 10px 8px 18px; border: 1px solid var(--ox-border); border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -18px rgba(23, 32, 46, .35); width: calc(100% - 24px); }
.lk-top__logo .ox-logo { height: 34px; width: auto; display: block; }
.lk-top__call { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ox-grad); color: #fff !important; font-weight: 700; font-size: 14px; box-shadow: 0 8px 18px -10px rgba(232, 64, 28, .8); }
.lk-top__call:hover { color: #fff !important; transform: translateY(-1px); }

.lk-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px 48px; display: flex; flex-direction: column; gap: 24px; }

/* Hero + ô tìm kiếm */
.lk-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 56px 0 8px; text-align: center; }
.lk-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; background: #fff; border: 1px solid #ffd9c4; color: var(--ox-primary); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.lk-hero h1 { max-width: 760px; margin: 0; font-size: 40px; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.lk-hero h1 em { font-style: normal; background: var(--ox-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lk-hero > p { max-width: 560px; color: var(--ox-muted); font-size: 16px; text-wrap: balance; }
.lk-search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 640px; margin-top: 10px; padding: 8px 8px 8px 18px; border: 1px solid var(--ox-border); border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -24px rgba(23, 32, 46, .35); transition: box-shadow .2s, border-color .2s; }
.lk-search:focus-within { border-color: #ffb08a; box-shadow: 0 0 0 4px rgba(232, 64, 28, .12), 0 20px 40px -24px rgba(23, 32, 46, .35); }
.lk-search__ic { display: grid; color: var(--ox-primary); }
.lk-search input { flex: 1; min-width: 0; height: 46px; border: 0 !important; background: none; box-shadow: none !important; font-size: 16px; outline: 0; }
.lk-search .ox-btn { height: 48px; padding: 0 24px; border-radius: 13px; font-size: 15px; }
.lk-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--ox-muted); font-size: 13px; font-weight: 500; }
.lk-hero__chips li { display: inline-flex; align-items: center; gap: 6px; }
.lk-hero__chips .ox-icon { color: var(--ox-green); }

/* Các bước + liên hệ */
.lk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lk-step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--ox-border); border-radius: 18px; background: #fff; box-shadow: var(--ox-shadow); transition: transform .2s, box-shadow .2s; }
.lk-step:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(23, 32, 46, .3); }
.lk-step__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 14px; }
.lk-step__ic.is-orange { background: var(--ox-primary-soft); color: var(--ox-primary); }
.lk-step__ic.is-blue { background: var(--ox-blue-soft); color: var(--ox-blue); }
.lk-step__ic.is-green { background: var(--ox-green-soft); color: var(--ox-green); }
.lk-step > b { position: absolute; right: 18px; top: 14px; color: #f1e7df; font-size: 34px; line-height: 1; }
.lk-step strong { font-size: 15px; }
.lk-step small { color: var(--ox-muted); font-size: 13px; }
.lk-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-radius: 20px; background: linear-gradient(115deg, #fff 0%, #fff7f1 60%, #ffeadd 100%); border: 1px solid #ffd9c4; }
.lk-contact__text { display: flex; flex-direction: column; }
.lk-contact__text strong { font-size: 17px; }
.lk-contact__text span { color: var(--ox-muted); font-size: 13.5px; }
.lk-contact__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-zalo { background: #0068ff !important; border-color: #0068ff !important; color: #fff !important; }
.lk-zalo:hover { background: #0057d6 !important; color: #fff !important; }

.lk-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px 32px; border-top: 1px solid var(--ox-border); text-align: center; color: var(--ox-muted); font-size: 12.5px; }
.lk-foot__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.lk-foot__info span { display: inline-flex; align-items: center; gap: 6px; }
.lk-foot__info .ox-icon { color: var(--ox-primary); }
.lk-foot p { margin: 0; color: var(--ox-slate); }

/* ==================== KẾT QUẢ ==================== */
.lk-result:empty { display: none; }
.lk-result { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 16px; }
.ox-lk-loading, .ox-lk-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px; border: 1.5px dashed var(--ox-border); border-radius: 18px; background: #fff; color: var(--ox-muted); text-align: center; }
.ox-lk-empty strong { color: var(--ox-text); font-size: 15px; }
.ox-lk-card { --c: var(--ox-green); --cs: var(--ox-green-soft); overflow: hidden; border: 1px solid var(--ox-border); border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -30px rgba(23, 32, 46, .35); animation: lkUp .35s ease-out; }
.ox-lk-card--red { --c: var(--ox-red); --cs: var(--ox-red-soft); }
.ox-lk-card--amber { --c: var(--ox-amber); --cs: var(--ox-amber-soft); }
.ox-lk-card--slate { --c: var(--ox-slate); --cs: var(--ox-gray-soft); }
@keyframes lkUp { from { opacity: 0; transform: translateY(10px); } }
/* Đầu thẻ trạng thái */
.ox-lk-status { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: linear-gradient(90deg, var(--cs), #fff 75%); border-bottom: 1px solid var(--ox-border); }
.ox-lk-status__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--c); color: #fff; box-shadow: 0 10px 20px -10px var(--c); }
.ox-lk-status__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ox-lk-status__badge { align-self: flex-start; padding: 2px 10px; border-radius: 99px; background: #fff; color: var(--c); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; border: 1px solid currentColor; }
.ox-lk-status h2 { margin: 0; font-size: 19px; line-height: 1.3; text-wrap: balance; }
.ox-lk-status p { margin: 0; color: var(--ox-muted); font-weight: 600; }
.ox-lk-status__days { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 96px; height: 96px; flex: none; border-radius: 50%; background: #fff; border: 6px solid var(--cs); box-shadow: inset 0 0 0 2px var(--c); text-align: center; }
.ox-lk-status__days strong { color: var(--c); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.ox-lk-status__days span { max-width: 70px; color: var(--ox-muted); font-size: 11px; line-height: 1.2; }
/* Bố cục 2 cột */
.ox-lk-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.ox-lk-layout--single { grid-template-columns: minmax(0, 1fr); }
.ox-lk-left { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px; }
.ox-lk-right { padding: 22px 24px; border-left: 1px solid var(--ox-border); background: #fffcfa; }
.ox-lk-danger { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--ox-red-soft); border: 1px solid #ffd0ca; color: #8f1d14; }
.ox-lk-danger--soft { background: var(--ox-amber-soft); border-color: #fde3b0; color: #7a4a06; }
.ox-lk-danger__icon { display: grid; flex: none; color: var(--ox-red); }
.ox-lk-danger--soft .ox-lk-danger__icon { color: var(--ox-amber); }
.ox-lk-danger strong { display: block; margin-bottom: 2px; font-size: 14px; }
.ox-lk-danger p { margin: 0; font-size: 13px; line-height: 1.5; }
.ox-lk-timeline { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--ox-surface-2); }
.ox-lk-timeline__point { display: flex; flex-direction: column; }
.ox-lk-timeline__point--end { text-align: right; }
.ox-lk-timeline__point small { color: var(--ox-slate); font-size: 11.5px; }
.ox-lk-timeline__bar { height: 8px; border-radius: 8px; background: #ece5de; overflow: hidden; }
.ox-lk-timeline__bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff)); }
.ox-lk-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0; }
.ox-lk-info div { display: flex; flex-direction: column; min-width: 0; padding-bottom: 10px; border-bottom: 1px dashed var(--ox-border); }
.ox-lk-info dt { color: var(--ox-slate); font-size: 12px; }
.ox-lk-info dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ox-lk-notes { padding: 14px 16px; border-radius: 14px; background: var(--ox-surface-2); }
.ox-lk-notes h3 { margin: 0 0 6px; font-size: 13.5px; }
.ox-lk-notes ol { margin: 0; padding-left: 18px; color: var(--ox-muted); font-size: 12.5px; line-height: 1.55; }
/* Thanh toán */
.ox-lk-pay { display: flex; flex-direction: column; gap: 14px; }
.ox-lk-pay__head h3 { margin: 0; font-size: 16px; }
.ox-lk-pay__head span { color: var(--ox-muted); font-size: 12.5px; }
.ox-lk-pay__grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: start; }
.ox-lk-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ox-lk-qr__frame { padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--ox-border); box-shadow: 0 10px 24px -16px rgba(23, 32, 46, .35); }
.ox-lk-qr__frame img { display: block; width: 150px; height: auto; border-radius: 8px; }
.ox-lk-qr p { margin: 0; color: var(--ox-muted); font-size: 11.5px; line-height: 1.45; }
.ox-lk-total { display: flex; flex-direction: column; padding: 14px; border-radius: 14px; background: var(--ox-grad); color: #fff; box-shadow: 0 12px 24px -14px rgba(232, 64, 28, .7); }
.ox-lk-total small { opacity: .9; font-size: 12px; }
.ox-lk-total strong { font-size: 26px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ox-lk-total span { opacity: .9; font-size: 11.5px; font-style: italic; }
.ox-lk-bill { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ox-lk-bill li { display: flex; justify-content: space-between; gap: 10px; }
.ox-lk-bill span { color: var(--ox-muted); }
.ox-lk-bank { display: flex; flex-direction: column; border: 1px solid var(--ox-border); border-radius: 14px; background: #fff; overflow: hidden; }
.ox-lk-bank__row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--ox-border); }
.ox-lk-bank__row:first-child { border-top: 0; }
.ox-lk-bank__row small { color: var(--ox-slate); font-size: 12px; }
.ox-lk-bank__row b { overflow-wrap: anywhere; font-size: 13.5px; }
.ox-lk-bank__row--hl { background: var(--ox-primary-soft); }
.ox-lk-bank__row--hl b { color: var(--ox-primary-hover); font-size: 15px; letter-spacing: .03em; }
.ox-lk-mono { font-variant-numeric: tabular-nums; }
.ox-lk-copy { padding: 5px 10px; border: 1px solid #ffd0ba; border-radius: 8px; background: #fff; color: var(--ox-primary); font: 700 12px var(--ox-font); cursor: pointer; transition: background .15s, color .15s; }
.ox-lk-copy:hover { background: var(--ox-grad); color: #fff; border-color: transparent; }
.ox-lk-invoice { margin: 0; color: var(--ox-muted); font-size: 12.5px; }
.ox-lk-invoice a { font-weight: 700; }

@media (max-width: 900px) {
    .ox-lk-layout { grid-template-columns: minmax(0, 1fr); }
    .ox-lk-right { border-left: 0; border-top: 1px solid var(--ox-border); }
    .lk-steps { grid-template-columns: minmax(0, 1fr); }
    .lk-step { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
    .lk-step__ic { margin: 0; }
    .lk-step strong { flex: 1; }
    .lk-step small { flex-basis: 100%; padding-left: 56px; margin-top: -6px; }
}
@media (max-width: 600px) {
    .lk-top__call span { display: none; }
    .lk-top__call { padding: 10px; }
    .lk-hero { padding-top: 34px; }
    .lk-hero h1 { font-size: 28px; }
    .lk-hero > p { font-size: 14.5px; }
    .lk-search { padding: 6px 6px 6px 14px; border-radius: 16px; }
    .lk-search .ox-btn { padding: 0 14px; }
    .lk-search .ox-btn span { display: none; }
    .ox-lk-status { flex-wrap: wrap; padding: 16px; }
    .ox-lk-status__days { min-width: 78px; height: 78px; }
    .ox-lk-status__days strong { font-size: 24px; }
    .ox-lk-left, .ox-lk-right { padding: 16px; }
    .ox-lk-info { grid-template-columns: minmax(0, 1fr); }
    .ox-lk-pay__grid { grid-template-columns: minmax(0, 1fr); }
    .ox-lk-bank__row { grid-template-columns: minmax(0, 1fr) auto; }
    .ox-lk-bank__row small { grid-column: 1 / -1; }
    .lk-contact { flex-direction: column; align-items: stretch; text-align: center; }
    .lk-contact__acts { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ox-lk-card, .lk-step { animation: none; transition: none; } }

@media (max-width: 600px) { .ox-lk-info { grid-template-columns: 1fr 1fr; gap: 10px 14px; } .ox-lk-info dd { font-size: 13.5px; } }


/* ==================== KẾT QUẢ TRA CỨU v2 ==================== */
.lr { --c: var(--ox-green); --cs: var(--ox-green-soft); overflow: hidden; border: 1px solid var(--ox-border); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -36px rgba(23, 32, 46, .4); animation: lkUp .35s ease-out; }
.lr--red { --c: var(--ox-red); --cs: var(--ox-red-soft); } .lr--amber { --c: #d97706; --cs: var(--ox-amber-soft); } .lr--slate { --c: var(--ox-slate); --cs: var(--ox-gray-soft); }
.lr-head { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 26px; background: linear-gradient(100deg, var(--cs) 0%, #fff 70%); }
.lr-head::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.lr-head__ic { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 16px; background: var(--c); color: #fff; box-shadow: 0 12px 22px -12px var(--c); }
.lr-head__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lr-badge { align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: var(--c); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lr-head h2 { margin: 0; font-size: 20px; line-height: 1.3; text-wrap: balance; }
.lr-head p { margin: 0; color: var(--ox-muted); font-size: 14px; }
.lr-head p b { color: var(--ox-text); }
.lr-ring { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 92px; height: 92px; flex: none; border-radius: 50%; background: conic-gradient(var(--c) 0 100%); padding: 4px; position: relative; }
.lr-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.lr-ring strong, .lr-ring span { position: relative; text-align: center; }
.lr-ring strong { color: var(--c); font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.lr-ring span { max-width: 60px; margin-top: 2px; color: var(--ox-muted); font-size: 10.5px; line-height: 1.15; }
.lr-alert { display: flex; align-items: flex-start; gap: 12px; margin: 0 26px; padding: 12px 16px; border-radius: 14px; background: var(--ox-red-soft); color: #8f1d14; }
.lr-alert svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--ox-red); }
.lr-alert--soft { background: var(--ox-amber-soft); color: #7a4a06; }
.lr-alert--soft svg { color: #d97706; }
.lr-alert div { display: flex; flex-direction: column; gap: 1px; }
.lr-alert b { font-size: 14px; }
.lr-alert span { font-size: 12.5px; opacity: .9; }
.lr-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; padding: 20px 26px 22px; }
.lr-body--single { grid-template-columns: minmax(0, 1fr); }
.lr-box { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--ox-border); border-radius: 18px; background: #fff; }
.lr-box h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.lr-box h3::before { content: ""; width: 4px; height: 16px; border-radius: 4px; background: var(--ox-grad); }
.lr-time { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ox-surface-2); }
.lr-time > div:not(.lr-time__bar) { display: flex; flex-direction: column; }
.lr-time .is-end { text-align: right; }
.lr-time small { color: var(--ox-slate); font-size: 11px; }
.lr-time b { font-size: 13.5px; }
.lr-time__bar { height: 8px; border-radius: 8px; background: #ece5de; overflow: hidden; }
.lr-time__bar i { display: block; height: 100%; border-radius: 8px; background: var(--c); }
.lr-info { display: flex; flex-direction: column; margin: 0; }
.lr-info div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 2px; border-top: 1px solid #f3eee9; }
.lr-info div:first-child { border-top: 0; padding-top: 0; }
.lr-info dt { color: var(--ox-muted); font-size: 13px; flex: none; }
.lr-info dd { margin: 0; font-weight: 600; font-size: 14px; text-align: right; overflow-wrap: anywhere; }
.lr-pay { background: linear-gradient(180deg, #fffaf6, #fff 40%); }
.lr-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--ox-grad); color: #fff; box-shadow: 0 14px 26px -16px rgba(232, 64, 28, .8); }
.lr-total > div { display: flex; flex-direction: column; min-width: 0; }
.lr-total small { font-size: 12px; opacity: .9; }
.lr-total strong { font-size: 30px; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.lr-total span { font-size: 11.5px; font-style: italic; opacity: .9; }
.lr-total .ox-lk-copy { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); color: #fff; }
.lr-total .ox-lk-copy:hover { background: #fff; color: var(--ox-primary); }
.lr-lines { list-style: none; margin: -4px 0 0; padding: 0 4px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; }
.lr-lines li { display: inline-flex; gap: 6px; }
.lr-lines span { color: var(--ox-muted); }
.lr-transfer { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; }
.lr-qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lr-qr img { width: 150px; height: auto; padding: 6px; border: 1px solid var(--ox-border); border-radius: 14px; background: #fff; }
.lr-qr figcaption { color: var(--ox-slate); font-size: 11.5px; text-align: center; }
.lr-bank { display: flex; flex-direction: column; border: 1px solid var(--ox-border); border-radius: 14px; overflow: hidden; background: #fff; }
.lr-bank > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 9px 12px; border-top: 1px solid var(--ox-border); }
.lr-bank > div:first-child { border-top: 0; }
.lr-bank small { grid-column: 1 / -1; color: var(--ox-slate); font-size: 11px; }
.lr-bank b { font-size: 13.5px; overflow-wrap: anywhere; }
.lr-bank .is-hl { background: var(--ox-primary-soft); }
.lr-bank .is-hl b { color: var(--ox-primary-hover); font-size: 15px; letter-spacing: .04em; }
.lr-bank .has-copy small { grid-column: 1 / -1; }
.lr-invoice { align-self: flex-start; color: var(--ox-muted) !important; font-size: 12.5px; font-weight: 600; }
.lr-invoice:hover { color: var(--ox-primary) !important; }
.lr-notes { margin: 0 26px 22px; border: 1px solid var(--ox-border); border-radius: 14px; background: var(--ox-surface-2); }
.lr-notes summary { padding: 12px 16px; color: var(--ox-muted); font-weight: 600; font-size: 13px; cursor: pointer; }
.lr-notes ol { margin: 0; padding: 0 16px 14px 34px; color: var(--ox-muted); font-size: 12.5px; line-height: 1.55; }
@media (max-width: 900px) { .lr-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
    .lr-head { flex-wrap: wrap; padding: 18px; }
    .lr-head__ic { width: 46px; height: 46px; }
    .lr-ring { width: 76px; height: 76px; margin-left: auto; }
    .lr-ring strong { font-size: 22px; }
    .lr-head__text { flex-basis: calc(100% - 140px); }
    .lr-alert { margin: 0 14px; }
    .lr-body { padding: 14px; gap: 14px; }
    .lr-box { padding: 14px; }
    .lr-total strong { font-size: 24px; }
    .lr-transfer { grid-template-columns: minmax(0, 1fr); }
    .lr-notes { margin: 0 14px 14px; }
}
.lr-body { align-items: start; }
@media (max-width: 600px) {
    .lr-head { flex-wrap: nowrap; gap: 12px; padding: 18px 14px; }
    .lr-head__text { flex: 1; flex-basis: auto; }
    .lr-head h2 { font-size: 17px; }
    .lr-head p { font-size: 12.5px; }
    .lr-head__ic { display: none; }
    .lr-ring { width: 66px; height: 66px; margin: 0; }
    .lr-ring strong { font-size: 20px; }
    .lr-ring span { font-size: 9.5px; max-width: 48px; }
}

/* ==================== KẾT QUẢ v3 – thẻ riêng biệt kiểu Caffi ==================== */
html:has(body.ox-lookup), body.ox-lookup { margin: 0 !important; padding: 0 !important; background: #f7f5f2 !important; }
.lr { display: flex; flex-direction: column; gap: 16px; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.lr-head { padding: 20px 22px; border: 1px solid var(--ox-border); border-radius: 22px; background: #fff; box-shadow: 0 14px 34px -24px rgba(23, 32, 46, .35); }
.lr-head::before { content: none; }
.lr-head__ic { width: 56px; height: 56px; border-radius: 18px; background: var(--cs); color: var(--c); box-shadow: none; }
.lr-head__ic svg { width: 26px; height: 26px; }
.lr-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; background: var(--cs); color: var(--c); font-size: 11.5px; letter-spacing: .02em; text-transform: none; }
.lr-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lr-head h2 { font-size: 19px; }
.lr-ring { width: 84px; height: 84px; padding: 0; background: var(--cs); }
.lr-ring::before { inset: 6px; }
.lr-ring strong { font-size: 26px; }
.lr-alert { margin: 0; padding: 14px 18px; border: 1px solid #ffd6d0; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px -26px rgba(23, 32, 46, .3); }
.lr-alert svg { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--ox-red-soft); }
.lr-alert--soft { border-color: #fde3b0; color: #7a4a06; }
.lr-alert--soft svg { background: var(--ox-amber-soft); }
.lr-alert div { justify-content: center; min-height: 34px; }
.lr-alert b { color: var(--ox-text); }
.lr-alert span { color: var(--ox-muted); opacity: 1; }
.lr-body { padding: 0; gap: 16px; }
.lr-box { border-radius: 22px; padding: 20px; box-shadow: 0 14px 34px -26px rgba(23, 32, 46, .3); }
.lr-pay { background: #fff; }
.lr-box h3::before { content: none; }
.lr-box h3 { gap: 10px; font-size: 15.5px; }
.lr-box h3 i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.lr-box h3 i svg { width: 17px; height: 17px; }
.lr-notes { margin: 0; border-radius: 18px; background: #fff; }
@media (max-width: 600px) { .lr-head { padding: 16px; } .lr-head__ic { display: grid; width: 44px; height: 44px; } .lr-head__ic svg { width: 22px; height: 22px; } .lr-ring { width: 64px; height: 64px; } .lr-box { padding: 16px; } }

body.ox-lookup { padding-top: 1px !important; }


/* Cân 2 cột: cùng chiều cao, nội dung dàn đều */
.lr-body { align-items: stretch !important; }
.lr-box { height: 100%; }
.lr-cost { display: flex; flex-direction: column; gap: 0; margin-top: auto; padding: 12px 14px; border-radius: 14px; background: var(--ox-surface-2); }
.lr-cost small { margin-bottom: 6px; color: var(--ox-slate); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.lr-cost div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13.5px; }
.lr-cost div span { color: var(--ox-muted); }
.lr-cost .is-total { margin-top: 4px; padding-top: 9px; border-top: 1px dashed #e3d9d0; }
.lr-cost .is-total span, .lr-cost .is-total b { color: var(--ox-text); font-weight: 700; }
.lr-cost .is-total b { color: var(--ox-primary); font-size: 15px; }
.lr-transfer { grid-template-columns: 170px minmax(0, 1fr); }
.lr-qr img { width: 170px; }
.lr-invoice { display: flex !important; align-items: center; gap: 12px; align-self: stretch !important; margin-top: auto; padding: 12px 14px; border: 1px dashed #ffc6a8; border-radius: 14px; background: #fffaf6; transition: background .15s, border-color .15s; }
.lr-invoice:hover { background: var(--ox-primary-soft); border-color: var(--ox-primary); }
.lr-invoice svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--ox-green-soft); color: var(--ox-green); }
.lr-invoice span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.lr-invoice b { color: var(--ox-text); font-size: 13.5px; }
.lr-invoice small { color: var(--ox-muted); font-size: 12px; font-weight: 500; }
.lr-invoice i { font-style: normal; color: var(--ox-primary); font-weight: 700; }
@media (max-width: 600px) { .lr-transfer { grid-template-columns: minmax(0, 1fr); } .lr-qr img { width: 170px; } }

/* ==================== Đầu thẻ, cảnh báo, lưu ý, QR – kiểu mới ==================== */
/* Icon trạng thái: tròn đặc màu, có vầng sáng lan ra */
.lr-head__ic { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--c); color: #fff; box-shadow: 0 0 0 6px var(--cs), 0 12px 24px -12px var(--c); }
.lr-head__ic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: lrPulse 2.2s ease-out infinite; }
@keyframes lrPulse { 0% { transform: scale(.9); opacity: .55; } 100% { transform: scale(1.35); opacity: 0; } }
.lr-head__ic svg { width: 26px; height: 26px; }
/* Nhãn: chữ in hoa nhỏ, viền mảnh */
.lr-badge { padding: 3px 10px 3px 8px; border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); background: #fff; color: var(--c); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lr-badge::before { width: 6px; height: 6px; box-shadow: 0 0 0 3px var(--cs); }
/* Dải cảnh báo: thanh màu bên trái + nền nhạt */
.lr-alert { position: relative; align-items: center; gap: 14px; padding: 14px 18px 14px 22px; border: 0; border-radius: 16px; background: linear-gradient(90deg, var(--ox-red-soft), #fff 70%); box-shadow: inset 0 0 0 1px #ffd6d0; overflow: hidden; }
.lr-alert::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ox-red); }
.lr-alert svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--ox-red); color: #fff; }
.lr-alert--soft { background: linear-gradient(90deg, var(--ox-amber-soft), #fff 70%); box-shadow: inset 0 0 0 1px #fde3b0; }
.lr-alert--soft::before, .lr-alert--soft svg { background: #d97706; }
.lr-alert--soft svg { color: #fff; }
.lr-alert b { font-size: 14.5px; }
/* Lưu ý: luôn hiện, thẻ có đánh số */
.lr-notes { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid var(--ox-border); border-radius: 22px; background: #fff; box-shadow: 0 14px 34px -26px rgba(23, 32, 46, .3); }
.lr-notes h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15.5px; }
.lr-notes h3 i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ox-amber-soft); color: #d97706; }
.lr-notes h3 i svg { width: 17px; height: 17px; }
.lr-notes ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; color: var(--ox-text); font-size: 13px; }
.lr-notes li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ox-surface-2); line-height: 1.5; }
.lr-notes li b { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #fff; border: 1px solid var(--ox-border); color: var(--ox-primary); font-size: 11.5px; }
.lr-notes li span { color: var(--ox-muted); }
/* Cột QR: căn giữa theo chiều dọc, khung cân */
.lr-transfer { align-items: center; }
.lr-qr { justify-content: center; align-self: stretch; padding: 12px 8px; border: 1px solid var(--ox-border); border-radius: 16px; background: #fff; }
.lr-qr img { width: 150px; padding: 0; border: 0; border-radius: 8px; }
.lr-qr figcaption { display: inline-flex; padding: 3px 10px; border-radius: 99px; background: var(--ox-surface-2); }
@media (max-width: 600px) { .lr-head__ic { width: 46px; height: 46px; box-shadow: 0 0 0 4px var(--cs); } .lr-qr { align-self: center; width: 210px; } }
.lr-qr figcaption { white-space: nowrap; font-size: 11.5px; font-weight: 600; } .lr-qr { gap: 8px; }

/* ==================== Gọn: lưu ý dạng danh sách, bước + liên hệ chung 1 thẻ ==================== */
.lr-notes ol { display: flex; flex-direction: column; gap: 0; }
.lr-notes li { padding: 10px 2px; border-radius: 0; background: none; border-top: 1px dashed var(--ox-border); align-items: flex-start; }
.lr-notes li:first-child { border-top: 0; padding-top: 2px; }
.lr-notes li b { width: 22px; height: 22px; border: 0; background: var(--ox-amber-soft); color: #b45309; }
.lr-notes li span { color: var(--ox-text); font-size: 13.5px; }
.lk-guide { overflow: hidden; border: 1px solid var(--ox-border); border-radius: 22px; background: #fff; box-shadow: 0 14px 34px -26px rgba(23, 32, 46, .3); }
.lk-guide__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px 24px; }
.lk-guide__steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 41px; border-top: 2px dashed #eadfd6; z-index: 0; }
.lk-guide .lk-step { position: relative; z-index: 1; flex-direction: column; align-items: center; gap: 10px; padding: 0; border: 0; background: none; box-shadow: none; text-align: center; transform: none !important; }
.lk-guide .lk-step__ic { width: 40px; height: 40px; margin: 0; border-radius: 50%; box-shadow: 0 0 0 6px #fff; }
.lk-guide .lk-step > div { display: flex; flex-direction: column; gap: 2px; }
.lk-guide .lk-step strong { font-size: 14.5px; }
.lk-guide .lk-step small { padding: 0; margin: 0; color: var(--ox-muted); font-size: 12.5px; }
.lk-guide__contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 24px; border-top: 1px solid var(--ox-border); background: linear-gradient(90deg, #fff7f1, #fff); }
.lk-guide__contact .lk-contact__text strong { font-size: 16px; }
@media (max-width: 700px) {
    .lk-guide__steps { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; }
    .lk-guide__steps::before { left: 37px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed #eadfd6; }
    .lk-guide .lk-step { flex-direction: row; text-align: left; gap: 14px; }
    .lk-guide__contact { flex-direction: column; align-items: stretch; text-align: center; padding: 16px 18px; }
    .lk-guide__contact .lk-contact__acts { justify-content: center; }
}
