/* ==========================================================================
   Trang công khai: landing, tra cứu, form thông báo nhiều bước
   ========================================================================== */
body.site { background: #ffffff; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* ---------- Thanh thông tin trên cùng ---------- */
.topline { background: var(--brand); color: #b9cbe0; font-size: 13px; }
.topline .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topline a { color: #e6eef7; text-decoration: none; }
.topline a:hover { color: #fff; }
.topline .items { display: flex; gap: 22px; align-items: center; }
.topline .items span, .topline .items a { display: inline-flex; align-items: center; gap: 6px; }
.topline svg { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 760px) { .topline .program { display: none; } .topline .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { display: grid; line-height: 1.2; min-width: 0; }
.brand-text b { font-size: 16.5px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; }
.brand-text small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a:not(.btn) { padding: 8px 14px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--brand); background: var(--brand-soft); }
.site-nav .btn { margin-left: 10px; }
@media (max-width: 960px) { .site-nav a:not(.btn) { display: none; } }
@media (max-width: 440px) { .brand-text small { display: none; } .site-nav .btn span { display: none; } .site-nav .btn { width: 44px; padding: 0; } }

/* ---------- Hero ảnh toàn khổ ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: 620px; display: flex; align-items: center; padding: 72px 0 140px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 27, 48, .94) 0%, rgba(7, 27, 48, .82) 38%, rgba(7, 27, 48, .35) 70%, rgba(7, 27, 48, .1) 100%),
              linear-gradient(0deg, rgba(7, 27, 48, .55), transparent 40%); }
.hero-content { max-width: 620px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 500; font-size: 13px; margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18.5px; line-height: 1.6; color: #d5e1ee; margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: #e2ebf5; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 19px; height: 19px; color: #4ade80; }
.photo-credit { position: absolute; right: 16px; top: 12px; font-size: 11px; color: rgba(255, 255, 255, .7); }
.photo-credit a { color: inherit; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 48px 0 120px; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 27, 48, .7), rgba(7, 27, 48, .9)); }
  .hero .lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Thẻ số liệu nổi ---------- */
.stats-float { position: relative; z-index: 2; margin-top: -84px; }
.stats-card { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(7, 27, 48, .16); overflow: hidden; border: 1px solid var(--line); }
.stat { padding: 26px 28px; display: flex; gap: 16px; align-items: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.stat-icon svg { width: 23px; height: 23px; }
.stat b { display: block; font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13.5px; color: var(--ink-3); }
.stat-cta { background: var(--accent-soft); flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.stat-cta p { margin: 0; font-size: 14px; color: var(--ink-2); font-weight: 500; }
@media (max-width: 1000px) {
  .stats-card { grid-template-columns: repeat(3, 1fr); }
  .stat-cta { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 640px) {
  .stats-card { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 16px 20px; }
  .stat-cta { flex-direction: column; align-items: stretch; }
}

/* ---------- Khung section ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-muted { background: #f5f7fa; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-head.center .kicker::after { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--brand); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-sm { padding: 52px 0; } }

/* ---------- Quy trình 3 bước (ảnh thật) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(7, 27, 48, .1); }
.step figure { margin: 0; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.step-num { position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.step-body { padding: 22px 24px 26px; }
.step h3 { font-size: 19px; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Khối ảnh + nội dung ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(7, 27, 48, .18); }
.split-media figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); font-size: 14px; color: var(--ink-2); }
.split-media figcaption svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--brand); color: #fff; flex: none; }
.split-media figcaption b { display: block; color: var(--ink); font-size: 15px; }
.split-media .credit { position: absolute; right: 14px; top: 12px; font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.split-media .credit a { color: inherit; }
.benefit-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.benefit-list li { display: flex; gap: 16px; }
.benefit-list .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.benefit-list .ic svg { width: 22px; height: 22px; }
.benefit-list b { display: block; font-size: 16.5px; color: var(--ink); margin-bottom: 3px; }
.benefit-list span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Ảnh nên chụp ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.shot .frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.04); }
.shot .ok { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: 999px; background: rgba(21, 128, 61, .92); color: #fff; font-size: 12.5px; font-weight: 600; }
.shot .ok svg { width: 15px; height: 15px; }
.shot figcaption { padding: 16px 18px 18px; }
.shot figcaption b { display: block; font-size: 16px; color: var(--brand); margin-bottom: 4px; }
.shot figcaption span { font-size: 14px; color: var(--ink-2); }
.tips-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.tip { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.tip svg { width: 22px; height: 22px; color: var(--accent-2); flex: none; }
.tip b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; }
.tip.warn svg { color: var(--danger); }
@media (max-width: 960px) { .shots { grid-template-columns: 1fr 1fr; } .tips-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .shots, .tips-row { grid-template-columns: 1fr; } }

/* ---------- Tra cứu ---------- */
.lookup-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(7, 27, 48, .05); }
.lookup-box .section-head { margin: 0; }
.lookup-form { display: flex; gap: 10px; }
.lookup-form .input { min-height: 54px; font-size: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.lookup-form .input::placeholder { letter-spacing: normal; text-transform: none; font-weight: 400; font-size: 16px; }
.lookup-form .btn { min-height: 54px; }
.lookup-result { margin-top: 16px; }
.lookup-card { padding: 20px; display: grid; gap: 14px; }
.lookup-card .row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.timeline-h { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.timeline-h div { display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.timeline-h i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.timeline-h .done { color: var(--ink); font-weight: 600; }
.timeline-h .done i { background: var(--ok); }
.timeline-h .fail i { background: var(--danger); }
.timeline-h .fail { color: var(--danger); font-weight: 600; }
.lookup-hint { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .lookup-box { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; } }
@media (max-width: 480px) { .lookup-form { flex-direction: column; } }

/* ---------- Bảo mật ---------- */
.privacy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-item { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.privacy-item svg { width: 26px; height: 26px; color: var(--brand-2); margin-bottom: 12px; }
.privacy-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--brand); }
.privacy-item p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.law-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.law-badge svg { width: 28px; height: 28px; color: var(--ok); }
.law-badge b { color: var(--ink); display: block; }
@media (max-width: 900px) { .privacy { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: 0 10px 30px rgba(7, 27, 48, .07); border-color: transparent; }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--ink-3); transition: transform .2s; flex: none; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); line-height: 1.65; }

/* ---------- CTA ảnh nền ---------- */
.cta-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: 64px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 27, 48, .92), rgba(7, 27, 48, .6)); }
.cta-photo h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin: 0 0 8px; letter-spacing: -.02em; }
.cta-photo p { margin: 0; color: #c9d7e6; font-size: 16.5px; }
.cta-photo .credit { position: absolute; right: 18px; bottom: 10px; font-size: 11px; color: rgba(255, 255, 255, .65); }
.cta-photo .credit a { color: inherit; }
@media (max-width: 640px) { .cta-photo { padding: 36px 24px 44px; border-radius: 20px; } .cta-photo .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: #07182b; color: #93a7bd; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer a { color: #cfdae6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer li { display: flex; gap: 9px; align-items: flex-start; }
.site-footer li svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--accent); }
.site-footer .brand-text b { color: #fff; }
.site-footer .brand-text small { color: #93a7bd; white-space: normal; max-width: none; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .site-footer { padding-bottom: 104px; } }

.fab { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90; display: none; box-shadow: 0 12px 30px rgba(7, 27, 48, .35); }
@media (max-width: 760px) { .fab { display: flex; } }

/* Ảnh ví dụ trong bước 1 của form */
.photo-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.photo-tips li { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); font-size: 12.5px; color: var(--ink-2); }
.photo-tips img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-tips span { display: block; padding: 8px 10px; line-height: 1.35; }
.photo-tips b { display: block; color: var(--ink); font-size: 13px; }

/* ==========================================================================
   Form thông báo (wizard)
   ========================================================================== */
dialog.wizard { width: min(680px, 100%); height: min(860px, calc(100vh - 32px)); max-height: none; padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
dialog.wizard::backdrop { background: rgba(10, 26, 44, .6); backdrop-filter: blur(3px); }
dialog.wizard[open] { display: flex; flex-direction: column; }
@media (max-width: 680px) { dialog.wizard { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; } }

.wz-head { padding: 16px 20px 14px; border-bottom: 1px solid var(--line); }
.wz-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wz-head h2 { font-size: 17px; margin: 0; }
.wz-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; padding: 0; list-style: none; }
.wz-steps li { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-4); }
.wz-steps li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); transition: background .25s; }
.wz-steps li.active { color: var(--brand); }
.wz-steps li.active::before { background: var(--accent); }
.wz-steps li.done { color: var(--ink-2); }
.wz-steps li.done::before { background: var(--brand); }
@media (max-width: 420px) { .wz-steps li span { display: none; } }

.wz-body { flex: 1; overflow-y: auto; padding: 22px 20px 28px; }
.wz-pane { display: grid; gap: 20px; align-content: start; }
.wz-pane > header h3 { font-size: 20px; margin-bottom: 4px; }
.wz-pane > header p { color: var(--ink-3); margin: 0; font-size: 14.5px; }
.wz-section { display: grid; gap: 12px; }
.wz-section > h4 { font-size: 14px; margin: 0; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.wz-section > h4 svg { width: 18px; height: 18px; color: var(--ink-3); }
.wz-foot { display: flex; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.wz-foot .btn-primary, .wz-foot .btn-accent { flex: 1; }
.wz-foot .btn { min-height: 48px; }
.wz-progress { height: 4px; background: var(--surface-3); border-radius: 2px; overflow: hidden; }
.wz-progress > div { height: 100%; width: 0; background: var(--accent); transition: width .2s; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.photo-tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-3); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile .remove { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(15, 27, 45, .7); color: #fff; cursor: pointer; display: grid; place-items: center; }
.photo-tile .remove svg { width: 16px; height: 16px; }
.photo-tile .gps-tag { position: absolute; left: 6px; bottom: 6px; display: flex; align-items: center; gap: 3px; padding: 2px 7px 2px 4px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 11px; font-weight: 600; }
.photo-tile .gps-tag svg { width: 13px; height: 13px; }
.photo-tile.processing::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .6); }
.photo-add { aspect-ratio: 1; border-radius: 12px; border: 2px dashed var(--line-strong); background: var(--surface-2); color: var(--ink-2); display: grid; place-content: center; justify-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; padding: 6px; transition: all .15s; }
.photo-add:hover { border-color: var(--brand-2); color: var(--brand); background: var(--brand-soft); }
.photo-add svg { width: 26px; height: 26px; }
.photo-add.primary { border-style: solid; border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2); }


.loc-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.loc-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.loc-status { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.loc-status svg { width: 18px; height: 18px; flex: none; }
.loc-status.ok { color: var(--ok); }
.loc-status.err { color: var(--danger); }
.mini-map { height: 280px; z-index: 0; }
@media (max-width: 520px) { .mini-map { height: 240px; } }

.summary { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.summary-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; padding: 12px 14px; font-size: 14px; align-items: start; }
.summary-row + .summary-row { border-top: 1px solid var(--line); }
.summary-row dt { color: var(--ink-3); }
.summary-row dd { margin: 0; color: var(--ink); word-break: break-word; }
.summary-row button { border: 0; background: none; color: var(--brand-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; }
@media (max-width: 480px) { .summary-row { grid-template-columns: 1fr auto; } .summary-row dd { grid-column: 1 / -1; grid-row: 2; } }

.consent { padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }

.success { text-align: center; padding: 28px 4px; display: grid; justify-items: center; gap: 12px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; animation: pop .35s ease-out; }
.success-icon svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.success h3 { font-size: 22px; margin: 0; }
.success p { margin: 0; color: var(--ink-2); max-width: 420px; }
.code-box { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line-strong); }
.code-box b { font-size: 24px; font-weight: 800; letter-spacing: .06em; color: var(--brand); font-variant-numeric: tabular-nums; }
.success-next { width: 100%; max-width: 440px; text-align: left; margin-top: 8px; display: grid; gap: 8px; padding: 0; list-style: none; }
.success-next li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.success-next svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; margin-top: 2px; }

/* ---------- Trang chính sách ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); color: var(--brand); }
.doc h2 { font-size: 20px; margin-top: 36px; color: var(--brand); }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface-2); }
.doc .meta { color: var(--ink-3); font-size: 14px; }

/* Trường bẫy chống bot: ẩn khỏi người dùng nhưng bot vẫn thấy trong HTML */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
