/* TurtleLuck PersonBlock (mock). Form area only: lives inside the site's existing .bfc form card and uses the site's
   form classes (.bfc, .bf-in, .bf-chip, .bf-link, .bf-err, .bf-go, .bf-t). Nothing here touches the page, header, title or footer. */
.bfc.pbf{padding:28px 32px}
.pb-seg{display:flex;background:var(--f,#f5f5f7);border-radius:14px;padding:4px;gap:4px}
.bfc .pb-seg button{flex:1;border:0;background:none;padding:8px 6px;border-radius:12px;font-size:15px;font-weight:600;color:#6e6e73;cursor:pointer;min-height:40px}
.bfc .pb-seg button[aria-pressed="true"]{background:#fff;color:#1d1d1f;box-shadow:0 1px 4px #00000014}
.pb-rel{max-width:520px;margin:0 auto 20px}
.pb-people{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;align-items:start}
.pb-people.solo{grid-template-columns:1fr}
.pb-people>.pb+.pb{border-left:1px solid #e5e5ea;padding-left:40px;margin-left:-1px}
.pb{min-width:0;scroll-margin-top:104px}
.pb-h{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;min-height:32px}
.pb-h b{font-size:19px;font-weight:600;letter-spacing:-.02em}
.pb-h b.empty{color:#6e6e73}
.pb-nr{margin-top:10px;display:grid;grid-template-columns:1fr 190px;gap:8px}
.pb-nr>div{min-width:0}
.bfc .bf-in.t{height:44px}
.pb .pb-seg.sex{height:44px;padding:3px}.bfc .pb .pb-seg.sex button{min-height:0}
.pb-sec{margin-top:16px}
.pb-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px}
.pb-lab{font-size:14px;font-weight:600}
.pb-lab i{font-style:normal;font-weight:400;color:#6e6e73;font-size:13px}
.pb-pick{border:1px solid #e5e5ea;border-radius:14px;padding:12px}
.pb-typed .bf-in{text-align:center;font-size:17px;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.pb-err{text-align:center}
.pb-or{display:flex;align-items:center;gap:10px;margin:10px 0 6px;font-size:13px;color:#6e6e73}
.pb-or::before,.pb-or::after{content:"";flex:1;height:1px;background:#e5e5ea}
.pb-q{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;min-height:32px}
.pb-q b{font-size:15px;font-weight:600}
.pb-crumbs{display:flex;gap:6px;flex-wrap:wrap}
.bfc .pb-crumbs button{min-height:32px;padding:0 12px;border-radius:980px;border:0;background:#eaf6ee;color:var(--g,#1e8e3e);font-size:14px;font-weight:600;cursor:pointer}
.pb-crumbs button::before{content:"‹ "}
.pb-grid{margin-top:8px;display:grid;gap:6px}
.pb-grid.dec{grid-template-columns:repeat(4,1fr)}.pb-grid.yr{grid-template-columns:repeat(5,1fr)}.pb-grid.mo{grid-template-columns:repeat(6,1fr)}
.pb-grid.day{grid-template-columns:repeat(7,1fr);gap:2px}
.bfc .pb-grid .bf-chip{padding:8px 0;font-size:15px;font-variant-numeric:tabular-nums}
.bfc .pb-grid.day button{min-height:36px;border:0;border-radius:20px;background:none;font-size:15px;cursor:pointer;font-variant-numeric:tabular-nums}
.bfc .pb-grid.day button:hover{background:var(--f,#f5f5f7)}
.pb-grid.day span{font-size:12px;font-weight:600;color:#6e6e73;text-align:center}
.bfc .pb-grid button[aria-pressed="true"]{background:var(--g,#1e8e3e);color:#fff!important}
.pb-done{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #e5e5ea;border-radius:14px;padding:12px 14px}
.pb .pb-done b{display:block;font-size:17px;font-weight:600}
.pb-read{font-size:15px;color:var(--g,#1e8e3e);font-weight:600}
.pb-read small{display:block;font-size:13px;font-weight:400;color:#6e6e73}
.pb-hrs{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.bfc .pb-hrs .bf-chip{padding:4px 2px;line-height:1.2;min-height:44px;font-variant-numeric:tabular-nums}
.pb-hrs .bf-chip small{display:block;font-size:12px;font-weight:400;color:#6e6e73}
.pb-hrs .bf-chip[aria-pressed="true"] small{color:#fff}
.pb-hrs .dk{grid-column:span 2}
.pb-exact{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pb-exact .bf-in{text-align:center}
.pb-tz{margin:10px 0 0;font-size:13px;color:#6e6e73}
.bfc .pb-next{margin-top:16px;width:100%;background:#fff;color:var(--g,#1e8e3e)!important;box-shadow:inset 0 0 0 1px var(--g,#1e8e3e)}
.bfc .pb-next:hover{background:#eaf6ee}
.bfc .bf-go:disabled{cursor:default}
.pb-hint{margin:8px 0 0;text-align:center;font-size:13px;color:#6e6e73}
.pb-note{margin-top:16px;border:1px solid #e5e5ea;border-radius:14px;padding:12px 14px;font-size:15px}
.pb-note b{display:block}
/* collapsed one-line row (phone, Relationship) */
.pb.mini{border:1px solid #e5e5ea;border-radius:14px}
.bfc .pb-minib{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;border:0;background:none;padding:14px 16px;text-align:left;cursor:pointer;min-height:56px}
.pb-minib b{font-size:17px;font-weight:600}.pb-minib b.empty{color:#6e6e73}
.pb-minib span{font-size:14px;color:var(--g,#1e8e3e);font-weight:600;text-align:right}
.pb-minib span.todo{color:#6e6e73;font-weight:500}
@media(max-width:720px){
  .bfc.pbf{padding:20px 16px}
  .pb-people{grid-template-columns:1fr;gap:12px}
  .pb-people>.pb+.pb{border-left:0;padding-left:0;margin-left:0}
  .pb-nr{grid-template-columns:1fr}
  .pb-grid.dec,.pb-grid.yr{grid-template-columns:repeat(3,1fr)}
  .pb-grid.mo{grid-template-columns:repeat(4,1fr)}
  .bfc .pb-grid .bf-chip,.bfc .pb-grid.day button,.bfc .pb-crumbs button,.bfc .pb-link{min-height:44px}
  .bfc .pb-link{display:inline-flex;align-items:center}
  .pb-hrs{grid-template-columns:repeat(4,1fr)}
  .pb-hrs .dk{grid-column:1/-1}
  html:has(.pb-gobar){scroll-padding-bottom:120px}html.pb-typing .pb-gobar:not(.acf .pb-gobar){visibility:hidden;opacity:0}.bfc .pb-sec,.bfc .pb-f,.bfc .bf-in{scroll-margin-bottom:120px}
  .pb-gobar{position:sticky;bottom:0;z-index:20;margin:16px -16px -20px;background:#fff;box-shadow:0 -1px 0 #e5e5ea;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-radius:0 0 20px 20px}
  .pb-gobar{display:flex;flex-direction:column;align-items:center}
  .bfc .pb-gobar .bf-go{margin:0 auto;width:auto;max-width:260px;padding:0 32px} /* Ive r2: phone buttons hug the label, centred */
}
/* the page styles bare <b> in main; reset inside the form only */
.bfc.pbf b{padding:0!important;margin:0!important;min-height:0!important;background:none!important;width:auto!important;display:inline}
.bfc.pbf .pb-done b,.bfc.pbf .pb-note b{display:block}
@media(max-width:720px){.bfc .pb-seg button{min-height:44px}.pb .pb-seg.sex{height:auto}.bfc .pb .pb-seg.sex button{min-height:44px}}
.bfc .pb-link{white-space:nowrap;flex:none}
/* Selected states copied from Tim's prototype.html (light theme):
   segmented (Love…Work, Female|Male) = prototype .seg: bg #ffffff, text #1d1d1f, 600, shadow 0 1px 3px rgba(0,0,0,.14)
   blocks (birth time incl. Don't know, and the picker grids) = prototype .hrs: bg #eaf6ee, 1px border #1e8e3e, text #1d1d1f, 600
   saved chips = prototype .chip: bg #eaf6ee, 1px border #1e8e3e, text #1e8e3e, 600; back chips = prototype .crumbs: bg #eaf6ee, text #1e8e3e, 600 */
.bfc.pbf .pb-seg button[aria-pressed="true"]{background:#fff!important;color:#1d1d1f!important;font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.14)!important}
.bfc.pbf .pb-hrs .bf-chip[aria-pressed="true"],
.bfc.pbf .pb-grid button[aria-pressed="true"],
.bfc.pbf .pb-grid.day button[aria-pressed="true"]{background:#eaf6ee!important;color:#1d1d1f!important;box-shadow:inset 0 0 0 1px #1e8e3e!important;font-weight:600}
.bfc.pbf .pb-hrs .bf-chip[aria-pressed="true"] small{color:#6e6e73}
.bfc.pbf .pb-crumbs button{background:#eaf6ee;color:#1e8e3e;font-weight:600}
.bfc.pbf :focus-visible{outline:2px solid #0071e3!important;outline-offset:2px}
/* main submit: always the classic site green (#1e8e3e, hover #187a34); not-ready state keeps the colour, the hint below explains why it waits */
.bfc.pbf .bf-go:disabled{opacity:1!important;background:#1e8e3e!important;color:#fff!important;cursor:default}
/* Relationship: two equal person columns. The divider used to be padding-left:40px on the right block, which made its content 40px narrower. */
@media(min-width:721px){
.pb-people:not(.solo){grid-template-columns:repeat(2,minmax(0,1fr));column-gap:80px}
.pb-people>.pb+.pb{border-left:0;padding-left:0;margin-left:0;position:relative}
.pb-people>.pb+.pb::before{content:"";position:absolute;left:-40.5px;top:0;bottom:0;width:1px;background:#e5e5ea}
}
@media(min-width:721px) and (max-width:1000px){.pb-people:not(.solo) .pb-hrs{grid-template-columns:repeat(4,minmax(0,1fr))}.pb-people:not(.solo) .pb-hrs .dk{grid-column:1/-1}}

/* Saved people: one tidy row of soft chips (name + sign · year), quiet remove x */
.pb-saved{margin-top:8px}
.pb-saved-lab{display:block;font-size:15px;font-weight:600;color:#6e6e73;margin-bottom:8px}
.pb-saved-row{display:flex;gap:8px;flex-wrap:wrap}
.pb-sv{display:inline-flex;align-items:center;background:#f5f5f7;border-radius:14px;min-height:52px;max-width:100%;flex:none}
.bfc.pbf .pb-sv-b{border:0;background:none;padding:6px 2px 6px 14px;text-align:left;cursor:pointer;line-height:1.25;color:#1d1d1f;font:inherit;min-width:0}
.bfc.pbf .pb-sv-b b{display:block;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.pb-sv-b small{display:block;font-size:15px;color:#6e6e73;white-space:nowrap}
.bfc.pbf .pb-sv-x{border:0;background:none;width:36px;align-self:stretch;font-size:19px;line-height:1;color:#aeaeb2;cursor:pointer;border-radius:0 14px 14px 0;padding:0 4px 0 0}
.bfc.pbf .pb-sv-x:hover{color:#1d1d1f}
.pb-sv:has(.pb-sv-b[aria-pressed="true"]){background:#eaf6ee;box-shadow:inset 0 0 0 1px #1e8e3e}
@media(max-width:720px){.pb-saved-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px 2px;scroll-padding:0 16px}.pb-saved-row::-webkit-scrollbar{display:none}.pb-sv{min-height:52px}}
/* Validation: soft red outline + inline note on the first missing field; button shakes its head */
.pb-f{min-width:0}
.bfc.pbf .pb-f.is-err .pb-seg,.bfc.pbf .pb-f.is-err .pb-pick{box-shadow:0 0 0 1.5px rgba(217,48,37,.7);background-color:#fff8f7}
.pb-msg{margin:6px 0 0;font-size:15px;line-height:1.3;color:#d93025}
.pb-pick,.pb-seg{transition:box-shadow .2s ease,background-color .2s ease}
@keyframes pb-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(3px)}}
.bfc.pbf .bf-go.pb-shake{animation:pb-shake .4s ease-in-out}
@media(prefers-reduced-motion:reduce){.bfc.pbf .bf-go.pb-shake{animation:none}}
.bfc.pbf .bf-go[aria-disabled="true"]{opacity:1;cursor:pointer}
#fm .bf-go#go,.pbf .pb-gobar .bf-go{height:48px;min-height:48px}

/* r24d: member forms (labelled Sex) stack name above Sex at every width */
.pb-nr.pb-nr1{grid-template-columns:1fr!important}.pb-sexcol .pb-row{margin-top:6px}


/* Ive r2: desktop form button width matches Life 'Read me' (Relationship was full card width) */
section:not(.acf) > .bfc.pbf .pb-gobar .bf-go{max-width:416px;margin-left:auto;margin-right:auto}
