/* Family Tree Studio tools (2026-11-21): relationship calculator, birthday calendar, story pages, reunion kit. */
.ft-private { display: flex; gap: .6rem; align-items: center; background: #eef3ee; border: 1px solid #cfdccf; color: #1F3D2F;
  border-radius: 10px; padding: .6rem .9rem; font-weight: 700; margin: .8rem 0; }
.ft-private::before { content: ""; flex: 0 0 1.1rem; height: 1.1rem; border-radius: 3px; border: 2px solid #1F3D2F; border-top-width: 5px; }
.ft-drop { border: 2px dashed var(--rule); border-radius: 12px; padding: 1rem; text-align: center; background: var(--paper-2); }
.ft-drop.on { border-color: var(--green); background: #eef3ee; }
.ft-drop input[type=file] { max-width: 100%; }
.ft-answer { font-size: 1.05rem; }
.ft-wm { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
  font-weight: 800; font-size: clamp(2rem, 9vw, 4.5rem); color: rgba(110, 110, 110, .16); transform: rotate(-24deg); letter-spacing: .1em; }
.ft-people { max-height: 14rem; overflow: auto; border: 1px solid var(--rule); border-radius: 10px; padding: .5rem .7rem;
  display: grid; gap: .2rem .8rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); font-size: .92rem; background: var(--card); }
.ft-people label { font-weight: 400; }
.bc-skip { display: block; color: var(--muted); font-weight: 400; font-size: .92rem; margin-top: .3rem; }
.ft-checks label { display: block; font-weight: 600; margin: .25rem 0; }
.ft-samples { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.ft-samples figure { margin: 0; }
.ft-samples img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--shadow-sm); }
.ft-samples figcaption { font-size: .88rem; color: var(--muted); margin-top: .35rem; text-align: center; }
.ft-wide { max-width: 46rem; }

/* relationship calculator */
.pg-wrap.rc-one { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.rc-answer { font-size: 1.25rem; margin: .4rem 0; }
.rc-why { color: var(--muted); }
.rc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rc-chart { border-collapse: collapse; font-size: .85rem; min-width: 44rem; background: var(--card); }
.rc-chart caption { text-align: left; color: var(--muted); font-size: .9rem; padding: 0 0 .4rem; }
.rc-chart th, .rc-chart td { border: 1px solid var(--rule); padding: .35rem .4rem; text-align: center; vertical-align: middle; }
.rc-chart thead th { background: var(--green); color: #fff; font-weight: 700; }
.rc-chart tbody th { background: var(--paper-2); text-align: left; }
.rc-chart .rc-on { outline: 2px solid var(--amber, #c8902e); outline-offset: -2px; }
.rc-chart td.rc-hit { background: #f3e2b5; font-weight: 800; color: #111; }
.rc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* birthday calendar preview */
.bc-cal { position: relative; background: #fff; color: #222; border: 1px solid var(--rule); border-radius: 6px; padding: .7rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.bc-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 1.5rem; color: #1F3D2F; letter-spacing: .04em; text-transform: uppercase; }
.bc-head span + span { color: #9a7026; }
.bc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-left: 1px solid #ddd3c4; border-top: 1px solid #ddd3c4; margin-top: .4rem; }
.bc-dow { background: #1F3D2F; color: #fff; font-size: .62rem; text-align: center; padding: .15rem 0; font-weight: 700; text-transform: uppercase; }
.bc-cell { min-height: 4.2rem; border-right: 1px solid #ddd3c4; border-bottom: 1px solid #ddd3c4; padding: .15rem .2rem; font-size: .62rem; line-height: 1.25; overflow: hidden; }
.bc-cell b { display: block; color: #1F3D2F; font-size: .78rem; }
.bc-cell span { display: block; }
.bc-cell .bc-ann { font-style: italic; color: #1F3D2F; }
.bc-cell .bc-mem { font-style: italic; color: #7a7068; }
.bc-hol { display: block; color: #9a7026; font-size: .56rem; }
.bc-off { background: #f6f2eb; }
.bc-navy .bc-dow { background: #1C2B45; } .bc-navy .bc-head, .bc-navy .bc-cell b, .bc-navy .bc-ann { color: #1C2B45; }
.bc-cranberry .bc-dow { background: #6B1E2A; } .bc-cranberry .bc-head, .bc-cranberry .bc-cell b, .bc-cranberry .bc-ann { color: #6B1E2A; }

/* story page preview */
.as-page { position: relative; background: #fff; color: #222; border: 1px solid var(--rule); border-radius: 4px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); overflow: hidden; font-size: .92rem; }
.as-page h3 { margin: .1rem 0 .6rem; color: #1F3D2F; font-size: 1.45rem; }
.as-kick { margin: 0; font-size: .7rem; letter-spacing: .12em; color: #9a7026; font-weight: 700; }

/* reunion kit preview */
#rk-preview { position: relative; overflow: hidden; }
.rk-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.rk-tag { background: #fff; color: #222; border: 1px dashed #ccc; border-radius: 8px; padding: .5rem; text-align: center; display: grid; gap: .1rem; }
.rk-band { background: var(--b); color: #fff; font-size: .6rem; letter-spacing: .08em; padding: .2rem; border-radius: 2px; }
.rk-tag b { font-size: 1.5rem; line-height: 1.2; }
.rk-tag span:not(.rk-band) { font-size: .8rem; }
.rk-tag i { font-size: .7rem; color: #7a7068; }
.rk-q { background: #fff; color: #222; border: 1px solid var(--rule); border-radius: 6px; padding: .7rem .7rem .7rem 2rem; font-size: .88rem; margin-top: .8rem; }
.rk-q li { margin-bottom: .5rem; }
.ft-set { border: 2px solid var(--green); border-radius: 14px; padding: 1rem 1.2rem; background: var(--card); }
.ft-set .price s { color: var(--muted); font-weight: 400; margin-left: .4rem; }
.ft-tools { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); list-style: none; padding: 0; }
.ft-tools li { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.ft-tools a.ft-t { display: flex; flex-direction: column; color: inherit; text-decoration: none; height: 100%; }
.ft-tools img { width: 100%; height: 11rem; object-fit: cover; object-position: top; display: block; border-bottom: 1px solid var(--rule); }
.ft-tools .ft-tn { font-weight: 800; padding: .7rem .9rem 0; font-size: 1.05rem; }
.ft-tools .ft-tw { padding: .3rem .9rem; color: var(--muted); font-size: .92rem; flex: 1; }
.ft-tools .ft-tp { padding: 0 .9rem .8rem; font-weight: 700; }
