/* V9.89 — giao dien moi cho admin (man Booking + khung chung).
 * Chi doi cach hien thi. Moi data-* va id cu duoc giu nguyen de cac trinh xu ly trong app.js van chay.
 * Tep nay nap sau cung trong nhom CSS dau trang nen de len cac quy tac cu; noi nao quy tac cu dung !important thi o day cung dung. */

/* ---------- mau nen chung (giao dien sang) ---------- */
html:not([data-theme="dark"]) {
  --bg:#f2f5f8; --surface:#ffffff; --surface-soft:#f6f8fb; --surface-raised:#ffffff;
  --text:#0b1f33; --muted:#566578; --faint:#8793a3; --line:#e3e8ee; --line-strong:#ccd6e1;
  --primary:#1657c8; --primary-deep:#0f3f96; --primary-soft:#e8effb;
}
:root { --bk-amber:#a85d00; --bk-amber-s:#fff3dc; --bk-amber-l:#f0c877; --bk-red:#bf2a36; --bk-red-s:#fdecee; --bk-green:#0a7550; --bk-green-s:#e2f5ec; --bk-green-l:#9fd9bf; --bk-violet:#5741bd; --bk-violet-s:#eeeafb; --bk-ink:#0b1f33; }
html[data-theme="dark"] { --bk-amber:#f3b659; --bk-amber-s:#3a2a10; --bk-amber-l:#6b4d1c; --bk-red:#ff8b93; --bk-red-s:#3d1a1f; --bk-green:#5fd3a6; --bk-green-s:#12352a; --bk-green-l:#1f5a45; --bk-violet:#b3a4ff; --bk-violet-s:#2a2450; }
body { font-variant-numeric:tabular-nums; }

/* ---------- menu trai: xanh navy ---------- */
.sidebar { padding:16px 12px; background:#0b1f33; border-right:0; color:#c9d6e4; }
.sidebar .side-separator { background:#1d3650; }
.sidebar .brand-mark { transform:none; border-radius:10px; box-shadow:none; background:#fff; }
.sidebar .brand-text strong { color:#fff; font-size:17px; letter-spacing:-.01em; }
.sidebar .brand-text span { color:#7e94ab; font-weight:600; letter-spacing:.14em; }
.sidebar .version-badge { color:#b9c8d8; background:#17344f; border-radius:6px; font-weight:600; }
.sidebar .nav-heading { margin:16px 12px 6px; color:#6d8299; font-size:11px; font-weight:600; letter-spacing:.06em; }
.sidebar .nav-item { min-height:40px; padding:0 10px; border:0; border-radius:9px; color:#b9c8d8; grid-template-columns:24px 1fr auto; gap:9px; }
.sidebar .nav-item > span { color:#7e94ab; font-size:17px; }
.sidebar .nav-item b { font-size:13.5px; font-weight:500; }
.sidebar .nav-item em { min-width:0; padding:0 4px; background:transparent; color:#8ea3b9; font-size:11.5px; font-weight:600; }
.sidebar .nav-item:hover { background:#132c45; color:#fff; }
.sidebar .nav-item.active { background:#17344f; color:#fff; border:0; }
.sidebar .nav-item.active > span { color:#6fb1ff; }
.sidebar .nav-item.active em { padding:1px 7px; border-radius:9px; background:#6fb1ff; color:#0b1f33; }
.sidebar .sidebar-user { padding:10px; border:0; border-top:1px solid #1d3650; border-radius:0; background:transparent; }
.sidebar .sidebar-user strong { color:#fff; }
.sidebar .sidebar-user small { color:#7e94ab; }
.sidebar .sidebar-user .avatar { border-radius:10px; background:#17344f; }

/* ---------- thanh tren ---------- */
.topbar { height:72px; min-height:72px; gap:14px; padding:0 22px; background:var(--surface); backdrop-filter:none; border-bottom:1px solid var(--line); }
.topbar .eyebrow { display:none; }
.topbar h1 { margin:0; font-size:19px; font-weight:700; letter-spacing:-.02em; }
.app-shell[data-current-view="bookings"] .topbar h1 { display:none; }
.topbar .icon-button, .topbar .soft-button, .topbar .user-chip { border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:none; }
.topbar .icon-button { width:40px; height:40px; }
.topbar .soft-button { min-height:40px; font-weight:600; font-size:13px; }
.topbar .user-chip { min-height:44px; }
.topbar .avatar { border-radius:10px; background:var(--primary); }
.topbar-dashboard-widgets { justify-content:flex-start; gap:12px; }
.admin-notification-button { margin-right:0 !important; transform:none !important; }
.admin-notification-button + .sync-state i { visibility:visible; }
.admin-notification-button > b { background:#e8590c; }
@keyframes adminBellPulse { 50% { transform:scale(1.15); } }
.header-fx.header-fx-wide { --fx-size:52px; flex:0 0 240px; width:240px; height:52px; border-radius:14px; background:var(--surface-soft); overflow:hidden; }
.header-fx.header-fx-wide::before { display:none; }
html[data-theme="dark"] .header-fx.header-fx-wide { background:#dfe7f1; }

/* ---------- khung noi dung ---------- */
.content { padding:16px 20px 36px; }
.app-shell[data-current-view="bookings"] .kpi-grid { display:none !important; }
.primary-button { min-height:40px; border-radius:11px; background:var(--primary); box-shadow:none; font-weight:600; }
.primary-button:hover { background:var(--primary-deep); transform:none; }

/* ---------- dau khung Booking: nut nhom xanh + lich dieu xe ---------- */
#bookingView { border-radius:14px; border-color:var(--line); box-shadow:none; --booking-border:var(--line); --booking-soft:var(--bg); }
#bookingView > .panel-heading { display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; min-height:0; padding:12px 16px; }
#bookingView .booking-heading-copy, #bookingView .booking-heading-line, #bookingView .booking-heading-actions { display:contents; }
#bookingView .booking-heading-line h2 { display:none; }
#bookingView .booking-status-chip { order:1; --chip:var(--primary) !important; min-height:38px; padding:0 34px 0 12px; border:1px solid var(--primary); border-radius:11px; background:var(--primary); color:#fff; font-size:13px; font-weight:600; box-shadow:none; }
#bookingView .booking-status-chip > i { width:7px; height:7px; background:#9fd0ff; box-shadow:none; }
#bookingView .booking-status-chip > b { min-width:22px; height:22px; padding:0 7px; border-radius:8px; background:rgba(255,255,255,.22); color:#fff; font-size:12px; }
#bookingView .booking-status-chip > em { color:#fff; }
#bookingView #scheduleButton { order:2; flex:none; display:inline-flex !important; align-items:center; gap:7px; width:auto !important; height:38px !important; min-height:38px; padding:0 12px !important; white-space:nowrap; border:1px solid var(--line); border-radius:11px; background:var(--surface); color:var(--text); font-size:13px !important; font-weight:600 !important; line-height:1; cursor:pointer; box-shadow:none; }
#bookingView #scheduleButton svg { width:19px; height:19px; color:var(--primary) !important; }
#bookingView #scheduleButton svg circle { fill:var(--surface); }
#bookingView .bk2-count { order:3; margin:0 auto 0 4px; color:var(--faint); font-size:12px; }
#bookingView .booking-layout-toggle { order:4; padding:3px; border:1px solid var(--line); border-radius:10px; background:var(--surface); box-shadow:none; }
#bookingView .booking-layout-toggle button { min-height:30px; padding:0 11px; border-radius:7px; font-size:12.5px; font-weight:500; color:var(--muted); }
#bookingView .booking-layout-toggle button.active { background:var(--primary-soft); color:var(--primary-deep); font-weight:600; }
#bookingView #createBookingButton { order:5; }
#bookingView > .toolbar { padding:0 16px 12px; background:var(--surface); border-bottom:1px solid var(--line); }
#bookingView .search-box input { min-height:42px; border-radius:12px; border-color:var(--line); background:var(--bg); font-size:13.5px; }
#bookingView .search-box kbd { display:none; }
.bk2-filter-btn { display:none; }
.bk2-day { position:absolute; right:12px; top:50%; transform:translateY(-50%); display:grid; justify-items:end; line-height:1.25; pointer-events:none; white-space:nowrap; }
.bk2-day b { font-size:12px; font-weight:600; color:var(--text); }
.bk2-day small { font-size:11px; color:var(--faint); }
#bookingView .search-box input { padding-right:120px; }
#bookingView .toolbar > select, #bookingView .toolbar .date-filter input { border-radius:12px; border-color:var(--line); }

/* ---------- thanh tien do ---------- */
.bk2-prog { display:flex; align-items:center; gap:10px; }
.bk2-rail { position:relative; flex:1; min-width:90px; height:15px; display:flex; align-items:center; justify-content:space-between; }
.bk2-rail::before { content:""; position:absolute; left:4px; right:4px; top:6px; height:3px; border-radius:2px; background:color-mix(in srgb,var(--text) 12%,transparent); }
.bk2-rail s { position:absolute; left:4px; top:6px; height:3px; border-radius:2px; background:var(--primary); width:calc((100% - 8px) * var(--p)); }
.bk2-rail i { position:relative; z-index:1; flex:none; width:9px; height:9px; border-radius:50%; background:color-mix(in srgb,var(--text) 22%,var(--surface)); }
.bk2-rail i.done { background:var(--primary); }
.bk2-rail i.now { width:15px; height:15px; border:4px solid var(--primary); background:var(--surface); box-shadow:0 0 0 3px var(--primary-soft); animation:bk2pulse 2.4s ease-in-out 1.2s infinite; }
.bk2-rail.anim s { animation:bk2fill .9s cubic-bezier(.3,.7,.2,1) both; }
.bk2-rail.anim i { animation:bk2dot .35s ease-out both; animation-delay:var(--d); }
.bk2-rail.anim i.now { animation:bk2dot .35s ease-out both, bk2pulse 2.4s ease-in-out 1.2s infinite; animation-delay:var(--d), 1.2s; }
@keyframes bk2fill { from { width:0; } }
@keyframes bk2dot { from { transform:scale(.4); opacity:.4; } }
@keyframes bk2pulse { 0%,100% { box-shadow:0 0 0 3px var(--primary-soft); } 50% { box-shadow:0 0 0 7px color-mix(in srgb,var(--primary) 12%,transparent); } }
@media (prefers-reduced-motion:reduce) { .bk2-rail s, .bk2-rail i, .bk2-rail i.now { animation:none !important; } }
#bookingView select.bk2-status { flex:none; width:auto !important; max-width:150px; min-height:26px !important; height:26px; padding:0 18px 0 4px !important; border:0 !important; border-radius:6px !important; background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231657c8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 2px center/13px no-repeat !important; color:var(--primary-deep) !important; font-size:12.5px !important; font-weight:600 !important; text-align:right; text-align-last:right; appearance:none; -webkit-appearance:none; cursor:pointer; box-shadow:none !important; animation:none !important; }
#bookingView select.bk2-status:disabled { opacity:1; background-image:none !important; padding-right:4px !important; cursor:default; }
#bookingView select.bk2-status option { color:#0b1f33; text-align:left; }
html[data-theme="dark"] #bookingView select.bk2-status { color:#9cc4ff !important; }

/* ---------- nhan han CY ---------- */
.bk2-cut { display:inline-flex; align-items:center; gap:4px; height:24px; padding:0 9px 0 6px; border-radius:12px; font-size:12px; font-weight:600; white-space:nowrap; background:var(--bk-green-s); color:var(--bk-green); }
.bk2-cut svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.bk2-cut.urgent { background:var(--bk-amber-s); color:var(--bk-amber); }
.bk2-cut.overdue { background:var(--bk-red-s); color:var(--bk-red); }
.bk2-cut.neutral { background:var(--surface-soft); color:var(--faint); }
.bk2-cut.done { background:var(--bk-green-s); color:var(--bk-green); }

/* ---------- nut chung tu: vang khi thieu, xanh khi du, so nho o goc ---------- */
#bookingView .document-button.bk2-doc { position:relative; flex:none; width:auto; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:36px; height:36px; padding:0 16px 0 11px; border:1.5px solid var(--bk-amber-l); border-radius:10px; background:var(--bk-amber-s); color:var(--bk-amber); font-size:13px; font-weight:600; white-space:nowrap; box-shadow:none; overflow:visible; }
#bookingView .document-button.bk2-doc svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
#bookingView .document-button.bk2-doc b { position:absolute; top:-8px; right:-8px; box-sizing:border-box; display:grid; place-items:center; min-width:20px; height:20px; padding:0 4px; border:2px solid var(--surface); border-radius:10px; background:#e08a00; color:#fff; font-size:10.5px; font-weight:700; line-height:1; }
#bookingView .document-button.bk2-doc.has-documents { border-color:var(--bk-green-l); background:var(--bk-green-s); color:var(--bk-green); }
#bookingView .document-button.bk2-doc.has-documents b { background:#0a7550; }

/* ---------- neo mooc + hanh trinh ---------- */
#bookingView .bk2 .mooc-timer, #bookingView .bk2-row .mooc-timer { display:inline-flex !important; align-items:center; gap:6px; width:auto; min-height:30px !important; height:30px !important; padding:0 10px !important; border:1px solid color-mix(in srgb,var(--primary) 30%,var(--line)) !important; border-radius:9px !important; background:var(--primary-soft) !important; color:var(--primary-deep) !important; font-size:12.5px !important; font-weight:700; white-space:nowrap; cursor:pointer; box-shadow:none !important; }
#bookingView .bk2 .mooc-timer small, #bookingView .bk2-row .mooc-timer small { display:none; margin:0; font-size:12px; font-weight:600; }
#bookingView .bk2 .mooc-timer.empty, #bookingView .bk2-row .mooc-timer.empty { border:1px dashed var(--line-strong) !important; background:var(--surface) !important; color:var(--faint) !important; font-size:0 !important; font-weight:500; }
#bookingView .bk2 .mooc-timer.empty small, #bookingView .bk2-row .mooc-timer.empty small { display:inline; font-size:12.5px; font-weight:500; }
#bookingView .bk2 .mooc-timer.empty::before, #bookingView .bk2-row .mooc-timer.empty::before { width:14px; height:14px; }
#bookingView .bk2 .mooc-timer.charge-pending, #bookingView .bk2-row .mooc-timer.charge-pending { border-color:var(--bk-amber-l) !important; background:var(--bk-amber-s) !important; color:var(--bk-amber) !important; }
#bookingView .bk2 .mooc-timer.charged, #bookingView .bk2-row .mooc-timer.charged { border-color:var(--bk-green-l) !important; background:var(--bk-green-s) !important; color:var(--bk-green) !important; }
#bookingView .bk2 .mooc-timer.charge-pending small, #bookingView .bk2-row .mooc-timer.charge-pending small, #bookingView .bk2 .mooc-timer.charged small, #bookingView .bk2-row .mooc-timer.charged small { display:inline; }
#bookingView .bk2 .booking-gps-pin, #bookingView .bk2-row .booking-gps-pin { position:static !important; display:inline-grid !important; place-items:center; width:30px; height:30px; margin:0 !important; border:1px solid var(--line) !important; border-radius:9px; background:var(--surface); inset:auto !important; }
#bookingView .bk2 .booking-gps-pin i, #bookingView .bk2-row .booking-gps-pin i { display:none !important; }
#bookingView .bk2 .booking-gps-pin-icon, #bookingView .bk2-row .booking-gps-pin-icon { width:13px; height:16px; }

/* ---------- the Booking ---------- */
#bookingView #bookingCards { gap:10px; padding:12px; background:var(--bg); }
#bookingView .admin-booking-card.bk2 { position:relative; overflow:visible; padding:13px 14px 12px 17px; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:0 1px 2px rgba(11,31,51,.04); }
#bookingView .bk2::before { content:""; position:absolute; left:-1px; top:14px; bottom:14px; width:3px; border-radius:0 3px 3px 0; background:var(--primary); }
#bookingView .bk2.tone-urgent::before { background:#e08a00; }
#bookingView .bk2.tone-overdue::before { background:var(--bk-red); }
#bookingView .bk2.tone-done::before { background:#0a7550; }
#bookingView .bk2.tone-neutral::before { background:var(--line-strong); }
#bookingView .bk2 > header.bk2-head { display:flex; align-items:center; gap:8px; padding:0; border:0; background:none; }
#bookingView .bk2 .copy-line { display:inline; width:auto; padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
#bookingView .bk2 .bk2-code { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:17px !important; font-weight:700; letter-spacing:-.01em; line-height:1.3 !important; color:var(--text); margin:0 !important; }
#bookingView .bk2 .type-tag, #bookingView .bk2-row .type-tag { min-width:0; height:20px; padding:0 6px; border:0; border-radius:5px; background:var(--primary-soft); color:var(--primary-deep); font-size:10.5px; font-weight:700; letter-spacing:.04em; }
#bookingView .bk2 .type-tag.imp, #bookingView .bk2-row .type-tag.imp { background:var(--bk-violet-s); color:var(--bk-violet); }
#bookingView .bk2 .completion-dot { position:static; flex:none; }
.bk2-sub { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 6px; margin-top:3px; font-size:12px; color:var(--faint); }
.bk2-sub b { font-weight:600; color:var(--bk-amber); }
.bk2-ids { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 8px; margin-top:5px; font-size:12.5px; color:var(--muted); }
#bookingView .bk2 .bk2-cont { font-weight:600; color:var(--text); letter-spacing:.03em; }
.bk2-dim { color:var(--faint); }
.bk2-cy { margin-left:auto; color:var(--faint); white-space:nowrap; }
#bookingView .bk2 .bk2-prog { margin-top:11px; }
.bk2-route { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 7px; margin-top:9px; font-size:13px; color:var(--muted); }
.bk2-route i { font-style:normal; color:var(--faint); }
.bk2-route b { font-weight:500; color:var(--text); }
.bk2-act { margin-top:3px; font-size:12px; color:var(--faint); }
.bk2-act b { font-weight:500; color:var(--muted); }
.bk2-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; }
#bookingView .bk2 > footer.bk2-foot { display:flex; align-items:center; gap:10px; margin-top:11px; padding:10px 0 0; border:0; border-top:1px dashed var(--line); background:none; }
.bk2-who { flex:1; min-width:0; display:grid; line-height:1.3; }
.bk2-who b { font-size:14px; font-weight:600; color:var(--text); }
.bk2-who span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; color:var(--faint); }
.bk2-who.empty b { color:var(--bk-amber); }
.bk2-call { display:grid; place-items:center; flex:none; width:34px; height:34px; border-radius:10px; background:var(--primary-soft); color:var(--primary); }
.bk2-call svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.bk2-cost { display:grid; justify-items:end; flex:none; padding:0; border:0; background:none; line-height:1.3; cursor:pointer; }
.bk2-cost span { font-size:11px; color:var(--primary); }
.bk2-cost b { font-size:15px; font-weight:700; color:var(--text); }
.bk2-acts { display:flex; align-items:center; gap:8px; margin-top:12px; }
.bk2-btn { flex:1; height:36px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--text); font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
.bk2-acts .bk2-more { margin-left:auto; }
#bookingView .card-action-menu.bk2-more { position:relative; flex:none; }
#bookingView .card-action-menu.bk2-more > summary { display:grid; place-items:center; width:40px; min-height:36px; height:36px; padding:0; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--text); font-size:18px; font-weight:700; line-height:1; list-style:none; cursor:pointer; }
#bookingView .card-action-menu.bk2-more > summary::-webkit-details-marker { display:none; }
#bookingView .card-action-menu.bk2-more > div { position:absolute; z-index:20; right:0; bottom:42px; top:auto; left:auto; display:grid; gap:2px; min-width:170px; max-width:min(240px,76vw); padding:6px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:0 16px 40px rgba(11,31,51,.18); }
#bookingView .card-action-menu.bk2-more > div button { display:block; width:100%; min-height:36px; padding:0 10px; border:0; border-radius:8px; background:none; color:var(--text); font-size:13px; font-weight:500; text-align:left; cursor:pointer; }
#bookingView .card-action-menu.bk2-more > div button:hover { background:var(--surface-soft); }

/* ---------- bang Booking ---------- */
#bookingView.layout-table > .table-wrap { padding:0; background:var(--surface); }
#bookingView.layout-table table { min-width:1180px !important; border-collapse:separate; border-spacing:0; table-layout:fixed; }
#bookingView.layout-table thead th { height:38px; padding:0 10px; border:0; border-bottom:1px solid var(--line); background:var(--surface-soft); color:var(--muted); font-size:12px; font-weight:600; letter-spacing:0; white-space:nowrap; }
#bookingView.layout-table thead th:nth-child(1) { width:50px; } #bookingView.layout-table thead th:nth-child(2) { width:12%; } #bookingView.layout-table thead th:nth-child(3) { width:12%; }
#bookingView.layout-table thead th:nth-child(4) { width:11%; } #bookingView.layout-table thead th:nth-child(5) { width:13%; } #bookingView.layout-table thead th:nth-child(6) { width:10%; }
#bookingView.layout-table thead th:nth-child(7) { width:13%; } #bookingView.layout-table thead th:nth-child(8) { width:10%; } #bookingView.layout-table thead th:nth-child(9) { width:8%; }
#bookingView.layout-table thead th:nth-child(10) { width:11%; } #bookingView.layout-table thead th:nth-child(11) { width:124px; }
#bookingView.layout-table tbody tr.bk2-row td { padding:11px 10px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:var(--surface); font-size:12.5px; line-height:1.45; vertical-align:middle; text-align:left; }
#bookingView.layout-table tbody tr.bk2-row:hover td { background:color-mix(in srgb,var(--primary) 3%,var(--surface)); }
#bookingView.layout-table tbody tr.bk2-row td:first-child { box-shadow:inset 3px 0 0 var(--primary); text-align:center; }
#bookingView.layout-table tbody tr.bk2-row.tone-urgent td:first-child { box-shadow:inset 3px 0 0 #e08a00; }
#bookingView.layout-table tbody tr.bk2-row.tone-overdue td:first-child { box-shadow:inset 3px 0 0 var(--bk-red); }
#bookingView.layout-table tbody tr.bk2-row.tone-done td:first-child { box-shadow:inset 3px 0 0 #0a7550; }
#bookingView.layout-table tbody tr.bk2-row.tone-neutral td:first-child { box-shadow:inset 3px 0 0 var(--line-strong); }
#bookingView.layout-table tr.bk2-row td:first-child .booking-gps-pin { margin-top:6px !important; }
#bookingView.layout-table tr.bk2-row .copy-line, #bookingView.layout-table tr.bk2-row .time-trigger { display:block; width:auto; max-width:100%; padding:0; border:0; background:none; text-align:left; cursor:pointer; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#bookingView.layout-table tr.bk2-row .booking-code { font-size:13px; font-weight:600; color:var(--text); letter-spacing:.01em; }
#bookingView.layout-table tr.bk2-row .subline { display:block; margin-top:1px; font-size:11.5px; line-height:1.45; color:var(--faint); }
#bookingView.layout-table tr.bk2-row .subline.accent { color:var(--bk-amber); font-weight:600; }
#bookingView.layout-table tr.bk2-row .bk2-route { margin:0; font-size:12.5px; }
#bookingView.layout-table tr.bk2-row .driver-line { display:block; font-size:13px; font-weight:600; color:var(--text); }
#bookingView.layout-table tr.bk2-row .driver-name, #bookingView.layout-table tr.bk2-row .driver-phone { display:block; font-size:11.5px; font-weight:400; color:var(--faint); text-transform:none; }
#bookingView.layout-table tr.bk2-row .bk2-prog .bk2-rail { min-width:70px; }
#bookingView.layout-table tr.bk2-row td.mooc-cell .mooc-timer { max-width:100%; overflow:hidden; }
#bookingView.layout-table tr.bk2-row td, #bookingView.layout-table thead th { box-sizing:border-box; }
#bookingView.layout-table tr.bk2-row td.mooc-cell { text-align:left; }
#bookingView.layout-table tr.bk2-row .checkpoint-buttons { display:flex; gap:4px; margin-top:5px; }
#bookingView.layout-table tr.bk2-row .checkpoint-buttons button { min-height:22px; padding:0 7px; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--muted); font-size:11px; cursor:pointer; }
#bookingView.layout-table tr.bk2-row .checkpoint-buttons button:disabled { opacity:.45; cursor:default; }
#bookingView.layout-table tr.bk2-row .document-button.bk2-doc { height:32px; min-height:32px; margin-top:4px; font-size:12.5px; border-radius:9px; }
#bookingView.layout-table .bk2-num { text-align:right !important; }
.bk2-costlink { padding:0; border:0; border-bottom:1px dashed var(--line-strong); background:none; color:var(--text); font-size:13px; font-weight:600; line-height:1.4; cursor:pointer; white-space:nowrap; }
#bookingView.layout-table tr.bk2-row .finance-exported, #bookingView.layout-table tr.bk2-row .finance-pending { display:block; margin-top:3px; padding:0; background:none; font-size:11px; font-weight:500; }
#bookingView.layout-table tr.bk2-row .row-actions { display:flex; align-items:center; justify-content:flex-end; gap:6px; }
#bookingView.layout-table tr.bk2-row .row-action { min-height:32px; height:32px; padding:0 11px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--text); font-size:12.5px; font-weight:500; white-space:nowrap; }
#bookingView.layout-table tr.bk2-row .card-action-menu.bk2-more > summary { width:32px; height:32px; min-height:32px; border-radius:8px; }
#bookingView.layout-table tr.bk2-row .card-action-menu.bk2-more > div { bottom:auto; top:36px; }
#bookingView.layout-table thead th:last-child, #bookingView.layout-table tbody tr.bk2-row td:last-child { box-shadow:-1px 0 0 var(--line); overflow:visible; }
#bookingView > .pagination { border-top:1px solid var(--line); }

/* ---------- bang chi tiet phi ---------- */
.bk2-sheet { position:fixed; inset:0; z-index:2400; display:flex; align-items:center; justify-content:center; padding:18px; background:rgba(11,31,51,.45); }
.bk2-pane { width:min(420px,100%); max-height:88vh; overflow:auto; padding:18px 20px 20px; border-radius:20px; background:var(--surface); color:var(--text); box-shadow:0 30px 70px rgba(11,31,51,.3); animation:bk2up .26s ease-out; }
@keyframes bk2up { from { transform:translateY(30px); opacity:0; } }
.bk2-pane header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:6px; }
.bk2-pane header span { font-size:12px; color:var(--faint); }
.bk2-pane h4 { margin:0; font-size:18px; font-weight:700; overflow-wrap:anywhere; }
.bk2-pane header button { flex:none; width:34px; height:34px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--muted); font-size:20px; line-height:1; cursor:pointer; }
.bk2-pane dl { margin:0; }
.bk2-pane dl div { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
.bk2-pane dt { font-size:13.5px; color:var(--muted); }
.bk2-pane dt small { display:block; font-size:11.5px; color:var(--faint); }
.bk2-pane dd { margin:0; font-size:14px; font-weight:600; white-space:nowrap; }
.bk2-pane .sum { border-bottom:0; padding-top:13px; }
.bk2-pane .sum dt { color:var(--text); font-weight:700; }
.bk2-pane .sum dd { font-size:19px; font-weight:700; color:var(--primary-deep); }
html[data-theme="dark"] .bk2-pane .sum dd { color:#9cc4ff; }
.bk2-pane .note { margin:10px 0 0; padding:9px 11px; border-radius:10px; background:var(--surface-soft); font-size:12.5px; color:var(--muted); }
.bk2-pane .fin { margin:10px 0 0; font-size:12px; color:var(--faint); }
.bk2-pane .fin.ok { color:var(--bk-green); font-weight:600; }
.bk2-pane .bk2-cost-hint { margin:2px 0 6px; font-size:12px; color:var(--faint); }
.bk2-pane dl div.bk2-cost-editable { cursor:pointer; margin:0 -8px; padding:9px 8px; border-radius:10px; }
.bk2-pane dl div.bk2-cost-editable:hover, .bk2-pane dl div.bk2-cost-editable:focus-visible { background:var(--primary-soft); outline:none; }
html[data-theme="dark"] .bk2-pane dl div.bk2-cost-editable:hover { background:rgba(156,196,255,.1); }
.bk2-pane .bk2-pen { margin-left:7px; font-style:normal; font-size:12px; color:var(--faint); opacity:0; transition:opacity .15s; }
.bk2-pane .bk2-cost-editable:hover .bk2-pen, .bk2-pane .bk2-cost-editable:focus-visible .bk2-pen { opacity:1; }
.bk2-pane .bk2-manual { display:inline-block; margin-left:6px; padding:1px 6px; border-radius:8px; background:var(--bk-amber-s); color:var(--bk-amber); font-size:10.5px; font-style:normal; font-weight:600; vertical-align:1px; }
.bk2-pane dl div.bk2-cost-open { display:block; cursor:default; background:var(--surface-soft); }
.bk2-pane dl div.bk2-cost-open:hover { background:var(--surface-soft); }
.bk2-cost-form { display:grid; gap:8px; }
.bk2-cost-form > b { font-size:13.5px; }
.bk2-cost-form > small { font-size:11.5px; color:var(--faint); }
.bk2-pane .bk2-cost-form .bk2-cost-inputs { display:flex; flex-wrap:wrap; gap:8px; padding:0; border:0; }
.bk2-cost-field { display:grid; gap:3px; flex:1 1 110px; min-width:0; }
.bk2-cost-field span { font-size:11.5px; color:var(--faint); }
.bk2-cost-field input { width:100%; min-width:0; height:38px; padding:0 10px; border:1px solid var(--line-strong); border-radius:10px; background:var(--surface); color:var(--text); font:inherit; font-size:15px; font-weight:600; text-align:right; }
.bk2-cost-field input[name=invoice] { text-align:left; font-weight:500; }
.bk2-cost-field input:focus { outline:2px solid color-mix(in srgb,var(--primary) 40%,transparent); border-color:var(--primary); }
.bk2-pane .bk2-cost-form .bk2-cost-actions { display:flex; justify-content:flex-end; align-items:center; gap:8px; padding:0; border:0; }
.bk2-cost-actions button { height:36px; border-radius:10px; font:inherit; cursor:pointer; }
.bk2-cost-ok, .bk2-cost-no { width:44px; font-size:18px; font-weight:700; }
.bk2-cost-ok { border:0; background:var(--bk-green); color:#fff; }
.bk2-cost-no { border:1px solid var(--line); background:var(--surface); color:var(--bk-red); }
.bk2-cost-recalc { margin-right:auto; padding:0 10px; border:1px solid var(--line); background:var(--surface); color:var(--primary); font-size:12.5px; }
.bk2-cost-actions button:disabled { opacity:.55; cursor:wait; }

/* ---------- dien thoai ---------- */
@media (max-width:820px) {
  .topbar { height:auto; min-height:72px; gap:10px; padding:calc(env(safe-area-inset-top) + 10px) 14px 10px; }
  .topbar-left { flex:0 0 auto; }
  .topbar-left > div { display:none; }
  .topbar-dashboard-widgets { flex:1 1 auto; min-width:0; gap:0; }
  .topbar-dashboard-widgets .header-calendar { display:none !important; }
  .header-fx.header-fx-wide { flex:1 1 auto; width:auto; min-width:0; height:52px; }
  .topbar-actions { flex:0 0 auto; margin-left:0; gap:8px; }
  .topbar-actions .sync-state { display:none; }
  .topbar .user-chip { min-height:40px; padding:0; border:0; background:transparent; }
  .topbar .avatar { width:40px; height:40px; }
  .content { padding:12px 10px 104px; }
  #bookingView > .panel-heading { padding:12px 12px 10px; }
  #bookingView > .toolbar { grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:0 12px 12px; }
  #bookingView .bk2-filter-btn { display:grid; place-items:center; width:42px; height:42px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--muted); }
  #bookingView .toolbar.mobile-filter-open > select, #bookingView .toolbar.mobile-filter-open .date-filter { grid-column:1 / -1; }
  #bookingView .bk2-count { margin-right:auto; }
  #bookingView .booking-layout-toggle button { min-height:28px; padding:0 9px; }
  #bookingView #bookingCards { padding:10px; }
  /* thanh duoi */
  .mobile-nav.bk2-tab { left:0; right:0; bottom:0; height:calc(64px + env(safe-area-inset-bottom)); padding:0 6px env(safe-area-inset-bottom); display:grid; grid-template-columns:1fr 1fr 64px 1fr 1fr; align-items:center; border:0; border-top:1px solid var(--line); border-radius:0; background:var(--surface); backdrop-filter:none; box-shadow:none; }
  .mobile-nav.bk2-tab button { display:grid; justify-items:center; align-content:center; gap:3px; height:100%; border:0; background:transparent; color:var(--faint); }
  .mobile-nav.bk2-tab button.hidden { display:grid !important; visibility:hidden; }
  .mobile-nav.bk2-tab button.active { color:var(--primary); }
  .mobile-nav.bk2-tab button span { display:grid; place-items:center; font-size:0; line-height:1; }
  .mobile-nav.bk2-tab button small { font-size:11px; font-weight:500; }
  .mobile-nav.bk2-tab button.active small { font-weight:600; }
  .mobile-nav.bk2-tab .bk2-fab { justify-self:center; width:52px; height:52px; margin-top:-26px; border:4px solid var(--bg); border-radius:50%; background:var(--primary); color:#fff; box-shadow:0 8px 18px color-mix(in srgb,var(--primary) 35%,transparent); }
  .mobile-nav.bk2-tab .bk2-fab span { font-size:28px; font-weight:300; }
  .bk2-sheet { align-items:flex-end; padding:0; }
  .bk2-pane { width:100%; max-height:86vh; padding:10px 18px calc(22px + env(safe-area-inset-bottom)); border-radius:22px 22px 0 0; }
  .bk2-pane::before { content:""; display:block; width:38px; height:4px; margin:0 auto 10px; border-radius:2px; background:var(--line-strong); }
}
@media (max-width:390px) { #bookingView .bk2-sched-label { display:none; } .bk2-day small { display:none; } }
/* nut lich dieu xe: chi con bieu tuong */
#bookingView .bk2-sched-label { display:none; }
#bookingView #scheduleButton { width:38px !important; padding:0 !important; justify-content:center; }

/* bang: gon cac o hep */
#bookingView.layout-table tr.bk2-row .bk2-cut { max-width:100%; overflow:hidden; text-overflow:ellipsis; }
#bookingView.layout-table tr.bk2-row td.mooc-cell .mooc-timer { height:auto !important; min-height:30px !important; flex-wrap:wrap; row-gap:0; padding:3px 9px !important; }
#bookingView.layout-table tr.bk2-row .document-button.bk2-doc { padding:0 12px 0 10px; }
#bookingView.layout-table tr.bk2-row .document-button.bk2-doc svg { display:none; }
#bookingView.layout-table tr.bk2-row .subline { overflow:hidden; text-overflow:ellipsis; }
#bookingView > .pagination .soft-button, #bookingView > .pagination select, #bookingView > .toolbar > select, #bookingView > .toolbar .date-filter input { font-size:13px; }
#bookingView.layout-table tr.bk2-row td.mooc-cell .mooc-timer.empty { flex-wrap:nowrap; white-space:nowrap; }
/* bang: ten trang thai nam duoi thanh tien do */
#bookingView.layout-table tr.bk2-row .bk2-prog { flex-direction:column; align-items:stretch; gap:5px; }
#bookingView.layout-table tr.bk2-row .bk2-prog .bk2-rail { flex:none; width:100%; max-width:170px; }
#bookingView.layout-table tr.bk2-row select.bk2-status { align-self:flex-start; max-width:100%; padding:0 18px 0 0 !important; text-align:left; text-align-last:left; }
#bookingView.layout-table tr.bk2-row select.bk2-status:disabled { padding-right:0 !important; }
/* menu "⋯" trong bang phai noi len tren cac dong ben duoi (o cuoi la o dinh) */
#bookingView.layout-table tbody tr.bk2-row td:last-child:focus-within, #bookingView.layout-table tbody tr.bk2-row td:last-child:hover { z-index:8; }
#bookingView.layout-table tbody tr.bk2-row:has(.bk2-more[open]) td:last-child { z-index:9; }
#bookingView.layout-table tbody tr.bk2-row:nth-last-child(-n+2):not(:nth-child(-n+2)) .card-action-menu.bk2-more > div { top:auto; bottom:36px; }
#bookingView.layout-table tbody tr.bk2-row td, #bookingView.layout-table thead th { padding-left:8px; padding-right:8px; }
#bookingView.layout-table tr.bk2-row .booking-code { font-size:12.5px; }
#bookingView.layout-table tr.bk2-row .document-button.bk2-doc { padding:0 9px; font-size:12px; }
#bookingView.layout-table tr.bk2-row .driver-line, #bookingView.layout-table tr.bk2-row .driver-phone, #bookingView.layout-table tr.bk2-row .driver-name { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#bookingView.layout-table tr.bk2-row td:nth-child(3) .subline { white-space:nowrap; }
#bookingView.layout-table tr.bk2-row .bk2-cut { padding:0 7px 0 5px; font-size:11.5px; }

/* ===== V9.90 ===== */
/* gian dong SO va dong so cont */
#bookingView .bk2 .bk2-sub { margin-top:6px; }
#bookingView .bk2 .bk2-ids { margin-top:9px; }
/* neo mooc: bo khung vien */
#bookingView .bk2 .mooc-timer, #bookingView .bk2-row .mooc-timer,
#bookingView .bk2 .mooc-timer.empty, #bookingView .bk2-row .mooc-timer.empty,
#bookingView .bk2 .mooc-timer.charge-pending, #bookingView .bk2-row .mooc-timer.charge-pending,
#bookingView .bk2 .mooc-timer.charged, #bookingView .bk2-row .mooc-timer.charged { border:0 !important; background:transparent !important; padding:0 2px !important; }
/* trang thai: co khung vien, anh sang chay nhe quanh vien */
@property --bk2-angle { syntax:"<angle>"; initial-value:0deg; inherits:false; }
#bookingView select.bk2-status { min-height:30px !important; height:30px; padding:0 24px 0 11px !important; border:1.5px solid transparent !important; border-radius:9px !important; text-align:left; text-align-last:left;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231657c8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 7px center/12px no-repeat padding-box,
    linear-gradient(var(--primary-soft),var(--primary-soft)) padding-box,
    conic-gradient(from var(--bk2-angle), color-mix(in srgb,var(--primary) 28%,transparent) 0deg, color-mix(in srgb,var(--primary) 28%,transparent) 250deg, #7fc4ff 300deg, #ffffff 320deg, #7fc4ff 340deg, color-mix(in srgb,var(--primary) 28%,transparent) 360deg) border-box !important;
  box-shadow:0 0 0 0 color-mix(in srgb,var(--primary) 0%,transparent) !important;
  animation:bk2glow 3.6s linear infinite, bk2halo 3.6s ease-in-out infinite !important; }
#bookingView select.bk2-status:disabled { padding-right:11px !important; background:linear-gradient(var(--surface-soft),var(--surface-soft)) padding-box, linear-gradient(var(--line-strong),var(--line-strong)) border-box !important; animation:none !important; }
@keyframes bk2glow { to { --bk2-angle:360deg; } }
@keyframes bk2halo { 0%,100% { box-shadow:0 0 0 0 color-mix(in srgb,var(--primary) 0%,transparent); } 50% { box-shadow:0 0 9px 0 color-mix(in srgb,var(--primary) 26%,transparent); } }
@media (prefers-reduced-motion:reduce) { #bookingView select.bk2-status { animation:none !important; } }
#bookingView.layout-table tr.bk2-row select.bk2-status { padding:0 24px 0 10px !important; }
#bookingView.layout-table tr.bk2-row select.bk2-status:disabled { padding-right:10px !important; }
/* dong tuyen moi */
.bk2-route > span { white-space:normal; }
.bk2-route em { font-style:normal; color:var(--faint); }
.bk2-route b.bk2-dim { color:var(--faint); font-weight:400; }
#bookingView.layout-table tr.bk2-row td.bk2-route-cell .bk2-route { display:grid; gap:1px; font-size:12px; }
#bookingView.layout-table tr.bk2-row td.bk2-route-cell .bk2-route i { display:none; }
#bookingView.layout-table tr.bk2-row td.bk2-route-cell .bk2-act { margin-top:2px; font-size:11.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ===== V9.91 ===== */
/* chu trang thai in dam */
#bookingView select.bk2-status { font-weight:700 !important; }
/* bang: cot Mooc / Chung tu / Chi phi sat nhau, cot Hanh trinh rong hon */
#bookingView.layout-table thead th:nth-child(2) { width:12%; } #bookingView.layout-table thead th:nth-child(3) { width:11%; } #bookingView.layout-table thead th:nth-child(4) { width:11%; }
#bookingView.layout-table thead th:nth-child(5) { width:21%; } #bookingView.layout-table thead th:nth-child(6) { width:10%; } #bookingView.layout-table thead th:nth-child(7) { width:12%; }
#bookingView.layout-table thead th:nth-child(8) { width:7%; } #bookingView.layout-table thead th:nth-child(9) { width:7%; } #bookingView.layout-table thead th:nth-child(10) { width:9%; }
#bookingView.layout-table tbody tr.bk2-row td:nth-child(8), #bookingView.layout-table tbody tr.bk2-row td:nth-child(9), #bookingView.layout-table tbody tr.bk2-row td:nth-child(10),
#bookingView.layout-table thead th:nth-child(8), #bookingView.layout-table thead th:nth-child(9), #bookingView.layout-table thead th:nth-child(10) { padding-left:4px; padding-right:6px; }
#bookingView.layout-table tr.bk2-row .finance-exported, #bookingView.layout-table tr.bk2-row .finance-pending { white-space:normal; line-height:1.25; }
#bookingView.layout-table tr.bk2-row td.bk2-route-cell .bk2-route { display:flex; flex-wrap:wrap; gap:0 6px; font-size:12.5px; }
#bookingView.layout-table tr.bk2-row td.bk2-route-cell .bk2-route i { display:inline; }
/* bang: moi dong booking la mot khoi rieng co vien xanh nhe, cach nhau */
#bookingView.layout-table > .table-wrap { padding:0 10px 8px; background:var(--bg); }
#bookingView.layout-table table { border-spacing:0 8px; }
#bookingView.layout-table thead th { background:var(--bg); border-bottom:0; }
#bookingView.layout-table tbody tr.bk2-row td { --bk2-row-line:color-mix(in srgb,var(--primary) 30%,var(--line)); border-top:1px solid var(--bk2-row-line); border-bottom:1px solid var(--bk2-row-line); }
#bookingView.layout-table tbody tr.bk2-row td:first-child { border-left:1px solid var(--bk2-row-line); border-radius:12px 0 0 12px; }
#bookingView.layout-table tbody tr.bk2-row td:last-child { border-right:1px solid var(--bk2-row-line); border-radius:0 12px 12px 0; }
#bookingView.layout-table tbody tr.bk2-row:hover td { --bk2-row-line:color-mix(in srgb,var(--primary) 55%,var(--line)); }
/* menu trai: an thanh cuon, van cuon duoc bang chuot / cham */
.sidebar nav { scrollbar-width:none; -ms-overflow-style:none; }
.sidebar nav::-webkit-scrollbar { width:0; height:0; display:none; }
#bookingView.layout-table thead th:nth-child(2) { width:11%; } #bookingView.layout-table thead th:nth-child(3) { width:11%; } #bookingView.layout-table thead th:nth-child(4) { width:11%; }
#bookingView.layout-table thead th:nth-child(5) { width:20%; } #bookingView.layout-table thead th:nth-child(6) { width:9%; } #bookingView.layout-table thead th:nth-child(7) { width:13%; }
#bookingView.layout-table thead th:nth-child(8) { width:8%; } #bookingView.layout-table thead th:nth-child(9) { width:8%; } #bookingView.layout-table thead th:nth-child(10) { width:9%; }
#bookingView.layout-table tr.bk2-row select.bk2-status { font-size:12px !important; padding:0 21px 0 8px !important; background-position:right 5px center, 0 0, 0 0 !important; }
#bookingView.layout-table tr.bk2-row td:nth-child(3) .subline { white-space:normal; }
#bookingView.layout-table tr.bk2-row td.mooc-cell .mooc-timer.empty { font-size:0 !important; }
#bookingView.layout-table tr.bk2-row td.mooc-cell .mooc-timer.empty small { font-size:12px; }
#bookingView.layout-table tr.bk2-row .checkpoint-buttons button { padding:0 6px; white-space:nowrap; }
#bookingView.layout-table tr.bk2-row .document-button.bk2-doc { padding:0 8px; }
#bookingView.layout-table tbody tr.bk2-row td.bk2-num { padding-right:8px; }
#bookingView.layout-table thead th:nth-child(5) { width:19%; } #bookingView.layout-table thead th:nth-child(6) { width:10%; }

/* ===== V9.92 ===== */
/* thanh tim kiem ngan lai, o loc ngay khong bi che */
@media (min-width:821px) {
  #bookingView > .toolbar { grid-template-columns:minmax(220px,1fr) 150px auto; }
  #bookingView .toolbar .date-filter { flex:none; }
  #bookingView .toolbar .date-filter input { width:132px; min-width:0; padding:0 6px; }
  #bookingView .toolbar .date-filter label { white-space:nowrap; }
}
/* han CY da xong: DONE mau xam dam */
.bk2-cut.done { background:color-mix(in srgb,var(--text) 10%,var(--surface)); color:color-mix(in srgb,var(--text) 78%,var(--surface)); }
/* anh Check-in / Check-out trong bang neo mooc */
.checkpoint-time-photos img[data-checkpoint-photo-uid] { cursor:zoom-in; -webkit-touch-callout:none; user-select:none; }
.bk2-cp-photos { display:grid; gap:10px; margin:6px 0 4px; padding:12px; border:1px solid var(--line); border-radius:12px; }
.bk2-cp-photos strong { display:block; margin-bottom:6px; font-size:12.5px; }
.bk2-cp-photos .checkpoint-time-photos { display:flex; gap:8px; overflow-x:auto; }
.bk2-lightbox { position:fixed; inset:0; z-index:2147483000; display:grid; place-items:center; padding:16px; background:rgba(5,12,22,.88); }
.bk2-lightbox img { max-width:100%; max-height:92vh; border-radius:10px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.bk2-lightbox button { position:absolute; top:14px; right:14px; width:42px; height:42px; border:0; border-radius:50%; background:rgba(255,255,255,.16); color:#fff; font-size:24px; line-height:1; cursor:pointer; }

/* ===== V9.94: robot AI Agent - nut x nho de an; nho lai tren dien thoai ===== */
#aiAgentWidgetRoot.ai-float-hidden { display:none !important; }
.ai-float-hide { position:absolute; z-index:13; left:-6px; top:-6px; width:22px; height:22px; display:grid; place-items:center; padding:0; border:1px solid var(--line); border-radius:50%; background:var(--surface); color:var(--muted); font:700 14px/1 Arial,sans-serif; box-shadow:0 2px 6px rgba(11,31,51,.2); cursor:pointer; }
#aiAgentWidgetRoot.ai-open .ai-float-hide { display:none; }
@media (max-width:820px) {
  #aiAgentWidgetRoot { right:6px; bottom:calc(74px + env(safe-area-inset-bottom)); }
  .ai-float-button { width:54px; height:60px; }
  .ai-robot-stage { transform:scale(.5); transform-origin:right bottom; }
  .ai-float-greeting { right:46px; bottom:14px; max-width:150px; padding:6px 22px 6px 10px; font-size:11px; }
  .ai-float-greeting b { right:8px; font-size:16px; }
  .ai-float-hide { left:-8px; top:-8px; }
}

/* ===== V9.95: bo 16 bieu tuong menu trai (SVG to mau, hai sac do) ===== */
.sd-menu-icon { display:block; margin:0 auto; fill:none; stroke:none; }
.sd-menu-icon .body { fill:currentColor; }
.sd-menu-icon .secondary { fill:var(--icon-accent,#2686d5); fill-opacity:.5; }
.sd-menu-icon .soft { fill:var(--icon-accent,#2686d5); fill-opacity:.14; }
.sd-menu-icon .accent-fill { fill:var(--icon-accent,#2686d5); }
.sd-menu-icon .detail, .sd-menu-icon .hub { fill:var(--icon-cutout,#fff); }
.sd-menu-icon .wheel { fill:var(--icon-wheel,#233e59); }
.sd-menu-icon .white-line { stroke:var(--icon-cutout,#fff); stroke-width:1.8; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.sd-menu-icon .accent-line { stroke:var(--icon-accent,#2686d5); stroke-width:2.2; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.sd-menu-icon .secondary-line { stroke:var(--icon-accent,#2686d5); stroke-width:2.5; fill:none; stroke-linecap:round; }
.sidebar { --icon-cutout:#0b1f33; --icon-wheel:#91b6d2; --icon-accent:#3d9bea; }
.sidebar .nav-item { grid-template-columns:30px 1fr auto; gap:10px; min-height:44px; }
.sidebar .nav-item > span { color:#a9cbe8; }
.sidebar .nav-item:hover > span { color:#cfe4f7; }
.sidebar .nav-item.active { --icon-cutout:#17344f; }
.sidebar .nav-item.active > span { color:#ffffff; }
.sidebar .nav-item b { font-weight:600; }

/* ===== V9.96: bang Booking luon hien du cot. Cac cot co be rong co dinh, cot Hanh trinh nhan phan con lai;
   man hinh hep (hoac dang mo menu trai) thi dung bo be rong gon de khong cot nao bi o "Cap nhat" che. ===== */
#bookingView.layout-table table { width:100%; min-width:1380px !important; }
#bookingView.layout-table thead th:nth-child(1) { width:50px; } #bookingView.layout-table thead th:nth-child(2) { width:150px; } #bookingView.layout-table thead th:nth-child(3) { width:140px; }
#bookingView.layout-table thead th:nth-child(4) { width:140px; } #bookingView.layout-table thead th:nth-child(5) { width:auto; } #bookingView.layout-table thead th:nth-child(6) { width:130px; }
#bookingView.layout-table thead th:nth-child(7) { width:170px; } #bookingView.layout-table thead th:nth-child(8) { width:96px; } #bookingView.layout-table thead th:nth-child(9) { width:96px; }
#bookingView.layout-table thead th:nth-child(10) { width:112px; } #bookingView.layout-table thead th:nth-child(11) { width:124px; }
@media (max-width:1500px) {
  #bookingView.layout-table > .table-wrap { padding:0 4px 8px; }
  #bookingView.layout-table table { min-width:1030px !important; }
  #bookingView.layout-table thead th:nth-child(1) { width:44px; } #bookingView.layout-table thead th:nth-child(2) { width:112px; } #bookingView.layout-table thead th:nth-child(3) { width:102px; }
  #bookingView.layout-table thead th:nth-child(4) { width:104px; } #bookingView.layout-table thead th:nth-child(6) { width:84px; } #bookingView.layout-table thead th:nth-child(7) { width:124px; }
  #bookingView.layout-table thead th:nth-child(8) { width:88px; } #bookingView.layout-table thead th:nth-child(9) { width:72px; } #bookingView.layout-table thead th:nth-child(10) { width:86px; }
  #bookingView.layout-table thead th:nth-child(11) { width:100px; }
  #bookingView.layout-table tbody tr.bk2-row td, #bookingView.layout-table thead th { padding-left:5px; padding-right:5px; }
  #bookingView.layout-table tr.bk2-row .booking-code, #bookingView.layout-table tr.bk2-row .driver-line, #bookingView.layout-table .bk2-costlink { font-size:12px; }
  #bookingView.layout-table tr.bk2-row .bk2-cut { padding:0 5px 0 3px; font-size:11px; gap:2px; }
  #bookingView.layout-table tr.bk2-row .bk2-cut svg { width:12px; height:12px; }
  #bookingView.layout-table tr.bk2-row select.bk2-status { font-size:11.5px !important; padding:0 18px 0 6px !important; }
  #bookingView.layout-table tr.bk2-row .document-button.bk2-doc { padding:0 6px; font-size:11.5px; }
  #bookingView.layout-table tr.bk2-row .mooc-timer { font-size:12px !important; gap:3px; }
  #bookingView.layout-table tr.bk2-row .row-actions { gap:4px; }
  #bookingView.layout-table tr.bk2-row .row-action { padding:0 6px; font-size:11.5px; }
  #bookingView.layout-table tr.bk2-row .card-action-menu.bk2-more > summary { width:26px; }
}
@media (min-width:1501px) and (max-width:1700px) {
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table > .table-wrap { padding:0 4px 8px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table table { min-width:1030px !important; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(1) { width:44px; } .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(2) { width:112px; } .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(3) { width:102px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(4) { width:104px; } .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(6) { width:84px; } .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(7) { width:124px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(8) { width:88px; } .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(9) { width:72px; } .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(10) { width:86px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(11) { width:100px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tbody tr.bk2-row td, .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th { padding-left:5px; padding-right:5px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .booking-code, .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .driver-line, .app-shell:not(.sidebar-collapsed) #bookingView.layout-table .bk2-costlink { font-size:12px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .bk2-cut { padding:0 5px 0 3px; font-size:11px; gap:2px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .bk2-cut svg { width:12px; height:12px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row select.bk2-status { font-size:11.5px !important; padding:0 18px 0 6px !important; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .document-button.bk2-doc { padding:0 6px; font-size:11.5px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .mooc-timer { font-size:12px !important; gap:3px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .row-actions { gap:4px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .row-action { padding:0 6px; font-size:11.5px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .card-action-menu.bk2-more > summary { width:26px; }
}
/* ===== V9.97: menu trai hep lai (268 -> 228px) de bang co them cho. Chi ap dung may tinh; dien thoai giu nguyen ngan keo. ===== */
@media (min-width:821px) {
  :root { --sidebar-width:228px; }
  .sidebar { padding-left:12px; padding-right:12px; }
  .sidebar-brand { gap:8px; } .sidebar-brand .brand-mark { width:40px; height:40px; flex:0 0 40px; }
  .sidebar-brand .brand-text strong { font-size:15px; } .sidebar-brand .brand-text span { font-size:9.5px; }
  .sidebar-brand .version-badge { flex:0 0 auto; padding:2px 6px; font-size:10px; }
}
/* ===== V9.98: menu trai hep them (228 -> 204px) va bo cot sat hon cho man <=1340px, de man 1280px dang mo menu van thay cot Chi phi. ===== */
@media (min-width:821px) {
  :root { --sidebar-width:204px; }
  .sidebar { padding-left:10px; padding-right:10px; }
  .sidebar-brand .brand-mark { width:36px; height:36px; flex:0 0 36px; }
  .sidebar-brand .brand-text strong { font-size:14px; }
  .sidebar .nav-item { padding-left:10px; padding-right:10px; gap:8px; }
  .sidebar .nav-item b { font-size:13.5px; white-space:nowrap; }
}
@media (min-width:821px) and (max-width:1340px) {
  #bookingView.layout-table table { min-width:980px !important; }
  #bookingView.layout-table thead th:nth-child(2) { width:106px; } #bookingView.layout-table thead th:nth-child(3) { width:98px; }
  #bookingView.layout-table thead th:nth-child(4) { width:104px; } #bookingView.layout-table thead th:nth-child(6) { width:86px; }
  #bookingView.layout-table thead th:nth-child(7) { width:118px; } #bookingView.layout-table thead th:nth-child(8) { width:87px; }
  #bookingView.layout-table thead th:nth-child(9) { width:68px; } #bookingView.layout-table thead th:nth-child(10) { width:92px; }
  #bookingView.layout-table thead th:nth-child(11) { width:96px; }
  #bookingView.layout-table .bk2-costlink { font-size:11.5px; }
}
/* ===== V9.99: dang mo menu trai (may tinh) thi nut "Cap nhat" gom vao nut "..." de cot Hanh trinh rong ra; an menu trai thi hien nhu cu. ===== */
#bookingView .card-action-menu.bk2-more > div button.bk2-more-edit { display:none; }
@media (min-width:821px) {
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .row-actions > .row-action[data-edit-booking] { display:none; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .card-action-menu.bk2-more > div button.bk2-more-edit { display:block; font-weight:700; color:var(--primary); }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(11) { width:46px; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .row-actions { justify-content:center; }
  .app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .card-action-menu.bk2-more > summary { width:30px; }
}
/* ===== V9.100: o hien day du chu bi cat trong danh sach Booking (re chuot / cham). ===== */
.bk2-tip { position:fixed; z-index:2147482000; left:0; top:0; max-width:min(420px, calc(100vw - 16px)); padding:7px 10px; border-radius:9px; background:#0f1e36; color:#fff; font-size:13px; font-weight:600; line-height:1.4; word-break:break-word; box-shadow:0 8px 24px rgba(8,20,45,.28); pointer-events:none; opacity:0; visibility:hidden; transition:opacity .12s ease; }
.bk2-tip.show { opacity:1; visibility:visible; }
/* ===== V9.101: nut Dang xuat tron do (mau Uiverse.io - vinodjangid07) thay o "Chu ung dung" goc phai. O cu van nam trong trang nhung an di. ===== */
.topbar #userMenuButton, .topbar #userMenu { display:none !important; }
.sd-logout { display:flex; align-items:center; justify-content:flex-start; flex:none; width:44px; height:44px; padding:0; border:none; border-radius:50%; cursor:pointer; position:relative; overflow:hidden; transition-duration:.3s; box-shadow:2px 2px 10px rgba(0,0,0,.2); background-color:rgb(255,65,65); }
.sd-logout .sign { width:100%; transition-duration:.3s; display:flex; align-items:center; justify-content:center; }
.sd-logout .sign svg { width:17px; }
.sd-logout .sign svg path { fill:#fff; }
.sd-logout .text { position:absolute; right:0; width:0; opacity:0; color:#fff; font-size:14px; font-weight:700; white-space:nowrap; text-align:left; transition-duration:.3s; }
@media (hover:hover) and (pointer:fine) {
  .sd-logout:hover { width:138px; border-radius:40px; }
  .sd-logout:hover .sign { width:30%; padding-left:14px; }
  .sd-logout:hover .text { opacity:1; width:70%; padding-right:10px; }
}
.sd-logout:active { transform:translate(2px,2px); }
@media (max-width:820px) { .sd-logout { width:40px; height:40px; } }
/* ===== V9.102: bang Chung tu - khu tai len gon dep hon; nut "Tai len" theo mau Uiverse.io (adamgiebl). ===== */
#documentModalBackdrop .document-checklist { gap:8px; padding:14px 22px; }
#documentModalBackdrop .document-checklist span { padding:6px 11px; font-size:11.5px; }
#documentModalBackdrop .document-upload-form { display:flex; flex-wrap:wrap; align-items:flex-start; gap:14px 16px; padding:16px 22px 18px !important; }
#documentModalBackdrop .document-upload-form > label { flex:0 1 240px; min-width:180px; margin:0; font-size:12px; font-weight:700; color:var(--muted); }
#documentModalBackdrop .document-upload-form > label.document-file-field { flex:1 1 300px; }
#documentModalBackdrop .document-upload-form > label > select, #documentModalBackdrop .document-upload-form > label > input { display:block; width:100%; height:56px; min-height:56px; margin-top:6px; border-radius:12px; font-size:14px; font-weight:600; color:var(--text); }
#documentModalBackdrop .document-file-field > span:first-child { margin-bottom:6px; font-size:12px; font-weight:700; color:var(--muted); }
#documentModalBackdrop .document-file-dropzone { min-height:56px; padding:8px 14px 8px 52px; border-radius:12px; border-width:1.5px; }
#documentModalBackdrop .document-file-dropzone::before { content:""; position:absolute; left:14px; top:50%; width:28px; height:28px; transform:translateY(-50%); background:var(--primary); opacity:.85; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5m0 0-4 4m4-4 4 4'/%3E%3Cpath d='M4 15v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5m0 0-4 4m4-4 4 4'/%3E%3Cpath d='M4 15v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E") center/contain no-repeat; pointer-events:none; }
#documentModalBackdrop .document-file-dropzone strong { font-size:13px; color:var(--text); }
#documentModalBackdrop .document-file-dropzone small { font-size:11px; }
#documentModalBackdrop .document-upload-form .document-file-summary { margin-top:6px; font-size:11px; font-weight:500; }
#documentModalBackdrop .document-upload-form > section { flex:1 1 100%; order:2; }
#documentModalBackdrop .document-upload-form > button.sd-send { order:1; flex:none; align-self:flex-start; margin-top:29px; }
button.sd-send { display:flex; align-items:center; justify-content:center; width:auto; min-width:150px; height:56px; min-height:56px; padding:0 1.3em 0 1.1em; border:none; border-radius:16px; overflow:hidden; background:var(--primary); color:#fff; font-family:inherit; font-size:17px; font-weight:700; cursor:pointer; transition:all .2s; }
button.sd-send .svg-wrapper-1, button.sd-send .svg-wrapper { display:block; }
button.sd-send .sd-send-text { display:block; margin-left:.4em; transition:all .3s ease-in-out; }
button.sd-send svg { display:block; transform-origin:center center; transition:transform .3s ease-in-out; }
@media (hover:hover) and (pointer:fine) {
  button.sd-send:not(:disabled):hover .svg-wrapper { animation:sd-send-fly .6s ease-in-out infinite alternate; }
  button.sd-send:not(:disabled):hover svg { transform:translateX(1.6em) rotate(45deg) scale(1.1); }
  button.sd-send:not(:disabled):hover .sd-send-text { transform:translateX(6em); }
}
button.sd-send:not(:disabled):active { transform:scale(.95); }
button.sd-send:disabled { opacity:.75; cursor:progress; }
@keyframes sd-send-fly { from { transform:translateY(.1em); } to { transform:translateY(-.1em); } }
@media (max-width:820px) {
  #documentModalBackdrop .document-upload-form > label, #documentModalBackdrop .document-upload-form > label.document-file-field { flex:1 1 100%; }
  #documentModalBackdrop .document-upload-form > button.sd-send { width:100%; margin-top:2px; }
}
/* ===== V9.106: muc Zalo mo ngay trong trang quan tri (khung nhung /zalo.html?embed=1). ===== */
.zalo-embed-panel { padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; overflow:hidden; }
.zalo-embed-frame { display:block; width:100%; height:calc(100vh - 132px); height:calc(100dvh - 132px); min-height:340px; border:0; background:transparent; }
@media (max-width:820px) { .zalo-embed-frame { height:calc(100vh - 190px); height:calc(100dvh - 190px); } }
body:has(#appView[data-current-view="zalo"]) #aiAgentWidgetRoot:not(.ai-open) { transform:translateY(-84px); }
/* ===== V9.107: bang Booking tu co gian theo be rong man hinh (may tinh). Moi cot = ty le be rong vung bang, co muc toi thieu va toi da;
   cot Hanh trinh nhan phan con lai. Man rong (>=1600px) dang mo menu trai thi hien lai nut "Cap nhat". ===== */
@media (min-width:821px) {
  #appView.app-shell { --bkw:calc(100vw - 57px); }
  #appView.app-shell:not(.sidebar-collapsed) { --bkw:calc(100vw - 261px); }
  #appView.app-shell #bookingView.layout-table table { min-width:960px !important; }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(1) { width:clamp(44px, calc(var(--bkw) * .034), 50px); }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(2) { width:clamp(106px, calc(var(--bkw) * .09), 190px); }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(3) { width:clamp(98px, calc(var(--bkw) * .075), 150px); }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(4) { width:clamp(104px, calc(var(--bkw) * .08), 160px); }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(5) { width:auto; }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(6) { width:clamp(86px, calc(var(--bkw) * .085), 170px); }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(7) { width:clamp(118px, calc(var(--bkw) * .095), 180px); }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(8) { width:clamp(87px, calc(var(--bkw) * .06), 120px); }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(9) { width:clamp(68px, calc(var(--bkw) * .05), 104px); }
  #appView.app-shell #bookingView.layout-table thead th:nth-child(10) { width:clamp(92px, calc(var(--bkw) * .065), 124px); }
  #appView.app-shell.sidebar-collapsed #bookingView.layout-table thead th:nth-child(11) { width:clamp(96px, calc(var(--bkw) * .075), 124px); }
}
@media (min-width:1600px) {
  #appView.app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .row-actions > .row-action[data-edit-booking] { display:inline-flex; align-items:center; justify-content:center; }
  #appView.app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .card-action-menu.bk2-more > div button.bk2-more-edit { display:none; }
  #appView.app-shell:not(.sidebar-collapsed) #bookingView.layout-table thead th:nth-child(11) { width:clamp(100px, calc(var(--bkw) * .075), 124px); }
  #appView.app-shell:not(.sidebar-collapsed) #bookingView.layout-table tr.bk2-row .row-actions { justify-content:flex-start; }
}
/* ===== V9.109: DOT (Drop off time) duoi dong CY o bang Booking; canh bao do kem "!" khi dang o buoc Khai Eport ma chua toi DOT. ===== */
#bookingView.layout-table tr.bk2-row .subline.bk2-dot { display:block; margin-top:1px; font-weight:600; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#bookingView.layout-table tr.bk2-row .subline.bk2-dot.none { font-weight:500; opacity:.7; }
#bookingView.layout-table tr.bk2-row .subline.bk2-dot.early { color:var(--bk-red); font-weight:800; }
.bk2-dot-mark { display:inline-grid; place-items:center; flex:none; width:15px; height:15px; margin-right:4px; border-radius:50%; background:var(--bk-red); color:#fff; font-size:10.5px; font-weight:900; line-height:1; vertical-align:-2px; }
.bk2-cut.bk2-early { border:1px solid var(--bk-red); }
.bk2-cut.bk2-early .bk2-dot-mark { margin-right:2px; }
/* V9.109: dang o buoc Khai Eport ma chua toi DOT -> o trang thai (chu + vien) chuyen do, kem dau "!" ben trai. */
#bookingView select.bk2-status.bk2-status-early { color:var(--bk-red) !important; padding-left:28px !important; animation:none !important; box-shadow:0 0 0 3px color-mix(in srgb,var(--bk-red) 14%,transparent);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23d92d3a'/%3E%3Cpath d='M12 6v8' stroke='white' stroke-width='2.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='18' r='1.7' fill='white'/%3E%3C/svg%3E") left 7px center/15px no-repeat padding-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d92d3a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 7px center/12px no-repeat padding-box,
    linear-gradient(var(--bk-red-s),var(--bk-red-s)) padding-box,
    linear-gradient(var(--bk-red),var(--bk-red)) border-box !important; }
#bookingView.layout-table tr.bk2-row select.bk2-status.bk2-status-early { padding-left:28px !important; }
html[data-theme="dark"] #bookingView select.bk2-status.bk2-status-early { color:#ff9aa2 !important; }
#bookingView select.bk2-status.bk2-status-early { background-position:left 7px center, right 7px center, 0 0, 0 0 !important; background-size:15px 15px, 12px 12px, auto, auto !important; background-repeat:no-repeat !important; text-align:left; text-align-last:left; }
#bookingView.layout-table tr.bk2-row select.bk2-status.bk2-status-early, .app-shell #bookingView.layout-table tr.bk2-row select.bk2-status.bk2-status-early { padding-left:26px !important; background-position:left 6px center, right 5px center, 0 0, 0 0 !important; }
/* ===== V9.111: so Container noi bat - in dam, xanh nuoc bien (web bang + the/app admin); tren the/app admin lon hon mot co. ===== */
:root { --bk-cont:#0b63c9; }
html[data-theme="dark"] { --bk-cont:#63a8ff; }
#bookingView.layout-table tr.bk2-row .copy-line[data-copy-label="số Container"] { color:var(--bk-cont) !important; font-weight:800 !important; }
#bookingView .bk2 .bk2-cont { color:var(--bk-cont) !important; font-weight:800 !important; font-size:1.12em; letter-spacing:0; }
