/* ===== Variables (nền trắng) ===== */
:root {
  --bg: #ffffff;
  --bg-card: #f8fafc;
  --bg-elevated: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --accent: #d97706;
  --accent-soft: rgba(217, 119, 6, 0.12);
  --accent-india: #059669;
  --accent-india-soft: rgba(5, 150, 105, 0.12);
  --border: #e2e8f0;
  --link: #2563eb;
  --link-hover: #1d4ed8;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --container: min(901px, 92vw);
  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-md: 1.05rem;
  --text-lg: 1.1rem;
  --text-xl: 1.2rem;
  --text-2xl: 1.4rem;
  --text-3xl: 1.75rem;
  --title-section: clamp(1.5rem, 3vw, 1.95rem);
  --title-section-sm: clamp(1.25rem, 2.5vw, 1.5rem);
  --title-criterion: clamp(1.35rem, 2.8vw, 1.6rem);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* H1 ẩn cho SEO (mobile + desktop), không hiển thị trên trang */
.seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ===== Banner: full width, ngoài container, ảnh cover (desktop) ===== */
.banner {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 2px 0 0;
  flex-shrink: 0;
}

.banner-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

/* Mobile: thay ảnh bằng H1 text để không vỡ/méo */

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem 0.75rem;
}

/* Desktop: thêm padding ngang cho đẹp */
@media (min-width: 769px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ===== Sections – giảm padding tối đa ===== */
.section {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  box-sizing: border-box;
}

.container > .intro.section { padding: 5px 0 0.2rem; }
.container > .quick-table.section {
  padding: 0.2rem 0 0.5rem;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type { border-bottom: 0; }

.section-title {
  font-family: var(--font-serif);
  font-size: var(--title-section);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.container > .quick-table .section-title {
  margin: 0 0 0.35rem;
  font-size: var(--title-section-sm);
}

/* ===== Intro ===== */
.intro-box {
  width: 100%;
  max-width: 100%;
  padding: 0 0 0.4rem;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.intro-text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-muted);
  width: 100%;
  box-sizing: border-box;
  text-align: justify;
}

.intro-text .intro-key {
  color: #1d4ed8;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.06em 0.2em;
  border-radius: 3px;
}

.suggest-note {
  margin: 0.75rem 0 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
  max-width: 100%;
}

.intro-ref {
  margin: 0 0 0.6rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}
.intro-ref a { color: var(--link); text-decoration: none; }
.intro-ref a:hover { text-decoration: underline; }

/* ===== Tables ===== */
.table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 0.35rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.criterion .table-wrapper {
  width: 70%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .criterion .table-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .criterion .data-table,
  .criterion .ref-table {
    width: 100%;
    table-layout: auto;
  }
  .criterion .data-table th,
  .criterion .data-table td,
  .criterion .ref-table th,
  .criterion .ref-table td {
    padding: 0.5rem 0.5rem;
    font-size: var(--text-xs);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
  }
}

/* ===== Bảng Quick Reference (5 sàn) ===== */
.quick-table-wrapper {
  margin: 0.25rem auto 0.35rem;
  max-width: min(500px, 100%);
  overflow: visible;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
}

.quick-ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  table-layout: fixed;
}

.quick-ref-table th,
.quick-ref-table td {
  padding: 0.2rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.quick-ref-table th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(90deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.quick-ref-table .col-no {
  width: 3rem;
  min-width: 3rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.quick-ref-table .col-broker {
  width: auto;
  border-right: 1px solid var(--border);
}

.quick-ref-table .col-ref {
  width: 11rem;
  min-width: 11rem;
  text-align: center;
  border-right: none;
}

.quick-ref-table thead .col-ref {
  background: linear-gradient(90deg, rgba(124,58,237,0.85) 0%, rgba(99,102,241,0.8) 100%);
  border-left: 1px solid rgba(255,255,255,0.15);
}

.quick-ref-table tbody .col-no {
  font-weight: 800;
  font-size: var(--text-lg);
  color: #fff;
  border: none;
  border-right: 1px solid var(--border);
  padding: 0.2rem 0.25rem;
}

.quick-ref-table tbody tr:nth-child(1) .col-no { background: #eab308; border-radius: 6px 6px 0 0; }
.quick-ref-table tbody tr:nth-child(2) .col-no { background: #3b82f6; }
.quick-ref-table tbody tr:nth-child(3) .col-no { background: #ef4444; }
.quick-ref-table tbody tr:nth-child(4) .col-no { background: #22c55e; }
.quick-ref-table tbody tr:nth-child(5) .col-no { background: #15803d; border-radius: 0 0 0 6px; }

.quick-ref-table tbody .col-broker {
  background: var(--bg-card);
  color: var(--text);
}

.quick-ref-table tbody .col-ref {
  background: var(--bg-elevated);
  color: var(--text);
}

.quick-ref-table tbody tr:hover .col-broker,
.quick-ref-table tbody tr:hover .col-ref {
  background: #f1f5f9;
}

.quick-ref-table tbody tr:last-child td {
  border-bottom: none;
}

/* Broker: logo + tên (cùng hàng, căn giữa dọc) */
.broker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-ref-table .broker-logo-table {
  width: 64px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px;
  box-sizing: border-box;
}

.quick-ref-table .broker-name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
}

.quick-ref-table .col-ref a {
  display: inline-block;
  color: #fff;
  background: linear-gradient(180deg, #2563eb 0%, #3b82f6 100%);
  padding: 0.28rem 0.5rem;
  font-weight: 600;
  font-size: 0.78rem;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.quick-ref-table .col-ref a:hover {
  background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Ô logo trong bảng – nền nhạt cho hài hòa nền trắng */
.broker-logo-table {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center center;
  vertical-align: middle;
  display: block;
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px;
  box-sizing: border-box;
}

.ref-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-lg);
}

.ref-table th,
.ref-table td,
.data-table th,
.data-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ref-table thead th,
.data-table thead th {
  background: var(--bg-elevated);
  font-weight: 600;
  color: var(--text);
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

.ref-table thead th.ref-header {
  background: #e0e7ff;
  color: #3730a3;
  border: none;
}

.ref-table tbody tr:last-child td,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.ref-table tbody tr:hover,
.data-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Official website – nền nổi bật (mặc định, cho bảng ref-table khác) */
.ref-table a,
.data-table a {
  display: inline-block;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
}

.ref-table a:hover,
.data-table a:hover {
  background: var(--accent-soft);
  color: #b45309;
}

.disclaimer-inline {
  margin: 0.5rem 0 0;
  font-size: var(--text-base);
  color: var(--text-muted);
  font-style: italic;
}

.container > .quick-table .disclaimer-inline {
  margin: 0.2rem 0 0;
  font-size: var(--text-sm);
}

.table-note {
  margin: 0.4rem 0 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* Bảng trong criteria & conclusion – chữ = intro, style lung linh nhiều màu */
.criterion .ref-table,
.criterion .data-table,
.conclusion .ref-table,
.conclusion .data-table {
  font-size: var(--text-sm);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.criterion .ref-table th,
.criterion .ref-table td,
.criterion .data-table th,
.criterion .data-table td,
.conclusion .ref-table th,
.conclusion .ref-table td {
  font-size: var(--text-sm);
}
.criterion .data-table thead th,
.criterion .ref-table thead th {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 0.5rem 0.75rem;
}
.criterion .data-table tbody tr:nth-child(odd) td { background: #f8fafc; }
.criterion .data-table tbody tr:nth-child(even) td { background: #fff; }
/* Màu 5 sàn đồng bộ bảng đầu: vàng, xanh, đỏ, xanh lá, xanh đậm – viền rộng 5px */
.criterion .data-table tbody tr:nth-child(1) td:first-child { border-left: 5px solid #eab308; }
.criterion .data-table tbody tr:nth-child(2) td:first-child { border-left: 5px solid #3b82f6; }
.criterion .data-table tbody tr:nth-child(3) td:first-child { border-left: 5px solid #ef4444; }
.criterion .data-table tbody tr:nth-child(4) td:first-child { border-left: 5px solid #22c55e; }
.criterion .data-table tbody tr:nth-child(5) td:first-child { border-left: 5px solid #15803d; }
.criterion .ref-table tbody tr:nth-child(1) td:first-child { border-left: 5px solid #eab308; }
.criterion .ref-table tbody tr:nth-child(2) td:first-child { border-left: 5px solid #3b82f6; }
.criterion .ref-table tbody tr:nth-child(3) td:first-child { border-left: 5px solid #ef4444; }
.criterion .ref-table tbody tr:nth-child(4) td:first-child { border-left: 5px solid #22c55e; }
.criterion .ref-table tbody tr:nth-child(5) td:first-child { border-left: 5px solid #15803d; }
.criterion .data-table tbody tr:hover td,
.criterion .ref-table tbody tr:hover td { background: #e0e7ff; }
.conclusion .ref-table thead th { background: linear-gradient(90deg, #0e7490 0%, #06b6d4 100%); color: #fff; }
.conclusion .ref-table tbody tr:nth-child(odd) td { background: #f8fafc; }
.conclusion .ref-table tbody tr:nth-child(even) td { background: #fff; }
.conclusion .ref-table tbody tr:nth-child(1) td:first-child { border-left: 5px solid #eab308; }
.conclusion .ref-table tbody tr:nth-child(2) td:first-child { border-left: 5px solid #3b82f6; }
.conclusion .ref-table tbody tr:nth-child(3) td:first-child { border-left: 5px solid #ef4444; }
.conclusion .ref-table tbody tr:nth-child(4) td:first-child { border-left: 5px solid #22c55e; }
.conclusion .ref-table tbody tr:nth-child(5) td:first-child { border-left: 5px solid #15803d; }

/* ===== Broker cards (Suggested) – nổi bật cho regis ===== */
.broker-selection {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem 0.5rem;
  margin-top: 0.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.broker-selection .section-title {
  margin-bottom: 0.6rem;
  padding: 0 0.25rem;
}

.broker-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.85rem;
  align-items: start;
  padding: 0.85rem 0.5rem;
  margin: 0 0 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.broker-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
}

.broker-card:last-child { border-bottom: 1px solid var(--border); margin-bottom: 0; }

/* Màu box logo/content lấy từ bảng 5 sàn: 1 vàng, 2 xanh, 3 đỏ, 4 xanh lá, 5 xanh đậm */
.broker-selection .broker-card:nth-child(2) .broker-sidebar { background: rgba(234, 179, 8, 0.08); border-left: 4px solid #eab308; }
.broker-selection .broker-card:nth-child(3) .broker-sidebar { background: rgba(59, 130, 246, 0.08); border-left: 4px solid #3b82f6; }
.broker-selection .broker-card:nth-child(4) .broker-sidebar { background: rgba(239, 68, 68, 0.08); border-left: 4px solid #ef4444; }
.broker-selection .broker-card:nth-child(5) .broker-sidebar { background: rgba(34, 197, 94, 0.08); border-left: 4px solid #22c55e; }
.broker-selection .broker-card:nth-child(6) .broker-sidebar { background: rgba(21, 128, 61, 0.08); border-left: 4px solid #15803d; }

.broker-selection .broker-card:nth-child(2) .broker-content { border-left-color: #eab308; background: rgba(255, 255, 255, 0.9); }
.broker-selection .broker-card:nth-child(3) .broker-content { border-left-color: #3b82f6; background: rgba(255, 255, 255, 0.9); }
.broker-selection .broker-card:nth-child(4) .broker-content { border-left-color: #ef4444; background: rgba(255, 255, 255, 0.9); }
.broker-selection .broker-card:nth-child(5) .broker-content { border-left-color: #22c55e; background: rgba(255, 255, 255, 0.9); }
.broker-selection .broker-card:nth-child(6) .broker-content { border-left-color: #15803d; background: rgba(255, 255, 255, 0.9); }

.broker-sidebar {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.broker-selection .broker-sidebar {
  padding: 0.5rem 0.75rem;
  gap: 0.08rem;
}

.broker-logo,
.broker-logo-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.broker-selection .broker-logo-img,
.broker-selection .broker-logo {
  margin-bottom: 0.12rem;
}

.broker-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text);
}

.broker-selection .broker-logo-img {
  object-fit: contain;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.broker-logo-exness { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.broker-logo-octa   { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.broker-logo-xm     { background: linear-gradient(135deg, #f59e0b, #d97706); }
.broker-logo-ic     { background: linear-gradient(135deg, #059669, #047857); }
.broker-logo-fbs    { background: linear-gradient(135deg, #dc2626, #b91c1c); }

.broker-name {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.broker-selection .broker-name {
  margin: 0 0 0.08rem;
}

.broker-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.broker-link:hover {
  background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.broker-content {
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #3b82f6;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}


.broker-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.broker-content .broker-key {
  color: #1d4ed8;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.08em 0.2em;
  border-radius: 3px;
}

/* ===== Criteria sections ===== */
.criteria-intro p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.criteria-intro p:last-child { margin-bottom: 0; }

.content-key {
  color: #1d4ed8;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.06em 0.2em;
  border-radius: 3px;
}

.criterion-title {
  font-family: var(--font-serif);
  font-size: var(--title-criterion);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.criterion-num {
  color: var(--accent);
  margin-right: 0.25rem;
}

.criterion-icon {
  display: inline;
  margin-right: 0.35rem;
  font-size: 1em;
  line-height: 1;
  vertical-align: middle;
}

.criterion p {
  margin: 0 0 0.4rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.criterion p:last-of-type { margin-bottom: 0; }

/* ===== Conclusion ===== – nội dung full container, không fix cứng */
.conclusion p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.conclusion .table-wrapper { margin-top: 0.75rem; }
.conclusion .quick-table-wrapper { margin-top: 0.75rem; }

/* ===== Footer Risk Disclaimer – 100% width, nền đen chữ trắng ===== */
.disclaimer {
  width: 100%;
  margin: 0;
  padding: 1rem 0;
  background: #0f0f0f;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.disclaimer-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.disclaimer-title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.disclaimer p {
  margin: 0;
  font-size: var(--text-sm);
  color: #fff;
  line-height: 1.55;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section { padding: 0.4rem 0; }
  .broker-card { padding: 0.5rem 0; }
  .banner-inner {
    min-height: 81px;
    height: 81px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .container > .intro.section { padding: 5px 0 0.15rem; }
  .container > .quick-table.section { padding: 0.15rem 0 0.4rem; }
  .quick-table-wrapper { max-width: 100%; }
  .quick-ref-table .col-ref {
    width: 8.5rem;
    min-width: 8.5rem;
  }
  .quick-ref-table .col-ref a {
    padding: 0.25rem 0.4rem;
    font-size: 0.72rem;
  }
  .quick-ref-table .broker-name { font-size: var(--text-lg); }
  .quick-ref-table .broker-logo-table { width: 56px; height: 36px; padding: 3px; }
  .quick-ref-table .col-broker .broker-item { white-space: nowrap; }
  .quick-ref-table .col-ref a { white-space: nowrap; }
  .intro-box { padding: 0 0 0.35rem 0; }
  .intro-text {
    font-size: var(--text-xs);
    line-height: 1.65;
    text-align: justify;
  }
  .broker-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.5rem 0;
  }
  .broker-sidebar {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.25rem;
    text-align: left;
  }
  .broker-logo, .broker-logo-img { margin-bottom: 0; }
  .broker-name { margin: 0; }
  .broker-link { align-self: center; margin-left: auto; }
  .ref-table th,
  .ref-table td,
  .data-table th,
  .data-table td {
    padding: 0.4rem 0.6rem;
    font-size: var(--text-base);
  }
  /* Cảnh báo rủi ro – mobile */
  .disclaimer {
    padding: 0.75rem 0;
    width: 100%;
  }
  .disclaimer-inner {
    padding: 0 1rem;
  }
  .disclaimer-title {
    font-size: var(--text-xs);
    margin-bottom: 0.35rem;
  }
  .disclaimer p {
    font-size: var(--text-xs);
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .broker-sidebar {
    flex-wrap: wrap;
  }
  .broker-link { width: 100%; margin-left: 0; margin-top: 0.5rem; }
}
