:root {
  --ink: #18294e;
  --ink-2: #3d4a63;
  --muted: #5f687c;
  --line: #e2e6ee;
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --accent: #0f7b5f;
  --accent-2: #e6f4ef;
  --on-accent: #ffffff;
  --field-bg: #ffffff;
  --field-line: #c9d0dd;
  --card-bg: #ffffff;
  --error: #a3261b;
  --bad: #b42318;
  --bad-2: #fdecec;
  --focus: rgba(15, 123, 95, 0.25);
  --shadow: rgba(24, 41, 78, 0.06);
  color-scheme: light;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Dark theme: follows the device or browser setting, unless the visitor picks one with the toggle
   (stored as data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e6eaf2;
    --ink-2: #c3cad8;
    --muted: #9aa4b8;
    --line: #2a3346;
    --bg: #0f1420;
    --bg-2: #161d2c;
    --accent: #3ccf9f;
    --accent-2: #12352b;
    --on-accent: #062a1f;
    --field-bg: #121a29;
    --field-line: #3a4560;
    --card-bg: #141b2a;
    --error: #ff8a7a;
  --bad: #ff8f80;
  --bad-2: #3a1c1f;
    --focus: rgba(60, 207, 159, 0.35);
    --shadow: rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e6eaf2;
  --ink-2: #c3cad8;
  --muted: #9aa4b8;
  --line: #2a3346;
  --bg: #0f1420;
  --bg-2: #161d2c;
  --accent: #3ccf9f;
  --accent-2: #12352b;
  --on-accent: #062a1f;
  --field-bg: #121a29;
  --field-line: #3a4560;
  --card-bg: #141b2a;
  --error: #ff8a7a;
  --bad: #ff8f80;
  --bad-2: #3a1c1f;
  --focus: rgba(60, 207, 159, 0.35);
  --shadow: rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 17px; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); font-size: 14px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo__text span { color: var(--accent); }
.logo__mark { display: block; flex: none; width: 30px; height: 30px; }
.site-header nav { display: flex; gap: 10px; flex-wrap: wrap; }
.site-header nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.site-header nav a:hover { color: var(--accent); }
.site-header nav a[aria-current] { color: var(--accent); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; flex: none; }
.icon-btn:hover { color: var(--accent); border-color: var(--accent); filter: none; }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
:root[data-theme-current="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme-current="dark"] .theme-toggle .icon-moon { display: none; }
.site-footer { margin-top: 64px; padding: 28px 0 40px; background: var(--bg-2); border-top: 1px solid var(--line); font-size: 15px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin: 8px 0; }

/* Type */
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 20px 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 1.25; margin: 36px 0 10px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
.lede { font-size: 19px; color: var(--ink-2); margin: 0 0 6px; max-width: 760px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

.crumbs { font-size: 14px; color: var(--muted); margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc > *, .content > * { min-width: 0; }
.calc__form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.4; }
.field--check label { display: flex; align-items: center; gap: 10px; margin-bottom: 0; cursor: pointer; min-height: 44px; }
.field--check input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); cursor: pointer; }
.field[hidden] { display: none; }
select, input[type="text"], input[type="email"] { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--field-bg); color: var(--ink); }
select:focus, input:focus { outline: 3px solid var(--focus); border-color: var(--accent); }
.affix { display: flex; align-items: center; background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 8px; }
.affix:focus-within { outline: 3px solid var(--focus); border-color: var(--accent); }
.affix span { padding: 0 4px 0 12px; color: var(--muted); white-space: nowrap; }
.affix--pct span { padding: 0 12px 0 4px; }
.affix--pct input { padding-left: 12px; }
.affix input { border: 0; outline: none; padding-left: 4px; }
.affix input:focus { outline: none; }
.calc__actions { display: flex; gap: 12px; align-items: center; }
button { font: inherit; font-weight: 600; font-size: 16px; padding: 10px 18px; border-radius: 8px; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; }
button:hover { filter: brightness(1.08); }
button.link { background: none; color: var(--accent); padding: 10px 4px; text-decoration: underline; }
.calc__result { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-height: 320px; scroll-margin-top: 12px; }
.result--error { color: var(--error); }
.result-sentence { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.5; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--bg-2); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.stat--big { grid-column: 1 / -1; background: var(--accent-2); }
.stat__label { font-size: 14px; color: var(--ink-2); }
.stat__value { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat--big .stat__value { font-size: 36px; color: var(--accent); }
/* Good results stay green; bad ones (a negative net worth, a debt that never clears) are red; neutral is plain text on grey. */
.stat--big.stat--bad { background: var(--bad-2); }
.stat--big.stat--bad .stat__value { color: var(--bad); }
.stat--big.stat--neutral { background: var(--bg-2); }
.stat--big.stat--neutral .stat__value { color: var(--ink); }
/* Smaller boxes use the same colours; grey stays the default. */
.stat--good:not(.stat--big) { background: var(--accent-2); }
.stat--good:not(.stat--big) .stat__value { color: var(--accent); }
.stat--bad:not(.stat--big) { background: var(--bad-2); }
.stat--bad:not(.stat--big) .stat__value { color: var(--bad); }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
td { text-align: right; white-space: nowrap; }
.schedule td { text-align: right; }
.schedule thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.schedule thead th:not(:first-child) { text-align: right; }
.steps summary { cursor: pointer; font-weight: 600; margin-bottom: 6px; }
.steps th { font-weight: 500; }
.steps th small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.steps__total th, .steps__total td { font-weight: 700; border-top: 2px solid var(--ink); }
.notes { margin: 16px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.notes li { margin-bottom: 6px; }
.disclaimer-line { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* Content */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin-top: 24px; }
.prose { max-width: 720px; }
.prose.narrow { margin: 0 auto; }
.prose li { margin-bottom: 6px; }
.sidebar { display: flex; flex-direction: column; gap: 20px; padding-top: 36px; }
.sidebar h2 { font-size: 17px; margin: 0 0 10px; }
.related { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }

.sources { font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 18px 0; }
.related .card { margin-bottom: 10px; }
.card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--card-bg); }
.card:hover { border-color: var(--accent); box-shadow: 0 2px 10px var(--shadow); }
.card strong { color: var(--accent); }
.card span { color: var(--ink-2); font-size: 15px; }
.hero { padding: 24px 0 8px; }
.hub-section h2 a { color: var(--ink); text-decoration: none; }
.hub-section h2 a:hover { color: var(--accent); }
.hero h1 { max-width: 820px; }
.why { margin-top: 24px; }
.ad { margin: 24px 0; min-height: 120px; }

@media (max-width: 860px) {
  .calc, .content { grid-template-columns: minmax(0, 1fr); }
  .sidebar { padding-top: 0; }
  .calc__result { min-height: 0; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 14px; }
}
/* Below the width where the logo, every nav link and the theme button fit on one line,
   the nav moves to its own row under the logo. */
@media (max-width: 1150px) {
  .site-header nav { order: 3; flex-basis: 100%; padding-bottom: 10px; }
  .header-actions { order: 2; margin-left: auto; }
}

/* Tables inside articles: labels read left, figures right. */
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 16px; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th:first-child, .prose td:first-child { text-align: left; white-space: normal; }
.prose th { text-align: right; font-size: 14px; color: var(--muted); font-weight: 600; }
.prose .table-wrap { margin: 16px 0 20px; }
.prose .table-wrap table { margin: 0; }
.prose table.text td, .prose table.text th { text-align: left; white-space: normal; }
.prose table.text td { min-width: 9ch; }

.situations .cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Site search */
.site-search { position: relative; max-width: 680px; margin: 18px 0 8px; }
.site-search__box { display: flex; align-items: center; gap: 8px; border: 1px solid var(--field-line); border-radius: 12px; background: var(--field-bg); padding: 4px 4px 4px 14px; }
.site-search__box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-2); }
.site-search__box > svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.site-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; padding: 10px 2px; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.site-search__box button { padding: 9px 18px; flex: none; }
.site-search__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card-bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px var(--shadow); }
.site-search__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.site-search__list a strong { font-weight: 600; }
.site-search__list a span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.site-search__list li[aria-selected="true"] a, .site-search__list a:hover { background: var(--accent-2); }
.site-search__all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.site-search__all a { color: var(--accent); font-weight: 600; font-size: 15px; }
.search-results { list-style: none; padding: 0; margin: 8px 0 24px; max-width: 760px; }
.search-results li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-results a { font-weight: 600; font-size: 18px; }
.search-results .kind { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.search-results p { margin: 4px 0 0; color: var(--ink-2); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; padding: 0; list-style: none; }
.search-chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; background: var(--card-bg); }
.search-chips a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 520px) {
  .site-search__box button { padding: 9px 12px; }
  .site-search input[type="search"] { font-size: 16px; }
}

/* Phone menu: the nav collapses behind the Menu button (only when the script that opens it runs). */
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-grid; }
  .js .site-header .main-nav { display: none; }
  .js .site-header .main-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 0 0 12px; }
  .js .site-header .main-nav.is-open a { padding: 11px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 400px) {
  .site-header .wrap { gap: 10px; padding: 0 16px; }
  .logo { font-size: 18px; gap: 7px; }
  .logo__mark { width: 28px; height: 28px; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 36px; height: 36px; }
}
@media (max-width: 350px) {
  .site-header .wrap { gap: 8px; padding: 0 12px; }
  .logo { font-size: 17px; gap: 6px; }
  .logo__mark { width: 26px; height: 26px; }
  .header-actions { gap: 4px; }
  .icon-btn { width: 34px; height: 34px; }
}

/* Pinned result bar (phones): shown by app.js while the result is below the screen. */
.result-bar { display: none; }
@media (max-width: 860px) {
  .result-bar.is-shown:not(:empty) {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--card-bg); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px var(--shadow);
    color: var(--ink); text-decoration: none; animation: bar-in .18s ease-out;
  }
  .result-bar__text { display: flex; flex-direction: column; min-width: 0; }
  .result-bar__label { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .result-bar__value { font-size: 22px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.2; }
  .result-bar__value--bad { color: var(--bad); }
  .result-bar__value--neutral { color: var(--ink); }
  .result-bar__more { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 15px; font-weight: 600; color: var(--accent); }
  .result-bar__more svg { width: 18px; height: 18px; }
}
@keyframes bar-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .result-bar { animation: none !important; } }

/* Home page */

.field[hidden] { display: none !important; }

@media (max-width: 860px) {
  /* The question cards become a compact list of titles. */
  .situations .cards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .situations .card { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; }
  .situations .card span { display: none; }
  .situations .card::after { content: "›"; color: var(--muted); font-size: 22px; line-height: 1; }

  
  
  
  
  
  
  
  
}

.prose code { overflow-wrap: anywhere; }

/* About page: the hub list */
.about-hubs { columns: 2 260px; column-gap: 28px; }
.about-hubs li { break-inside: avoid; }

.follow { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 20px 0; font-size: 15px; }
.follow span { color: var(--muted); }
.follow { margin: 8px 0; }

/* ---------- MoneyPlannerHQ ---------- */
/* Logo: navy square with white letters on light pages; white square with navy letters on dark pages
   (the brand kit's "on-dark" icon). The Q's tail is bright green on navy and brand green on white. */
:root { --mark-tile: #18294e; --mark-letters: #ffffff; --mark-tail: #3ccf9f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --mark-tile: #ffffff; --mark-letters: #18294e; --mark-tail: #0f7b5f; }
}
:root[data-theme="dark"] { --mark-tile: #ffffff; --mark-letters: #18294e; --mark-tail: #0f7b5f; }
.logo__tile { fill: var(--mark-tile); }
.logo__letters { fill: var(--mark-letters); }
.logo__tail { fill: var(--mark-tail); stroke: var(--mark-tile); }

/* Boxed groups of inputs ("Debt 1", "What you own"). Half-width fields sit two to a row. */
.field-group { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 16px; padding: 12px 14px 0; min-width: 0; background: var(--card-bg); }
.field-group[hidden] { display: none; }
.field-group legend { font-weight: 700; font-size: 15px; padding: 0 6px; }
.field-group__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.field-group__grid > .field { grid-column: 1 / -1; margin-bottom: 12px; }
.field-group__grid > .field--half { grid-column: auto; }
.field-group__grid > .field--half label { font-size: 14px; }

.family-line { margin: 8px 0; }
.topics .cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.topic { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-bg); }
.topic h3 { margin: 0 0 4px; font-size: 18px; }
.topic h3 a { color: var(--ink); text-decoration: none; }
.topic h3 a:hover { color: var(--accent); }
.topic p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.topic ul { margin: 0; padding: 0; list-style: none; }
.topic li a { display: block; padding: 5px 0; color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }
.topic li a:hover { text-decoration: underline; }

/* Guides */
.takeaways { margin: 18px 0 8px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--card-bg); }
.prose .takeaways h2 { margin: 0 0 8px; font-size: 17px; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li:last-child { margin-bottom: 0; }
.guide-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 24px; }
.guide-list a { display: block; padding: 6px 0; color: var(--accent); text-decoration: none; font-weight: 600; }
.guide-list a:hover { text-decoration: underline; }

/* Feedback: "Was this page helpful?" above the footer, and the report form (src/site/feedback.js). */
.fb { margin-top: 56px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 15px; }
.fb + .site-footer { margin-top: 0; }
.fb .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.fb p { margin: 0; }
.fb__q { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.fb__q button { font-size: 14px; padding: 6px 16px; background: none; color: var(--accent); border: 1px solid var(--accent); }
.fb__q button:hover { background: var(--accent-2); filter: none; }
.fb__r { color: var(--muted); }
.fb__q[hidden] { display: none; }
.fb-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; background: var(--card-bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.fb-dialog::backdrop { background: rgba(10, 16, 30, 0.55); }
.fb-dialog h2 { margin: 0 0 14px; font-size: 21px; }
.fb-form { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.fb-types { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fb-types legend, .fb-field { font-weight: 600; font-size: 15px; padding: 0; margin: 6px 0 2px; }
.fb-types label, .fb-check { display: flex; align-items: baseline; gap: 7px; font-size: 15px; font-weight: 400; cursor: pointer; }
.fb-check { margin: 6px 0; }
.fb-types input, .fb-check input { width: auto; margin: 0; flex: none; }
.fb-opt { font-weight: 400; color: var(--muted); }
.fb-form textarea, .fb-form input[type="email"] { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--field-bg); color: var(--ink); }
.fb-form textarea { resize: vertical; min-height: 110px; }
.fb-form textarea:focus, .fb-form input[type="email"]:focus { outline: 3px solid var(--focus); border-color: var(--accent); }
.fb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-ts:empty { display: none; }
.fb-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.fb-msg { color: var(--error); font-size: 15px; margin: 6px 0 0; }
.fb-msg:empty { display: none; }
.fb-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.fb-thanks p { margin: 0 0 14px; }
@media (max-width: 640px) { .fb .wrap { flex-direction: column; align-items: flex-start; } }
@media print { .fb, .fb-dialog { display: none; } }
