/* builder-member.css — the builder's member bar and dialogs (customer accounts stage 5).
   Self-contained F2 values (the builder has its own palette). */
.f2m-bar, .f2m-dlg {
  --m-navy: #032268; --m-navy-deep: #04163F; --m-gold: #EEC011; --m-ink: #1a2230; --m-soft: #4a5568;
  --m-tint: #eef1f8; --m-line: rgba(3,34,104,.14);
  --m-fh: 'Oswald', 'Arial Narrow', system-ui, sans-serif; --m-fb: 'Epilogue', system-ui, -apple-system, sans-serif;
}
.f2m-bar { margin: 1rem 0 1.25rem; padding: 1rem 1.1rem; border: 1px solid var(--m-line); border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfbfa); box-shadow: 0 8px 24px rgba(4,22,63,.06); font-family: var(--m-fb); }
/* Stacked, equal full-width buttons: the form column is too narrow for two pills side by side to sit evenly. */
.f2m-actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.f2m-actions .f2m-btn { width: 100%; }
.f2m-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: 0 1.25rem;
  border-radius: 300px; border: 1.5px solid transparent; font-family: var(--m-fb); font-size: .95rem; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.f2m-btn[hidden] { display: none; }
.f2m-btn:disabled { opacity: .55; cursor: default; }
.f2m-btn-gold { background: var(--m-gold); border-color: var(--m-gold); color: var(--m-navy); }
.f2m-btn-gold:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(238,193,17,.36); }
.f2m-btn-line { background: #fff; border-color: rgba(3,34,104,.28); color: var(--m-navy); }
.f2m-btn-line:hover:not(:disabled) { border-color: var(--m-navy); }
.f2m-btn-navy { background: var(--m-navy); border-color: var(--m-navy); color: #fff; }
.f2m-btn:focus-visible { outline: 2px solid var(--m-navy); outline-offset: 2px; }
.f2m-status { margin: .75rem 0 0; font-size: .88rem; line-height: 1.5; color: var(--m-soft); }
.f2m-status:empty { display: none; }
.f2m-status svg { vertical-align: -3px; }
.f2m-status a { color: var(--m-navy); font-weight: 600; }
.f2m-status.is-ok { color: #1d6b3a; }
.f2m-status.is-ok strong, .f2m-status.is-info strong { color: var(--m-navy); }
.f2m-status.is-error { color: #a3121b; font-weight: 600; }
.f2m-status.is-pending { color: var(--m-soft); }
.f2m-status.is-warn { color: var(--m-ink); }
.f2m-status.is-warn strong { color: var(--m-navy); }
/* "We couldn't add: …" — its own line, with a notice mark, so a missing award is never easy to miss. */
.f2m-unplaced { display: flex; gap: .5rem; align-items: flex-start; margin-top: .5rem; padding: .6rem .75rem; border-radius: 10px;
  background: #fdf3e1; border: 1px solid rgba(160,98,0,.28); color: #6b4200; font-weight: 600; }
.f2m-unplaced::before { content: 'i'; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #a06200; color: #fff;
  font: 700 12px/18px Georgia, serif; text-align: center; }
/* Sample-text warning before the cart (cart.js → F2Member.sampleWarning). */
.f2m-samples { margin: .85rem 0 .85rem; padding: 0; list-style: none; border: 1px solid var(--m-line); border-radius: 12px; overflow: hidden; }
.f2m-samples li { display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; font-size: .93rem; color: var(--m-ink); background: #fff; }
.f2m-samples li + li { border-top: 1px solid var(--m-line); }
.f2m-samples li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--m-gold); box-shadow: 0 0 0 3px rgba(238,193,17,.22); }
.f2m-samples li span { flex: 1; min-width: 0; }

.f2m-dlg { width: min(32rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); box-sizing: border-box; margin: auto; padding: 2rem 1.9rem 1.7rem;
  border: 0; border-radius: 22px; background: #fff; color: var(--m-ink); box-shadow: 0 40px 90px rgba(4,22,63,.35); overflow: auto; font-family: var(--m-fb); }
.f2m-dlg::backdrop { background: rgba(4,22,63,.55); backdrop-filter: blur(2px); }
.f2m-x { position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--m-soft); cursor: pointer; }
.f2m-x:hover { background: var(--m-tint); color: var(--m-navy); }
.f2m-eyebrow { margin: 0 0 .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--m-navy); opacity: .7; }
.f2m-title { margin: 0; padding-right: 1.5rem; font-family: var(--m-fh); font-weight: 400; font-size: 1.8rem; line-height: 1.1; color: var(--m-navy); text-wrap: balance; }
.f2m-text { margin: .7rem 0 0; color: var(--m-soft); line-height: 1.6; text-wrap: pretty; }
.f2m-text strong { color: var(--m-navy); }
.f2m-text-tight { margin: 0; font-size: .9rem; }
.f2m-em { white-space: nowrap; }
.f2m-list { margin: 1.1rem 0 0; padding: .9rem 1rem .9rem 2rem; border-radius: 14px; background: var(--m-tint); color: var(--m-ink); font-size: .92rem; line-height: 1.5; display: grid; gap: .4rem; }
.f2m-form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.f2m-field { display: block; font-size: .8rem; font-weight: 600; color: var(--m-navy); }
.f2m-field > span { display: flex; justify-content: space-between; }
.f2m-field em { font-style: normal; font-weight: 500; color: var(--m-soft); }
.f2m-field input, .f2m-field select { display: block; width: 100%; box-sizing: border-box; margin-top: .45rem; padding: .8rem .95rem; font: inherit; font-size: 1rem; font-weight: 400;
  color: var(--m-ink); background: #fff; border: 1px solid rgba(3,34,104,.2); border-radius: 12px; }
.f2m-field input:focus, .f2m-field select:focus { outline: none; border-color: var(--m-navy); box-shadow: 0 0 0 4px rgba(3,34,104,.1); }
.f2m-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1.4rem; }
.f2m-row-one { grid-template-columns: 1fr; }
.f2m-form .f2m-row { margin-top: .3rem; }
.f2m-row .f2m-btn { width: 100%; min-height: 50px; }
.f2m-err { margin: 0; color: #a3121b; font-size: .86rem; font-weight: 600; }
.f2m-err:empty { display: none; }
.f2m-hons { display: grid; gap: .6rem; margin-top: 1.3rem; }
.f2m-hon { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; width: 100%; padding: .95rem 3rem .95rem 1.1rem;
  text-align: left; border: 1px solid var(--m-line); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: var(--m-ink);
  transition: border-color .15s ease, box-shadow .15s ease; }
.f2m-hon:hover, .f2m-hon:focus-visible { border-color: var(--m-navy); box-shadow: 0 8px 20px rgba(4,22,63,.08); outline: none; }
.f2m-hon-name { font-family: var(--m-fh); font-size: 1.2rem; color: var(--m-navy); display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.f2m-hon-meta { font-size: .86rem; color: var(--m-soft); }
.f2m-hon-go { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--m-navy); }
.f2m-chip { display: inline-flex; align-items: center; height: 1.35rem; padding: 0 .5rem; border-radius: 300px; background: rgba(238,193,17,.22);
  color: var(--m-navy); font-family: var(--m-fb); font-size: .7rem; font-weight: 700; }
@media (max-width: 560px) {
  .f2m-dlg { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; padding: 1.8rem 1.25rem calc(1.4rem + env(safe-area-inset-bottom)); }
  .f2m-row { grid-template-columns: 1fr; }
  .f2m-row .f2m-btn-line { order: 2; }
  .f2m-title { font-size: 1.6rem; }
}
