/* Oklago - mobile-first (tu 375px), vung cham >= 44px, tuong phan AA */
:root {
  /* Bang mau du lich: bien (brand), troi (sky), nang (sun), san ho (accent), la co (ok) */
  --brand: #0a5f8a;
  --brand-ink: #fff;
  --sky: #1b9bd1;
  --sun: #f5a524;
  --sun-ink: #3d2a00;
  --paper: #ffffff;
  --sand: #f2f8fb;
  --mist: #e1f0f7;
  --ink: #0f2a36;
  --muted: #4a6270;
  --line: #d3e2e8;
  --accent: #c2410c;
  --ok: #17794f;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4a00;
  --err-bg: #fde8e4;
  --err-ink: #8a1f0c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 42, 46, .08), 0 6px 18px rgba(29, 42, 46, .06);
  --serif: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--sans); color: var(--ink); background: var(--sand); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0; }
h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
a { color: var(--brand); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 16px; padding-bottom: 96px; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

/* Thanh tieu de */
.topbar { background: linear-gradient(90deg, var(--brand), #0b79ad); color: var(--brand-ink); position: sticky; top: 0; z-index: 20; }
.topbar__in { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; min-height: 44px; }
.topbar__title { font-size: 1rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--sans); font-weight: 600; opacity: .95; }
.topbar__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lang { min-height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: inherit; padding: 0 6px; font: inherit; }
.lang option { color: #000; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; color: inherit; font: 700 1.1rem var(--sans); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: rgba(255,255,255,.14); }
.demo-banner { background: var(--warn-bg); color: var(--warn-ink); font-size: .85rem; text-align: center; padding: 6px 12px; }
@media (max-width: 520px) { .brand__name { display: none; } .brand--solo .brand__name { display: inline; } }

/* Nut */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--brand); background: var(--brand); color: var(--brand-ink); font: 600 1rem var(--sans); cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--small { min-height: 44px; padding: 0 14px; font-size: .9rem; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.is-busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Khoi / the */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Form */
.field { position: relative; display: block; }
.field__label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .92rem; }
.input, select.input { width: 100%; min-height: 48px; border: 1.5px solid #8a8f8c; border-radius: 12px; background: #fff; padding: 0 12px; font: inherit; color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--err-ink); background: #fff8f6; }
.field__error { color: var(--err-ink); font-size: .88rem; margin: 4px 0 0; font-weight: 600; }
.field__hint { margin: 4px 0 0; }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.seg { display: inline-flex; border: 1.5px solid var(--brand); border-radius: 999px; overflow: hidden; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font-weight: 600; color: var(--brand); }
.seg input:checked + span { background: var(--brand); color: var(--brand-ink); }
.seg input:focus-visible + span { outline: 3px solid #1a73e8; outline-offset: -3px; }
.swap { align-self: end; }
.route { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .route { grid-template-columns: 1fr auto 1fr; align-items: start; } .swap { margin-top: 28px; } }
.swapbtn { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); font-size: 1.2rem; cursor: pointer; justify-self: center; }

/* Bo dem hanh khach */
.pax { display: grid; gap: 8px; }
@media (min-width: 720px) { .pax { grid-template-columns: repeat(3, 1fr); } }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 10px; }
.counter__txt strong { display: block; } .counter__ctl { display: inline-flex; align-items: center; gap: 4px; }
.counter button { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); font-size: 1.3rem; cursor: pointer; }
.counter button[disabled] { opacity: .35; cursor: not-allowed; }
.counter output { min-width: 28px; text-align: center; font-weight: 700; font-size: 1.1rem; }

/* Goi y */
.combo__list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 320px; overflow: auto; }
.combo__opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.combo__opt[aria-selected="true"], .combo__opt:hover { background: #e1f0f7; }
.combo__code { font: 700 .95rem ui-monospace, Menlo, monospace; background: var(--sand); border-radius: 6px; padding: 2px 6px; }
.combo__txt { display: flex; flex-direction: column; min-width: 0; }
.combo__empty { padding: 12px; color: var(--muted); }

/* Hero */
.hero { padding: 8px 0 16px; }
.hero h2 { font-size: 1.7rem; } .hero p { margin: 6px 0 0; color: var(--muted); }

/* Ket qua */
.layout { display: grid; gap: 16px; }
@media (min-width: 900px) { .layout { grid-template-columns: 280px 1fr; align-items: start; } }
.summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; }
.summary__route { font: 700 1.2rem var(--serif); } .summary__meta { color: var(--muted); font-size: .92rem; }
.filters { display: grid; gap: 14px; }
.filters fieldset { border: 0; padding: 0; margin: 0; } .filters legend { font-weight: 700; margin-bottom: 4px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); }
.filters input[type=range] { width: 100%; min-height: 44px; accent-color: var(--brand); }
.filters__toggle { width: 100%; }
@media (min-width: 900px) { .filters__toggle { display: none; } .filters__body { display: grid !important; } }
.progress { height: 4px; background: #d3e6ef; border-radius: 4px; overflow: hidden; }
.progress > i { display: block; height: 100%; width: 40%; background: var(--brand); border-radius: 4px; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.notice { background: var(--warn-bg); color: var(--warn-ink); border-radius: 10px; padding: 8px 12px; font-size: .92rem; }
.errorbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--err-bg); color: var(--err-ink); border-radius: 12px; padding: 12px 14px; }
.errorbar .btn { border-color: var(--err-ink); background: var(--err-ink); }

.flight { display: grid; gap: 10px; }
.flight__slice { display: grid; grid-template-columns: 1fr; gap: 4px; }
.flight__times { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.flight__time { font: 700 1.25rem var(--serif); } .flight__ap { font-size: .85rem; color: var(--muted); }
.flight__line { text-align: center; font-size: .82rem; color: var(--muted); border-bottom: 2px solid var(--line); padding-bottom: 2px; }
.flight__tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.flight__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.price { text-align: right; } .price__big { font: 700 1.5rem var(--serif); } .price__sub { color: var(--muted); font-size: .85rem; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: .8rem; background: #e1f0f7; color: #08455f; font-weight: 600; }
.pill--warn { background: var(--warn-bg); color: var(--warn-ink); }
.fares { display: grid; gap: 8px; margin-top: 4px; }
@media (min-width: 640px) { .fares { grid-template-columns: repeat(3, 1fr); } }
.fare { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; display: grid; gap: 4px; }
.fare__name { font-weight: 700; }

/* Chi tiet gia */
.seg-leg { border-left: 3px solid var(--brand); padding: 2px 0 2px 12px; margin: 0 0 8px 6px; }
.layover { margin: 4px 0 12px 6px; padding: 6px 10px; border-radius: 8px; background: var(--sand); font-size: .9rem; }
.layover--warn { background: var(--warn-bg); color: var(--warn-ink); font-weight: 600; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.cmp tbody th { position: sticky; left: 0; background: var(--paper); width: 110px; font-weight: 600; }
.cmp th, .cmp td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { position: sticky; top: 0; background: var(--paper); }
.cmp td.sel, .cmp th.sel { background: #e8f3f8; }
.cmpwrap { overflow-x: auto; }
.cmp .pickbtn { width: 100%; }
dl.kv { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
dl.kv .total { font: 700 1.2rem var(--serif); color: var(--ink); }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); z-index: 15; }
.actionbar__in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.actionbar .btn { flex: 0 0 auto; }

/* Trang thai */
.skeleton-list { display: grid; gap: 12px; }
.skeleton { height: 140px; border-radius: var(--radius); background: linear-gradient(90deg, #e1ecf1 25%, #f1f7fa 37%, #e1ecf1 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.empty { text-align: center; padding: 32px 16px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* Hop thoai */
.modal { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal::backdrop { background: rgba(7, 30, 44, .55); }
.modal__in { padding: 20px; overflow: auto; max-height: calc(100vh - 24px); }
.modal h2 { margin-bottom: 8px; } .modal h3 { margin: 14px 0 4px; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-family: var(--sans); }
.modal ol, .modal ul { margin: 0; padding-left: 20px; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* Trang chu */
.tiles { display: grid; gap: 12px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: block; text-decoration: none; color: inherit; }
.tile:hover { border-color: var(--brand); }
.tile h3 { color: var(--brand); }
pre.snap { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow-x: auto; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* Dieu huong khach */
.cnav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 56px; z-index: 19; }
.cnav__in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.cnav a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; border-bottom: 3px solid transparent; }
.cnav a.is-on { color: var(--brand); border-bottom-color: var(--brand); }
.cnav__cart { margin-left: auto; }
.badge { background: var(--accent); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.stack > * + * { margin-top: 12px; }
.stack2 > * + * { margin-top: 20px; }
.pill--ok { background: #dcf3e8; color: #0d4a30; } .pill--err { background: var(--err-bg); color: var(--err-ink); } .pill--grey { background: #e8e6e0; color: #44484a; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; } .tbl th, .tbl td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; } .tbl th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.tblwrap { overflow-x: auto; }
.kvrow { display: flex; justify-content: space-between; gap: 12px; } .kvrow + .kvrow { margin-top: 4px; }
.textarea { width: 100%; min-height: 90px; border: 1.5px solid #8a8f8c; border-radius: 12px; padding: 10px 12px; font: inherit; }
.chat { display: grid; gap: 8px; } .msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); white-space: pre-wrap; } .msg--me { justify-self: end; background: #e1f0f7; } .msg--staff { background: #fff4d6; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); } .timeline li { margin: 0 0 8px; position: relative; } .timeline li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.codebox { font: 700 1.1rem ui-monospace, Menlo, monospace; background: #fff; border: 1px dashed var(--brand); border-radius: 10px; padding: 8px 12px; word-break: break-all; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--brand); color: var(--brand); background: #fff; border-radius: 999px; min-height: 36px; padding: 0 12px; cursor: pointer; font: inherit; }
.grid3 { display: grid; gap: 12px; } @media (min-width: 720px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.hide-sm { display: none; } @media (min-width: 720px) { .hide-sm { display: initial; } }

/* Console nhan vien */
.console__main { padding-bottom: 48px; } .console__h { margin-bottom: 12px; }
.cnav--staff { top: 56px; background: #e6f0f4; } .who { font-size: .8rem; opacity: .9; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.console > .wrap { padding-top: 16px; }
.tbl tr.clickable { cursor: pointer; } .tbl tr.clickable:hover { background: #eaf3f7; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; background: #0f2a36; color: #fff; padding: 10px 16px; border-radius: 12px; max-width: calc(100vw - 32px); box-shadow: var(--shadow); } .toast--err { background: var(--err-ink); }
.cols2 { display: grid; gap: 12px; } @media (min-width: 900px) { .cols2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.stat { text-align: center; } .stat b { display: block; font: 700 1.6rem var(--serif); } .stats { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); } @media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.bar { height: 10px; background: #e1f0f7; border-radius: 6px; overflow: hidden; } .bar > i { display: block; height: 100%; background: var(--brand); }

/* ===== Bang mau du lich: the san pham, hero, bo loc ===== */
.pill--sun { background: var(--sun); color: var(--sun-ink); }
.price__accent { color: var(--accent); }
.sechead { font-size: 1.05rem; margin: 0 0 8px; }
.toolbar { display: grid; gap: 8px; grid-template-columns: 1fr; margin-bottom: 8px; }
@media (min-width: 720px) { .toolbar { grid-template-columns: 1fr 200px 220px; } }
.chip.is-on { background: var(--brand); color: var(--brand-ink); }
.chips + .layout, .toolbar + .chips { margin-bottom: 8px; }
.pgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .layout .pgrid { grid-template-columns: repeat(2, 1fr); } .dgrid .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pcard__art { display: block; width: 100%; aspect-ratio: 5 / 3; padding: 0; border: 0; background: var(--mist); cursor: pointer; }
.pcard__art svg { display: block; width: 100%; height: 100%; }
.pcard__art--wide { aspect-ratio: 5 / 2; border-radius: 12px; overflow: hidden; cursor: default; }
.pcard__body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__title { font-size: 1.05rem; }
.pcard__price { margin-top: auto; }
.pcard .btn { align-self: flex-start; }
.rating b { color: #9a5b00; }
.rev { margin: 0; padding: 8px 12px; border-left: 3px solid var(--sun); background: var(--sand); border-radius: 8px; font-size: .92rem; }
.smap { width: 100%; max-width: 360px; height: auto; display: block; }
.smap__pin { cursor: pointer; } .smap__pin circle { fill: var(--brand); stroke: #fff; stroke-width: 1.2; } .smap__pin.is-on circle { fill: var(--accent); }
.smap__pin.is-off circle { fill: #8aa3b0; } .smap__n { fill: #fff; font: 700 5px var(--sans); } .smap__l { fill: var(--ink); font: 600 3.6px var(--sans); paint-order: stroke; stroke: #e1f0f7; stroke-width: .9px; }
.mapbox { margin-top: 8px; }

/* Hero diem den */
.dhero { position: relative; border-radius: 18px; overflow: hidden; color: #fff; min-height: 220px; }
.dhero > :first-child { position: absolute; inset: 0; } .dhero > :first-child svg { display: block; width: 100%; height: 100%; }
.dhero__in { position: relative; padding: 20px 16px 16px; display: grid; gap: 10px; background: linear-gradient(180deg, rgba(5,40,60,.05), rgba(5,40,60,.6)); min-height: 220px; align-content: end; }
.dhero h2 { font-size: 1.9rem; color: #fff; } .dhero p { margin: 0; max-width: 56ch; }
.dhero .crumbs { font-size: .85rem; opacity: .95; } .dhero .crumbs a { color: #fff; }
.facts { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: rgba(255,255,255,.94); color: var(--ink); border-radius: 12px; padding: 8px 10px; }
.fact b { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; } .fact span { font-weight: 700; }
.trip { display: grid; gap: 12px; } @media (min-width: 720px) { .trip { grid-template-columns: repeat(2, 1fr); } }
.tripcard { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--sky); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.tripcard h3 { color: var(--brand); } .tripcard .btn { align-self: flex-start; margin-top: auto; }
.tips { display: grid; gap: 10px; } @media (min-width: 720px) { .tips { grid-template-columns: repeat(2, 1fr); } }
.tip { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 12px; padding: 12px; } .tip h3 { font-size: 1rem; margin-bottom: 4px; }
.mbar { display: grid; grid-template-columns: 18px 1fr 28px; align-items: center; gap: 8px; font-size: .85rem; }
.hero2 { border-radius: 18px; overflow: hidden; position: relative; color: #fff; margin-bottom: 14px; background: linear-gradient(120deg, var(--brand), var(--sky)); }
.hero2 > :first-child { position: absolute; inset: 0; } .hero2 > :first-child svg { display: block; width: 100%; height: 100%; opacity: .3; } .hero2 > svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero2__in { position: relative; padding: 22px 16px; display: grid; gap: 10px; }
.hero2 h2 { color: #fff; font-size: 1.7rem; } .hero2 p { margin: 0; max-width: 54ch; }
.dcards { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); } @media (min-width: 720px) { .dcards { grid-template-columns: repeat(5, 1fr); } }
.dcard { display: block; position: relative; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.dcard > div { position: absolute; inset: 0; } .dcard svg { display: block; width: 100%; height: 100%; }
.dcard span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 10px; background: linear-gradient(180deg, transparent, rgba(5,40,60,.75)); font-weight: 700; }
.dcard:focus-visible { outline-offset: 3px; }

/* Header: ngon ngu va dieu huong gon */
.langseg { display: none; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; overflow: hidden; }
.langseg button { min-width: 44px; min-height: 40px; border: 0; background: transparent; color: inherit; font: 700 .82rem var(--sans); cursor: pointer; }
.langseg button[aria-pressed="true"] { background: #fff; color: var(--brand); }
@media (min-width: 521px) { .langseg { display: inline-flex; } select.lang { display: none; } }
.cnav a.cnav__more { cursor: pointer; }
.cnav__menu { position: relative; display: inline-block; }
.cnav__menu > button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; font: 600 .92rem var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; }
.cnav__menu > button.is-on { color: var(--brand); border-bottom-color: var(--brand); }
.cnav__pop { position: fixed; z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 190px; }
.cnav__pop a { display: flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 600; min-height: 44px; border-bottom: 0 !important; border-radius: 8px; padding: 0 12px; }
.cnav__pop a:hover { background: var(--mist); }
.foot { border-top: 1px solid var(--line); background: #fff; margin-top: 24px; padding: 18px 0 120px; font-size: .9rem; color: var(--muted); }
.foot .row { gap: 8px 16px; } .foot a { color: var(--brand); min-height: 44px; display: inline-flex; align-items: center; }

.dhero .rating b { color: #ffd479; } .dhero .muted { color: rgba(255,255,255,.94); }
.cartbtn { position: relative; } .cartbtn .badge { position: absolute; top: -2px; right: -2px; }
@media (max-width: 899px) { .cnav__in { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); } }

/* Trang duyet: toan chieu rong (trang giao dich van gioi han de de doc) */
body.wide .wrap { max-width: none; padding-left: clamp(16px, 4vw, 72px); padding-right: clamp(16px, 4vw, 72px); }
body.wide .hero2 p, body.wide .dhero p { max-width: 70ch; }
body.wide .pgrid, .wide .pgrid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
body.wide .layout { grid-template-columns: 1fr; }
@media (min-width: 900px) { body.wide .layout { grid-template-columns: 300px 1fr; } }
body.wide .trip { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
body.wide .tips { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (min-width: 720px) { body.wide .tiles { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
body.wide .dcards { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { body.wide .dcards { grid-template-columns: repeat(5, 1fr); } }
body.wide .toolbar { grid-template-columns: 1fr; }
@media (min-width: 720px) { body.wide .toolbar { grid-template-columns: 1fr 200px 240px; } }
body.wide .dhero, body.wide .hero2 { border-radius: 20px; }
body.wide .dhero__in { min-height: 300px; padding: 28px clamp(16px, 3vw, 40px) 24px; }

/* Toan chieu rong cho moi trang */
.wrap, body.wide .wrap { max-width: none; padding-left: clamp(16px, 2.5vw, 40px); padding-right: clamp(16px, 2.5vw, 40px); }
.actionbar { padding-left: clamp(16px, 2.5vw, 40px); padding-right: clamp(16px, 2.5vw, 40px); } .actionbar__in { max-width: none; }

.autogrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); align-items: start; }
.autogrid > :not(section) { grid-column: 1 / -1; }

/* ---- Console NCC: bieu do, lich khoi hanh, in danh sach khach ---- */
.vchart { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.vchart > i { flex: 1; min-width: 3px; background: var(--brand); border-radius: 3px 3px 0 0; }
.vchart__ax { display: flex; justify-content: space-between; }
.vcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.vcal__h { text-align: center; font-size: .8rem; color: var(--ink-soft, #55656e); padding: 4px 0; }
.vcal__day { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 56px; padding: 4px 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; cursor: pointer; text-align: left; }
.vcal__day:disabled { background: transparent; border-style: dashed; cursor: default; opacity: .55; }
.vcal__n { font-size: .8rem; color: #55656e; } .vcal__s { font-weight: 700; font-size: .78rem; } .vcal__w { position: absolute; top: 3px; right: 4px; font-size: .68rem; color: #b45309; font-weight: 700; }
.vcal__day.is-open { background: #eaf6ee; border-color: #bfe0c9; } .vcal__day.is-hot { background: #fff4dc; border-color: #f0cf8a; } .vcal__day.is-full { background: #fde6e3; border-color: #f0b3ab; } .vcal__day.is-closed { background: #eceff1; color: #6b7a82; }
@media (max-width: 480px) { .vcal { gap: 2px; } .vcal__day { min-height: 50px; padding: 3px; } .vcal__s { font-size: .68rem; } }
@media screen { .printonly { display: none; } }
@media print {
  .topbar, .cnav, .demo-banner, .noprint, .modal, .actionbar { display: none !important; }
  body { background: #fff; } .card { box-shadow: none; border: 0; } .console__h { display: none; } .tbl { font-size: 11pt; } .tblwrap { overflow: visible; }
}

/* Nha cung cap: nhan to chuc, thanh danh gia, tieu chi */
.organizer{gap:6px;align-items:center;flex-wrap:wrap;margin:4px 0}
.rbars{display:grid;gap:4px;max-width:360px}
.rbars__row{display:grid;grid-template-columns:28px 1fr 28px;gap:8px;align-items:center;font-size:.85rem}
.rbars__track{height:8px;border-radius:4px;background:var(--line,#e5e7eb);overflow:hidden;display:block}
.rbars__track i{display:block;height:100%;background:var(--accent,#0a5f8a)}
.crit{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.crit__i{display:flex;flex-direction:column;border:1px solid var(--line,#e5e7eb);border-radius:10px;padding:8px 10px}
.crit__i b{font-size:1.15rem}
.scoreball{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:var(--accent,#0a5f8a);color:#fff;font-weight:700;font-size:1.3rem}
.stayopt{display:grid;gap:8px;border:1px solid var(--line,#e5e7eb);border-radius:12px;padding:12px}
.ratecal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.ratecal__d{border:1px solid var(--line,#e5e7eb);border-radius:8px;padding:4px 6px;font-size:.78rem;min-height:56px;background:var(--bg,#fff)}
.ratecal__d.is-closed{background:repeating-linear-gradient(45deg,#f3f4f6,#f3f4f6 6px,#e5e7eb 6px,#e5e7eb 12px)}
.ratecal__d.is-full{background:#fee2e2}
.ratecal__d.is-out{opacity:.4}

/* Tro ly hanh trinh */
.tl{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tl__i{display:flex;gap:10px;align-items:center;font-size:.92rem;color:var(--muted,#64748b)}
.tl__dot{width:20px;height:20px;border-radius:50%;border:2px solid var(--line,#cbd5e1);display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;flex:none}
.tl__i.is-done{color:inherit}.tl__i.is-done .tl__dot{background:var(--ok,#15803d);border-color:var(--ok,#15803d);color:#fff}
.tl__i.is-current{color:inherit;font-weight:600}.tl__i.is-current .tl__dot{border-color:var(--accent,#0a5f8a);box-shadow:0 0 0 3px rgba(10,95,138,.18)}

/* Dong hanh trong chuyen: khan cap, nhom cung chuyen */
.sos__list{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
.sos__row{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:.4rem}
.sos__row .btn{min-width:7.5rem;justify-content:center}
.gm__list{list-style:none;margin:0;padding:.5rem;max-height:18rem;overflow:auto;display:grid;gap:.5rem;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.gm{padding:.45rem .65rem;border-radius:10px;background:var(--paper);border:1px solid var(--line);max-width:92%;overflow-wrap:anywhere}
.gm--me{justify-self:end;background:rgba(10,95,138,.08)}
.gm--sys{justify-self:center;background:none;border:0;color:var(--muted);font-size:.85rem;text-align:center}
.gm--notice{max-width:100%;border-left:4px solid var(--brand);background:rgba(245,165,36,.1)}
.gm__text{white-space:pre-wrap}
.gm__head{display:flex;gap:.35rem;align-items:baseline;flex-wrap:wrap}
.mem{list-style:none;margin:0;padding:0}
.linkbtn{background:none;border:0;padding:0;color:var(--brand);cursor:pointer;text-decoration:underline;font:inherit}
.linkbtn.small{font-size:.85rem}

/* ---------- Menu footer (thanh tab co dinh cuoi man hinh) ---------- */
:root { --tabbar-h: 64px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 253, 249, .97); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 42, 54, .06); padding-bottom: env(safe-area-inset-bottom); }
.tabbar__in { max-width: 640px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: var(--tabbar-h); }
.tabbar__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; padding: 6px 2px; border: 0; background: transparent; color: var(--muted); text-decoration: none; font: 600 .72rem/1.15 var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tabbar__item:hover { color: var(--ink); }
.tabbar__item.is-on, .tabbar__menu[aria-expanded="true"] { color: var(--brand); }
.tabbar__item.is-on::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
.tabbar__ico { display: grid; place-items: center; width: 44px; height: 28px; border-radius: 14px; transition: background .15s; }
.tabbar__item.is-on .tabbar__ico, .tabbar__menu[aria-expanded="true"] .tabbar__ico { background: color-mix(in srgb, var(--brand) 12%, transparent); }
.tabbar__lbl { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabbar__item:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; border-radius: 10px; }
.tabbar__pop { position: fixed; z-index: 41; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 -4px 28px rgba(15, 42, 54, .16); padding: 6px; animation: tabpop .14s ease-out; }
.tabbar__pophead { padding: 8px 12px 4px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tabbar__pop a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.tabbar__pop a:hover, .tabbar__pop a:focus-visible { background: var(--mist); outline: none; }
.tabbar__pop a.is-on { color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, #fff); }
@keyframes tabpop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tabbar__pop { animation: none; } }
/* Chua cho thanh tab: noi dung, thanh hanh dong va thong bao nam phia tren */
@media (max-width: 899px) {
.has-tabbar .foot { padding-bottom: calc(var(--tabbar-h) + 110px + env(safe-area-inset-bottom)); }
.has-tabbar .actionbar { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: 10px; box-shadow: 0 -4px 14px rgba(15, 42, 54, .06); }
.has-tabbar .toast { bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); }
}
/* Footer menu chi cho mobile; desktop dung menu ngang phia tren */
@media (min-width: 900px) { .tabbar, .tabbar__pop { display: none !important; } }
@media (max-width: 899px) { .cnav--cust { display: none !important; } }
@media print { .tabbar, .tabbar__pop { display: none !important; } }

/* =====================================================================
   Lam moi UI/UX: phan cap ro hon, thao tac nhanh hon, phan hoi khi cham
   ===================================================================== */
html { scroll-padding-top: 72px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a, button, summary { -webkit-tap-highlight-color: transparent; }
::selection { background: color-mix(in srgb, var(--brand) 22%, #fff); }

/* Nut: phan hoi khi bam, vien focus ro */
.btn { transition: transform .12s ease, filter .15s, box-shadow .15s, background .15s; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn:active:not([disabled]) { transform: scale(.97); }
.btn:not(.btn--ghost):hover { box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 28%, transparent); }
.btn--accent:hover { box-shadow: 0 4px 14px rgba(194, 65, 12, .3); }
.btn--onDark { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.85); color: #fff; backdrop-filter: blur(4px); }
.btn--onDark:hover { background: rgba(255,255,255,.24); }
.input { transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: #5f6b70; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }

/* Banner demo: gon, khong chiem 2 dong */
.demo-banner { font-size: .76rem; line-height: 1.35; padding: 5px 12px; }

/* Trang chu */
.hero2 { box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 22%, transparent); }
.hero2__in { padding: 26px 18px 22px; gap: 12px; }
.hero2 h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); letter-spacing: -.01em; }
.hero2 p { opacity: .95; }
.hero2__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.hero2__cta .btn { padding: 0 8px; font-size: .95rem; white-space: nowrap; }
@media (min-width: 600px) { .hero2__cta { display: flex; flex-wrap: wrap; } .hero2__cta .btn { padding: 0 22px; } .hero2__in { padding: 40px 32px 34px; } }
.resume { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 0 0 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .12s; }
.resume:hover { border-color: var(--brand); } .resume:active { transform: scale(.99); }
.resume__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); color: var(--brand); font-weight: 700; font-size: 1.2rem; flex: none; }
.resume__txt { display: grid; flex: 1; min-width: 0; } .resume__txt strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resume__go { color: var(--brand); font-size: 1.6rem; line-height: 1; }
.sec { margin-top: 22px; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sec__h { margin-bottom: 10px; font-size: 1.2rem; }
@media (min-width: 720px) { .sec__hint { display: none; } .sec { margin-top: 30px; } .sec__h { font-size: 1.35rem; } }

/* Dich vu: luoi bieu tuong, cham nhanh */
.tiles.svc { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc__item { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .12s, box-shadow .15s; }
.svc__item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.svc__item:active { transform: scale(.98); }
.svc__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; background: var(--mist); color: var(--brand); }
.svc__txt { display: grid; min-width: 0; line-height: 1.25; } .svc__txt strong { font-size: .95rem; }
.svc__sub { font-size: .78rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 720px) { body.wide .tiles.svc, .tiles.svc { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc__item { min-height: 76px; padding: 14px 16px; } }
@media (min-width: 1000px) { body.wide .tiles.svc { grid-template-columns: repeat(6, minmax(0, 1fr)); } body.wide .svc__item { flex-direction: column; align-items: flex-start; } }

/* Diem den: vuot ngang tren mobile, luoi tren desktop */
body.wide .dcards, .dcards { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; grid-template-columns: none; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 10px; scroll-padding-left: 16px; }
.dcards::-webkit-scrollbar { display: none; }
.dcard { scroll-snap-align: start; aspect-ratio: 3 / 4; transition: transform .15s, box-shadow .15s; }
.dcard:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 42, 54, .18); }
.dcard span { font-size: 1rem; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
@media (min-width: 720px) { body.wide .dcards, .dcards { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } }
@media (min-width: 1000px) { body.wide .dcards { grid-template-columns: repeat(6, 1fr); } }

/* Cam ket */
.trust { list-style: none; margin: 22px 0 0; padding: 14px; display: grid; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #dcf3e8; color: var(--ok); font-weight: 800; flex: none; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(3, 1fr); } }

/* The san pham: gon, nut yeu thich tren anh, gia + nut dat cung hang */
.pcard { transition: transform .15s, box-shadow .15s, border-color .15s; }
@media (hover: hover) { .pcard:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 42, 54, .12); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); } }
.pcard__media { position: relative; }
.pcard__media .pcard__art { aspect-ratio: 16 / 9; }
.pcard__media .fav { position: absolute; top: 10px; right: 10px; min-width: 40px; min-height: 40px; background: rgba(255,255,255,.92); border: 0; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: 1.15rem; }
.pcard__media .fav:hover { background: #fff; transform: scale(1.06); }
.pcard__body { gap: 6px; padding: 12px 14px 14px; }
.pcard__meta { text-transform: none; font-size: .78rem; }
.pcard__title { font-size: 1.02rem; line-height: 1.3; }
.pcard__link { all: unset; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__link:hover { color: var(--brand); }
.pcard__link:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; border-radius: 4px; }
.pcard__rate { font-size: .9rem; }
.pcard .chips { gap: 4px; } .pcard .chips .pill { font-size: .74rem; padding: 2px 8px; }
.pcard__foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pcard__foot .pcard__price { margin: 0; min-width: 0; }
.pcard__foot .pcard__price .small.muted:last-child { font-size: .72rem; }
.pcard__foot .btn { flex: none; align-self: flex-end; }
.pcard__foot .notice { margin: 0; }

/* Trang trong: co bieu tuong, loi dan ro */
.empty { padding: 36px 20px; }
.empty::before { content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a5f8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15.5 8.5-2 5-5 2 2-5z'/%3E%3C/svg%3E") center / 30px no-repeat; }
.empty h2 { font-size: 1.15rem; margin-bottom: 6px; } .empty p.muted:empty { display: none; }
.empty p { max-width: 42ch; margin: 0 auto; }

/* Footer trang */
.foot a { text-decoration: none; font-weight: 600; } .foot a:hover { text-decoration: underline; }

/* Thanh tren: bong do nhe khi cuon */
.topbar { box-shadow: 0 2px 10px rgba(5, 40, 60, .12); }

/* Thanh hanh dong (checkout): noi hon */
.actionbar { box-shadow: 0 -6px 18px rgba(15, 42, 54, .08); }
@media (min-width: 1000px) { .dcard { aspect-ratio: 4 / 5; } }
/* Form tim nhanh: o so xep 2 cot tren mobile cho ngan */
@media (max-width: 719px) {
  .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
  .qgrid > :nth-child(-n+2) { grid-column: 1 / -1; }
  .qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .qrow > .check { grid-column: auto; }
}

/* ---- tour rieng + ban do ---- */
.tmap-wrap{border-radius:12px;overflow:hidden;border:1px solid var(--line,#d5dde2);background:#e9eef1}
.tmap{display:block;width:100%;height:auto}
.seg2{display:flex;gap:.25rem;padding:.25rem;background:var(--surface-2,#eef2f4);border-radius:12px;margin-bottom:1rem}
.seg2 a{flex:1;text-align:center;padding:.6rem .5rem;border-radius:9px;text-decoration:none;color:inherit;font-weight:600;font-size:.92rem}
.seg2 a[aria-current=page]{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12);color:var(--brand,#0a5f8a)}
.chipbtn{border:1px solid var(--line,#cfd8dd);background:#fff;border-radius:999px;padding:.35rem .8rem;font:inherit;font-size:.88rem;cursor:pointer}
.chipbtn[aria-pressed=true]{background:var(--brand,#0a5f8a);color:#fff;border-color:transparent}
.stop{display:flex;gap:.6rem;align-items:center;padding:.5rem 0;border-bottom:1px dashed var(--line,#e1e7ea)}
.stop__n{flex:none;width:1.7rem;height:1.7rem;border-radius:50%;color:#fff;display:grid;place-items:center;font-weight:700;font-size:.85rem}
.stop__t{flex:1;min-width:0}

/* ===== Giao dien kieu Trip.com: thanh ben, thanh tren trang, hero tim kiem, the khuyen mai ===== */
.side, .topsearch, .topbar__links { display: none; }
.bhero { position: relative; overflow: hidden; border-radius: 20px; color: #fff; margin-bottom: 20px; background: linear-gradient(135deg, #1a56db 0%, var(--brand) 45%, var(--sky) 100%); }
.bhero__art { position: absolute; inset: 0; } .bhero__art svg { display: block; width: 100%; height: 100%; opacity: .22; }
.bhero__in { position: relative; padding: 26px 16px 18px; display: grid; gap: 12px; }
.bhero__t { font-size: 1.7rem; color: #fff; text-align: center; } .bhero__sub { margin: 0; text-align: center; max-width: 60ch; margin-inline: auto; opacity: .95; }
.bhero__usp { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; font-size: .9rem; } .bhero__usp li span { color: #8ff0c0; margin-right: 6px; font-weight: 700; }
.bhero--partner .bhero__in { padding: 34px 16px; } .bhero--partner .row { justify-content: center; }
.sbox { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 10px 30px rgba(10, 40, 90, .25); padding: 8px 12px 14px; }
.sbox__tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.sbox__tab { flex: 1 0 auto; min-width: 88px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 8px; border: 0; background: transparent; cursor: pointer; color: var(--muted); font: 600 .82rem var(--sans); border-bottom: 3px solid transparent; }
.sbox__tab svg { color: var(--brand); } .sbox__tab.is-on { color: var(--brand); border-bottom-color: var(--brand); }
.sbox__row { display: grid; gap: 8px; } .sbox__row--one { align-items: center; }
.sbox__hint { margin: 0; color: var(--muted); }
.sbox__f { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; background: #fff; } .sbox__f small { color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.sbox__in { width: 100%; border: 0; outline: none; background: transparent; font: 600 1rem var(--sans); color: var(--ink); min-height: 30px; padding: 0; }
.sbox__f:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.sbox__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 12px; background: #1a56db; color: #fff; font: 700 1.05rem var(--sans); cursor: pointer; } .sbox__go:hover { background: #1445b3; }
.promos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.promo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid #f0cdd6; border-radius: 14px; padding: 16px 18px; overflow: hidden; }
.promo::before, .promo::after { content: ""; position: absolute; right: 74px; width: 16px; height: 16px; border-radius: 50%; background: var(--sand); border: 1px solid #f0cdd6; }
.promo::before { top: -9px; } .promo::after { bottom: -9px; }
.promo__txt { display: grid; gap: 6px; flex: 1; min-width: 0; padding-right: 12px; border-right: 1px dashed #efb9c6; } .promo__txt strong { font: 700 1.05rem var(--serif); } .promo__txt span { color: var(--muted); font-size: .88rem; }
.promo__cta { justify-self: start; background: #1a56db; color: #fff; border-radius: 8px; padding: 7px 14px; font-size: .85rem; }
.promo__ico { flex: none; width: 56px; display: grid; place-items: center; color: #c2255c; }
.promo--hot { background: linear-gradient(120deg, #fff5f7, #fff); } .promo--partner { border-color: #bcd3f7; background: linear-gradient(120deg, #f1f6ff, #fff); } .promo--partner .promo__ico { color: #1a56db; } .promo--partner::before, .promo--partner::after { border-color: #bcd3f7; } .promo--partner .promo__txt { border-color: #bcd3f7; }
.pcta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; border-radius: 18px; padding: 22px; color: #fff; margin: 22px 0; background: linear-gradient(120deg, #123b8f, #1a56db 60%, var(--sky)); } .pcta h2 { color: #fff; } .pcta p { margin: 6px 0 0; max-width: 62ch; opacity: .95; }
/* hero danh muc */
.chero { position: relative; overflow: hidden; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #2a3a8c 0%, #4b3a8f 45%, #7a5aa6 100%); }
.chero__art { position: absolute; inset: 0; } .chero__art svg { display: block; width: 100%; height: 100%; opacity: .3; }
.chero__in { position: relative; padding: 28px 16px 22px; display: grid; gap: 12px; }
.chero__t { font-size: 2rem; color: #fff; } .chero__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #f5a524; margin-left: 6px; }
.chero__sub { margin: 0; font-size: 1.05rem; opacity: .95; }
.chero__bar { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, .2); }
.chero__in input.chero__in, .chero__bar input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 500 1rem var(--sans); color: var(--ink); min-height: 44px; }
.chero__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: #1a56db; color: #fff; font: 700 1rem var(--sans); cursor: pointer; }
.chero__msg { margin: 0; background: rgba(255,255,255,.18); border-radius: 10px; padding: 8px 12px; }
.chero__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chero__chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.chero__chip:hover { background: #eef2ff; }
.drow { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.drow__c { position: relative; flex: 0 0 172px; height: 250px; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; scroll-snap-align: start; box-shadow: var(--shadow); }
.drow__c--big { flex-basis: min(400px, 84vw); height: 320px; }
.drow__art { position: absolute; inset: 0; } .drow__art svg { display: block; width: 100%; height: 100%; }
.drow__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(180deg, transparent, rgba(5, 20, 50, .82)); display: grid; gap: 6px; } .drow__cap strong { font: 700 1.1rem var(--serif); } .drow__c--big .drow__cap strong { font-size: 1.6rem; }
.drow__cap small { display: inline-flex; align-items: center; gap: 4px; opacity: .85; }
.drow__tags { display: flex; gap: 8px; flex-wrap: wrap; } .drow__tags span { border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 4px 12px; font-size: .82rem; }
.drow__c:hover { transform: translateY(-2px); transition: transform .15s; }
/* cong doi tac */
.proles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.prole { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); } .prole--main { border-color: #1a56db; box-shadow: 0 0 0 2px color-mix(in srgb, #1a56db 22%, transparent), var(--shadow); }
.prole__ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #eaf1ff; color: #1a56db; }
.prole h3 { font-size: 1.15rem; } .prole p { margin: 0; } .prole ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .92rem; flex: 1; } .prole .btn { align-self: stretch; }
.split { display: grid; gap: 14px; } @media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .ticks li { padding-left: 26px; position: relative; } .ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } @media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; } .steps3 b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1a56db; color: #fff; } .steps3 p { margin: 2px 0 0; font-size: .9rem; }

@media (min-width: 640px) {
  .bhero__in { padding: 34px 28px 24px; } .bhero__t { font-size: 2.3rem; }
  .sbox__row { grid-template-columns: 1fr auto; } .sbox__row:has(.sbox__f:nth-child(2)) { grid-template-columns: 2fr 1.2fr auto; } .sbox__row:has(.sbox__f:nth-child(3)) { grid-template-columns: 2fr 1.2fr .7fr auto; }
  .sbox__row--one { grid-template-columns: 1fr auto; }
  .chero__in { padding: 44px 36px 28px; } .chero__t { font-size: 2.8rem; }
}
@media (min-width: 1024px) {
  /* thanh tren trang */
  .topbar { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
  .topbar .brand { color: var(--brand); font-size: 1.3rem; } .topbar .brand svg rect { fill: var(--brand); } .topbar .brand svg circle:first-of-type { color: #fff !important; }
  .topbar .icon-btn, .topbar .lang, .topbar .langseg { border-color: var(--line); color: var(--brand); } .topbar .icon-btn:hover { background: var(--mist); }
  .topbar .langseg button { color: var(--muted); } .topbar .langseg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
  .topbar__title { display: none; }
  .topsearch { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; width: 260px; margin-left: 8px; background: #fff; } .topsearch__in { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 10px; min-height: 38px; font: .92rem var(--sans); } .topsearch__go { border: 0; background: #1a56db; color: #fff; width: 40px; min-height: 38px; cursor: pointer; display: grid; place-items: center; }
  .topsearch:focus-within { border-color: #1a56db; }
  .topbar__links { display: flex; align-items: center; gap: 4px; margin-left: auto; } .tl { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; } .tl:hover { background: var(--mist); }
  .tl--partner { color: #1a56db; border: 1px solid #bcd3f7; background: #f1f6ff; } .tl--cta { background: #1a56db; color: #fff; } .tl--cta:hover { background: #1445b3; }
  .topbar__tools { margin-left: 8px; }
  /* thanh ben */
  .side { display: block; position: fixed; z-index: 15; top: 57px; bottom: 0; left: 0; width: 244px; overflow-y: auto; background: #fff; border-right: 1px solid var(--line); padding: 14px 12px 24px; }
  .side__item { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; } .side__item:hover { background: var(--mist); }
  .side__item.is-on { background: #eaf1ff; color: #1a56db; font-weight: 700; } .side__ico { flex: none; width: 26px; display: grid; place-items: center; color: #5b6b78; } .side__item.is-on .side__ico { color: #1a56db; }
  .side__lbl { flex: 1; min-width: 0; line-height: 1.25; } .side__badge { background: #c2255c; color: #fff; border-radius: 6px; padding: 1px 6px; font-size: .68rem; }
  .side__sep { border: 0; border-top: 1px solid var(--line); margin: 10px 8px; }
  .side__item--hl { border: 1px solid #bcd3f7; background: #f1f6ff; color: #1a56db; font-weight: 700; } .side__item--hl .side__ico { color: #1a56db; }
  body.has-side .main, body.has-side .foot { margin-left: 244px; width: calc(100% - 244px); } body.has-side .demo-banner, body.has-side .annbar { margin-left: 244px; }
  body.has-side .cnav--cust { display: none; }
  .bhero__t { font-size: 2.7rem; } .bhero__in { padding: 44px 40px 28px; }
  .chero__in { padding: 60px 48px 36px; } .chero__t { font-size: 3.4rem; }
  .drow__c { flex-basis: 196px; height: 290px; } .drow__c--big { flex-basis: 440px; height: 340px; }
}
.bhero__in, .chero__in { grid-template-columns: minmax(0, 1fr); } .bhero__in > *, .chero__in > *, .sbox, .sbox__row > * { min-width: 0; }
.sbox__f input[type=date] { min-width: 0; }
/* Banner trang chu (anh desktop / mobile) + the tim kiem chong len mep duoi */
.hban { margin-bottom: 20px; }
.hban__link { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.hban__img { display: block; width: 100%; height: auto; }
.hban__box { position: relative; margin: -28px 8px 0; }
@media (min-width: 640px) { .hban__box { margin: -64px 5% 0; } }
@media (min-width: 1024px) { .hban__box { margin: -60px 6% 0; } }
/* Logo thuong hieu (anh) */
.brand__logo { display: block; height: 40px; width: auto; }
.brand--solo .brand__name, .brand__name { position: absolute; }
@media (min-width: 1024px) { .brand__logo { height: 46px; } }

/* Thanh tren trang trang cho moi man hinh khach (logo khong can khung nen) */
body.cust .topbar { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
body.cust .topbar .icon-btn, body.cust .topbar .lang, body.cust .topbar .langseg { border-color: var(--line); color: var(--brand); }
body.cust .topbar .icon-btn:hover { background: var(--mist); }
body.cust .topbar .langseg button { color: var(--muted); } body.cust .topbar .langseg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
body.cust .topbar .topbar__title { color: var(--ink); }
body.cust .topbar .brand { padding: 0; background: transparent; }

/* ---- Quan tri noi dung (cms.html) va khoi anh/video tren trang chu ---- */
body.cms { background: var(--sand); }
.cmsbox { min-height: 100vh; display: grid; place-items: center; padding: 16px; } .cmslogin { width: min(400px, 100%); }
.cmsapp { min-height: 100vh; } .cms__top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.cms__body { display: grid; gap: 12px; padding: 12px 16px 40px; max-width: 1100px; margin: 0 auto; }
.cms__nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; } .cms__navb { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; } .cms__navb.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }
.cms__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .cms__head h1 { font-size: 1.4rem; }
.cms__fh { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .cms__fh h3 { font-size: 1rem; }
.cms__langs { display: grid; gap: 8px; } .cms__lang .input { width: 100%; }
.cms__prev { border: 1px dashed var(--line); border-radius: 10px; min-height: 90px; display: grid; place-items: center; padding: 6px; background: #fafafa; } .cms__prev img { max-width: 100%; max-height: 200px; border-radius: 8px; } .cms__prev--v:empty { display: none; }
.cms__prev iframe, .cms__prev video, .cmsvid { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; background: #000; }
.cms__item summary { cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
@media (min-width: 900px) { .cms__body { grid-template-columns: 200px 1fr; align-items: start; } .cms__nav { flex-direction: column; position: sticky; top: 64px; } .cms__navb { border-radius: 10px; text-align: left; } .cms__langs { grid-template-columns: repeat(3, 1fr); } }
.cmsvid__wrap { max-width: 860px; } .stories { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.story { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.story__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: var(--mist); } .story__vid { aspect-ratio: 16/10; background: #000; } .story__vid .cmsvid { height: 100%; border-radius: 0; }
.story__cap { padding: 10px 12px; display: grid; gap: 4px; } .story__cap span { color: var(--muted); font-size: .9rem; } .story__more { padding: 0 12px 12px; font-weight: 600; }
.story__play { position: absolute; top: calc(50% - 50px); left: calc(50% - 24px); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; cursor: pointer; }
.chero__photo, .bhero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.drow__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dhero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.foot__img { max-height: 56px; width: auto; border-radius: 8px; }

.cms__size { margin: 0; padding: 8px 10px; border-radius: 10px; background: #eef6fb; border: 1px solid #cfe3ef; font-size: .88rem; line-height: 1.45; }

/* Tour rieng: keo tha diem, so sanh bao gia */
.stop[draggable="true"] { cursor: grab; }
.stop--over { outline: 2px dashed var(--accent, #d9480f); outline-offset: 2px; border-radius: 8px; }
.offers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.offer { border: 1px solid var(--line, #d9e0e4); border-radius: 12px; padding: 14px; display: grid; gap: 6px; align-content: start; background: #fff; }
.offer--best { border-color: #2f9e44; box-shadow: 0 0 0 2px rgba(47, 158, 68, .18); }
.offer h4 { margin: 0; }
.annbar{display:grid;gap:6px;padding:6px 16px}
.annbar__i{margin:0}
.annbar__i--crit{border-color:#b42318;background:#fef3f2;color:#7a271a;font-weight:600}

/* ---- Media OS: picker & quan tri ---- */
.mpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 52vh; overflow: auto; padding: 2px; }
.mpitem { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; background: var(--card, #fff); border: 2px solid var(--line, #e5e7eb); border-radius: 10px; padding: 6px; cursor: pointer; font: inherit; color: inherit; }
.mpitem:hover { border-color: #94a3b8; }
.mpitem:focus-visible { outline: 3px solid var(--brand, #0a7ea4); outline-offset: 2px; }
.mpitem.is-sel { border-color: var(--brand, #0a7ea4); box-shadow: 0 0 0 2px var(--brand, #0a7ea4) inset; }
.mpitem img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #e5e7eb; }
.mpitem__t { font-weight: 600; font-size: .9rem; }
.mpcrop { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line, #e5e7eb); }
.mpthumb { width: 96px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line, #e5e7eb); }
.modal:has(.mpwide) { width: min(900px, 94vw); max-width: none; }
.mpwide { width: 100%; min-width: 0; }
.mpbar { display: grid; grid-template-columns: 1fr 180px; gap: 8px; }
@media (max-width: 560px) { .mpbar { grid-template-columns: 1fr; } .mpgrid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Lo trinh tour (route.js) ===== */
.rt { display: grid; gap: 12px; }
.rt__bar { display: grid; gap: 8px; }
.rt__ctl { gap: 8px; flex-wrap: wrap; align-items: center; }
.rt__days { display: flex; gap: 6px; overflow-x: auto; }
.rt__day { border: 1px solid #c9d8e1; background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.rt__day[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.rt__slider { flex: 1 1 140px; min-width: 100px; accent-color: var(--brand); }
.rt__body { display: grid; gap: 14px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.rt__mapwrap { position: sticky; top: 8px; background: #f2f8fb; border: 1px solid #d6e5ee; border-radius: 14px; padding: 8px; }
.rt__map { width: 100%; height: auto; display: block; }
.rt__mk { cursor: pointer; opacity: .35; transition: opacity .25s; } .rt__mk.is-vis { opacity: 1; }
.rt__mk.is-active circle { fill: var(--sun); } .rt__mk:focus-visible { outline: 2px solid var(--brand); }
.rt__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 70vh; overflow: auto; }
.rt__card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; background: #fff; border: 1px solid #dde6ec; border-radius: 12px; padding: 8px; cursor: pointer; scroll-margin: 8px; }
.rt__card.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(10, 95, 138, .18); }
.rt__media { position: relative; display: grid; gap: 4px; align-content: start; }
.rt__img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 8px; display: block; background: #e6eef3; }
.rt__ill { position: absolute; left: 4px; top: 4px; }
.rt__thumbs { display: flex; gap: 4px; } .rt__thumb { border: 0; padding: 0; width: 34px; height: 24px; border-radius: 5px; overflow: hidden; cursor: pointer; }
.rt__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rt__num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; }
.rt__txt p { margin: 4px 0 0; }
.rt__printall { display: none; }
@media (max-width: 760px) { .rt__body { grid-template-columns: 1fr; } .rt__mapwrap { position: static; } .rt__list { max-height: none; } .rt__card { grid-template-columns: 96px minmax(0, 1fr); } }
@media print {
  .rt__bar, .rt__body, .rt__today { display: none !important; } .rt__printall { display: block; }
  .rt__printall h3 { margin: 12px 0 4px; } .rt__printall ol { margin: 0; padding-left: 20px; }
  .tabbar, .topbar, header, footer, .modal__actions { display: none !important; }
}

/* ===== Chuan bi chuyen di / Hom nay ===== */
.rbar { height: 8px; background: #d9e8f0; border-radius: 8px; overflow: hidden; } .rbar > span { display: block; height: 100%; background: var(--brand); border-radius: 8px; transition: width .4s; }
.ready { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ready__i { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .ready__i.is-done span:nth-child(2) { color: #3f6b57; } .ready__i.is-late small { color: var(--err-ink); font-weight: 700; }
.rt__shift { margin-top: 4px; }
.today { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.today__next { border-radius: 16px; padding: 16px; background: var(--brand); color: var(--brand-ink); display: grid; gap: 4px; }
.today__next b { font-size: 1.5rem; } .today__next small { opacity: .9; }
.today__quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.today__quick .btn { text-align: center; }
@media print { .today__quick { display: none; } }
