:root {
  /* Layout: nền xanh lá nhạt, thẻ trắng bo góc, một họ chữ Be Vietnam Pro; chữ mono chỉ dùng cho IP và mã */
  --bg: #F5FAF6;
  --surface: #FFFFFF;
  --ink: #13261C;
  --muted: #5E6E65;
  --line: #E0EAE3;
  --accent: #13824A;
  --accent-hover: #0F6C3D;
  --accent-soft: #E7F6ED;
  --accent-soft-2: #D3EEDD;
  --accent-ink: #0D5C34;
  --leaf: #7BD3A0;
  --on-accent: #FFFFFF;
  --ok: #15803D;
  --warn: #B45309;
  --bad: #C2362F;
  --info: #2563EB;
  --focus: #13824A;
  --shadow: 0 1px 2px rgba(19,38,28,.04), 0 10px 30px -16px rgba(19,60,38,.18);
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.mono, .num { font-variant-numeric: tabular-nums; }
.num { font-weight: 700; }
.code { font-family: var(--font-mono); font-size: .92em; }
.muted { color: var(--muted); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-decoration: none; background: transparent; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-soft { background: var(--accent-soft); color: var(--accent-ink); }
.btn-soft:hover { background: var(--accent-soft-2); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { filter: brightness(.94); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.btn-xs { padding: 5px 10px; font-size: 13px; border-radius: 7px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; font-weight: 500; }

/* Đầu trang */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 32px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo svg { flex: none; }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--accent); }
.nav-r { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* Thanh khuyến mãi */
.promo { background: var(--accent); color: #fff; font-size: 14px; padding: 8px 16px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.promo b { color: #FFE58A; }
.promo a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.blink-dot { width: 8px; height: 8px; border-radius: 50%; background: #FFE58A; box-shadow: 0 0 0 3px rgba(255,229,138,.3); animation: blinkSoft 1.1s ease-in-out infinite; flex: none; }

/* Banner trượt */
.banner { position: relative; overflow: hidden; padding: 48px 0 112px;
  background: radial-gradient(900px 480px at 80% 30%, #C6EED6 0%, rgba(198,238,214,0) 65%), linear-gradient(180deg, #E2F5EA 0%, #F2FAF5 100%); }
.banner::before { content: ""; position: absolute; right: -40px; top: 20px; width: 420px; height: 300px; background-image: radial-gradient(rgba(19,130,74,.18) 1.4px, transparent 1.6px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); pointer-events: none; }
.slides { display: grid; position: relative; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .55s ease, transform .55s ease, visibility .55s; }
.slide.on { opacity: 1; visibility: visible; transform: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--accent-soft-2); color: var(--accent-ink); font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.18); flex: none; animation: blinkSoft 1.4s ease-in-out infinite; }
.slide h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; margin: 18px 0 16px; text-wrap: balance; }
.lead { font-size: 18px; color: var(--muted); max-width: 34em; margin: 0 0 22px; }
.from-big { margin: 0 0 26px; font-size: 17px; color: var(--muted); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.from-big b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-right: 6px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.shine { background: linear-gradient(90deg, #13824A 0%, #2BC46F 25%, #13824A 50%, #2BC46F 75%, #13824A 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 3.2s linear infinite; }
.pulse { display: inline-block; color: var(--accent); animation: pricePulse 1.8s ease-in-out infinite; transform-origin: left center; }
.glow { animation: glow 2.2s ease-out infinite; }
.slide-art { position: relative; display: grid; place-items: center; min-height: 390px; }
.blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #D8F4E3 0%, #A9E4C2 55%, #7FD3A4 100%); opacity: .7; }
.blob::after { content: ""; position: absolute; inset: -26px; border: 2px dashed rgba(19,130,74,.25); border-radius: 50%; animation: spin 40s linear infinite; }
.srv-stack { position: relative; z-index: 1; display: grid; gap: 12px; width: 320px; transform: perspective(1000px) rotateY(-14deg) rotateX(8deg); }
.srv { height: 70px; background: #fff; border: 1px solid #D6EADD; border-radius: 16px; box-shadow: 0 20px 30px -20px rgba(19,82,48,.5); display: flex; align-items: center; gap: 16px; padding: 0 20px; }
.vent { display: grid; gap: 4px; }
.vent i { display: block; width: 34px; height: 4px; border-radius: 2px; background: #D7EEDF; }
.srv-name { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent-ink); margin-right: auto; }
.leds { display: flex; gap: 7px; }
.leds i { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 8px rgba(34,197,94,.9); animation: blinkSoft 1.5s ease-in-out infinite; }
.leds i:nth-child(2) { animation-delay: .35s; }
.leds i:nth-child(3) { background: #F5B700; box-shadow: 0 0 8px rgba(245,183,0,.8); animation-delay: .7s; animation-duration: .9s; }
.fchip { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); animation: floaty 4.5s ease-in-out infinite; white-space: nowrap; }
.fchip svg { color: var(--accent); flex: none; }
.fchip.c1 { top: 34px; left: 0; }
.fchip.c2 { bottom: 40px; left: 18px; animation-delay: 1.2s; }
.fchip.c3 { top: 92px; right: 0; animation-delay: 2.2s; }
.ring { position: relative; z-index: 1; width: 260px; height: 260px; border-radius: 50%; background: conic-gradient(var(--accent) 0 300deg, #CBEFD9 300deg 360deg); display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(19,130,74,.6); }
.ring-in { width: 214px; height: 214px; border-radius: 50%; background: #fff; display: grid; place-items: center; align-content: center; text-align: center; gap: 4px; }
.ring-in b { font-size: 70px; font-weight: 800; line-height: 1; color: var(--accent-ink); letter-spacing: -.04em; }
.ring-in .shine { font-weight: 800; font-size: 17px; letter-spacing: .1em; }
.ticket { position: relative; z-index: 1; display: grid; grid-template-columns: 124px 1fr; width: 370px; max-width: 100%; background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -28px rgba(19,82,48,.55); overflow: hidden; transform: rotate(-4deg); }
.t-left { background: linear-gradient(160deg, #1FAE66, #13824A); color: #fff; display: grid; place-items: center; align-content: center; padding: 26px 10px; text-align: center; gap: 4px; }
.t-left b { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.t-left span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; }
.t-right { padding: 24px 22px; display: grid; gap: 10px; border-left: 2px dashed #CDEBD8; align-content: center; }
.t-right small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.code-box { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: .08em; color: var(--accent-ink); border: 1.5px dashed var(--accent); border-radius: 10px; padding: 6px 12px; justify-self: start; background: #F3FBF6; }
.t-right p { margin: 0; font-size: 13px; color: var(--muted); }
.slide-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: border-color .15s, color .15s; }
.arrow:hover { border-color: var(--accent); color: var(--accent); }
.dots { display: flex; gap: 7px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: #BCD9C8; cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 30px; background: var(--accent); }

/* Ô danh mục nổi trên banner */
.cats { position: relative; z-index: 3; margin-top: -68px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; scroll-margin-top: 90px; }
.cat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 18px 40px -26px rgba(19,82,48,.45); cursor: pointer; text-align: left; transition: transform .2s, border-color .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-4px); border-color: var(--accent); }
.cat[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -26px rgba(19,82,48,.6); }
.cat .ico { width: 50px; height: 50px; border-radius: 14px; }
.cat[aria-pressed="true"] .ico { background: var(--accent); color: #fff; }
.cat b { display: block; font-size: 16px; line-height: 1.3; }
.cat small { display: block; color: var(--muted); font-size: 13px; }
.cat .p { color: var(--accent); font-weight: 800; }
.cat .go { margin-left: auto; color: var(--muted); flex: none; }

@keyframes shine { to { background-position: 200% center; } }
@keyframes pricePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes blinkSoft { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(19,130,74,.5); } 70% { box-shadow: 0 0 0 12px rgba(19,130,74,0); } 100% { box-shadow: 0 0 0 0 rgba(19,130,74,0); } }
@keyframes floaty { 50% { transform: translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Khối nội dung */
.sec { padding: 88px 0; scroll-margin-top: 66px; }
.sec.white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.kicker { color: var(--accent); font-weight: 700; font-size: 14px; margin: 0; }
h2.h { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin: 8px 0 0; text-wrap: balance; }
.sec-sub { color: var(--muted); margin: 12px 0 0; max-width: 60ch; }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: var(--accent-soft-2); box-shadow: var(--shadow); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
.pcard h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.pcard p { margin: 0; color: var(--muted); font-size: 14.5px; }
.from { font-size: 14px; color: var(--muted); }
.from b { color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2313824A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.pcard .btn { margin-top: auto; align-self: flex-start; }

/* Bảng giá */
.price-tools { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.tool-r { display: flex; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; background: #E9F0EC; border-radius: 12px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); color: var(--accent-ink); box-shadow: 0 1px 3px rgba(19,38,28,.14); }
.seg button:disabled { opacity: .45; cursor: not-allowed; }
.seg .off { color: var(--accent); font-size: 12px; margin-left: 4px; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
table.sheet, table.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet th, .tbl th { font-size: 13px; font-weight: 600; color: var(--muted); text-align: left; padding: 13px 18px; background: #FAFCFB; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sheet td, .tbl td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 15px; }
.sheet tr:last-child td, .tbl tr:last-child td { border-bottom: 0; }
.sheet tbody tr:hover td, .tbl tbody tr:hover td { background: #F8FBF9; }
.sheet tr.hot td { background: #F1FAF4; }
.plan-code { font-weight: 700; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; margin-left: 8px; vertical-align: 1px; white-space: nowrap; }
.badge.soft { background: var(--accent-soft); color: var(--accent-ink); }
.price-cell b { font-size: 17px; font-weight: 800; white-space: nowrap; }
.price-cell small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.sheet .act { text-align: right; white-space: nowrap; }
.notes { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); }

/* Bảng giá dạng thẻ */
.tabs-lg button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 15px; }
.line-intro { display: flex; align-items: center; gap: 18px; background: var(--accent-soft); border: 1px solid var(--accent-soft-2); border-radius: 16px; padding: 16px 20px; margin-bottom: 30px; flex-wrap: wrap; }
.line-intro .ico { background: #fff; }
.line-intro > div { flex: 1 1 300px; }
.line-intro b { font-size: 17px; }
.line-intro p { margin: 2px 0 0; color: #46604F; font-size: 14.5px; }
.intro-ticks { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.intro-ticks li { background: #fff; border: 1px solid var(--accent-soft-2); color: var(--accent-ink); font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: stretch; padding-top: 14px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.plan:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(19,82,48,.45); border-color: var(--accent-soft-2); }
.plan.hot { border: 2px solid var(--accent); background: linear-gradient(180deg, #EEF9F2 0%, #fff 38%); box-shadow: 0 26px 54px -28px rgba(19,130,74,.55); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; padding: 5px 14px; border-radius: 999px; white-space: nowrap; overflow: hidden; }
.ribbon::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: skewX(-20deg); animation: sweep 2.4s ease-in-out infinite; }
@keyframes sweep { 0% { left: -60%; } 60%, 100% { left: 130%; } }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-top h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.trial-badge { background: #FFF1C7; color: #7A5B00; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; animation: blinkSoft 1.6s ease-in-out infinite; white-space: nowrap; }
.fit { margin: -8px 0 0; color: var(--muted); font-size: 13.5px; min-height: 3.2em; }
.plan-price { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; display: grid; gap: 2px; }
.plan-price .old { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.save { background: #FDE8E7; color: #C2362F; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 999px; animation: blinkSoft 1.6s ease-in-out infinite; }
.plan-price .big { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.plan-price .big b { font-size: 31px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan.hot .plan-price .big b { color: var(--accent); }
.plan-price .big span { color: var(--muted); font-size: 14px; }
.plan-price small { color: var(--muted); font-size: 12.5px; }
.pspecs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.pspecs li { display: flex; gap: 10px; align-items: flex-start; }
.pspecs svg { color: var(--accent); flex: none; margin-top: 2px; }
.plan-cta { margin-top: auto; display: grid; gap: 8px; justify-items: center; }
.btn-outline { background: #fff; border: 1.5px solid var(--accent); color: var(--accent-ink); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-block { width: 100%; }
.trial-link { font-size: 13.5px; line-height: 1.4; }

/* Tính năng, vị trí, các bước */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.fcard h3 { margin: 4px 0 0; font-size: 16.5px; font-weight: 700; }
.fcard p { margin: 0; color: var(--muted); font-size: 14.5px; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.lcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 2px; }
.lcard .loc-code { justify-self: start; margin-bottom: 8px; }
.lcard b { font-size: 15.5px; }
.lcard small { color: var(--muted); font-size: 13px; }
.lcard .ping { margin-top: 8px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.lcard .ping i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.lcard .ping i.near { background: #22C55E; }
.loc-code { font-family: var(--font-mono); font-weight: 700; font-size: 12px; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.steps .n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.steps h3 { font-size: 17px; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Hỏi đáp */
.faq-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 22px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 0 18px; color: var(--muted); max-width: 62ch; }
.policy { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; }
.policy h3 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.policy ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.policy p { margin: 0; font-size: 14px; color: var(--muted); }

/* Kêu gọi + chân trang */
.cta { padding: 0 0 88px; }
.cta-box { background: linear-gradient(135deg, #DDF3E6, #EEF9F2); border: 1px solid var(--accent-soft-2); border-radius: 22px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-box h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.cta-box p { margin: 0; color: #46604F; }
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 52px 0 28px; font-size: 14px; scroll-margin-top: 66px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.foot h4 { font-size: 14px; margin: 0 0 12px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--accent); }
.ph { background: #FFF6DB; color: #7A5B00; padding: 1px 6px; border-radius: 4px; font-size: 13px; }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); flex-wrap: wrap; font-size: 13px; }

/* Nút hỗ trợ nổi */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; }
.fab > button { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 12px 30px -10px rgba(19,82,48,.5); }
.fab > button:hover { background: var(--accent-hover); }
.fab-pop { position: absolute; right: 0; bottom: 58px; width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); font-size: 14px; }
.fab-pop h4 { margin: 0 0 10px; font-size: 15px; }
.fab-pop dl { margin: 0; display: grid; grid-template-columns: 76px 1fr; gap: 6px 10px; }
.fab-pop dt { color: var(--muted); }
.fab-pop dd { margin: 0; font-weight: 600; word-break: break-all; }

/* Đăng nhập */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-side { background: linear-gradient(180deg, #E1F4E9, #F2FAF5); padding: 40px 48px; display: flex; flex-direction: column; gap: 28px; }
.auth-side h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; font-weight: 800; margin: auto 0 0; letter-spacing: -.025em; text-wrap: balance; }
.auth-side ul { list-style: none; margin: 0 0 auto; padding: 0; display: grid; gap: 12px; font-size: 15.5px; }
.auth-side li { display: flex; align-items: center; }
.auth-side li b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--accent); font-size: 12px; margin-right: 12px; border: 1px solid var(--accent-soft-2); flex: none; }
.auth-side .back-home { color: var(--muted); font-size: 14px; text-decoration: none; }
.auth-main { display: grid; place-items: center; padding: 40px 20px; background: var(--surface); }
.auth-card { width: 100%; max-width: 420px; display: grid; gap: 18px; }
.auth-card h1 { font-size: 28px; margin: 0; font-weight: 800; letter-spacing: -.02em; }
.note { background: var(--accent-soft); color: var(--accent-ink); border-radius: 10px; padding: 11px 14px; font-size: 14px; margin: 0; }
.demo-hint { font-size: 13px; color: var(--muted); margin: 0; border: 1px dashed var(--line); padding: 10px 12px; border-radius: 10px; }

/* Form */
.field { display: grid; gap: 6px; }
.field label, .lbl { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 12.5px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(19,130,74,.14); }
input:disabled { background: var(--bg); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; }

/* Khung trang quản lý */
.app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; align-self: start; height: 100vh; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px; gap: 22px; }
.side .logo { padding: 2px 8px; font-size: 16px; }
.side-nav { display: grid; gap: 3px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; border: 0; background: none; cursor: pointer; width: 100%; text-align: left; }
.side-link svg { flex: none; }
.side-link:hover { background: var(--bg); color: var(--ink); }
.side-link.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.side-link.on svg { color: var(--accent); }
.side-link .cnt { margin-left: auto; font-size: 11.5px; font-weight: 700; background: var(--bad); color: #fff; border-radius: 999px; padding: 1px 7px; }
.side-foot { margin-top: auto; display: grid; gap: 3px; border-top: 1px solid var(--line); padding-top: 12px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.crumb { font-size: 13px; color: var(--muted); }
.top-title { font-size: 22px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.top-r { display: flex; align-items: center; gap: 14px; }
.bal { text-align: right; line-height: 1.25; }
.bal span { display: block; font-size: 12.5px; color: var(--muted); }
.bal b { font-size: 16px; font-variant-numeric: tabular-nums; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 28px; font-size: 13px; color: #6B5A1E; background: #FFF8E3; border-bottom: 1px solid #F3E7BF; flex-wrap: wrap; }
.content { padding: 28px 28px 64px; display: grid; gap: 22px; max-width: 1240px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.tile .k { color: var(--muted); font-size: 13.5px; }
.tile .v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile .s { font-size: 13px; color: var(--muted); }
.tile .s a { color: var(--accent); font-weight: 600; text-decoration: none; }
.tile.alert { border-color: #F2D9B0; background: #FFFBF3; }
.tile.alert .v { color: var(--warn); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-h h2, .card-h h3 { margin: 0; font-size: 16.5px; font-weight: 700; }
.card-h a { color: var(--accent); text-decoration: none; font-weight: 600; }
.card-b { padding: 20px; }
.card .table-scroll { border: 0; border-radius: 0 0 16px 16px; }
.count { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; align-items: center; }
.list li:last-child { border-bottom: 0; }
.list .sub { display: block; font-size: 13px; color: var(--muted); }
.amt-in { color: var(--ok); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amt-out { white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.ip { font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.icon-btn { border: 0; background: none; padding: 4px; cursor: pointer; color: var(--muted); border-radius: 6px; display: inline-grid; place-items: center; }
.icon-btn:hover { color: var(--accent); background: var(--accent-soft); }
.days-warn { color: var(--warn); font-weight: 600; }
.days-bad { color: var(--bad); font-weight: 600; }
.mini { font-size: 12.5px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); white-space: nowrap; font-weight: 500; }

/* Trạng thái */
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-run { color: var(--ok); background: #E4F5EA; }
.st-stop { color: var(--muted); background: #EEF2EF; }
.st-busy { color: var(--info); background: #E8EFFD; }
.st-busy::before { animation: pulse 1s ease-in-out infinite; }
.st-sus { color: var(--bad); background: #FCEBEA; }
.st-warn { color: var(--warn); background: #FDF1E1; }
@keyframes pulse { 50% { opacity: .25; } }

/* Chi tiết VPS */
.back { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: 14px; justify-self: start; font-weight: 500; }
.back:hover { color: var(--accent); }
.vhead { display: grid; gap: 18px; padding: 22px; }
.vhead-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.vhead h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.facts-row { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bg); border-radius: 12px; }
.facts-row div { padding: 12px 16px; border-left: 1px solid var(--line); min-width: 0; }
.facts-row div:first-child { border-left: 0; }
.facts-row small { display: block; font-size: 12.5px; color: var(--muted); }
.facts-row b { font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.progress { height: 8px; background: #E9F0EC; border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: var(--accent); border-radius: 999px; transition: width .35s; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 14px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 13px 12px; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--accent-ink); border-bottom-color: var(--accent); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 11px 16px; font-size: 14.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; font-weight: 500; }
.spark { width: 100%; height: auto; display: block; }
.sp-grid { stroke: var(--line); stroke-width: 1; }
.sp-line { stroke: var(--accent); stroke-width: 1.8; fill: none; stroke-linejoin: round; }
.sp-area { fill: rgba(123,211,160,.28); }
.sp-dot { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.sp-lbl { fill: var(--muted); font-family: var(--font-body); font-size: 10.5px; }
.meter { display: grid; gap: 6px; font-size: 14px; }
.meter-top { display: flex; justify-content: space-between; }
.danger-zone { border: 1px solid #F1D3D0; background: #FFFAFA; border-radius: 12px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.danger-zone p { margin: 0; font-size: 14px; color: var(--muted); }
.stack { display: grid; gap: 16px; }

/* Chọn tùy chọn */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
.opt { border: 1px solid var(--line); border-radius: 12px; padding: 12px 32px 12px 14px; background: var(--surface); cursor: pointer; text-align: left; display: grid; gap: 3px; position: relative; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--accent); }
.opt[aria-pressed="true"] { border-color: var(--accent); background: #F3FBF6; box-shadow: inset 0 0 0 1px var(--accent); }
.opt[aria-pressed="true"]::after { content: ""; position: absolute; top: 11px; right: 11px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.opt b { font-size: 14.5px; font-weight: 600; }
.opt small { color: var(--muted); font-size: 13px; }
.opt:disabled { opacity: .45; cursor: not-allowed; }
.plan-opts { display: grid; gap: 8px; }
.plan-opt { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; padding-right: 40px; }
.plan-opt .specs { font-size: 14px; color: var(--muted); }
.plan-opt .p { font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.step-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.step-h .mono { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; }
.order { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.order-main { display: grid; gap: 18px; }
.summary { position: sticky; top: 18px; }
.sum-rows { display: grid; gap: 9px; font-size: 14px; margin: 0; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows dt { color: var(--muted); }
.sum-rows dd { margin: 0; text-align: right; font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.sum-total b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.warnline { font-size: 13.5px; color: var(--warn); margin: 10px 0 0; }
.okline { font-size: 14px; color: var(--ok); margin: 10px 0 0; font-weight: 600; }

/* Nạp tiền */
.qr-card { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.qr-box { width: 200px; height: 200px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 8px; position: relative; color: var(--ink); font-size: 12px; text-align: center; }
.qr-box img, .qr-box canvas { display: block; width: 184px !important; height: 184px !important; }
.qr-flag { position: absolute; left: 8px; right: 8px; bottom: -11px; text-align: center; }
.qr-flag span { background: #FFF1C7; color: #7A5B00; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.copyline { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.copyline:last-child { border-bottom: 0; }
.copyline span { color: var(--muted); font-size: 13px; }
.copyline b { font-size: 15px; font-variant-numeric: tabular-nums; }

/* Ticket */
.thread { display: grid; gap: 12px; }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 14.5px; }
.msg.staff { background: #F3FBF6; border-color: var(--accent-soft-2); }
.msg-h { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; gap: 10px; }
.msg p { margin: 0; white-space: pre-wrap; }

/* Hộp thoại, thông báo */
.modal-bg { position: fixed; inset: 0; background: rgba(13,30,21,.45); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { background: var(--surface); border-radius: 18px; width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: 0 30px 80px -20px rgba(0,0,0,.35); }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-h h3 { margin: 0; font-size: 17px; }
.modal-b { padding: 22px; display: grid; gap: 14px; font-size: 15px; }
.modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.console { background: #0B1410; color: #CFE3D6; font-family: var(--font-mono); font-size: 13px; padding: 16px; border-radius: 10px; min-height: 220px; white-space: pre-wrap; line-height: 1.6; }
.cursor { display: inline-block; width: 8px; height: 15px; background: currentColor; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 14px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); animation: tin .2s ease-out; }
.toast.bad { background: var(--bad); }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }

/* Màn hình nhỏ */
@media (max-width: 1020px) {
  .hero-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .order { grid-template-columns: 1fr; }
  .summary { position: static; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .facts-row { grid-template-columns: repeat(3, 1fr); }
  .facts-row div:nth-child(4) { border-left: 0; }
  .facts-row div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .app { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; padding: 10px 12px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); gap: 8px; }
  .side .logo { display: none; }
  .side-nav { display: flex; gap: 4px; }
  .side-link { white-space: nowrap; width: auto; }
  .side-foot { margin: 0; border: 0; padding: 0; display: flex; }
  .grid2 { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 28px 20px; }
  .auth-side h2 { margin-top: 8px; }
  .qr-card { grid-template-columns: 1fr; }
  .top, .content, .demo-bar { padding-left: 16px; padding-right: 16px; }
  .sec { padding: 64px 0; }
  .cta-box { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .cards4, .grid3, .foot-grid, .row2, .tiles { grid-template-columns: 1fr; }
  .qspecs { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .qspecs div:nth-child(3) { border-left: 0; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .facts-row div:nth-child(-n+2) { border-top: 0; }
  .facts-row div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .plan-opt { grid-template-columns: 1fr auto; }
  .plan-opt .specs { grid-column: 1 / -1; grid-row: 2; }
  .nav-r .btn-ghost { display: none; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 8px; }
  .toasts { bottom: 80px; }
  .hero { padding: 48px 0 64px; }
}
@media (max-width: 1020px) {
  .slide { grid-template-columns: 1fr; gap: 12px; }
  .slide-art { min-height: 320px; }
  .cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .banner { padding: 32px 0 96px; }
  .slide-art { min-height: 260px; }
  .blob { width: 250px; height: 250px; }
  .srv-stack { width: 260px; }
  .srv { height: 58px; }
  .fchip { display: none; }
  .ring { width: 210px; height: 210px; }
  .ring-in { width: 172px; height: 172px; }
  .ring-in b { font-size: 54px; }
  .ticket { width: 310px; grid-template-columns: 100px 1fr; }
  .cats { grid-template-columns: 1fr; gap: 10px; margin-top: -60px; }
  .cat { padding: 14px; }
  .plans { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 4px 12px; margin: 0 -4px; }
  .plan { scroll-snap-align: center; }
  .plan:hover { transform: none; }
  .promo { font-size: 13px; flex-wrap: nowrap; text-align: left; justify-content: flex-start; }
  .promo a { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Bổ sung cho bản PHP ===== */
.flashes { display: grid; gap: 10px; }
.flash { border-radius: 12px; padding: 12px 16px; font-size: 14.5px; border: 1px solid; }
.flash.ok { background: #E9F7EF; border-color: #BFE6CF; color: #0D5C34; }
.flash.err { background: #FDEDEC; border-color: #F3C7C3; color: #8F2620; }
.flash.info { background: #EEF4FE; border-color: #CBDCFB; color: #1E3F8A; }
.auth-card .flashes { margin: 0; }
.form-grid { display: grid; gap: 14px; }
.form-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.form-inline .field { flex: 1 1 160px; }
.tbl .actions { text-align: right; white-space: nowrap; }
.tbl td.wrap-any { overflow-wrap: anywhere; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; background: #fff; color: var(--ink); }
.chip-link:hover { border-color: var(--accent); }
.chip-link.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--accent); background: #F3FBF6; box-shadow: inset 0 0 0 1px var(--accent); }
.opt:has(input:checked)::after { content: ""; position: absolute; top: 11px; right: 11px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.seg label { padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; position: relative; }
.seg label input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--surface); color: var(--accent-ink); box-shadow: 0 1px 3px rgba(19,38,28,.14); }
.seg label:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.seg a { padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.seg a.on { background: var(--surface); color: var(--accent-ink); box-shadow: 0 1px 3px rgba(19,38,28,.14); }
.pass-box { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.task-row td { vertical-align: top; }
.tag-type { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.tag-type.deliver { background: #FFF1C7; color: #7A5B00; }
.tag-type.suspend, .tag-type.terminate, .tag-type.cancel { background: #FCEBEA; color: #8F2620; }
.howto { background: var(--bg); border: 1px dashed var(--accent-soft-2); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
.howto ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.notice-list li { align-items: flex-start; }
.admin-pill { font-size: 11px; font-weight: 800; letter-spacing: .06em; background: var(--ink); color: #fff; padding: 2px 7px; border-radius: 5px; margin-left: 6px; }
.kpi-good { color: var(--ok); }
.kpi-bad { color: var(--bad); }
.pager { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.tabs a { padding: 13px 12px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-selected="true"] { color: var(--accent-ink); border-bottom-color: var(--accent); }
.cat.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -26px rgba(19,82,48,.6); }
.cat.on .ico { background: var(--accent); color: #fff; }
.cat { text-decoration: none; color: inherit; }
input:not([type]), input[type="date"], input[type="search"] { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.form-inline input { min-width: 0; }
