/* Generated for com. Edit build/consent.core.css and re-run build/gen.mjs. */
:root{
  --tfs-sans:'Outfit',-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;
  --tfs-heading:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --tfs-ink:#2A3B4C;
  --tfs-muted:#54677A;
  --tfs-heading-color:#0E3157;
  --tfs-accent:#B35240;
  --tfs-accent-dark:#96422F;
  --tfs-on-accent:#FFFFFF;
  --tfs-link:#0E3157;
  --tfs-surface:#FFFFFF;
  --tfs-note-bg:#FAF5EF;
  --tfs-rule:#E4DBD0;
  --tfs-ghost-hover:#F3EAE0;
  --tfs-focus:#0E3157;
  --tfs-radius:8px;
}

/* Total Family Solutions — privacy controls.
   Palette and type come from the host site via the --tfs-* properties set above. */

.tfs-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.tfs-banner,.tfs-modal{font-family:var(--tfs-sans);color:var(--tfs-ink);line-height:1.6;box-sizing:border-box}
.tfs-banner *,.tfs-modal *{box-sizing:border-box}

/* ── Banner ─────────────────────────────────────────────────────────────── */
.tfs-banner{
  position:fixed;left:0;right:0;bottom:0;z-index:2147483000;
  background:var(--tfs-surface);
  border-top:3px solid var(--tfs-accent);
  box-shadow:0 -8px 40px rgba(0,0,0,.18);
  padding:1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom,0px));
}
.tfs-banner-inner{
  max-width:1180px;margin:0 auto;display:flex;gap:1.5rem;
  align-items:center;justify-content:space-between;flex-wrap:wrap;
}
.tfs-banner-copy{flex:1 1 440px;min-width:0}
.tfs-banner-title{
  font-family:var(--tfs-heading);font-size:1.2rem;line-height:1.3;
  margin:0 0 .35rem;color:var(--tfs-heading-color);font-weight:600;
}
.tfs-banner-copy p{margin:0 0 .4rem;font-size:.92rem}
.tfs-banner-links{display:flex;gap:1.1rem;flex-wrap:wrap}
.tfs-banner-links a,.tfs-banner-copy p a{color:var(--tfs-link);text-decoration:underline}
.tfs-banner-links a:hover,.tfs-banner-copy p a:hover{color:var(--tfs-accent)}
.tfs-banner-actions{display:flex;gap:.6rem;flex-wrap:wrap;flex:0 0 auto}

/* ── Buttons ────────────────────────────────────────────────────────────── */
/* Accept and reject are the same size, weight and colour: neither is nudged. */
.tfs-btn{
  font-family:var(--tfs-sans);font-size:.9rem;font-weight:600;line-height:1.2;
  padding:.72rem 1.15rem;border-radius:var(--tfs-radius);border:2px solid transparent;
  cursor:pointer;text-decoration:none;display:inline-block;text-align:center;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
  min-height:44px;
}
.tfs-btn-primary{background:var(--tfs-accent);color:var(--tfs-on-accent);border-color:var(--tfs-accent)}
.tfs-btn-primary:hover{background:var(--tfs-accent-dark);border-color:var(--tfs-accent-dark);color:var(--tfs-on-accent)}
.tfs-btn-ghost{background:transparent;color:var(--tfs-link);border-color:currentColor}
.tfs-btn-ghost:hover{background:var(--tfs-ghost-hover);color:var(--tfs-heading-color)}
.tfs-btn:focus-visible,.tfs-close:focus-visible,.tfs-switch input:focus-visible+.tfs-switch-ui,
.tfs-banner a:focus-visible,.tfs-modal a:focus-visible{
  outline:3px solid var(--tfs-focus);outline-offset:2px;
}

/* ── Settings dialog ────────────────────────────────────────────────────── */
body.tfs-modal-open{overflow:hidden}
.tfs-modal{position:fixed;inset:0;z-index:2147483100;display:flex;align-items:center;justify-content:center;padding:1rem}
.tfs-modal-backdrop{position:absolute;inset:0;background:rgba(10,20,32,.62)}
.tfs-modal-panel{
  position:relative;background:var(--tfs-surface);border-radius:calc(var(--tfs-radius) + 4px);
  width:100%;max-width:640px;max-height:min(86vh,760px);display:flex;flex-direction:column;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}
.tfs-modal-head{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.25rem 1.5rem;border-bottom:1px solid var(--tfs-rule);
}
.tfs-modal-head h2{
  font-family:var(--tfs-heading);font-size:1.35rem;margin:0;font-weight:600;
  color:var(--tfs-heading-color);
}
.tfs-close{
  background:none;border:0;font-size:1.9rem;line-height:1;cursor:pointer;
  color:var(--tfs-muted);padding:.2rem .5rem;border-radius:var(--tfs-radius);min-height:44px;min-width:44px;
}
.tfs-close:hover{color:var(--tfs-heading-color)}
.tfs-modal-body{padding:1.25rem 1.5rem;overflow-y:auto;-webkit-overflow-scrolling:touch}
.tfs-intro{margin:0 0 1.1rem;font-size:.94rem}
.tfs-intro a{color:var(--tfs-link);text-decoration:underline}
.tfs-gpc{
  margin:0 0 1.1rem;padding:.85rem 1rem;font-size:.9rem;
  background:var(--tfs-note-bg);border-left:4px solid var(--tfs-accent);border-radius:4px;
}
.tfs-cat{padding:1rem 0;border-bottom:1px solid var(--tfs-rule)}
.tfs-cat:last-child{border-bottom:0;padding-bottom:.25rem}
.tfs-cat-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.tfs-cat h3{
  font-family:var(--tfs-sans);font-size:1rem;font-weight:700;margin:0;
  color:var(--tfs-heading-color);
}
.tfs-cat h3 label{cursor:pointer}
.tfs-cat p{margin:.35rem 0 0;font-size:.88rem;color:var(--tfs-muted)}
.tfs-always{font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--tfs-muted);white-space:nowrap}

.tfs-switch{position:relative;display:inline-flex;flex:0 0 auto}
.tfs-switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.tfs-switch-ui{
  display:block;width:52px;height:30px;border-radius:15px;background:#9aa6b2;
  transition:background .18s ease;pointer-events:none;
}
.tfs-switch-ui::after{
  content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;
  background:#fff;transition:transform .18s ease;box-shadow:0 1px 3px rgba(0,0,0,.3);
}
.tfs-switch input:checked+.tfs-switch-ui{background:var(--tfs-accent)}
.tfs-switch input:checked+.tfs-switch-ui::after{transform:translateX(22px)}
.tfs-switch input:disabled{cursor:not-allowed}
.tfs-switch input:disabled+.tfs-switch-ui{opacity:.5}

.tfs-modal-foot{
  display:flex;gap:.6rem;flex-wrap:wrap;justify-content:flex-end;
  padding:1.1rem 1.5rem calc(1.1rem + env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--tfs-rule);
}

/* ── Blocked third-party embeds ─────────────────────────────────────────── */
.tfs-embed-placeholder{
  font-family:var(--tfs-sans);color:var(--tfs-ink);
  background:var(--tfs-note-bg);border:1px dashed var(--tfs-rule);
  border-radius:var(--tfs-radius);padding:1.5rem;text-align:center;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;height:100%;
}
.tfs-embed-text{margin:0;font-size:.92rem;max-width:46ch;line-height:1.6}
.tfs-embed-actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}

/* ── Save confirmation ──────────────────────────────────────────────────── */
.tfs-toast{
  position:fixed;left:50%;transform:translateX(-50%);
  bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));z-index:2147483200;
  background:var(--tfs-heading-color);color:#fff;font-family:var(--tfs-sans);font-size:.9rem;
  padding:.8rem 1.25rem;border-radius:var(--tfs-radius);box-shadow:0 10px 30px rgba(0,0,0,.28);
  transition:opacity .45s ease;max-width:calc(100vw - 2rem);
}
.tfs-toast-out{opacity:0}

@media (max-width:760px){
  .tfs-banner{max-height:80vh;overflow-y:auto}
  .tfs-banner-inner{flex-direction:column;align-items:stretch;gap:1rem}
  /* In a column the 440px basis would become a height, leaving a tall gap. */
  .tfs-banner-copy{flex:0 0 auto}
  .tfs-banner-actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
  .tfs-banner-actions .tfs-btn{width:100%}
  .tfs-banner-actions .tfs-btn:last-child{grid-column:1 / -1}
  .tfs-modal-foot{justify-content:stretch}
  .tfs-modal-foot .tfs-btn{flex:1 1 140px}
}
@media (prefers-reduced-motion:reduce){
  .tfs-btn,.tfs-switch-ui,.tfs-switch-ui::after,.tfs-toast{transition:none}
}
