/* Free affiliate tools area (inc/free-tools.php): uses the site's Bootstrap; only what Bootstrap does not cover. */
.a4b-ft .a4b-ft-h1 { font-size: 2.1rem; font-weight: 700; margin-bottom: .75rem; }
.a4b-ft .a4b-ft-crumbs { background: transparent; padding: 0; margin-bottom: 1.25rem; font-size: .9rem; }
.a4b-ft .a4b-ft-muted { color: #64748b; font-size: .92rem; }
.a4b-ft .a4b-ft-badges .badge { font-weight: 500; margin-right: .25rem; }
.a4b-ft .a4b-ft-box { border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.5rem; background: #f8fafc; }
.a4b-ft .a4b-ft-card { border-radius: 12px; }
.a4b-ft .a4b-ft-break { word-break: break-all; }
.a4b-ft .a4b-ft-code { background: #0f172a; color: #e2e8f0; padding: .75rem 1rem; border-radius: 8px; white-space: pre-wrap; word-break: break-all; font-size: .85rem; }
.a4b-ft .a4b-ft-code code { color: inherit; }
.a4b-ft .a4b-ft-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.a4b-ft .a4b-ft-form .form-check-label { font-size: .95rem; }
@media (max-width: 575px) { .a4b-ft .a4b-ft-h1 { font-size: 1.6rem; } .a4b-ft .a4b-ft-box { padding: 1rem; } }
/* In-page anchors land below the sticky site header (live demo standard, 28.11.2026). */
.a4b-ft [id] { scroll-margin-top: 110px; }
/* The demo page: the demo as a product stage, the "Try this" guide beside it. */
.a4b-ft-demo-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .a4b-ft-demo-grid { grid-template-columns: minmax(0, 1fr) 280px; } .a4b-ft .a4b-ft-try { position: sticky; top: 110px; align-self: start; } }
.a4b-ft .a4b-ft-stage { border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); min-width: 0; }
.a4b-ft .a4b-ft-stage-bar { display: flex; align-items: center; gap: .75rem; background: #1e293b; color: #e2e8f0; padding: .55rem .9rem; font-weight: 600; font-size: .9rem; }
.a4b-ft .a4b-ft-dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #f87171; margin-right: 5px; }
.a4b-ft .a4b-ft-dots i:nth-child(2) { background: #fbbf24; }
.a4b-ft .a4b-ft-dots i:nth-child(3) { background: #34d399; }
.a4b-ft .a4b-ft-tabs { display: flex; border-bottom: 1px solid #e2e8f0; background: #f1f5f9; }
.a4b-ft .a4b-ft-tabs button { flex: 1; border: 0; background: transparent; padding: .65rem .5rem; font-weight: 600; color: #475569; border-bottom: 3px solid transparent; }
.a4b-ft .a4b-ft-tabs button[aria-selected="true"] { color: #0f172a; border-bottom-color: #2563eb; background: #fff; }
.a4b-ft .a4b-ft-panes { padding: 1rem; }
.a4b-ft .a4b-ft-pane { min-width: 0; }
.a4b-ft .a4b-ft-pane-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #64748b; margin: 0 0 .5rem; font-weight: 700; }
.a4b-ft .a4b-ft-stage[data-view="owner"] [data-pane="visitor"], .a4b-ft .a4b-ft-stage[data-view="visitor"] [data-pane="owner"] { display: none; }
@media (min-width: 1400px) { .a4b-ft .a4b-ft-stage .a4b-ft-tabs { display: none; } .a4b-ft .a4b-ft-panes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; } .a4b-ft .a4b-ft-stage [data-pane] { display: block !important; } }
.a4b-ft .a4b-ft-try ol { padding-left: 1.2rem; }
.a4b-ft .a4b-ft-try li { margin-bottom: .45rem; }
.a4b-ft .a4b-ft-next { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
/* Site owner view: looks like the WordPress admin screen the plugin adds. */
.a4b-ft .a4b-ft-wp { border: 1px solid #c3c4c7; background: #f0f0f1; border-radius: 6px; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.a4b-ft .a4b-ft-wp-bar { background: #1d2327; color: #f0f0f1; font-size: .8rem; padding: .4rem .75rem; }
.a4b-ft .a4b-ft-wp-body { padding: .9rem; }
.a4b-ft .a4b-ft-wp-h { font-size: 1.2rem; font-weight: 400; color: #1d2327; margin-bottom: .75rem; }
.a4b-ft .a4b-ft-wp-notice { background: #fff; border-left: 4px solid #00a32a; padding: .5rem .75rem; margin-bottom: .75rem; font-size: .9rem; }
.a4b-ft .a4b-ft-wp-notice.is-warning { border-left-color: #dba617; }
.a4b-ft .a4b-ft-wp-table { background: #fff; font-size: .88rem; }
.a4b-ft .a4b-ft-wp .btn-primary { background: #2271b1; border-color: #2271b1; }
/* Visitor view: a page of the site. */
.a4b-ft .a4b-ft-site { border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; background: #fff; }
.a4b-ft .a4b-ft-site-bar { background: #e2e8f0; color: #334155; font-size: .8rem; padding: .4rem .75rem; word-break: break-all; }
.a4b-ft .a4b-ft-site-body { padding: .9rem; }
.a4b-ft .a4b-ft-site-a { color: #2563eb; text-decoration: underline; font-weight: 600; }
.a4b-ft .a4b-ft-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.a4b-ft .a4b-ft-stats div { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: .5rem; text-align: center; font-size: .8rem; color: #64748b; }
.a4b-ft .a4b-ft-stats b { display: block; font-size: 1.1rem; color: #0f172a; }
@media (max-width: 575px) { .a4b-ft .a4b-ft-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .a4b-ft .a4b-ft-panes { padding: .6rem; } }
/* The home page section (28.11.2026): the cards sit in the home page's own section; only the link under them is ours. */
#hp-free-tools .a4b-ft-home-all { text-align: center; margin: 2rem 0 0; }
#hp-free-tools .card-body h3 a { text-decoration: none; }
/* A wide table inside a demo view scrolls sideways inside its own view on a phone; it is never cut off (28.11.2026). */
.a4b-ft .a4b-ft-pane { overflow-x: auto; -webkit-overflow-scrolling: touch; }
