/* ==========================================================================
   Foundations Library (FL) — fl-core.css
   Shared Palette, 2-Line Unified Topbar, Docked 365DBR Reader & Print Base
   ========================================================================== */
:root {
  --bg: #fdfbf7;
  --card: #ffffff;
  --text: #1e242b;
  --muted: #68737d;
  --accent: #5c4028;
  --accent-bg: #f5efe6;
  --border: #e6dfd3;
  --gold: #b8860b;
  --crimson: #8b2626;
  --lab-bg: #fcfaf5;

  /* Sprint 5: Classy Library-Palette Link States (WCAG-AA on #fdfbf7) */
  --link: #7a2020;
  --link-visited: #5c4332;
  --link-hover: #9e2a2b;
  --link-active: #3d1414;

  /* Overridable Unified Topbar Variables (Defaulted to Book 1 "God" Branding) */
  --fl-topbar-bg: var(--accent);
  --fl-topbar-row2-bg: rgba(0, 0, 0, 0.18);
  --fl-topbar-text: #fdfbf7;
  --fl-topbar-link: #f5efe6;
  --fl-topbar-highlight: #ffd166;
  --fl-topbar-border: var(--gold);
  --fl-topbar-font: 'Cinzel', 'Georgia', serif;
  --fl-topbar-height: 76px;

  /* Mapped Aliases for Book 2 Compatibility */
  --fl-bg: var(--bg);
  --fl-surface: var(--card);
  --fl-ink: var(--text);
  --fl-muted: var(--muted);
  --fl-accent: var(--accent);
  --fl-gold: var(--gold);
  --fl-crimson: var(--crimson);
  --fl-border: var(--border);
  --fl-lab-bg: var(--lab-bg);
  --fl-link: var(--link);
  --fl-link-visited: var(--link-visited);
  --fl-link-hover: var(--link-hover);
  --fl-link-active: var(--link-active);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--fl-topbar-height, 76px) + 14px);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
}

/* Zero width/padding transition on content wrappers so synchronous scroll-lock works in 0ms */
.container,
.fl-layout,
.hub-container {
  transition: none;
}

/* Responsive Label Swapping (.fl-lbl-full vs .fl-lbl-short) */
.fl-lbl-short { display: none; }
.fl-lbl-full { display: inline; }

/* ==========================================================================
   Sprint 5: Classy Library-Palette Link States (Prose, External & Scripture)
   Scoped to exclude .fl-topbar navigation and .fl-btn buttons
   ========================================================================== */
a:where(:not(.fl-btn):not(.fl-brand-title):not(.fl-nav-link):not(.fl-dbr-link):not(.fl-active-book)) {
  color: var(--link);
  text-decoration-color: rgba(122, 32, 32, 0.42);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease;
}

a:where(:not(.fl-btn):not(.fl-brand-title):not(.fl-nav-link):not(.fl-dbr-link):not(.fl-active-book)):visited {
  color: var(--link-visited);
  text-decoration-color: rgba(92, 67, 50, 0.42);
}

a:where(:not(.fl-btn):not(.fl-brand-title):not(.fl-nav-link):not(.fl-dbr-link):not(.fl-active-book)):hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

a:where(:not(.fl-btn):not(.fl-brand-title):not(.fl-nav-link):not(.fl-dbr-link):not(.fl-active-book)):active {
  color: var(--link-active);
}

a:focus-visible,
.fl-btn:focus-visible,
.fl-toc-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.fl-ext-link,
.fl-ext-link:link {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(122, 32, 32, 0.45);
  text-underline-offset: 3px;
}

.fl-ext-link:visited {
  color: var(--link-visited);
  text-decoration-color: rgba(92, 67, 50, 0.45);
}

.fl-ext-link:hover {
  color: var(--link-hover);
  text-decoration-color: var(--gold);
}

.fl-ext-link:active {
  color: var(--link-active);
}

/* Unified 2-Line Floating Topbar Across All Foundations Library Pages */
.fl-topbar {
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
  background: var(--fl-topbar-bg);
  color: var(--fl-topbar-text);
  border-bottom: 3px solid var(--fl-topbar-border);
  font-family: var(--fl-topbar-font);
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* Line 1: Platform Brand & Right-Aligned Actions */
.fl-topbar-row1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 7px 20px;
}

/* Line 2: Bookshelf Bar (TOC Toggle + Active Book + Sibling Links) */
.fl-topbar-row2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 5px 20px 6px;
  background: var(--fl-topbar-row2-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
}

.fl-toc-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 2px 9px;
  font-size: 12px;
}
.fl-toc-toggle:hover {
  background: rgba(255, 255, 255, 0.26);
}

.fl-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fl-brand-title,
.fl-brand-title:hover,
.fl-brand-title:focus,
.fl-brand-title:active {
  font-weight: 700;
  color: var(--fl-topbar-text);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.fl-brand-title:hover { opacity: 0.88; }

.fl-topbar-sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.fl-nav-link,
.fl-nav-link:hover,
.fl-nav-link:focus,
.fl-nav-link:active {
  color: var(--fl-topbar-link);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.fl-nav-link:hover { color: #fff; }

.fl-dbr-link,
.fl-dbr-link:hover,
.fl-dbr-link:focus,
.fl-dbr-link:active {
  color: var(--fl-topbar-highlight);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fl-dbr-link:hover { color: #fff; }

.fl-active-book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid var(--fl-topbar-border);
  color: #fff;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.fl-active-book:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.fl-cobrand-banner {
  display: none;
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  color: #fff;
}

/* Always Align Action Buttons to the Right, Even When Line-Wrapping */
.fl-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

/* Shared Buttons (-1px Reduced Size in Topbar) */
.fl-btn {
  cursor: pointer;
  font-family: var(--fl-topbar-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.fl-btn-primary { background: var(--accent); color: #fff; }
.fl-btn-primary:hover { opacity: 0.92; }
.fl-btn-light { background: var(--bg); color: var(--accent); border-color: var(--border); }
.fl-btn-light:hover { background: var(--accent-bg); }
.fl-btn-support,
.fl-btn-coffee {
  background: #fff8eb;
  color: #5c4028;
  border: 1px solid var(--gold);
}
.fl-btn-support:hover,
.fl-btn-coffee:hover {
  background: var(--gold);
  color: #fff;
}
.fl-btn-outline { background: transparent; border-color: var(--muted); color: var(--muted); }
.fl-btn-outline:hover { border-color: var(--text); color: var(--text); }

/* Voluntary Support / LSB Separation Footer Box (Strictly Outside #bible-drawer) */
.fl-support-footer {
  max-width: 880px;
  margin: 36px auto 16px;
  padding: 16px 20px;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fl-support-text {
  flex: 1 1 420px;
  margin: 0;
  color: var(--muted);
}
.fl-support-text strong { color: var(--text); }

/* Shared 450px Slide-Out 365DBR Scripture Reader (Docked Below .fl-topbar) */
#bible-drawer {
  position: fixed;
  top: var(--fl-topbar-height, 76px);
  right: -500px;
  width: 450px;
  max-width: 100vw;
  height: calc(100vh - var(--fl-topbar-height, 76px));
  height: calc(100dvh - var(--fl-topbar-height, 76px));
  background: var(--card);
  box-shadow: -4px 4px 24px rgba(0, 0, 0, 0.14);
  border-left: 1px solid var(--border);
  z-index: 1003;
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
}
#bible-drawer.open { right: 0; }

.drawer-header {
  flex-shrink: 0;
  padding: 9px 14px;
  background: var(--accent);
  border-bottom: 2px solid var(--gold);
  color: #fff;
  font-family: var(--fl-topbar-font);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

#drawer-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.drawer-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-actions a {
  color: #ffd166;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.drawer-actions a:hover { text-decoration: underline; }

.drawer-close {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 4px;
  padding: 2px 9px;
  cursor: pointer;
  font-size: 0.8rem;
  white-space: nowrap;
}
.drawer-close:hover { background: rgba(0, 0, 0, 0.32); }

#bible-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: var(--bg);
}

/* Desktop Push Applies ONLY to Content Container (Never Crushes Topbar) */
@media (min-width: 901px) {
  body.drawer-open .container,
  body.drawer-open .fl-layout,
  body.drawer-open .hub-container {
    padding-right: 466px;
  }
}
@media (max-width: 900px) {
  #bible-drawer { width: 100vw; right: -105vw; }
}

/* Hide Long Book Subtitles Below 1400px */
@media (max-width: 1400px) {
  .book-card-sub,
  .fl-book-sub {
    display: none;
  }
}

/* Mobile & Landscape Phone View (<= 1100px OR max-height: 500px):
   Compact Labels + Fixed Bottom Action Bar So Header Stays Ultra-Thin */
@media (max-width: 1100px), (max-height: 500px) {
  .fl-lbl-full { display: none !important; }
  .fl-lbl-short { display: inline !important; }

  body { padding-bottom: 56px; }
  .fl-topbar-row1 { padding: 5px 12px; gap: 6px 8px; }
  .fl-topbar-row2 { padding: 4px 12px 5px; gap: 6px 8px; font-size: 12px; }
  .fl-brand-group { gap: 6px; width: 100%; justify-content: space-between; }

  .fl-top-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    justify-content: space-around;
    padding: 6px 8px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    border-top: 2px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    margin-left: 0;
  }
  .fl-top-actions .fl-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 5px 8px;
    font-size: 11.5px;
  }
}

/* Print / Web Toggle & 4-QR Footer Helpers */
.print-only,
.print-qr,
.fl-print-footer {
  display: none;
}

@media print {
  a,
  a:visited,
  .fl-ext-link,
  .fl-scripture-link,
  .book-refs a { 
    text-decoration: none !important; 
    border: none !important; 
    background: transparent !important; 
    color: #000 !important;
  }
  .no-print,
  .web-only,
  .fl-topbar,
  .fl-top-actions,
  #bible-drawer,
  .drawer-close {
    display: none !important;
  }
  span.print-only {
    display: inline !important;
  }
  div.print-only,
  p.print-only,
  aside.print-only {
    display: block !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .print-qr {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 22px;
    padding-top: 12px;
    border-top: 1.5pt solid #000;
    page-break-inside: avoid;
    break-inside: avoid;
    font-family: Georgia, serif;
    font-size: 8pt;
    line-height: 1.25;
    color: #000 !important;
  }
  .print-qr-item {
    display: grid !important;
    grid-template-columns: 54px 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 4px 8px;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 8px;
  }
  .print-qr-title {
    grid-column: 1 / -1;
    font-weight: 700;
    font-size: 8.5pt;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .print-qr-item img {
    width: 54px;
    height: 54px;
    grid-column: 1;
    grid-row: 2;
  }
  .print-qr-desc {
    grid-column: 2;
    grid-row: 2;
    font-size: 7.8pt;
  }
  .card-print-qr {
    display: block !important;
    margin-top: auto !important;
    padding-top: 8px;
    border-top: 1px solid #ccc;
    font-family: Georgia, serif;
    font-size: 8pt;
    line-height: 1.25;
    color: #000 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .card-print-qr.card-print-qr-duo {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .print-qr-url {
    grid-column: 1 / -1;
    font-family: monospace;
    font-size: 7.5pt;
    font-weight: 700;
    border-top: 1px solid #eee;
    padding-top: 3px;
    text-align: center;
    white-space: nowrap;
  }
}

/* Compact Voluntary Support Footer (Screen + Print) */
#support-coffee.fl-support-footer {
  display: block !important;
  max-width: 900px !important;
  margin: 24px auto 12px auto !important;
  padding: 14px 18px !important;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}
#support-coffee .fl-support-body {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
#support-coffee .fl-support-text {
  margin: 0 0 10px 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}
#support-coffee .fl-support-controls {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}
#support-coffee .fl-support-label {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  font-family: system-ui, sans-serif !important;
  margin: 0 !important;
}
#support-coffee .fl-support-select {
  padding: 6px 10px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  background: #fff !important;
  border: 1px solid var(--accent) !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-family: system-ui, sans-serif !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}
#support-coffee .fl-support-qr {
  display: none !important;
}
@media print {
  #support-coffee.fl-support-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 6px 10px !important;
    margin: 8px auto 0 auto !important;
    max-width: 100% !important;
    border: 1px solid #bbb !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    background: #fff !important;
  }
  #support-coffee .fl-support-body { flex: 1 1 auto !important; }
  #support-coffee .fl-support-text { font-size: 8pt !important; line-height: 1.3 !important; margin: 0 !important; color: #111 !important; }
  #support-coffee .fl-support-controls { display: none !important; }
  #support-coffee .fl-support-qr {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 2px !important;
    padding: 3px 5px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    width: 64px !important;
    max-width: 64px !important;
    flex: 0 0 64px !important;
    background: #fff !important;
  }
  #support-coffee .fl-support-qr img {
    width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    display: block !important;
    margin: 0 auto !important;
  }
  #support-coffee .fl-support-qr-caption {
    font-size: 6.5pt !important;
    line-height: 1.1 !important;
    color: #000 !important;
  }
}

/* ==========================================================================
   Universal Share & Church Co-Branding Modal + Print Co-Brand Header
   ========================================================================== */
.fl-icon-svg {
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
}

.fl-cobrand-banner {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 11.5px;
  color: #fff;
}
.fl-cobrand-banner img.fl-cobrand-logo {
  max-height: 22px;
  width: auto;
  border-radius: 2px;
  background: #fff;
  padding: 1px;
}

.fl-print-cobrand-header {
  display: none;
}

.fl-share-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 29, 0.62);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.fl-share-backdrop.open {
  display: flex;
}

.fl-share-modal {
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--gold);
  border-radius: 8px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13.5px;
}

.fl-share-header {
  background: var(--fl-topbar-bg);
  color: var(--fl-topbar-text);
  border-bottom: 2px solid var(--fl-topbar-border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--fl-topbar-font);
}
.fl-share-header h3 {
  margin: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fl-share-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fl-share-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.fl-share-lead strong {
  color: var(--text);
}

.fl-share-url-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.fl-share-url-input {
  flex: 1 1 240px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  font-family: monospace;
  font-size: 12.5px;
}

.fl-share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
}
.fl-share-tile {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: var(--card);
  color: var(--text) !important;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.fl-share-tile:hover {
  background: var(--accent-bg);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.fl-share-tile svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--accent);
}

.fl-share-qr-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.fl-share-qr-strip img {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.fl-cobrand-studio {
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 12px 14px;
}
.fl-cobrand-studio summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fl-cobrand-studio summary::-webkit-details-marker {
  display: none;
}
.fl-cobrand-form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.fl-cobrand-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}
.fl-cobrand-field input[type="text"],
.fl-cobrand-field input[type="url"],
.fl-cobrand-field select {
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  font-size: 12.5px;
}
.fl-cobrand-colors {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 4px;
}
.fl-cobrand-color-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.fl-cobrand-color-item input[type="color"] {
  width: 30px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  background: transparent;
}
.fl-cobrand-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

@media print {
  .fl-share-backdrop {
    display: none !important;
  }
  .fl-print-cobrand-header.has-cobrand {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0 8px;
    margin-bottom: 12px;
    border-bottom: 1.5pt solid #000;
    font-family: Georgia, serif;
    font-size: 9.5pt;
    color: #000 !important;
  }
  .fl-print-cobrand-header img {
    max-height: 32px;
    width: auto;
  }
}

