/* 2FA Code Pro Refresh — small additions on top of the parent styles. */

/* Tool pages: one plain line instead of the badge row. */
.facr-tool-note { display:flex; flex-wrap:wrap; align-items:center; gap:6px; max-width:52ch; margin:0 0 8px; font-size:14px; line-height:1.5; color:inherit; opacity:.88; }
.facr-tool-note svg { flex:none; }
.facr-tool-note a { color:inherit; text-decoration:underline; text-underline-offset:2px; }

/* The reading section no longer has a side label column. */
.reading-section.facr-reading { display:block; }
.reading-section.facr-reading .prose { max-width:760px; }

/* Link lists replace the icon card grids. */
.facr-links { list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.facr-links li { padding:14px 0; border-top:1px solid var(--ref-line, #dfe6e3); display:grid; gap:4px; }
.facr-links li:last-child { border-bottom:1px solid var(--ref-line, #dfe6e3); }
.facr-links a { font-weight:600; font-size:17px; color:var(--ref-ink, #102a24); text-decoration:none; }
.facr-links a:hover, .facr-links a:focus-visible { text-decoration:underline; text-underline-offset:3px; }
.facr-links span { font-size:15px; line-height:1.5; color:var(--ref-muted, #4b5a55); max-width:70ch; }
.facr-links-hub { margin-bottom:28px; max-width:820px; }

.facr-links-inline { grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:0 28px; }
.facr-links-inline li:last-child { border-bottom:0; }

.facr-others { padding-block:24px 8px; }
.facr-others h2, .facr-related h2 { font-size:22px; margin:0 0 12px; }
.facr-others > p { margin:14px 0 0; }
.facr-others > p a { font-weight:600; }

.facr-related { max-width:820px; }

/* Byline and aside without kicker labels or slogans. */
.facr-byline { color:var(--ref-muted, #4b5a55); }
.facr-byline a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
.facr-aside h2 { font-size:20px; margin:0 0 8px; }
.facr-aside h3 { font-size:17px; margin:22px 0 6px; }
.facr-aside p { font-size:15px; line-height:1.55; }

@media (max-width: 720px) {
  .facr-links a { font-size:16px; }
  .facr-links-inline { grid-template-columns:1fr; }
}

/* Dark scheme: the parent theme toggles a data attribute or class; keep text readable either way. */
:root[data-theme="dark"] .facr-links a, .theme-dark .facr-links a { color:inherit; }

/* On phones the parent paints the tool hero dark; match the description colour there. */
@media (max-width: 767px) {
  .reference-grid > .hero .facr-tool-note { color:#e2f3ed; opacity:1; }
}
