/* ===== Matcha theme ===== */
:root {
  --m900: #243a1f; --m800: #2f4a2a; --m700: #3f6633; --m600: #557f42; --m500: #73a052;
  --m300: #b7d39b; --m200: #d8e8c6; --m100: #edf4e3; --m50: #f5f9ef;
  --cream: #fbf9f2; --paper: #ffffff; --ink: #233020; --muted: #6a7562; --line: #e5e9da;
  --amber: #c98a2b; --red: #c0503a; --shopee: #ee4d2d; --tiktok: #111;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(36,58,31,.05), 0 8px 28px rgba(36,58,31,.07);
  --shadow-lg: 0 2px 4px rgba(36,58,31,.05), 0 20px 50px rgba(36,58,31,.12);
  --ease: cubic-bezier(.22,.8,.3,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.6 'Be Vietnam Pro', system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--m700); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--m900); }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m600); margin-bottom: .6em; }

/* ===== Buttons & inputs ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 0; border-radius: 999px; padding: .8em 1.4em; font: inherit; font-weight: 650;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  background: var(--m700); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--m800); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(63,102,51,.25); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--m800); box-shadow: inset 0 0 0 1.5px var(--m300); }
.btn.ghost:hover { background: var(--m100); box-shadow: inset 0 0 0 1.5px var(--m500); }
.btn.soft { background: var(--m100); color: var(--m800); }
.btn.soft:hover { background: var(--m200); box-shadow: none; }
.btn.sm { padding: .45em .95em; font-size: .875rem; }
.btn.danger { background: var(--red); }
.btn.block { width: 100%; }

input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .75em 1em;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--m500); box-shadow: 0 0 0 4px rgba(115,160,82,.15); }
label { display: block; font-size: .875rem; font-weight: 600; margin: 0 0 .35em; color: var(--m800); }
.field { margin-bottom: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; }
.row > * { min-width: 0; }
.grow { flex: 1; }

/* ===== Cards ===== */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.pill { display: inline-flex; align-items: center; gap: .35em; padding: .25em .7em; border-radius: 999px; font-size: .78rem; font-weight: 650; background: var(--m100); color: var(--m700); }
.pill.shopee { background: #fdece8; color: var(--shopee); }
.pill.tiktok { background: #eee; color: var(--tiktok); }
.pill.pending, .pill.processing { background: #fbf1df; color: var(--amber); }
.pill.approved, .pill.paid { background: var(--m100); color: var(--m700); }
.pill.rejected { background: #f8e4df; color: var(--red); }

/* ===== Nav ===== */
.announce { background: var(--m800); color: var(--m100); font-size: .85rem; text-align: center; padding: .55em 1em; }
.announce a { color: #fff; font-weight: 650; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(251,249,242,.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 1.5rem; height: 66px; }
.logo { display: flex; align-items: center; gap: .55em; font-weight: 800; color: var(--m900); font-size: 1.1rem; letter-spacing: -.02em; }
.logo i { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--m500), var(--m700)); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 1rem; box-shadow: 0 4px 12px rgba(85,127,66,.35); }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 550; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--m800); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .wrap { gap: .75rem; } .nav .btn { margin-left: auto; } }

/* ===== Hero ===== */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, var(--m200) 0%, rgba(216,232,198,0) 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--m600); }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.checks { list-style: none; padding: 0; margin: 1.4em 0 0; display: flex; flex-wrap: wrap; gap: .5em 1.4em; }
.checks li { display: flex; align-items: center; gap: .45em; font-weight: 550; color: var(--m800); font-size: .95rem; }
.checks li::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: var(--m100); color: var(--m700); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 36px; } }

/* Link converter */
.converter { padding: 26px; }
.converter .tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.converter textarea { min-height: 92px; resize: vertical; }
.result { margin-top: 1rem; padding: 16px; border-radius: var(--r-sm); background: var(--m50); border: 1px dashed var(--m300); animation: pop .45s var(--ease); }
.result .link { font-weight: 650; word-break: break-all; color: var(--m800); }
.result .title { font-size: .9rem; color: var(--muted); margin: .2em 0 .8em; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ===== Sections ===== */
section { padding: 72px 0; }
.sec-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 52px 0; } }

.step .num { width: 42px; height: 42px; border-radius: 14px; background: var(--m100); color: var(--m700); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; font-size: 1.1rem; }
.tip { margin-top: 24px; padding: 14px 18px; border-radius: var(--r-sm); background: #fbf3e2; color: #7a5a1e; font-size: .92rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stats b { display: block; font-size: clamp(1.5rem, 4vw, 2.3rem); color: var(--m800); letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

.compare .card ul { list-style: none; padding: 0; margin: 0; }
.compare .card li { padding: .5em 0; border-bottom: 1px solid var(--line); display: flex; gap: .6em; }
.compare .card li:last-child { border-bottom: 0; }
.compare .bad li::before { content: '–'; color: var(--muted); font-weight: 800; }
.compare .good { background: linear-gradient(160deg, var(--m50), #fff); border-color: var(--m300); }
.compare .good li::before { content: '✓'; color: var(--m600); font-weight: 800; }

/* Calculator receipt */
.receipt { font-variant-numeric: tabular-nums; }
.receipt .line { display: flex; justify-content: space-between; padding: .6em 0; border-bottom: 1px dashed var(--line); }
.receipt .total { font-size: 1.5rem; font-weight: 800; color: var(--m700); }

/* Wallet preview */
.wallet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wallet .box { padding: 18px; border-radius: var(--r-sm); background: var(--m50); border: 1px solid var(--line); }
.wallet .box b { display: block; font-size: 1.35rem; color: var(--m800); font-variant-numeric: tabular-nums; }
.wallet .box span { font-size: .8rem; color: var(--muted); }
.wallet .box.main { background: linear-gradient(140deg, var(--m600), var(--m800)); color: #fff; border: 0; }
.wallet .box.main b, .wallet .box.main span { color: #fff; }
@media (max-width: 600px) { .wallet { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 1em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--m600); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 20px 16px; color: var(--muted); animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.cta { text-align: center; padding: 56px 24px; border-radius: 28px; background: linear-gradient(140deg, var(--m700), var(--m900)); color: var(--m100); }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: var(--m800); }
.cta .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }

footer { padding: 36px 0 48px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer a { color: var(--muted); margin-right: 1.2em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(36,58,31,.35); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal .card { width: 100%; max-width: 420px; transform: translateY(16px) scale(.97); transition: transform .35s var(--ease); position: relative; }
.modal.open .card { transform: none; }
.modal .close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.5rem; color: var(--muted); cursor: pointer; }
.seg { display: flex; background: var(--m100); border-radius: 999px; padding: 4px; margin-bottom: 1.2rem; }
.seg button { flex: 1; border: 0; background: transparent; padding: .55em; border-radius: 999px; font: inherit; font-weight: 650; color: var(--m700); cursor: pointer; transition: background .25s, color .25s; }
.seg button.on { background: #fff; color: var(--m900); box-shadow: 0 2px 8px rgba(36,58,31,.1); }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 380px); }
.toast { background: var(--m900); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); animation: toast .35s var(--ease); font-size: .95rem; }
.toast.err { background: var(--red); }
@keyframes toast { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== Dashboard ===== */
.dash { display: grid; grid-template-columns: 230px 1fr; gap: 28px; padding: 28px 20px 100px; max-width: 1180px; margin: 0 auto; }
.side { position: sticky; top: 90px; align-self: start; display: grid; gap: 4px; }
.side a { display: flex; align-items: center; gap: .7em; padding: .7em 1em; border-radius: 12px; color: var(--muted); font-weight: 600; transition: background .2s, color .2s; }
.side a:hover { background: var(--m100); color: var(--m800); }
.side a.on { background: var(--m700); color: #fff; }
.side a .ic { width: 1.3em; text-align: center; }
.panel { animation: slide .4s var(--ease); min-width: 0; }
@keyframes slide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.panel h2 { font-size: 1.5rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.kpis .card { padding: 16px 18px; }
.kpis b { display: block; font-size: 1.3rem; color: var(--m800); font-variant-numeric: tabular-nums; }
.kpis span { font-size: .8rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--m50); font-weight: 650; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.ellipsis { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

.mobile-tabs { display: none; }
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; padding-top: 18px; }
  .side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .mobile-tabs { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-tabs a { flex: 1; display: grid; justify-items: center; gap: 2px; font-size: .7rem; color: var(--muted); padding: 4px 0; font-weight: 600; }
  .mobile-tabs a .ic { font-size: 1.2rem; }
  .mobile-tabs a.on { color: var(--m700); }
  /* bảng → thẻ trên mobile */
  .table-wrap.cards { border: 0; background: none; }
  .cards table, .cards tbody, .cards tr, .cards td { display: block; }
  .cards thead { display: none; }
  .cards tr { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 8px 4px; }
  .cards td { border: 0; padding: 4px 12px; display: flex; justify-content: space-between; gap: 1em; text-align: right; }
  .cards td::before { content: attr(data-l); color: var(--muted); font-size: .8rem; text-align: left; }
  .cards td.num { text-align: right; }
  .ellipsis { max-width: 180px; }
}
@media (max-width: 520px) { #hello { display: none; } #logout { margin-left: auto; } }
.spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ===== App shell (tài khoản + quản trị) ===== */
.shell { background: #f4f6ee; }
.sb { position: fixed; inset: 0 auto 0 0; width: 256px; z-index: 30; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px;
  background: linear-gradient(180deg, #1e3a24 0%, #15291a 100%); color: #cfe0c2; }
.sb-logo { display: flex; align-items: center; gap: .6em; color: #fff; font-weight: 800; font-size: 1.1rem; padding: 4px 8px 16px; }
.sb-logo i { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--m500), #8fc06a); display: grid; place-items: center; font-style: normal; color: #fff; }
.sb nav { display: grid; gap: 4px; overflow-y: auto; }
.sb nav a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; color: #cfe0c2; transition: background .25s var(--ease), transform .25s var(--ease); }
.sb nav a:hover { background: rgba(255,255,255,.06); transform: translateX(2px); }
.sb nav a.on { background: rgba(183,211,155,.16); color: #fff; }
.sb nav b { display: block; font-size: .95rem; font-weight: 650; color: #f2f7ec; }
.sb nav small { display: block; font-size: .74rem; color: #93ab86; }
.sb-ic { width: 36px; height: 36px; flex: none; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; }
.sb nav a.on .sb-ic { background: var(--m500); color: #fff; }
.sb-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.06); }
.sb-user i, .sb-user img { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--m600); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; object-fit: cover; }
.sb-user b { display: block; color: #fff; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.sb-user small { color: var(--m300); font-weight: 700; }
.sb-user button { background: none; border: 0; color: #93ab86; cursor: pointer; padding: 6px; border-radius: 8px; }
.sb-user button:hover { color: #fff; background: rgba(255,255,255,.08); }
.main { margin-left: 256px; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 32px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 1.15rem; margin: 0; }
.topbar p { margin: 0; }
.content { max-width: 1180px; margin: 0 auto; padding: 28px 32px 100px; }
.content .panel h3 { display: flex; align-items: center; gap: .45em; }
@media (max-width: 860px) {
  .sb { display: none; }
  .main { margin-left: 0; }
  .topbar { padding: 12px 16px; }
  .content { padding: 18px 16px 100px; }
}

.ov-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 1180px) { .ov-grid { grid-template-columns: 1fr; } }
.hero-card { position: relative; overflow: hidden; border-radius: 26px; padding: 28px; color: #d9e8c6;
  background: radial-gradient(circle at 85% 110%, rgba(143,192,106,.35), transparent 45%), linear-gradient(140deg, #2c5233 0%, #183020 100%);
  box-shadow: var(--shadow-lg); animation: pop .5s var(--ease); }
.hero-card::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.04); pointer-events: none; }
.hero-card h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 14px 0 8px; }
.hero-card p { color: #b9cfac; max-width: 32em; }
.hero-card small { display: block; color: #a8c296; font-weight: 600; }
.hero-card .big { font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; color: #fff; letter-spacing: -.03em; margin: 2px 0 16px; font-variant-numeric: tabular-nums; }
.tag-dot { display: inline-flex; align-items: center; gap: .5em; font-size: .75rem; font-weight: 700; padding: .35em .8em; border-radius: 999px; background: rgba(255,255,255,.1); color: #e6f0da; }
.tag-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #9fd27a; box-shadow: 0 0 0 3px rgba(159,210,122,.25); }
.btn.light { background: #fff; color: var(--m900); }
.btn.light:hover { background: var(--m100); }
.btn.glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn.glass:hover { background: rgba(255,255,255,.18); }
.mk-link { border-radius: 26px; }
.mk-link h3 { font-size: 1.25rem; margin-bottom: 14px; }
.steps3 { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 22px 0 0; text-align: center; position: relative; }
.steps3::before { content: ''; position: absolute; left: 16%; right: 16%; top: 17px; height: 2px; background: var(--m200); }
.steps3 li { counter-increment: s; position: relative; }
.steps3 li::before { content: '0' counter(s); display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 8px; border-radius: 12px; background: var(--m700); color: #fff; font-weight: 800; font-size: .85rem; position: relative; }
.steps3 b { display: block; font-size: .88rem; }
.steps3 small { color: var(--muted); font-size: .74rem; }

.kpi { position: relative; display: block; color: inherit; transition: transform .25s var(--ease), box-shadow .25s; }
a.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kpi > span:not(.kic) { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; padding-right: 40px; }
.kpi small { color: var(--muted); font-size: .75rem; }
.kpi.dark { background: linear-gradient(140deg, var(--m600), var(--m800)); border: 0; }
.kpi.dark > span, .kpi.dark small { color: #e6f0da !important; }
.kpi.dark b { color: #fff; }
.kic { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--m100); color: var(--m700); }
.bot-card .kic { position: static; flex: none; }
.kic.amber { background: #fdf1dc; color: var(--amber); }
.kic.violet { background: #efeafd; color: #7155c9; }
.kic.blue { background: #e6f1fb; color: #2a7bbf; }
@media (max-width: 1000px) { .kpis { grid-template-columns: 1fr 1fr; } }

.banners { gap: 16px; align-items: stretch; }
.banner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
a.banner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.banner > span:nth-child(2) { flex: 1; }
.banner b { display: block; }
.banner small { color: var(--muted); }
.banner.green { background: #eef7ea; border-color: #cfe5c3; }
.banner.amber { background: #fff8e6; border-color: #f3dfa6; }
.bic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--m700); }
.banner.amber .bic { background: #e9a23b; }

.card.list { padding: 6px 16px; }
.li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.li:last-child { border-bottom: 0; }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) { .li .nowrap { display: none; } }
.bot-card ol { padding-left: 1.2em; margin: 14px 0; }

/* Modal đăng nhập */
.social { display: grid; gap: 10px; justify-items: center; }
.gbtn { min-height: 44px; }
.btn.zalo { background: #0068ff; }
.btn.zalo:hover { background: #0057d6; box-shadow: 0 8px 20px rgba(0,104,255,.25); }
.btn.zalo b { background: #fff; color: #0068ff; border-radius: 6px; padding: 0 .35em; font-size: .8rem; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin: 16px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Voucher, bài viết, demo chat */
.vcode { display: block; padding: .5em .8em; border: 1.5px dashed var(--m300); border-radius: 10px; background: var(--m50); font-weight: 700; letter-spacing: .06em; color: var(--m800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voucher { display: flex; flex-direction: column; }
.voucher .row { gap: .5rem; }
.post-card { display: block; color: inherit; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.post-card h3 { margin: .3em 0; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-top: 12px; }
.article .cover { width: 100%; border-radius: 18px; margin: 20px 0; }
.article .lead { font-size: 1.12rem; color: var(--muted); }
.article h2 { font-size: 1.4rem; margin-top: 1.6em; }
.article img { border-radius: 12px; }
.article p, .article li { color: #3a4634; }
.chat-demo { display: grid; gap: 10px; background: #e9efe2; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; font-size: .92rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); word-break: break-word; }
.bubble.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--m700); color: #fff; }
.ico { flex: none; vertical-align: -3px; }
