/* ============================================================
   QBIS Marketing v4 — "product-first" (tham chiếu bố cục Odoo.com)
   Nền trắng, chữ to, ảnh sản phẩm thật khổ lớn, lưới icon ứng dụng,
   gần như không trang trí. Tiền tố class "o-".
   ============================================================ */
:root {
  --o-ink: #111827;
  --o-text: #374151;
  --o-muted: #6b7280;
  --o-line: #e5e7eb;
  --o-line-2: #d1d5db;
  --o-bg: #ffffff;
  --o-bg-soft: #f7f8fa;
  --o-bg-blue: #eef3ff;
  --o-navy: #14296b;
  --o-blue: #2041b4;
  --o-blue-hover: #1a3496;
  --o-yellow: #fcda0c;
  --o-green: #16a34a;
  --o-red: #dc2626;
  --o-warn: #b45309;
  --c-pos: #16a085; --c-erp: #2041b4; --c-sale: #2f6bf0; --c-hrm: #d97706; --c-cell: #6d28d9;
  --c-gara: #dc2626; --c-tour: #0891b2; --c-hotel: #65a30d; --c-beauty: #db2777; --c-learn: #7c3aed; --c-ai: #111827;
  --o-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --o-wrap: 1180px;
  --o-pad: 24px;
  --o-r: 12px;
  --o-shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .06);
  --o-shadow-lg: 0 2px 4px rgba(17, 24, 39, .06), 0 24px 48px rgba(17, 24, 39, .10);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--o-font); font-size: 17px; line-height: 1.6; color: var(--o-text); background: var(--o-bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--o-blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--o-ink); font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; } ul { margin: 0; padding: 0; list-style: none; } figure, blockquote { margin: 0; } button { font: inherit; }
:focus-visible { outline: 2px solid var(--o-blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.o-wrap { max-width: var(--o-wrap); margin: 0 auto; padding: 0 var(--o-pad); }
.o-sec { padding: 96px 0; }
.o-sec--soft { background: var(--o-bg-soft); }
.o-sec--blue { background: var(--o-bg-blue); }
.o-sec--tight { padding: 56px 0; }

/* ---------- Typography ---------- */
.o-h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
/* Dòng 2 của H1 trang sản phẩm: nhỏ hơn, nghiêng, mỏng (chủ dự án chốt 22/10) */
.o-h1__sub { display: block; font-size: .74em; font-weight: 300; font-style: italic; letter-spacing: -.015em; line-height: 1.15; margin-top: .12em; color: var(--o-ink); }
.o-h1__sub .o-mark { font-weight: 500; }
.o-h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
.o-h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
.o-h4 { font-size: 17px; line-height: 1.4; font-weight: 700; }
.o-lead { font-size: 20px; line-height: 1.55; color: var(--o-text); }
.o-sub { font-size: 17px; color: var(--o-muted); }
.o-small { font-size: 14px; color: var(--o-muted); }
.o-kicker { font-size: 14px; font-weight: 700; color: var(--o-blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; display: block; }
.o-mark { background: linear-gradient(transparent 60%, var(--o-yellow) 60%); padding: 0 .06em; }
.o-center { text-align: center; }
.o-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.o-head .o-lead { margin-top: 16px; }
.o-head--left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.o-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.o-btn--primary { background: var(--o-blue); color: #fff; }
.o-btn--primary:hover { background: var(--o-blue-hover); }
.o-btn--secondary { background: #fff; color: var(--o-ink); border-color: var(--o-line-2); }
.o-btn--secondary:hover { border-color: var(--o-ink); }
.o-btn--text { background: transparent; color: var(--o-blue); padding: 0 6px; }
.o-btn--lg { height: 56px; padding: 0 30px; font-size: 17px; }
.o-btn--sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.o-link { font-weight: 600; color: var(--o-blue); }
.o-link::after { content: " →"; }
.o-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.o-actions--center { justify-content: center; }
@media (max-width: 640px) {
  .o-actions .o-btn--lg { width: 100%; height: auto; min-height: 52px; padding: 12px 20px; white-space: normal; text-align: center; line-height: 1.25; }
  .o-mbar .o-btn { min-width: 0; white-space: normal; padding: 0 12px; font-size: 15px; line-height: 1.15; text-align: center; }
}

/* ---------- Nav (trắng, mỏng) ---------- */
.o-nav { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--o-line); }
.o-nav__inner { max-width: var(--o-wrap); margin: 0 auto; padding: 0 var(--o-pad); height: 64px; display: flex; align-items: center; gap: 28px; }
.o-nav__logo img { height: 28px; width: auto; }
.o-nav__links { display: flex; align-items: center; gap: 4px; }
.o-nav__item { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--o-ink); background: none; border: 0; cursor: pointer; text-decoration: none !important; }
.o-nav__item:hover, .o-nav__item.is-active { color: var(--o-blue); background: var(--o-bg-soft); }
.o-nav__item svg { width: 13px; height: 13px; opacity: .6; }
.o-nav__drop { position: relative; }
.o-menu { position: absolute; top: calc(100% + 8px); left: 0; width: 760px; background: #fff; border: 1px solid var(--o-line); border-radius: 14px; box-shadow: var(--o-shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 12px; }
.o-nav__drop:hover .o-menu, .o-nav__drop.is-open .o-menu { opacity: 1; visibility: visible; transform: none; }
.o-menu__title { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--o-muted); padding: 6px 10px 8px; }
.o-menu a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; color: var(--o-ink); font-size: 14.5px; }
.o-menu a:hover { background: var(--o-bg-soft); text-decoration: none; }
.o-menu a b { display: block; font-weight: 600; }
.o-menu a small { display: block; color: var(--o-muted); font-size: 12.5px; }
.o-menu__foot { grid-column: 1 / -1; border-top: 1px solid var(--o-line); margin-top: 10px; padding-top: 12px; display: flex; gap: 20px; font-size: 14px; }
.o-nav__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.o-nav__login { font-size: 15px; font-weight: 500; color: var(--o-ink); padding: 0 12px; }
.o-lang { display: inline-flex; gap: 2px; font-size: 13px; font-weight: 700; }
.o-lang a { padding: 6px 8px; border-radius: 6px; color: var(--o-muted); }
.o-lang a.is-active { color: var(--o-ink); background: var(--o-bg-soft); }
.o-lang a:hover { text-decoration: none; }
.o-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--o-line-2); border-radius: 8px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.o-burger svg { width: 20px; height: 20px; }
.o-scrim { position: fixed; inset: 0; background: rgba(17, 24, 39, .4); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.o-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); background: #fff; z-index: 80; overflow-y: auto; padding: 16px 22px 32px; transform: translateX(100%); transition: transform .25s; }
.o-scrim.is-open { opacity: 1; visibility: visible; } .o-drawer.is-open { transform: none; }
.o-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.o-drawer__top img { height: 26px; }
.o-drawer__close { width: 38px; height: 38px; border: 1px solid var(--o-line-2); border-radius: 8px; background: #fff; font-size: 22px; cursor: pointer; }
.o-drawer__sec { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--o-muted); margin: 18px 0 6px; }
.o-drawer > a, .o-drawer__list a { display: block; padding: 10px 0; font-size: 16px; font-weight: 500; color: var(--o-ink); border-bottom: 1px solid var(--o-line); }
.o-drawer__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.o-drawer__list a { font-size: 14.5px; }
.o-drawer__cta { display: grid; gap: 10px; margin-top: 22px; }
/* Nav sản phẩm: một thanh, menu là các mục của chính trang (layout/v4/nav.product-*) */
.o-nav--product .o-nav__inner { gap: 16px; }
.o-nav--product .o-nav__logo, .o-nav--product .o-nav__right, .o-pnav__name { flex: none; }
.o-pnav__name { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding-left: 16px; border-left: 1px solid var(--o-line); font-weight: 700; font-size: 15px; color: var(--o-ink); white-space: nowrap; }
.o-pnav__name i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--o-blue)); }
.o-pnav__links { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.o-pnav__links a { padding: 7px 11px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--o-text); white-space: nowrap; }
.o-pnav__links a:hover, .o-pnav__links a.is-on { background: var(--o-bg-soft); color: var(--o-ink); text-decoration: none; }
.o-nav__tel { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 14px; color: var(--o-text); white-space: nowrap; }
.o-nav__tel:hover { color: var(--o-ink); text-decoration: none; }
.o-nav__tel svg { width: 14px; height: 14px; }
.o-nav--product .o-burger { display: inline-flex; }
.o-nav--product ~ main section[id], .o-nav--product ~ section[id] { scroll-margin-top: 72px; }
@media (max-width: 1280px) { .o-nav__tel { display: none; } }
@media (max-width: 1180px) { .o-pnav__links { display: none; } }
@media (max-width: 640px) { .o-pnav__name { display: none; } }

/* ---------- App icons (lưới ứng dụng kiểu Odoo) ---------- */
.o-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 10px; max-width: 640px; margin-left: auto; margin-right: auto; }
.o-app { width: 112px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--o-ink); text-align: center; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.o-app:hover { text-decoration: none; }
.o-app__ico { width: 72px; height: 72px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; background: var(--c, var(--o-blue)); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--c, var(--o-blue)) 30%, transparent); transition: transform .15s; }
.o-app:hover .o-app__ico { transform: translateY(-3px) scale(1.03); }
.o-app__ico svg { width: 34px; height: 34px; }
.o-app b { font-weight: 600; }
.o-app small { color: var(--o-muted); font-weight: 400; font-size: 12.5px; }

/* ---------- Screenshot frame ---------- */
.o-shot { border: 1px solid var(--o-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--o-shadow-lg); }
.o-shot img { width: 100%; display: block; }
.o-shot--plain { box-shadow: var(--o-shadow); }
.o-phone { width: 280px; border-radius: 36px; border: 8px solid #111827; overflow: hidden; background: #111827; box-shadow: var(--o-shadow-lg); margin: 0 auto; }
.o-phone img { width: 100%; display: block; }

/* ---------- Hero ---------- */
.o-hero { padding: 72px 0 0; text-align: center; }
.o-hero .o-h1 { max-width: 900px; margin: 0 auto; }
.o-hero .o-lead { max-width: 680px; margin: 22px auto 0; }
.o-hero__cta { margin-top: 32px; justify-content: center; }
.o-hero__note { margin-top: 14px; font-size: 14px; color: var(--o-muted); }
.o-hero__apps { margin-top: 56px; }
.o-hero__shot { margin-top: 56px; }

/* ---------- Logos ---------- */
.o-logos { padding: 44px 0; border-top: 1px solid var(--o-line); border-bottom: 1px solid var(--o-line); }
.o-logos__label { text-align: center; font-size: 14px; color: var(--o-muted); margin-bottom: 22px; }
/* Dải logo khách hàng: thẻ nhỏ sáng màu, nền pastel, ánh lấp lánh quét qua, nổi nhẹ (chủ dự án chốt 22/10) */
.o-logos__row { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 0 auto; padding: 12px 16px; border-radius: 24px; background: linear-gradient(100deg, #eef2ff 0%, #fdf2f8 50%, #ecfeff 100%); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 14px 34px -24px rgba(32, 65, 180, .35); overflow: hidden; isolation: isolate; }
.o-logos__row::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, #fff 0 1.2px, transparent 1.6px) 12% 24% / 10px 10px no-repeat, radial-gradient(circle, #fff 0 1.5px, transparent 2px) 38% 78% / 12px 12px no-repeat, radial-gradient(circle, #fff 0 1px, transparent 1.4px) 63% 18% / 9px 9px no-repeat, radial-gradient(circle, #fff 0 1.4px, transparent 1.9px) 86% 70% / 11px 11px no-repeat, radial-gradient(circle, #fff 0 1px, transparent 1.4px) 50% 50% / 8px 8px no-repeat; opacity: .9; animation: o-twinkle 2.6s ease-in-out infinite; }
.o-logos__row::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -30%; width: 22%; pointer-events: none; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); animation: o-glint 4.2s cubic-bezier(.4, 0, .2, 1) infinite; }
.o-logos__row img { flex: none; width: 112px; height: 54px; padding: 10px 14px; box-sizing: border-box; object-fit: contain; object-position: center; background: #fff; border-radius: 14px; border: 1px solid rgba(32, 65, 180, .1); box-shadow: 0 1px 0 #fff inset, 0 8px 18px -12px rgba(32, 65, 180, .35); filter: none; opacity: 1; transition: transform .25s, box-shadow .25s; animation: o-float 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
.o-logos__row img:nth-child(2) { --i: 1; } .o-logos__row img:nth-child(3) { --i: 2; } .o-logos__row img:nth-child(4) { --i: 3; } .o-logos__row img:nth-child(5) { --i: 4; } .o-logos__row img:nth-child(6) { --i: 5; } .o-logos__row img:nth-child(7) { --i: 6; } .o-logos__row img:nth-child(8) { --i: 7; }
.o-logos__row img:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 1px 0 #fff inset, 0 14px 26px -12px rgba(32, 65, 180, .45), 0 0 0 3px rgba(252, 219, 15, .35); animation-play-state: paused; }
@keyframes o-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes o-glint { 0%, 55% { left: -30%; } 100% { left: 130%; } }
@keyframes o-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .o-logos__row::before, .o-logos__row::after, .o-logos__row img { animation: none; } }
@media (max-width: 640px) { .o-logos__row { gap: 8px; padding: 10px 12px; border-radius: 18px; } .o-logos__row img { width: 96px; height: 46px; padding: 8px 12px; border-radius: 11px; } }

/* ---------- Feature rows (ảnh + chữ xen kẽ) ---------- */
.o-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 56px 0; }
.o-row--rev > :first-child { order: 2; }
.o-row .o-h2 { margin-top: 6px; }
.o-row .o-lead { margin-top: 16px; font-size: 18px; }
.o-row ul { margin-top: 22px; display: grid; gap: 10px; }
.o-row li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.o-row li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--o-bg-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232041b4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat; }
.o-row .o-link { display: inline-block; margin-top: 22px; }
.o-row__media { position: relative; }

/* ---------- Cards / grids ---------- */
.o-grid { display: grid; gap: 24px; }
.o-grid--2 { grid-template-columns: repeat(2, 1fr); }
.o-grid--3 { grid-template-columns: repeat(3, 1fr); }
.o-grid--4 { grid-template-columns: repeat(4, 1fr); }
.o-card { background: #fff; border: 1px solid var(--o-line); border-radius: 14px; padding: 28px; }
.o-card .o-h4 { margin: 14px 0 6px; }
.o-card p { font-size: 15px; color: var(--o-text); }
.o-ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--o-bg-blue); color: var(--o-blue); }
.o-ico svg { width: 22px; height: 22px; }

/* Industry cards với ảnh */
.o-ind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.o-ind a { display: flex; flex-direction: column; border: 1px solid var(--o-line); border-radius: 14px; overflow: hidden; background: #fff; color: var(--o-ink); transition: box-shadow .15s, transform .15s; }
.o-ind a:hover { text-decoration: none; box-shadow: var(--o-shadow-lg); transform: translateY(-2px); }
.o-ind img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--o-bg-soft); }
.o-ind__body { padding: 18px 20px 20px; }
.o-ind__body b { display: block; font-size: 17px; }
.o-ind__body span { display: block; font-size: 14px; color: var(--o-muted); margin-top: 4px; }
.o-ind__tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--c, var(--o-blue)); padding: 3px 9px; border-radius: 6px; margin-bottom: 10px; }

/* ---------- AI section (giao diện sản phẩm, không trang trí) ---------- */
.o-ui { border: 1px solid var(--o-line); border-radius: 14px; background: #fff; box-shadow: var(--o-shadow-lg); overflow: hidden; font-size: 14px; min-width: 0; }
.o-ui__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--o-line); background: var(--o-bg-soft); font-weight: 600; color: var(--o-ink); font-size: 13.5px; }
.o-ui__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--o-green); }
.o-ui__body { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; overflow-x: auto; }
.o-ui .o-table { white-space: normal !important; }
.o-ui .o-table th, .o-ui .o-table td { padding: 8px 10px; vertical-align: top; }
.o-ui .o-table td:last-child { white-space: nowrap; }
.o-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; line-height: 1.5; }
.o-msg--user { background: var(--o-navy); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.o-msg--ai { background: var(--o-bg-soft); border-bottom-left-radius: 4px; color: var(--o-ink); }
.o-msg--ai b { display: block; font-size: 11px; color: var(--o-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.o-ui table { width: 100%; border-collapse: collapse; font-size: 13px; }
.o-ui th { text-align: left; font-size: 11.5px; color: var(--o-muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--o-line); background: var(--o-bg-soft); }
.o-ui td { padding: 9px 10px; border-bottom: 1px solid var(--o-line); color: var(--o-ink); }
.o-ui__input { display: flex; gap: 10px; align-items: center; border: 1px solid var(--o-line-2); border-radius: 10px; padding: 10px 12px; color: var(--o-muted); }
.o-ui__input span { flex: 1; }
.o-ui__input b { width: 30px; height: 30px; border-radius: 8px; background: var(--o-blue); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.o-ui__input b svg { width: 16px; height: 16px; }
.o-agent { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--o-line); }
.o-agent:last-child { border-bottom: 0; }
.o-agent__ava { width: 40px; height: 40px; border-radius: 10px; background: var(--c, var(--o-blue)); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.o-agent b { display: block; font-size: 14px; color: var(--o-ink); }
.o-agent small { display: block; font-size: 12.5px; color: var(--o-muted); line-height: 1.4; }
.o-agent__st { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; white-space: nowrap; }
.o-agent__st.is-wait { background: #fef3c7; color: #b45309; }
.o-agent__st.is-done { background: var(--o-bg-blue); color: var(--o-blue); }

/* ---------- Story (ảnh thật + trích dẫn) ---------- */
.o-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--o-line); border-radius: 16px; overflow: hidden; }
.o-story img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.o-story__body { padding: 40px 44px 40px 0; }
.o-story__quote { font-size: 22px; line-height: 1.45; color: var(--o-ink); font-weight: 500; }
.o-story__who { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.o-story__who img { width: 48px; height: 48px; border-radius: 50%; min-height: 0; }
.o-story__who b { display: block; font-size: 15px; color: var(--o-ink); }
.o-story__who span { font-size: 13.5px; color: var(--o-muted); }
.o-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.o-photos img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 12px; }

/* ---------- Numbers ---------- */
.o-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.o-num b { display: block; font-size: 48px; font-weight: 700; letter-spacing: -.03em; color: var(--o-ink); line-height: 1; }
.o-num span { display: block; margin-top: 8px; font-size: 15px; color: var(--o-muted); }

/* ---------- Testimonials ---------- */
.o-quote { background: #fff; border: 1px solid var(--o-line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.o-quote p { font-size: 16px; line-height: 1.6; color: var(--o-ink); }
.o-quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.o-quote__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.o-quote__who b { display: block; font-size: 14px; color: var(--o-ink); }
.o-quote__who span { font-size: 13px; color: var(--o-muted); }

/* ---------- Pricing (phẳng) ---------- */
.o-price { background: #fff; border: 1px solid var(--o-line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.o-price--hot { border: 2px solid var(--o-blue); }
.o-price__name { font-size: 15px; font-weight: 700; color: var(--o-muted); text-transform: uppercase; letter-spacing: .06em; }
.o-price__amount { font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--o-ink); line-height: 1; margin-top: 16px; }
.o-price__amount small { font-size: 15px; font-weight: 500; color: var(--o-muted); letter-spacing: 0; margin-left: 4px; }
.o-price__sub { font-size: 14px; color: var(--o-muted); margin-top: 8px; }
.o-price ul { display: grid; gap: 9px; font-size: 14.5px; }
.o-price li { display: flex; gap: 9px; align-items: flex-start; }
.o-price li::before { content: "✓"; color: var(--o-green); font-weight: 700; }
.o-price .o-btn { margin-top: auto; width: 100%; }
.o-price__badge { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--o-blue); background: var(--o-bg-blue); padding: 4px 10px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.o-faq { display: grid; gap: 0; border-top: 1px solid var(--o-line); }
.o-faq details { border-bottom: 1px solid var(--o-line); }
.o-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--o-ink); }
.o-faq summary::-webkit-details-marker { display: none; }
.o-faq summary::after { content: "+"; font-size: 22px; color: var(--o-muted); }
.o-faq details[open] summary::after { content: "–"; }
.o-faq details > div { padding: 0 0 20px; font-size: 16px; max-width: 760px; }

/* ---------- CTA + footer ---------- */
.o-cta { text-align: center; padding: 88px 0; background: var(--o-bg-blue); }
.o-cta .o-lead { margin: 14px auto 0; max-width: 620px; }
.o-footer { padding: 64px 0 28px; border-top: 1px solid var(--o-line); font-size: 14.5px; color: var(--o-text); }
.o-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.o-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--o-ink); margin-bottom: 14px; }
.o-footer ul { display: grid; gap: 9px; }
.o-footer a { color: var(--o-text); }
.o-footer a:hover { color: var(--o-blue); }
.o-footer__brand img { height: 26px; margin-bottom: 14px; }
.o-footer__brand p { max-width: 300px; color: var(--o-muted); line-height: 1.6; }
.o-footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--o-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--o-muted); }

/* ---------- Mobile bar ---------- */
.o-mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--o-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
.o-mbar .o-btn { flex: 1; }

/* ---------- Tabs (pill) + panels ---------- */
.o-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.o-tabs button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--o-line-2); background: #fff; color: var(--o-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.o-tabs button:hover { border-color: var(--o-ink); }
.o-tabs button.is-active { background: var(--o-ink); color: #fff; border-color: var(--o-ink); }
.o-tabs--center { justify-content: center; }
[data-panel] { display: none; }
[data-panel].is-active { display: block; }
.o-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 36px; }

/* ---------- KPI cards / stats list ---------- */
.o-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.o-kpi { border: 1px solid var(--o-line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.o-kpi span { display: block; font-size: 11.5px; font-weight: 600; color: var(--o-muted); text-transform: uppercase; letter-spacing: .05em; }
.o-kpi b { display: block; font-size: 24px; font-weight: 700; color: var(--o-ink); letter-spacing: -.02em; margin-top: 4px; line-height: 1.1; }
.o-kpi small { display: block; font-size: 12.5px; color: var(--o-green); margin-top: 4px; }
.o-kpi small.is-muted { color: var(--o-muted); }
.o-rows { display: grid; }
.o-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--o-line); font-size: 14px; color: var(--o-ink); }
.o-rows > div:last-child { border-bottom: 0; }
.o-rows small { display: block; color: var(--o-muted); font-size: 12.5px; }
.o-pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--o-bg-soft); color: var(--o-text); white-space: nowrap; }
.o-pill.is-ok { background: #dcfce7; color: #15803d; } .o-pill.is-warn { background: #fef3c7; color: #b45309; } .o-pill.is-info { background: var(--o-bg-blue); color: var(--o-blue); }
.o-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.o-chips span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--o-line); color: var(--o-text); background: #fff; }
.o-checks { display: grid; gap: 10px; }
.o-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.o-checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--o-bg-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232041b4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat; }
.o-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.o-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.o-table th { text-align: left; font-size: 11.5px; color: var(--o-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--o-line); background: var(--o-bg-soft); }
.o-table td { padding: 10px 12px; border-bottom: 1px solid var(--o-line); color: var(--o-ink); }
.o-num-card { border: 1px solid var(--o-line); border-radius: 14px; padding: 28px; background: #fff; }
.o-num-card .o-step { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; background: var(--o-ink); color: #fff; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.o-num-card h3 { font-size: 20px; margin-bottom: 8px; }
.o-num-card p { font-size: 15px; }
.o-num-card .o-chips { margin-top: 16px; }
.o-num-card .o-small { margin-top: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: 11.5px; }
.o-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.o-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--o-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.o-group h4 i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--o-blue)); }
.o-group .o-chips span { font-size: 12.5px; padding: 5px 10px; }
.o-case { border: 1px solid var(--o-line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.o-case img.o-case__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.o-case__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.o-case__who { display: flex; align-items: center; gap: 10px; }
.o-case__who img { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--o-line); object-fit: contain; }
.o-case__who b { display: block; font-size: 15px; color: var(--o-ink); }
.o-case__who span { font-size: 13px; color: var(--o-muted); }
.o-case p { font-size: 14.5px; color: var(--o-text); }
.o-case__kpi { display: flex; gap: 20px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--o-line); }
.o-case__kpi b { display: block; font-size: 20px; font-weight: 700; color: var(--o-ink); letter-spacing: -.02em; }
.o-case__kpi span { font-size: 12px; color: var(--o-muted); }
.o-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.o-flow span { padding: 8px 14px; border: 1px solid var(--o-line-2); border-radius: 10px; background: #fff; color: var(--o-ink); font-weight: 600; }
.o-flow i { color: var(--o-muted); font-style: normal; }
.o-hero--split { text-align: left; }
.o-hero--split .o-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.o-hero--split .o-h1, .o-hero--split .o-lead { margin-left: 0; }
.o-hero--split .o-hero__cta { justify-content: flex-start; }
.o-hero__stats { display: flex; gap: 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--o-line); }
.o-hero__stats b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--o-ink); line-height: 1; }
.o-hero__stats span { display: block; font-size: 13.5px; color: var(--o-muted); margin-top: 6px; }
.o-bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-top: 12px; }
.o-bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--o-bg-blue); }
.o-bars i.is-hi { background: var(--o-blue); }

/* ---------- Hình ký hiệu: 9 ô màu trên một thanh dữ liệu ---------- */
.o-sig { position: relative; padding-bottom: 8px; }
.o-sig__tiles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 1; }
.o-sig__tile { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--o-ink); text-align: center; }
.o-sig__tile:hover { text-decoration: none; }
.o-sig__tile i { width: 100%; aspect-ratio: 1; max-width: 96px; border-radius: 22px; background: var(--c); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 28%, transparent); transition: transform .15s; }
.o-sig__tile:hover i { transform: translateY(-4px); }
.o-sig__tile i svg { width: 42%; height: 42%; }
.o-sig__tile b { font-size: 14px; font-weight: 700; }
.o-sig__tile small { font-size: 12.5px; color: var(--o-muted); line-height: 1.35; }
.o-sig__tile.is-dim i { opacity: .25; box-shadow: none; }
.o-sig__bar { margin-top: 28px; height: 56px; border-radius: 14px; background: var(--o-yellow); display: flex; align-items: center; justify-content: center; gap: 28px; font-weight: 700; color: var(--o-navy); font-size: 15px; }
.o-sig__bar span { display: inline-flex; align-items: center; gap: 8px; }
.o-sig__bar span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--o-navy); }
.o-sig__links { position: absolute; left: 5%; right: 5%; top: 48px; height: 0; border-top: 2px dashed var(--o-line-2); z-index: 0; }
.o-sig__tiles--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); max-width: 1132px; margin: 0 auto; }
@media (min-width: 1025px) { .o-sig__tile b, .o-sig__tile small { white-space: nowrap; max-width: 100%; } }
.o-hero__eco { margin-top: 56px; text-align: center; }
.o-hero__eco .o-sig__line { justify-content: center; }
.o-hero__eco .o-sig__line > small { width: auto; }
.o-hero--v6 .o-hero__shot { margin-top: 64px; }
.o-sig__more { margin: 36px auto 0; max-width: 1040px; display: grid; gap: 10px; }
.o-sig__line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.o-sig__line > small { flex: none; width: 92px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--o-muted); }
.o-sig__line a, .o-sig__line span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--o-ink); padding: 7px 13px; border: 1px solid var(--o-line); border-radius: 999px; background: #fff; }
.o-sig__line a:hover { text-decoration: none; border-color: var(--o-ink); }
.o-sig__line a svg { width: 14px; height: 14px; color: var(--o-blue); }
.o-sig__line--grow a svg { color: var(--o-navy); }
.o-sig__line--grow a { background: var(--o-bg-blue); border-color: transparent; }
@media (max-width: 1024px) { .o-sig__tiles--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .o-sig__tiles--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .o-sig__tiles--8 i { border-radius: 16px; } .o-sig__line > small { width: 100%; } }

/* ---------- Trụ cột ---------- */
.o-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--o-line); border-radius: 16px; overflow: hidden; background: #fff; }
.o-pillar { padding: 32px 28px; border-right: 1px solid var(--o-line); }
.o-pillar:last-child { border-right: 0; }
.o-pillar b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--o-ink); line-height: 1.15; }
.o-pillar b::after { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--o-yellow); margin: 14px 0 12px; }
.o-pillar p { font-size: 15px; color: var(--o-text); }
.o-pillar small { display: block; margin-top: 12px; font-size: 13px; color: var(--o-muted); }

/* ---------- Hero gọn ---------- */
.o-hero--v6 .o-h1 { max-width: 980px; font-size: clamp(38px, 5.6vw, 64px); }
.o-hero__proof { margin-top: 22px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 15px; color: var(--o-muted); }
.o-hero__proof b { color: var(--o-ink); font-weight: 700; }
.o-hero--v6 .o-hero__shot { margin-top: 48px; }
.o-twocards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.o-twocard { border: 1px solid var(--o-line); border-radius: 16px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (max-width: 1024px) { .o-twocards { grid-template-columns: 1fr; } }
.o-twocard h3 { font-size: 26px; letter-spacing: -.02em; }
.o-twocard h3 span { color: var(--o-blue); }
.o-twocard p { font-size: 15.5px; }
.o-twocard .o-ui { box-shadow: var(--o-shadow); margin-top: auto; }
.o-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.o-ladder > div { padding: 24px 28px 24px 0; border-top: 3px solid var(--o-line); margin-right: 28px; }
.o-ladder > div:nth-child(1) { border-top-color: var(--c-pos); } .o-ladder > div:nth-child(2) { border-top-color: var(--c-sale); } .o-ladder > div:nth-child(3) { border-top-color: var(--c-erp); }
.o-ladder small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--o-muted); }
.o-ladder b { display: block; font-size: 20px; margin: 8px 0 6px; color: var(--o-ink); }
.o-ladder p { font-size: 15px; }
@media (max-width: 1024px) { .o-sig__tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } .o-sig__links { display: none; } .o-pillars { grid-template-columns: repeat(2, 1fr); } .o-pillar:nth-child(2) { border-right: 0; } .o-pillar:nth-child(-n+2) { border-bottom: 1px solid var(--o-line); } .o-twocards, .o-ladder { grid-template-columns: 1fr; } .o-ladder > div { margin-right: 0; } }
@media (max-width: 640px) { .o-sig__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .o-sig__tile small { display: none; } .o-sig__bar { height: auto; padding: 12px 16px; flex-direction: column; gap: 8px; align-items: flex-start; font-size: 14px; } .o-pillars { grid-template-columns: 1fr; } .o-pillar { border-right: 0; border-bottom: 1px solid var(--o-line); } }

/* ---------- Màn hình tổng quan QBIS (motion) ---------- */
.o-dash { border: 1px solid var(--o-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--o-shadow-lg); display: grid; grid-template-columns: 200px 1fr; font-size: 12px; color: var(--o-text); text-align: left; min-height: 520px; }
.o-dash__side { background: #fff; border-right: 1px solid var(--o-line); padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.o-dash__brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 700; color: var(--o-ink); font-size: 12.5px; }
.o-dash__brand i { width: 26px; height: 26px; border-radius: 8px; background: var(--o-navy); display: inline-flex; align-items: center; justify-content: center; color: var(--o-yellow); font-weight: 800; font-size: 13px; }
.o-dash__nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--o-text); font-size: 12.5px; }
.o-dash__nav svg { width: 15px; height: 15px; color: var(--o-muted); }
.o-dash__nav.is-on { background: var(--o-bg-blue); color: var(--o-blue); font-weight: 600; }
.o-dash__nav.is-on svg { color: var(--o-blue); }
.o-dash__sec { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--o-muted); padding: 12px 10px 4px; }
.o-dash__main { background: var(--o-bg-soft); display: flex; flex-direction: column; }
.o-dash__top { height: 48px; background: #fff; border-bottom: 1px solid var(--o-line); display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.o-dash__search { flex: 1; max-width: 320px; height: 30px; border: 1px solid var(--o-line); border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--o-muted); font-size: 12px; background: var(--o-bg-soft); }
.o-dash__search kbd { margin-left: auto; font-size: 10px; border: 1px solid var(--o-line-2); border-radius: 4px; padding: 1px 5px; background: #fff; font-family: inherit; }
.o-dash__user { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--o-ink); font-weight: 600; }
.o-dash__user i { width: 28px; height: 28px; border-radius: 50%; background: var(--o-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.o-dash__bell { position: relative; width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--o-muted); }
.o-dash__bell svg { width: 16px; height: 16px; }
.o-dash__bell b { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--o-red); color: #fff; font-size: 9.5px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; animation: o-pop 12s ease-in-out infinite; }
.o-dash__body { padding: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-auto-rows: min-content; gap: 12px; }
.o-dash__title { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.o-dash__title b { font-size: 14px; color: var(--o-ink); }
.o-dash__title span { font-size: 11.5px; color: var(--o-muted); }
.o-dash__live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--o-green); }
.o-dash__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--o-green); animation: o-blink 2s ease-in-out infinite; }
.o-dash__kpi { background: #fff; border: 1px solid var(--o-line); border-radius: 10px; padding: 12px 14px; }
.o-dash__kpi span { display: block; font-size: 11px; color: var(--o-muted); }
.o-dash__kpi b { display: block; font-size: 22px; font-weight: 700; color: var(--o-ink); letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.o-dash__kpi small { display: block; font-size: 11px; color: var(--o-green); margin-top: 2px; }
.o-dash__kpi small.is-warn { color: var(--o-warn); }
.o-dash__card { background: #fff; border: 1px solid var(--o-line); border-radius: 10px; padding: 14px; }
.o-dash__card > b { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--o-ink); margin-bottom: 10px; }
.o-dash__card > b span { font-weight: 500; color: var(--o-muted); font-size: 11px; }
.o-dash__chart { grid-column: span 2; }
.o-dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; border-bottom: 1px solid var(--o-line); padding-bottom: 2px; }
.o-dash__bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--o-bg-blue); transform-origin: bottom; animation: o-grow 1.2s cubic-bezier(.2,.8,.2,1) both; height: var(--h); }
.o-dash__bars i:nth-child(n) { animation-delay: calc(var(--i) * 70ms + .3s); }
.o-dash__bars i.is-hi { background: var(--o-blue); }
.o-dash__axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--o-muted); margin-top: 6px; }
.o-dash__feed { grid-column: span 2; }
.o-dash__item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--o-line); font-size: 12px; color: var(--o-ink); opacity: 0; transform: translateY(6px); animation: o-in .5s ease-out forwards; }
.o-dash__item:last-child { border-bottom: 0; }
.o-dash__item:nth-child(1) { animation-delay: .6s; } .o-dash__item:nth-child(2) { animation-delay: 1.4s; } .o-dash__item:nth-child(3) { animation-delay: 2.2s; } .o-dash__item:nth-child(4) { animation-delay: 3s; } .o-dash__item:nth-child(5) { animation-delay: 3.8s; }
.o-dash__item i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 700; background: var(--c, var(--o-blue)); }
.o-dash__item small { display: block; color: var(--o-muted); font-size: 11px; }
.o-dash__item em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--o-muted); white-space: nowrap; }
.o-dash__mods { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.o-dash__mod { background: #fff; border: 1px solid var(--o-line); border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--o-ink); animation: o-mod 12s ease-in-out infinite; animation-delay: calc(var(--i) * 1.4s); }
.o-dash__mod i { width: 28px; height: 28px; border-radius: 8px; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.o-dash__mod i svg { width: 15px; height: 15px; }
.o-dash__mod small { font-size: 10px; color: var(--o-muted); font-weight: 400; }
.o-dash__toast { position: absolute; right: 24px; top: 64px; background: #fff; border: 1px solid var(--o-line); border-radius: 10px; box-shadow: var(--o-shadow-lg); padding: 10px 12px; font-size: 12px; color: var(--o-ink); display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateY(-8px); animation: o-toast 12s ease-in-out infinite; }
.o-dash__toast i { width: 28px; height: 28px; border-radius: 8px; background: var(--o-yellow); color: var(--o-navy); display: inline-flex; align-items: center; justify-content: center; }
.o-dash__toast i svg { width: 15px; height: 15px; }
.o-dash__toast small { display: block; color: var(--o-muted); font-size: 11px; }
.o-dash__wrap { position: relative; }
@keyframes o-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes o-in { to { opacity: 1; transform: none; } }
@keyframes o-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes o-pop { 0%, 40% { transform: scale(1); } 45% { transform: scale(1.35); } 50%, 100% { transform: scale(1); } }
@keyframes o-mod { 0%, 8%, 100% { border-color: var(--o-line); box-shadow: none; transform: none; } 4% { border-color: var(--c); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 25%, transparent); transform: translateY(-2px); } }
@keyframes o-toast { 0%, 38% { opacity: 0; transform: translateY(-8px); } 42%, 70% { opacity: 1; transform: none; } 74%, 100% { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .o-dash__item { opacity: 1; transform: none; } .o-dash__bars i { animation: none; } .o-dash__toast { opacity: 1; transform: none; } }
@media (max-width: 1024px) { .o-dash { grid-template-columns: 1fr; } .o-dash__side { display: none; } .o-dash__body { grid-template-columns: 1fr 1fr; } .o-dash__chart, .o-dash__feed { grid-column: span 2; } .o-dash__mods { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .o-dash__body { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; } .o-dash__mods { grid-template-columns: repeat(4, 1fr); } .o-dash__mod small { display: none; } .o-dash__toast { display: none; } .o-dash__search { display: none; } }

/* ---------- Khung app QBIS + luồng workflow (motion, chu kỳ 18s) ---------- */
.o-shell { --cyc: 18s; border: 1px solid var(--o-line); border-radius: 14px; overflow: hidden; background: var(--o-bg-soft); box-shadow: var(--o-shadow-lg); display: grid; grid-template-columns: 96px 1fr; font-size: 12px; color: var(--o-text); text-align: left; min-height: 560px; }
/* Khung app cao cố định ~560px (chủ dự án chốt 22/10), phần dư cắt mềm bằng dải mờ ở đáy */
.o-shell::before { content: ""; grid-column: 1 / -1; height: 38px; border-bottom: 1px solid var(--o-line); background-color: #f6f7fb; background-image: radial-gradient(circle, #ff5f57 5px, transparent 5.6px), radial-gradient(circle, #febc2e 5px, transparent 5.6px), radial-gradient(circle, #28c840 5px, transparent 5.6px); background-repeat: no-repeat; background-position: 18px 50%, 38px 50%, 58px 50%; }
@media (min-width: 1025px) { .o-shell { position: relative; height: 470px; min-height: 0; border: 1px solid var(--o-line-2); border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: 0 2px 6px rgba(17, 24, 39, .06); -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 130px), rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 130px), rgba(0, 0, 0, 0) 100%); } .o-shell__body { padding: 18px 22px 22px 18px; } }
.o-shell__side { background: #fff; border-right: 1px solid var(--o-line); color: var(--o-text); display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 2px; overflow: hidden; }
.o-shell__logo { width: 38px; height: 38px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.o-shell__logo img { width: 38px; height: 38px; border-radius: 10px; }
.o-shell__nav { width: 84px; height: 58px; padding: 6px 4px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 10.5px; line-height: 1.2; text-align: center; color: var(--o-muted); font-weight: 500; }
.o-shell__nav svg { width: 18px; height: 18px; }
.o-shell__nav.is-on { background: var(--o-bg-blue); color: var(--o-blue); font-weight: 600; }
.o-shell__nav--pulse { animation: o-navpulse var(--cyc) ease-in-out infinite; animation-delay: var(--d); }
.o-shell__main { display: flex; flex-direction: column; min-width: 0; }
.o-shell__top { height: 56px; background: #fff; border-bottom: 1px solid var(--o-line); display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.o-shell__burger { width: 32px; height: 32px; border-radius: 8px; background: var(--o-bg-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--o-ink); }
.o-shell__burger svg { width: 16px; height: 16px; }
.o-shell__co { font-weight: 700; color: var(--o-ink); font-size: 13.5px; white-space: nowrap; }
.o-shell__search { flex: 1; max-width: 420px; height: 34px; border-radius: 9px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--o-muted); font-size: 12px; background: var(--o-bg-soft); border: 1px solid var(--o-line); }
.o-shell__search svg { width: 14px; height: 14px; }
.o-shell__search kbd { margin-left: auto; font-size: 10px; border: 1px solid var(--o-line-2); border-radius: 4px; padding: 1px 5px; background: #fff; font-family: inherit; }
.o-shell__tools { display: flex; gap: 2px; background: var(--o-bg-soft); border-radius: 9px; padding: 3px; }
.o-shell__tools i { width: 28px; height: 28px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: var(--o-muted); }
.o-shell__tools i svg { width: 14px; height: 14px; }
.o-shell__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.o-shell__bell { position: relative; color: var(--o-muted); display: inline-flex; }
.o-shell__bell svg { width: 18px; height: 18px; }
.o-shell__bell b { position: absolute; top: -6px; right: -7px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--o-red); color: #fff; font-size: 9.5px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.o-shell__user { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--o-ink); }
.o-shell__user i { width: 32px; height: 32px; border-radius: 50%; background: var(--o-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.o-shell__user b { display: block; font-size: 12.5px; }
.o-shell__user small { display: block; color: var(--o-muted); font-size: 11px; }
.o-shell__body { padding: 16px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-content: start; }

/* Hàng chào + stepper */
.o-flowbar { grid-column: 1 / -1; background: #fff; border: 1px solid var(--o-line); border-radius: 12px; padding: 14px 16px; }
.o-flowbar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.o-flowbar__head b { font-size: 13.5px; color: var(--o-ink); }
.o-flowbar__head span { font-size: 11px; color: var(--o-muted); display: inline-flex; align-items: center; gap: 6px; }
.o-flowbar__head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--o-green); animation: o-blink 2s ease-in-out infinite; }
.o-steps6 { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.o-steps6::before { content: ""; position: absolute; left: 8%; right: 8%; top: 15px; height: 2px; background: var(--o-line); }
.o-steps6::after { content: ""; position: absolute; left: 8%; top: 15px; height: 2px; width: 0; background: var(--o-blue); animation: o-line var(--cyc) linear infinite; }
.o-step6 { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: var(--o-muted); text-align: center; z-index: 1; }
.o-step6 i { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--o-line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--o-muted); font-size: 11px; font-weight: 700; animation: o-node var(--cyc) ease-in-out infinite; animation-delay: var(--d); }
.o-step6 i::after { content: "✓"; display: none; }
.o-step6 span { animation: o-nodetext var(--cyc) ease-in-out infinite; animation-delay: var(--d); }

/* Sân khấu: thẻ nghiệp vụ thay nhau */
.o-stage { position: relative; min-height: 250px; }
.o-scene { position: absolute; inset: 0; background: #fff; border: 1px solid var(--o-line); border-radius: 12px; padding: 14px 16px; opacity: 0; animation: o-stage var(--cyc) ease-in-out infinite; animation-delay: var(--d); display: flex; flex-direction: column; gap: 10px; }
.o-scene:first-child { animation-name: o-stage-first; }
/* Con trỏ chuột + cửa sổ nhỏ (v4.js chèn vào mỗi .o-stage) */
.o-cursor { position: absolute; z-index: 6; width: 18px; height: 22px; left: 60%; top: 80%; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .28)); animation: o-cursor var(--cyc) ease-in-out infinite; }
.o-cursor svg { width: 100%; height: 100%; display: block; }
.o-mini { position: absolute; z-index: 5; right: 16px; top: 44px; width: 236px; background: #fff; border: 1px solid var(--o-line-2); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(17, 24, 39, .4); padding: 12px 14px; opacity: 0; transform: translateY(6px) scale(.96); transform-origin: top right; pointer-events: none; animation: o-mini var(--cyc) ease-in-out infinite; }
.o-mini b { display: block; font-size: 12.5px; color: var(--o-ink); margin-bottom: 4px; }
.o-mini p { margin: 0 0 10px; font-size: 11.5px; color: var(--o-muted); line-height: 1.4; }
.o-mini__btns { display: flex; justify-content: flex-end; gap: 8px; }
.o-mini__btns span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 7px; background: var(--o-bg-soft); color: var(--o-ink); }
.o-mini__btns .is-primary { background: var(--o-blue); color: #fff; animation: o-mini-press var(--cyc) ease-in-out infinite; }
@keyframes o-cursor { 0%, 21% { opacity: 0; left: 60%; top: 80%; transform: none; } 23% { opacity: 1; left: 60%; top: 80%; } 27% { left: calc(100% - 64px); top: 14px; transform: none; } 27.6% { transform: scale(.78); } 28.4%, 30% { left: calc(100% - 64px); top: 14px; transform: none; } 34% { left: calc(100% - 52px); top: 118px; transform: none; } 34.6% { transform: scale(.78); } 35.4%, 37% { left: calc(100% - 52px); top: 118px; transform: none; opacity: 1; } 39%, 100% { opacity: 0; left: calc(100% - 52px); top: 118px; } }
@keyframes o-mini { 0%, 27.8% { opacity: 0; transform: translateY(6px) scale(.96); } 29.2%, 34.8% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(4px) scale(.97); } }
@keyframes o-mini-press { 0%, 34.4% { transform: none; } 34.8% { transform: scale(.92); } 35.2%, 100% { transform: none; } }
.o-scene__head { display: flex; align-items: center; gap: 10px; }
.o-scene__head i { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--c, var(--o-blue)); font-size: 10.5px; font-weight: 700; }
.o-scene__head b { display: block; font-size: 13px; color: var(--o-ink); }
.o-scene__head small { display: block; font-size: 11px; color: var(--o-muted); }
.o-scene__tag { margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--o-bg-blue); color: var(--o-blue); }
.o-scene__tag.is-ok { background: #dcfce7; color: #15803d; } .o-scene__tag.is-warn { background: #fef3c7; color: #b45309; }
.o-bubble { max-width: 78%; padding: 8px 11px; border-radius: 11px; font-size: 12px; line-height: 1.45; background: var(--o-bg-soft); color: var(--o-ink); }
.o-bubble--me { margin-left: auto; background: var(--o-navy); color: #fff; }
.o-scene table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.o-scene th { text-align: left; font-size: 10.5px; color: var(--o-muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--o-line); background: var(--o-bg-soft); }
.o-scene td { padding: 6px 8px; border-bottom: 1px solid var(--o-line); color: var(--o-ink); }
.o-scene__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--o-ink); padding: 7px 0; border-bottom: 1px solid var(--o-line); }
.o-scene__row small { display: block; color: var(--o-muted); font-size: 11px; }
.o-approve { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; }
.o-approve b { height: 30px; padding: 0 14px; border-radius: 8px; background: var(--o-blue); color: #fff; font-size: 12px; display: inline-flex; align-items: center; animation: o-press var(--cyc) ease-in-out infinite; animation-delay: var(--d); }
.o-approve span { font-size: 11.5px; color: var(--o-green); font-weight: 600; }
.o-meter { height: 8px; border-radius: 4px; background: var(--o-line); overflow: hidden; }
.o-meter i { display: block; height: 100%; border-radius: 4px; background: var(--c, var(--o-blue)); width: 0; animation: o-fill 2.2s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d) + .4s); }
.o-truck { position: relative; height: 34px; border-bottom: 2px dashed var(--o-line-2); margin: 6px 0 2px; }
.o-truck i { position: absolute; bottom: 4px; left: 0; width: 34px; height: 24px; border-radius: 6px; background: var(--c-tour); display: inline-flex; align-items: center; justify-content: center; color: #fff; animation: o-drive 2.6s cubic-bezier(.3,.7,.3,1) forwards; animation-delay: calc(var(--d) + .2s); }
.o-truck i svg { width: 16px; height: 16px; }
.o-truck small { position: absolute; right: 0; bottom: 8px; font-size: 11px; color: var(--o-muted); }
.o-kpis3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.o-kpis3 div { border: 1px solid var(--o-line); border-radius: 9px; padding: 8px 10px; }
.o-kpis3 span { display: block; font-size: 10.5px; color: var(--o-muted); }
.o-kpis3 b { display: block; font-size: 17px; color: var(--o-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.o-kpis3 small { font-size: 10.5px; color: var(--o-green); }

/* Cột phải */
.o-side { display: flex; flex-direction: column; gap: 14px; }
.o-panel2 { background: #fff; border: 1px solid var(--o-line); border-radius: 12px; padding: 14px 16px; }
.o-panel2 > b { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--o-ink); margin-bottom: 10px; }
.o-panel2 > b em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--o-blue); background: var(--o-bg-blue); border-radius: 999px; padding: 2px 8px; }
.o-todo { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--o-line); font-size: 12px; color: var(--o-ink); }
.o-todo:last-child { border-bottom: 0; }
.o-todo i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--o-warn)); }
.o-todo small { display: block; color: var(--o-muted); font-size: 11px; }
.o-todo em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--o-muted); }
.o-ring { display: flex; align-items: center; gap: 14px; }
.o-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.o-ring circle { fill: none; stroke-width: 7; }
.o-ring circle.bg { stroke: var(--o-line); }
.o-ring circle.fg { stroke: var(--o-blue); stroke-linecap: round; stroke-dasharray: 163; stroke-dashoffset: 163; animation: o-ring var(--cyc) linear infinite; }
.o-ring b { display: block; font-size: 13px; color: var(--o-ink); }
.o-ring small { display: block; font-size: 11px; color: var(--o-muted); }
.o-ring__num { position: absolute; font-size: 13px; font-weight: 700; color: var(--o-ink); }
.o-ring__wrap { position: relative; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.o-goal { font-size: 11.5px; color: var(--o-ink); margin-top: 10px; }
.o-goal b { float: right; font-weight: 600; }
.o-goal .o-meter { margin-top: 5px; }
.o-goal .o-meter i { animation: o-fill 1.6s ease-out forwards; }

@keyframes o-line { 0% { width: 0; } 92%, 100% { width: 84%; } }
@keyframes o-node { 0%, 1% { background: #fff; border-color: var(--o-line-2); color: var(--o-muted); } 2%, 16% { background: var(--o-blue); border-color: var(--o-blue); color: #fff; box-shadow: 0 0 0 5px rgba(32,65,180,.15); } 17%, 100% { background: var(--o-green); border-color: var(--o-green); color: #fff; box-shadow: none; } }
@keyframes o-nodetext { 0%, 1% { color: var(--o-muted); } 2%, 16% { color: var(--o-blue); font-weight: 700; } 17%, 100% { color: var(--o-ink); } }
@keyframes o-stage { 0% { opacity: 0; } 1.5%, 17% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes o-stage-first { 0%, 17% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes o-press { 0%, 6% { transform: none; } 7% { transform: scale(.94); } 8%, 100% { transform: none; } }
@keyframes o-fill { to { width: var(--w, 100%); } }
@keyframes o-drive { to { left: calc(100% - 34px); } }
@keyframes o-todo { 0%, 1% { opacity: 0; transform: translateY(6px); } 3%, 100% { opacity: 1; transform: none; } }
@keyframes o-ring { 0% { stroke-dashoffset: 163; } 92%, 100% { stroke-dashoffset: 33; } }
@keyframes o-navpulse { 0%, 1% { background: transparent; } 2%, 16% { background: var(--o-bg-blue); color: var(--o-blue); } 17%, 100% { background: transparent; } }
/* Chuỗi phê duyệt + gõ phím + dòng hiện muộn */
.o-chain { display: flex; align-items: center; gap: 0; margin: 4px 0 2px; }
.o-chain > div { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; color: var(--o-muted); width: 92px; text-align: center; }
.o-chain > div b { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--o-bg-blue); color: var(--o-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; }
.o-chain > div b::after { content: "✓"; position: absolute; right: -4px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--o-green); color: #fff; font-size: 9px; display: inline-flex; align-items: center; justify-content: center; transform: scale(0); animation: o-check .35s cubic-bezier(.3,1.4,.5,1) forwards; animation-delay: calc(var(--d) + var(--t)); }
.o-chain > i { flex: 1; height: 2px; background: var(--o-line); position: relative; overflow: hidden; top: -9px; }
.o-chain > i::after { content: ""; position: absolute; inset: 0; background: var(--o-green); transform: translateX(-100%); animation: o-slide .6s ease-out forwards; animation-delay: calc(var(--d) + var(--t)); }
.o-typing { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 11px; background: var(--o-bg-soft); opacity: 0; animation: o-typing var(--cyc) ease-in-out infinite; animation-delay: var(--d); }
.o-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--o-muted); animation: o-dot 1s ease-in-out infinite; }
.o-typing i:nth-child(2) { animation-delay: .15s; } .o-typing i:nth-child(3) { animation-delay: .3s; }
.o-late { opacity: 1; }
.o-notify { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--o-ink); background: var(--o-bg-soft); border-radius: 9px; padding: 8px 10px; }
.o-notify i { width: 22px; height: 22px; border-radius: 6px; background: var(--o-yellow); color: var(--o-navy); display: inline-flex; align-items: center; justify-content: center; }
.o-notify i svg { width: 12px; height: 12px; }
.o-notify small { color: var(--o-muted); margin-left: auto; font-size: 10.5px; }
@keyframes o-check { to { transform: scale(1); } }
@keyframes o-slide { to { transform: none; } }
@keyframes o-typing { 0%, 2% { opacity: 0; } 3%, 7% { opacity: 1; } 8%, 100% { opacity: 0; } }
@keyframes o-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .o-scene { animation: none; opacity: 0; } .o-scene:first-child { opacity: 1; } .o-meter i { width: var(--w, 100%); } .o-truck i { left: calc(100% - 34px); } .o-cursor, .o-mini { display: none; } }
@media (max-width: 1024px) { .o-shell { grid-template-columns: 1fr; } .o-shell__side { display: none; } .o-shell__body { grid-template-columns: 1fr; } .o-shell__co, .o-shell__tools { display: none; } }
@media (max-width: 640px) { .o-shell__search { display: none; } .o-steps6 span { display: none; } .o-steps6::before, .o-steps6::after { top: 15px; } .o-shell__user b, .o-shell__user small { display: none; } .o-stage { min-height: 290px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .o-nav__links, .o-nav__login { display: none; }
  .o-burger { display: inline-flex; }
  .o-row, .o-panel, .o-hero--split .o-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .o-groups, .o-kpis { grid-template-columns: repeat(2, 1fr); }
  .o-row--rev > :first-child { order: 0; }
  .o-grid--4, .o-nums { grid-template-columns: repeat(2, 1fr); }
  .o-ind, .o-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .o-story { grid-template-columns: 1fr; }
  .o-story__body { padding: 28px; }
  .o-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .o-sec { padding: 64px 0; }
  .o-hero { padding-top: 44px; }
  .o-app { width: 92px; } .o-app__ico { width: 60px; height: 60px; border-radius: 17px; } .o-app__ico svg { width: 28px; height: 28px; }
  .o-grid--2, .o-grid--3, .o-grid--4, .o-ind, .o-nums, .o-photos, .o-groups { grid-template-columns: 1fr; }
  .o-hero__stats { gap: 20px; flex-wrap: wrap; }
  .o-footer__grid { grid-template-columns: 1fr 1fr; }
  .o-footer__brand { grid-column: 1 / -1; }
  .o-mbar { display: flex; } body { padding-bottom: 72px; }
  .o-nav__right .o-btn { display: none; }
  .o-story__quote { font-size: 19px; }
}

/* ---- feature ledger (product pages, v6) ---- */
.o-feats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--o-line); border-radius: 16px; overflow: hidden; background: #fff; }
.o-feat { padding: 26px 24px 24px; border-right: 1px solid var(--o-line); border-bottom: 1px solid var(--o-line); display: flex; flex-direction: column; gap: 8px; }
.o-feat:nth-child(4n) { border-right: 0; }
.o-feat:nth-last-child(-n+4) { border-bottom: 0; }
.o-feat__num { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--c, var(--o-blue)); font-variant-numeric: tabular-nums; }
.o-feat__top { display: flex; align-items: center; justify-content: space-between; }
.o-feat__ico { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--o-bg-blue); background: color-mix(in srgb, var(--c, var(--o-blue)) 12%, #fff); color: var(--c, var(--o-blue)); }
.o-feat__ico svg { width: 18px; height: 18px; }
.o-pillar .o-ico { margin-bottom: 14px; background: var(--o-bg-blue); background: color-mix(in srgb, var(--c, var(--o-blue)) 12%, #fff); color: var(--c, var(--o-blue)); }
.o-table td.is-yes { color: var(--o-ink); }
.o-table td.is-yes::before { content: "\2713"; display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; background: var(--o-green); color: #fff; font-size: 11px; font-weight: 700; margin-right: 8px; vertical-align: 1px; }
.o-table td.is-no { color: var(--o-muted); }
.o-table td.is-no::before { content: "\2013"; display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; background: var(--o-line); color: var(--o-muted); font-size: 12px; font-weight: 700; margin-right: 8px; vertical-align: 1px; }
.o-feat b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--o-ink); line-height: 1.2; }
.o-feat p { font-size: 14px; color: var(--o-text); }
.o-feat small { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--o-muted); line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-feat small i { font-style: normal; color: var(--o-line-2); margin: 0 5px; }
.o-feat__day { font-size: 12px; font-weight: 700; color: var(--o-blue); background: var(--o-bg-blue); border-radius: 999px; padding: 3px 9px; margin-left: 8px; vertical-align: middle; white-space: nowrap; display: inline-block; }

/* ---------- Bento tính năng + màn hình nghiệp vụ (gộp #features và #ops, trang sản phẩm, 22/10) ---------- */
.o-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 236px; grid-auto-flow: dense; gap: 16px; }
.o-bento .o-feat, .o-bento .o-feat:nth-child(4n), .o-bento .o-feat:nth-last-child(-n+4), .o-bento__screen { background: #fff; border: 1px solid var(--o-line); border-radius: 16px; min-width: 0; }
.o-bento .o-feat, .o-bento__screen { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.o-bento.is-in .o-feat, .o-bento.is-in .o-bento__screen { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s; }
.o-bento.is-in .o-feat:hover { box-shadow: var(--o-shadow-lg); transform: translateY(-3px); transition-delay: 0s; }
.o-bento .o-feat { padding: 16px 16px 14px; gap: 8px; min-height: 0; overflow: hidden; }
.o-bento .o-feat:nth-child(1) { --i: 0; } .o-bento .o-feat:nth-child(2) { --i: 1; } .o-bento .o-feat:nth-child(3) { --i: 2; } .o-bento .o-feat:nth-child(4) { --i: 3; } .o-bento .o-feat:nth-child(5) { --i: 4; } .o-bento .o-feat:nth-child(6) { --i: 5; } .o-bento .o-feat:nth-child(7) { --i: 6; } .o-bento .o-feat:nth-child(8) { --i: 7; }
.o-bento .o-feat b { font-size: 15px; line-height: 1.2; }
.o-feat__viz { flex: 1; min-height: 60px; display: flex; align-items: flex-end; position: relative; overflow: hidden; }
.o-feat__chips { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.o-feat__chips em { font-style: normal; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: var(--o-bg-soft); color: var(--o-text); white-space: nowrap; }
.o-bento__screen { grid-column: span 2; grid-row: span 2; padding: 18px 18px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-height: 0; }
.o-bento__screen h3 { font-size: 17px; letter-spacing: -.01em; line-height: 1.3; }
.o-bento__screen h3 span { color: var(--o-blue); }
.o-bento__screen .o-ui { box-shadow: none; border-radius: 12px 12px 0 0; border-bottom: 0; margin-top: auto; flex: 1; min-height: 0; }
.viz { width: 100%; }
.viz-list { display: grid; gap: 6px; }
.viz-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--o-ink); padding: 6px 8px; border-radius: 8px; background: var(--o-bg-soft); opacity: 0; transform: translateX(-6px); }
.viz-row i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--o-green); color: #fff; font-size: 10px; font-style: normal; display: inline-flex; align-items: center; justify-content: center; transform: scale(0); }
.viz-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viz-row em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--o-muted); font-variant-numeric: tabular-nums; }
.o-bento.is-in .viz-row { animation: viz-row-in 6s ease-out infinite; animation-delay: calc(var(--k) * .5s); }
.o-bento.is-in .viz-row i { animation: viz-pop 6s cubic-bezier(.3, 1.4, .5, 1) infinite; animation-delay: calc(var(--k) * .5s + .25s); }
.viz-kpi { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.viz-kpi b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--o-ink); line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.viz-kpi small { display: block; font-size: 11px; color: var(--o-muted); margin-top: 5px; white-space: nowrap; }
.viz-kpi svg { width: 52%; height: 54px; overflow: visible; flex: none; }
.viz-kpi .line { fill: none; stroke: var(--c, var(--o-blue)); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.viz-kpi .area { fill: var(--c, var(--o-blue)); opacity: 0; }
.o-bento.is-in .viz-kpi .line { animation: viz-draw 2.2s ease-out forwards; }
.o-bento.is-in .viz-kpi .area { animation: viz-area 1s ease-out 1.4s forwards; }
.viz-bars { display: flex; align-items: flex-end; gap: 7px; height: 72px; }
.viz-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--c, var(--o-blue)) 24%, #fff); height: var(--h); transform: scaleY(0); transform-origin: bottom; }
.viz-bars i:last-child { background: var(--c, var(--o-blue)); }
.o-bento.is-in .viz-bars i { animation: viz-grow 5s cubic-bezier(.2, .8, .2, 1) infinite; animation-delay: calc(var(--k) * .12s); }
.viz-chat { display: grid; gap: 6px; }
.viz-chat span { max-width: 88%; padding: 7px 10px; border-radius: 10px; font-size: 11.5px; line-height: 1.35; background: var(--o-bg-soft); color: var(--o-ink); opacity: 0; transform: translateY(6px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viz-chat span:nth-child(2) { margin-left: auto; background: var(--o-navy); color: #fff; }
.viz-chat span:nth-child(3) { background: #dcfce7; color: #15803d; font-weight: 600; }
.o-bento.is-in .viz-chat span { animation: viz-row-in 7s ease-out infinite; animation-delay: calc(var(--k) * .8s); }
.viz-ring { display: flex; align-items: center; gap: 12px; }
.viz-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); flex: none; }
.viz-ring circle { fill: none; stroke-width: 7; }
.viz-ring .bg { stroke: var(--o-line); }
.viz-ring .fg { stroke: var(--c, var(--o-blue)); stroke-linecap: round; stroke-dasharray: 163; stroke-dashoffset: 163; }
.o-bento.is-in .viz-ring .fg { animation: viz-ring 2.2s cubic-bezier(.2, .8, .2, 1) forwards; }
.viz-ring b { display: block; font-size: 22px; font-weight: 800; color: var(--o-ink); letter-spacing: -.02em; line-height: 1.1; }
.viz-ring small { display: block; font-size: 11px; color: var(--o-muted); }
.viz-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.viz-cal i { display: block; aspect-ratio: 1.25; border-radius: 5px; background: var(--o-bg-soft); }
.viz-cal i.on { background: var(--c, var(--o-blue)); }
.o-bento.is-in .viz-cal i.on { animation: viz-pulse 2.4s ease-in-out infinite; animation-delay: calc(var(--k) * .4s); }
.viz-tags { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; overflow: hidden; }
.viz-tags em { font-style: normal; font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 7px; border: 1px dashed var(--o-line-2); color: var(--o-ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }
.viz-tags::after { content: ""; position: absolute; top: 0; bottom: 0; width: 46px; left: -60px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c, var(--o-blue)) 30%, transparent), transparent); }
.o-bento.is-in .viz-tags::after { animation: viz-scan 2.8s ease-in-out infinite; }
.viz-route { height: 70px; }
.viz-route svg { width: 100%; height: 100%; overflow: visible; }
.viz-route path { fill: none; stroke: var(--o-line-2); stroke-width: 2; stroke-dasharray: 4 5; }
.viz-route .pin { fill: #fff; stroke: var(--c, var(--o-blue)); stroke-width: 2.5; }
.viz-route .dot { fill: var(--c, var(--o-blue)); }
@keyframes viz-row-in { 0% { opacity: 0; transform: translateX(-6px); } 6%, 85% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateX(-6px); } }
@keyframes viz-pop { 0%, 4% { transform: scale(0); } 10%, 85% { transform: scale(1); } 92%, 100% { transform: scale(0); } }
@keyframes viz-draw { to { stroke-dashoffset: 0; } }
@keyframes viz-area { to { opacity: .12; } }
@keyframes viz-grow { 0% { transform: scaleY(0); } 15%, 85% { transform: scaleY(1); } 95%, 100% { transform: scaleY(0); } }
@keyframes viz-ring { to { stroke-dashoffset: var(--off, 40); } }
@keyframes viz-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.8); opacity: .5; } }
@keyframes viz-scan { 0% { left: -60px; } 60%, 100% { left: 110%; } }
@media (max-width: 1024px) { .o-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 224px; } .o-bento__screen { grid-row: auto; height: 440px; } }
@media (max-width: 640px) { .o-bento { gap: 10px; grid-auto-rows: 210px; } .o-bento .o-feat { padding: 14px; } .o-bento__screen { height: 400px; } }
/* ---------- Khối AI trang sản phẩm: hai cảnh động (QBIS Engine + Nhân viên ảo), v4.js dựng từ mock .o-ui ---------- */
.o-aicard { padding: 24px; gap: 14px; }
.o-aicard h3 { font-size: 22px; }
.o-aicard.is-built > .o-ui { display: none; }
.ai-scene { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 0; margin-top: auto; padding: 16px; border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-bg-soft); overflow: hidden; }
.ai-prompt { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 9px 12px; background: #fff; border: 1px solid var(--o-line-2); border-radius: 12px; font-size: 13px; color: var(--o-ink); }
.ai-prompt > i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--o-navy); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: inline-flex; align-items: center; justify-content: center; }
.ai-type { flex: 1; min-height: 1.4em; line-height: 1.4; }
.ai-caret { flex: none; width: 2px; height: 16px; background: var(--o-blue); animation: ai-blink .9s steps(2) infinite; }
.s2 .ai-caret, .s3 .ai-caret, .s4 .ai-caret { display: none; }
.ai-send { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--o-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; opacity: .45; transform: scale(.9); transition: opacity .25s, transform .25s; }
.ai-send svg { width: 14px; height: 14px; }
.s2 .ai-send, .s3 .ai-send, .s4 .ai-send { opacity: 1; transform: scale(1); }
.ai-flow { display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; }
.ai-line { position: relative; flex: 1; max-width: 120px; height: 2px; background: var(--o-line-2); overflow: hidden; }
.ai-line::after { content: ""; position: absolute; inset: 0; background: var(--o-blue); transform: translateX(-101%); }
.s2 .ai-line--in::after, .s3 .ai-line--in::after, .s4 .ai-line--in::after { animation: ai-slide .15s ease-out forwards; }
.s3 .ai-line--out::after, .s4 .ai-line--out::after { animation: ai-slide .15s ease-out forwards; }
.ai-core { position: relative; width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(135deg, var(--o-navy), var(--o-blue)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; box-shadow: 0 12px 26px -12px rgba(32, 65, 180, .7); }
.ai-core b { font-size: 11px; letter-spacing: .04em; }
.ai-core small { font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.ai-core::before { content: ""; position: absolute; inset: -7px; border-radius: 20px; border: 2px dashed rgba(32, 65, 180, .4); opacity: 0; }
.s2 .ai-core::before, .s3 .ai-core::before { opacity: 1; animation: ai-spin .8s linear infinite; }
.ai-screen { flex: 1; background: #fff; border: 1px solid var(--o-line); border-radius: 12px; overflow: hidden; opacity: .3; transform: translateY(8px); transition: opacity .15s, transform .15s; }
.s3 .ai-screen, .s4 .ai-screen { opacity: 1; transform: none; }
.ai-screen__bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--o-bg-soft); border-bottom: 1px solid var(--o-line); font-size: 11.5px; color: var(--o-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-screen__bar i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; } .ai-screen__bar i:nth-child(2) { background: #febc2e; } .ai-screen__bar i:nth-child(3) { background: #28c840; margin-right: 4px; }
.ai-screen__body { position: relative; padding: 8px 10px 34px; }
.ai-screen table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ai-screen th { text-align: left; font-size: 10.5px; color: var(--o-muted); font-weight: 600; padding: 5px 6px; border-bottom: 1px solid var(--o-line); }
.ai-screen td { padding: 6px; border-bottom: 1px solid var(--o-line); color: var(--o-ink); }
.ai-screen tr { opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; }
.ai-screen tr:nth-child(2) { transition-delay: .06s; } .ai-screen tr:nth-child(3) { transition-delay: .12s; } .ai-screen tr:nth-child(4) { transition-delay: .18s; }
.s3 .ai-screen tr, .s4 .ai-screen tr { opacity: 1; transform: none; }
.ai-screen--2, .step-2 .ai-screen--1 { display: none; }
.step-2 .ai-screen--2 { display: block; }
.ai-app { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 10px 34px; }
.ai-side { display: grid; align-content: start; gap: 4px; padding-right: 8px; border-right: 1px solid var(--o-line); }
.ai-side > div { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--o-muted); padding: 5px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; }
.ai-side > div > i { flex: none; width: 8px; height: 8px; border-radius: 3px; background: var(--o-line-2); }
.ai-side .is-new { color: var(--o-blue); font-weight: 600; background: var(--o-bg-blue); opacity: 0; transform: translateX(-10px); transition: opacity .15s, transform .15s cubic-bezier(.2, .8, .2, 1); }
.ai-side .is-new > i { background: var(--o-blue); }
.ai-side .is-new em { margin-left: auto; font-style: normal; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 999px; background: var(--o-blue); color: #fff; }
.s3 .ai-side .is-new, .s4 .ai-side .is-new { opacity: 1; transform: none; }
.ai-form { display: grid; align-content: start; gap: 6px; min-width: 0; }
.ai-form > b { font-size: 12.5px; color: var(--o-ink); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-field { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: center; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; transition-delay: calc(.06s + var(--k) * .06s); }
.ai-field span { font-size: 10.5px; color: var(--o-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-field i { display: block; height: 20px; border-radius: 6px; border: 1px solid var(--o-line-2); background: #fff; }
.s3 .ai-field, .s4 .ai-field { opacity: 1; transform: none; }
.ai-switch { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 11px; color: var(--o-muted); }
.ai-switch i { position: relative; width: 28px; height: 16px; border-radius: 999px; background: var(--o-line-2); transition: background .12s; }
.ai-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .12s; }
.s4 .ai-switch i { background: var(--o-green); } .s4 .ai-switch i::after { transform: translateX(12px); } .s4 .ai-switch { color: #15803d; }
.ai-stamp { position: absolute; right: 10px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 11.5px; font-weight: 700; opacity: 0; transform: scale(.6) rotate(-8deg); transition: opacity .15s, transform .15s cubic-bezier(.3, 1.4, .5, 1); }
.s4 .ai-stamp { opacity: 1; transform: none; }
.ai-team { display: grid; gap: 8px; }
.ai-bot { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; background: #fff; border: 1px solid var(--o-line); border-radius: 12px; }
.ai-bot__ava { position: relative; width: 36px; height: 36px; border-radius: 10px; background: var(--c, var(--o-blue)); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ai-bot__ava::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--o-green); border: 2px solid #fff; }
.ai-bot.is-wait .ai-bot__ava::after { background: var(--o-warn); } .ai-bot.is-done .ai-bot__ava::after { background: var(--o-blue); }
.ai-bot > div { min-width: 0; }
.ai-bot b { display: block; font-size: 13px; color: var(--o-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-bot small { display: block; font-size: 11px; color: var(--o-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-bar { height: 5px; margin: 4px 0; border-radius: 3px; background: var(--o-line); overflow: hidden; }
.ai-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--c, var(--o-blue)); }
.is-in .ai-bot.is-run .ai-bar i { animation: ai-fill 3.2s ease-in-out infinite; }
.is-in .ai-bot.is-wait .ai-bar i { width: 60%; animation: ai-wait 1.6s ease-in-out infinite; }
.ai-bot.is-done .ai-bar i { width: 100%; }
.ai-bot__st { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: #dcfce7; color: #15803d; white-space: nowrap; }
.ai-bot.is-wait .ai-bot__st { background: #fef3c7; color: #b45309; } .ai-bot.is-done .ai-bot__st { background: var(--o-bg-blue); color: var(--o-blue); }
.ai-kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: auto; }
.ai-kpi { padding: 10px 12px; background: #fff; border: 1px solid var(--o-line); border-radius: 12px; }
.ai-kpi b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--o-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.ai-kpi small { display: block; font-size: 11px; color: var(--o-muted); margin-top: 2px; }
.ai-cost { grid-column: 1 / -1; display: grid; gap: 7px; padding: 10px 12px; background: #fff; border: 1px solid var(--o-line); border-radius: 12px; }
.ai-cost > span { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--o-muted); }
.ai-cost > div { display: grid; grid-template-columns: 96px 1fr 40px; gap: 8px; align-items: center; font-size: 11.5px; color: var(--o-text); }
.ai-cost .ai-bar { margin: 0; height: 8px; }
.ai-cost .ai-bar i { transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.is-in .ai-cost .ai-bar i { width: var(--w); }
.ai-cost em { font-style: normal; font-weight: 700; color: var(--o-ink); text-align: right; font-variant-numeric: tabular-nums; }
@keyframes ai-blink { to { opacity: 0; } }
@keyframes ai-slide { to { transform: none; } }
@keyframes ai-spin { to { transform: rotate(360deg); } }
@keyframes ai-fill { 0% { width: 0; } 70%, 100% { width: 100%; } }
@keyframes ai-wait { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (max-width: 640px) { .o-aicard { padding: 18px; } .ai-scene { padding: 12px; } .ai-kpis { grid-template-columns: 1fr 1fr; } .ai-cost > div { grid-template-columns: 80px 1fr 36px; } }
@media (prefers-reduced-motion: reduce) { .ai-caret { display: none; } .ai-screen, .ai-screen tr, .ai-stamp, .ai-send, .ai-side .is-new, .ai-field { opacity: 1; transform: none; } .ai-bot .ai-bar i { width: 100%; animation: none; } .ai-cost .ai-bar i { width: var(--w); } .ai-core::before { animation: none; } }
@media (prefers-reduced-motion: reduce) { .o-bento .o-feat, .o-bento__screen { opacity: 1; transform: none; transition: none; } .viz-row, .viz-chat span { opacity: 1; transform: none; } .viz-row i, .viz-bars i { transform: none; } .viz-kpi .line { stroke-dashoffset: 0; } .viz-ring .fg { stroke-dashoffset: var(--off, 40); } }
@media (max-width: 1024px) { .o-feats { grid-template-columns: repeat(2, 1fr); } .o-feat:nth-child(4n) { border-right: 1px solid var(--o-line); } .o-feat:nth-child(2n) { border-right: 0; } .o-feat:nth-last-child(-n+4) { border-bottom: 1px solid var(--o-line); } .o-feat:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 640px) { .o-feats { grid-template-columns: 1fr; } .o-feat { border-right: 0 !important; border-bottom: 1px solid var(--o-line) !important; } .o-feat:last-child { border-bottom: 0 !important; } }

/* ---- v6 secondary pages: prose, 4-step ladder, text logos ---- */
.o-prose { max-width: 820px; font-size: 16px; }
.o-prose h2 { font-size: 24px; letter-spacing: -.01em; margin: 40px 0 12px; }
.o-prose h3 { font-size: 18px; margin: 26px 0 8px; }
.o-prose p { margin-bottom: 14px; color: var(--o-text); }
.o-prose ul, .o-prose ol { padding-left: 22px; margin-bottom: 14px; }
.o-prose li { margin-bottom: 6px; color: var(--o-text); }
.o-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 16px 0 22px; }
.o-prose th, .o-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--o-line); vertical-align: top; }
.o-prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--o-muted); background: var(--o-bg-soft); }
.o-prose__meta { font-size: 13.5px; color: var(--o-muted); margin-bottom: 28px; }
.o-prose a { color: var(--o-blue); }
.o-ladder--4 { grid-template-columns: repeat(4, 1fr); }
.o-ladder > div:nth-child(4) { border-top-color: var(--c-hrm); }
.o-logos__row span { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--o-ink); text-transform: uppercase; padding: 12px 16px; background: #fff; border-radius: 14px; border: 1px solid rgba(32, 65, 180, .1); box-shadow: 0 8px 18px -12px rgba(32, 65, 180, .35); }
.o-contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.o-contact > a, .o-contact > div { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--o-line); border-radius: 14px; background: #fff; color: var(--o-ink); }
.o-contact > a:hover { text-decoration: none; box-shadow: var(--o-shadow-lg); }
.o-contact small { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--o-muted); }
.o-contact b { font-size: 20px; letter-spacing: -.01em; }
.o-contact span { font-size: 14px; color: var(--o-text); }
@media (max-width: 1024px) { .o-ladder--4, .o-contact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .o-ladder--4, .o-contact { grid-template-columns: 1fr; } }

/* ===== Posters: "Ban can quan ly gi? Co phan mem ngay!" (22/10) ===== */
.o-posters-sec { padding: 72px 0 96px; background: #fff; border-top: 1px solid var(--o-line); overflow: hidden; }
.o-posters__h2 { font-size: 40px; }
.o-posters { position: relative; margin-top: 44px; }
.o-posters__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px max(20px, calc((100vw - 1132px) / 2)) 28px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.o-posters__track::-webkit-scrollbar { display: none; }
.o-poster { position: relative; flex: 0 0 300px; height: 380px; border-radius: 16px; overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; padding: 22px 22px 20px; color: #fff; text-decoration: none !important; box-shadow: 0 10px 30px rgba(15, 23, 42, .12); transition: transform .25s, box-shadow .25s; isolation: isolate; }
.o-poster:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 24px 50px rgba(15, 23, 42, .22); }
.o-poster::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.4px); background-size: 18px 18px; z-index: -1; }
.o-poster::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -120px; top: -120px; background: rgba(255, 255, 255, .14); z-index: -1; }
.o-poster__brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .9; }
.o-poster__art { display: block; flex: 1; min-height: 0; margin: 12px -4px 6px; }
.o-poster__art svg { width: 100%; height: 100%; max-height: 156px; display: block; }
.o-poster__txt { display: block; line-height: 1.05; }
.o-poster__txt b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.o-poster__txt i { display: block; font-size: 16px; font-weight: 300; font-style: italic; margin-top: 5px; opacity: .95; line-height: 1.3; }
.o-poster__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.o-poster__tags span { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .4); }
.o-poster__cta { display: inline-block; align-self: flex-start; margin-top: 14px; background: #facc15; color: #0f172a; font-weight: 700; font-size: 12.5px; padding: 7px 12px; border-radius: 999px; }
.o-poster--light { color: #0f172a; }
.o-poster--light::before { background-image: radial-gradient(rgba(15, 23, 42, .12) 1.2px, transparent 1.4px); }
.o-poster--light::after { background: rgba(255, 255, 255, .55); }
.o-poster--light .o-poster__tags span { background: rgba(255, 255, 255, .6); border-color: rgba(15, 23, 42, .15); }
.o-poster--wide { flex-basis: 440px; }
.o-poster--wide .o-poster__art { position: absolute; right: 18px; top: 44px; width: 200px; height: 180px; margin: 0; flex: none; }
.o-poster--wide .o-poster__art svg { max-height: 180px; }
.o-poster--wide .o-poster__txt { margin-top: auto; max-width: 210px; }
.o-poster--wide .o-poster__tags, .o-poster--wide .o-poster__cta { position: relative; }
.o-poster--wide .o-poster__tags { max-width: 230px; }
.o-poster--pos { background: linear-gradient(160deg, #16a085, #0b574a); }
.o-poster--erp { background: linear-gradient(160deg, #2041b4, #0f1d5c); }
.o-poster--sale { background: linear-gradient(160deg, #2f6bf0, #173a9c); }
.o-poster--hrm { background: linear-gradient(160deg, #fff7ed, #fed7aa); color: #7c2d12; }
.o-poster--cell { background: linear-gradient(160deg, #6d28d9, #37167f); }
.o-poster--gara { background: linear-gradient(160deg, #dc2626, #7a1616); }
.o-poster--tour { background: linear-gradient(160deg, #0891b2, #0f4c5c); }
.o-poster--hotel { background: linear-gradient(160deg, #f7fee7, #d9f99d); color: #365314; }
.o-poster--beauty { background: linear-gradient(160deg, #fdf2f8, #fbcfe8); color: #9d174d; }
.o-poster--learn { background: linear-gradient(160deg, #7c3aed, #3b1a86); }
.o-posters__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--o-line-2); background: #fff; box-shadow: 0 6px 18px rgba(15, 23, 42, .16); font-size: 26px; line-height: 1; cursor: pointer; color: var(--o-ink); display: none; align-items: center; justify-content: center; z-index: 2; padding: 0 0 3px; }
.o-posters__btn:hover { border-color: var(--o-ink); }
.o-posters__btn:disabled { opacity: .3; cursor: default; }
.o-posters__btn--prev { left: max(8px, calc((100vw - 1132px) / 2 - 24px)); }
.o-posters__btn--next { right: max(8px, calc((100vw - 1132px) / 2 - 24px)); }
@media (min-width: 1025px) { .o-posters__btn { display: flex; } }
@media (max-width: 640px) { .o-posters-sec { padding: 56px 0 64px; } .o-posters__h2 { font-size: 28px; } .o-posters { margin-top: 28px; } .o-posters__track { gap: 14px; padding: 10px 20px 20px; } .o-poster, .o-poster--wide { flex-basis: 250px; height: 340px; padding: 18px; } .o-poster__txt b { font-size: 28px; } .o-poster--wide .o-poster__art { position: static; width: auto; height: auto; flex: 1; margin: 12px -4px 6px; } .o-poster--wide .o-poster__txt { max-width: none; margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .o-poster { transition: none; } .o-poster:hover { transform: none; } }
/* an poster cua chinh san pham dang xem (body data-alt-vi="/<sp>") */
body[data-alt-vi="/pos"] .o-poster[data-soft="pos"], body[data-alt-vi="/erp"] .o-poster[data-soft="erp"], body[data-alt-vi="/sale"] .o-poster[data-soft="sale"], body[data-alt-vi="/hrm"] .o-poster[data-soft="hrm"], body[data-alt-vi="/cell"] .o-poster[data-soft="cell"], body[data-alt-vi="/gara"] .o-poster[data-soft="gara"], body[data-alt-vi="/tour"] .o-poster[data-soft="tour"], body[data-alt-vi="/hotel"] .o-poster[data-soft="hotel"], body[data-alt-vi="/beauty"] .o-poster[data-soft="beauty"], body[data-alt-vi="/elearning"] .o-poster[data-soft="learn"] { display: none; }

/* ===== Ladder chips: nhan mem theo mau cot (22/10) ===== */
.o-ladder > div { --lc: var(--o-blue); }
.o-ladder > div:nth-child(1) { --lc: var(--c-pos); } .o-ladder > div:nth-child(2) { --lc: var(--c-sale); } .o-ladder > div:nth-child(3) { --lc: var(--c-erp); } .o-ladder > div:nth-child(4) { --lc: var(--c-hrm); }
.o-ladder b { margin: 8px 0 12px; }
.o-ladder .o-chips { gap: 6px 8px; }
.o-ladder .o-chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; line-height: 1; padding: 6px 11px 6px 9px; border-radius: 999px; border: 0; background: #f1f5f9; background: color-mix(in srgb, var(--lc) 8%, #fff); color: #334155; color: color-mix(in srgb, var(--lc) 72%, #0f172a); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .04); transition: background .15s, transform .15s; }
.o-ladder .o-chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lc) 18%, transparent); flex: none; }
.o-ladder .o-chips span:hover { background: color-mix(in srgb, var(--lc) 14%, #fff); transform: translateY(-1px); }
.o-ladder p { margin-top: 14px !important; color: var(--o-muted); }
/* ladder chips: gon de nam tren 1 hang o desktop (22/10) */
.o-ladder .o-chips { gap: 6px; }
.o-ladder .o-chips span { font-size: 12px; padding: 5px 9px 5px 8px; gap: 6px; white-space: nowrap; }
@media (min-width: 1025px) { .o-ladder > div { padding-right: 8px; } .o-ladder:not(.o-ladder--4) .o-chips { flex-wrap: nowrap; } }

/* ===== Footer: dia chi tach dong + icon mang xa hoi (22/10) ===== */
.o-footer__brand p { margin-bottom: 12px; }
.o-footer__addr { display: grid; gap: 4px; font-style: normal; color: var(--o-muted); line-height: 1.55; margin-bottom: 18px; max-width: 300px; }
.o-footer__addr b { color: var(--o-ink); font-weight: 600; }
.o-footer__addr a { color: var(--o-text); width: fit-content; }
.o-footer__social { display: flex; gap: 8px; }
.o-footer__social a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--o-line); display: inline-flex; align-items: center; justify-content: center; color: var(--o-ink); background: #fff; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.o-footer__social a:hover { background: var(--o-ink); color: #fff; border-color: var(--o-ink); transform: translateY(-1px); }
.o-footer__social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
