/* Unicode guide article: reuse the site's light surfaces and spacing tokens. */
.article-page { background: var(--page-bg); }
.article-shell { min-height: 100vh; }
.article-hero { border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #eef2ff 0%, var(--page-bg) 100%); }
.article-hero-inner { max-width: 900px; padding: 72px 0 54px; }
.article-hero h1 { max-width: 820px; margin: 12px 0 18px; color: var(--ink); font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.03em; }
.article-dek { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.18rem; line-height: 1.75; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; color: var(--muted-light); font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.article-layout { display: flex; justify-content: center; }
.article-main { width: min(900px, 100%); padding: 48px 0 84px; }
.article-figure { margin: 0 0 36px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.article-figure img { display: block; width: 100%; height: auto; }
.article-figure figcaption { padding: 12px 18px 15px; color: var(--muted-light); font-size: 0.88rem; }
.article-figure-inline { max-width: 760px; margin: 28px auto 10px; }
.article-intro p, .article-section p, .article-takeaway p, .article-related-card small, .article-sources li span { color: var(--muted); font-size: 1.04rem; line-height: 1.82; }
.article-intro p:first-child { color: var(--ink); font-size: 1.2rem; font-weight: 600; }
.article-takeaway { margin: 34px 0 46px; padding: 26px 30px; border: 1px solid #a5b4fc; border-left: 5px solid var(--primary); border-radius: var(--radius-md); background: #eef2ff; }
.article-takeaway-label { margin: 0 0 8px; color: var(--primary-hover) !important; font-family: var(--mono); font-size: 0.75rem !important; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.article-takeaway h2, .article-section h2, .article-related h2, .article-sources h2 { margin: 0 0 16px; color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -0.02em; }
.article-section { margin-top: 54px; scroll-margin-top: 100px; }
.article-section .section-label { margin-bottom: 10px; }
.article-list { margin: 20px 0 22px; padding: 0 0 0 24px; }
.article-list li { margin: 10px 0; padding-left: 6px; color: var(--muted); font-size: 1.03rem; line-height: 1.7; }
.article-note { margin: 22px 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-muted); color: var(--ink) !important; font-size: 0.98rem !important; }
.article-table-wrap { overflow-x: auto; margin-top: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.article-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.94rem; }
.article-table caption { padding: 14px 16px 0; color: var(--muted-light); text-align: left; }
.article-table th, .article-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--muted); line-height: 1.55; text-align: left; vertical-align: top; }
.article-table thead th { background: var(--surface-muted); color: var(--ink); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.article-table tbody th { width: 24%; color: var(--ink); font-weight: 750; }
.article-table tbody tr:last-child th, .article-table tbody tr:last-child td { border-bottom: 0; }
.article-steps { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: article-step; }
.article-steps li { display: grid; grid-template-columns: minmax(150px, 0.32fr) 1fr; gap: 18px; padding: 17px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.article-steps li::before { counter-increment: article-step; content: counter(article-step, decimal-leading-zero); grid-row: span 2; color: var(--primary); font-family: var(--mono); font-size: 1.2rem; font-weight: 800; }
.article-steps strong { color: var(--ink); font-size: 1.03rem; }
.article-steps span { color: var(--muted); line-height: 1.7; }
.article-faq-item { margin-top: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.article-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 18px; color: var(--ink); cursor: pointer; font-weight: 750; list-style: none; }
.article-faq-item summary::-webkit-details-marker { display: none; }
.article-faq-item summary span { color: var(--primary); font-size: 1.35rem; line-height: 1; }
.article-faq-item p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.article-related { margin-top: 58px; padding-top: 42px; border-top: 1px solid var(--border); }
.article-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-related-card { display: flex; min-height: 190px; flex-direction: column; gap: 9px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.article-related-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.article-related-card span { color: var(--primary-hover); font-family: var(--mono); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.article-related-card strong { font-size: 1.08rem; line-height: 1.35; }
.article-related-card small { margin-top: auto; font-size: 0.9rem; line-height: 1.55; }
.article-sources { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.article-sources h2 { font-size: 1.35rem; }
.article-sources ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.article-sources li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.article-sources a { color: var(--primary-hover); font-weight: 700; }
.article-sources li span { font-size: 0.88rem; }
@media (max-width: 760px) {
  .article-hero-inner { padding: 52px 0 38px; }
  .article-main { padding-top: 30px; }
  .article-related-grid { grid-template-columns: 1fr; }
  .article-steps li { grid-template-columns: 1fr; gap: 7px; }
  .article-steps li::before { grid-row: auto; }
}
