/* Professional Footprint — the editor inside My UNBIFY (footprint.js).
   Curating a book, not filling a CMS: the cover and chapters read like the
   page they become, and the controls stay quiet at the edges. */

body.fp-open { overflow: hidden; }
.fp { --fp-ink: #3b2e22; --fp-soft: #6f5d48; --fp-faint: #a08c70; --fp-gold: #b0703a; --fp-ember: #cf6a3f;
      --fp-peach: #e8894f; --fp-paper: #fffaf1; --fp-ivory: #f8efdf; --fp-rule: rgba(176,112,58,.24);
      position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; background: var(--fp-ivory);
      color: var(--fp-ink); font-family: var(--sans, "Jost"), system-ui, sans-serif; opacity: 0;
      transition: opacity .35s ease; }
.fp.is-in { opacity: 1; }
.fp.fp-busy { cursor: progress; }
.fp.fp-busy .fp-scroll { opacity: .7; transition: opacity .2s; }

.fp-bar { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--fp-rule);
          background: rgba(248,239,223,.94); backdrop-filter: blur(8px); }
.fp-bar-title { font-family: var(--serif, "Cormorant Garamond"), serif; font-size: 21px; font-weight: 500; margin: 0; }
.fp-modes { display: inline-flex; border: 1px solid var(--fp-rule); border-radius: 999px; padding: 3px; margin: 0 auto; }
.fp-mode { border: 0; background: none; padding: 7px 18px; border-radius: 999px; font: 500 12px/1 var(--sans, "Jost");
           letter-spacing: .18em; text-transform: uppercase; color: var(--fp-soft); cursor: pointer; }
.fp-mode.on { background: var(--fp-ink); color: var(--fp-paper); }
.fp-bar-end { display: flex; align-items: center; gap: 12px; }
.fp-live { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-gold); text-decoration: none;
           border-bottom: 1px solid var(--fp-rule); }
.fp-x { border: 0; background: none; font-size: 28px; line-height: 1; color: var(--fp-soft); cursor: pointer; padding: 0 4px; }

.fp-btn { border: 1px solid var(--fp-rule); background: var(--fp-paper); color: var(--fp-ink); border-radius: 999px;
          padding: 9px 18px; font: 500 12px/1 var(--sans, "Jost"); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.fp-btn-primary { border-color: transparent; color: #fff8ee; background: linear-gradient(135deg, var(--fp-peach), var(--fp-ember)); }
.fp-btn[disabled] { opacity: .45; cursor: not-allowed; }
.fp-link { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--fp-ember); cursor: pointer;
           border-bottom: 1px solid transparent; }
.fp-link:hover { border-color: currentColor; }
.fp-icon { border: 1px solid var(--fp-rule); background: none; width: 28px; height: 28px; border-radius: 50%; color: var(--fp-soft);
           cursor: pointer; font-size: 13px; line-height: 1; }
.fp-icon[disabled] { opacity: .3; cursor: default; }
.fp button:focus-visible, .fp input:focus-visible, .fp textarea:focus-visible, .fp a:focus-visible, .fp summary:focus-visible {
  outline: 2px solid var(--fp-ember); outline-offset: 3px; }

.fp-notice { position: relative; margin: 12px auto 0; max-width: 760px; width: calc(100% - 32px); padding: 12px 40px 12px 16px;
             background: var(--fp-paper); border-left: 3px solid var(--fp-gold); font-size: 14px; }
.fp-notice.is-error { border-color: var(--fp-ember); }
.fp-notice p { margin: 0; }
.fp-notice ul { margin: 6px 0 0 18px; }
.fp-notice-x { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 20px; color: var(--fp-soft); cursor: pointer; }

.fp-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.fp-loading { margin: auto; text-align: center; padding: 30vh 16px; }
.fp-loading-line { font-family: var(--serif, "Cormorant Garamond"), serif; font-style: italic; font-size: 22px; color: var(--fp-soft); }
.fp-kicker { font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--fp-gold); margin: 0; }
.fp-small-cap { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--fp-gold); margin: 0 0 10px; }
.fp-hint { font-size: 13px; color: var(--fp-faint); margin: 10px 0 0; }

.fp-book { max-width: 760px; margin: 0 auto; padding: 40px 16px 120px; }
.fp-in { width: 100%; border: 0; border-bottom: 1px dashed transparent; background: transparent; color: inherit; font: inherit;
         padding: 4px 0; text-align: inherit; }
.fp-in:hover, .fp-in:focus { border-bottom-color: var(--fp-rule); outline: none; }
.fp-in::placeholder { color: var(--fp-faint); font-style: italic; }
.fp-cover { text-align: center; padding: 48px 0 56px; border-bottom: 1px solid var(--fp-rule); }
.fp-in-name { margin-top: 14px; font-family: var(--serif, "Cormorant Garamond"), serif; font-weight: 500;
              font-size: clamp(40px, 7vw, 68px); line-height: 1.05; }
.fp-span { margin: 8px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-style: italic; font-size: 24px; color: var(--fp-soft); }
.fp-in-sub { margin-top: 18px; font-family: var(--serif, "Cormorant Garamond"), serif; font-size: 22px; }
.fp-in-intro { margin-top: 8px; resize: vertical; font-size: 15px; color: var(--fp-soft); }
.fp-empty { margin: 40px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-size: 21px; line-height: 1.5; color: var(--fp-soft); text-align: center; }

.fp-chapter { padding: 56px 0 12px; }
.fp-chapter.is-hidden { opacity: .55; }
.fp-ch-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--fp-rule); }
.fp-num { font-family: var(--serif, "Cormorant Garamond"), serif; font-style: italic; font-size: 20px; color: var(--fp-gold); }
.fp-ch-title { flex: 1; font-family: var(--serif, "Cormorant Garamond"), serif; font-weight: 500; font-size: clamp(28px, 4.4vw, 40px); }
.fp-ch-tools { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.fp-ch-empty { margin: 14px 0 0; font-size: 14px; color: var(--fp-faint); font-style: italic; }
.fp-items { list-style: none; margin: 0; padding: 0; }
.fp-item { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(176,112,58,.12); }
.fp-item.is-dragging { opacity: .4; }
.fp-item.is-over { box-shadow: inset 0 2px 0 var(--fp-gold); }
.fp-item.is-editing { display: block; }
.fp-item h3 { margin: 4px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-weight: 500; font-size: 25px; line-height: 1.2; }
.fp-tier-interpreted h3 { font-style: italic; }
.fp-item-src { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.fp-src { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-faint); }
.fp-src-own { color: var(--fp-gold); }
.fp-src-ai { color: var(--fp-ember); }
.fp-meta { margin: 4px 0 0; font-size: 14px; color: var(--fp-soft); }
.fp-body { margin: 10px 0 0; font-size: 15px; line-height: 1.6; max-width: 60ch; }
.fp-lines { margin: 8px 0 0 18px; padding: 0; font-size: 14px; color: var(--fp-soft); }
.fp-caption { margin: 8px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-style: italic; font-size: 19px; color: var(--fp-soft); }
.fp-tags { margin: 10px 0 0; font-size: 13px; color: var(--fp-soft); }
.fp-tags span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--fp-gold); margin-right: 4px; }
.fp-links { margin: 8px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.fp-links a { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fp-ember); text-decoration: none; }
.fp-flag { margin: 10px 0 0; font-size: 13px; color: var(--fp-ember); }
.fp-evidence { margin-top: 10px; font-size: 13px; color: var(--fp-soft); }
.fp-evidence summary { cursor: pointer; color: var(--fp-faint); font-size: 12px; letter-spacing: .08em; }
.fp-evidence p { margin: 6px 0 0; }
.fp-item-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fp-public { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fp-soft); cursor: pointer; }
.fp-public input { accent-color: var(--fp-ember); }
.fp-item-tools .fp-icon { display: none; }
@media (hover: hover) { .fp-item:hover .fp-icon, .fp-item:focus-within .fp-icon { display: inline-block; } }
@media (hover: none) { .fp-item-tools .fp-icon { display: inline-block; } }

.fp-add { display: inline-block; margin-top: 16px; }
.fp-mode-note { margin: 0 0 8px; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--fp-faint); }
.fp-members { margin: 10px 0 0; font-size: 13px; color: var(--fp-gold); }
.fp-hidden-row em { font-size: 12px; color: var(--fp-faint); }

/* the first curation pass: what UNBIFY found, to keep or set aside */
.fp-found { margin-top: 48px; padding: 32px 0 8px; border-bottom: 1px solid var(--fp-rule); }
.fp-found-title { margin: 8px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-weight: 500; font-size: clamp(28px, 4.4vw, 40px); }
.fp-found-grid { margin: 22px 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.fp-found-card { display: flex; flex-direction: column; padding: 20px 20px 16px; background: var(--fp-paper); border-radius: 4px;
                 box-shadow: 0 1px 0 rgba(176,112,58,.1), 0 14px 34px rgba(110,70,30,.07); }
.fp-found-card.is-editing { grid-column: 1 / -1; padding: 0; background: none; box-shadow: none; }
.fp-found-meta { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fp-faint); }
.fp-found-card h3 { margin: 8px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-weight: 500; font-size: 24px; line-height: 1.15; }
.fp-found-quote { margin: 10px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-style: italic; font-size: 17px;
                  line-height: 1.4; color: var(--fp-soft); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fp-found-card .fp-item-src { margin-top: auto; padding-top: 14px; }
.fp-found-card .fp-sugg-actions { margin-top: 12px; }
.fp-suggestions { margin-top: 26px; padding: 20px 22px; border: 1px dashed var(--fp-rule); border-radius: 4px; }
.fp-sugg + .fp-sugg { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(176,112,58,.12); }
.fp-sugg-title { margin: 6px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-style: italic; font-size: 24px; line-height: 1.25; }
.fp-sugg-actions { margin: 12px 0 0; display: flex; align-items: center; gap: 16px; }
.fp-hidden { margin-top: 18px; font-size: 13px; color: var(--fp-soft); }
.fp-hidden summary { cursor: pointer; color: var(--fp-faint); }
.fp-hidden-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(176,112,58,.1); }
.fp-gone { margin-top: 48px; font-size: 13px; color: var(--fp-faint); }
.fp-add-chapter { margin-top: 48px; text-align: center; }

.fp-form { padding: 18px 20px; background: var(--fp-paper); border-radius: 4px; box-shadow: 0 10px 30px rgba(110,70,30,.08); }
.fp-form-add { margin-top: 18px; }
.fp-field { display: block; margin-top: 12px; }
.fp-field span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fp-faint); margin-bottom: 4px; }
.fp-field input, .fp-field textarea { width: 100%; border: 1px solid var(--fp-rule); border-radius: 3px; background: #fff;
                                      padding: 9px 10px; font: inherit; font-size: 15px; color: var(--fp-ink); }
.fp-field textarea { resize: vertical; font-family: var(--serif, "Cormorant Garamond"), serif; font-size: 18px; line-height: 1.5; }
.fp-form-actions { margin: 16px 0 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fp-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.fp-chip { border: 1px solid var(--fp-rule); background: none; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px;
           color: var(--fp-soft); cursor: pointer; }
.fp-chip:hover { border-color: var(--fp-gold); color: var(--fp-ink); }

.fp-read { height: 100%; display: flex; flex-direction: column; }
.fp-read-note { margin: 0; padding: 8px 16px; text-align: center; font-size: 13px; color: var(--fp-soft); }
.fp-frame { flex: 1; width: 100%; min-height: 70vh; border: 0; background: var(--fp-ivory); }

.fp-review { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 16px;
             background: rgba(59,46,34,.32); backdrop-filter: blur(3px); }
.fp-review-panel { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 28px; background: var(--fp-ivory);
                   border-radius: 6px; box-shadow: 0 30px 80px rgba(59,46,34,.28); }
.fp-review-panel h2 { margin: 8px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-weight: 500; font-size: 32px; }
.fp-review-lead { margin: 10px 0 14px; font-size: 14px; line-height: 1.6; color: var(--fp-soft); }
.fp-count { margin-left: 10px; font-size: 12px; color: var(--fp-faint); }
.fp-review-list { margin-top: 14px; border-top: 1px solid var(--fp-rule); }
.fp-review-ch { padding: 16px 0 6px; }
.fp-review-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 6px 0; font-size: 15px; cursor: pointer; }
.fp-review-row input { accent-color: var(--fp-ember); }
.fp-review-row em { font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fp-faint); }
.fp-review-live { margin: 18px 0 0; font-size: 13px; color: var(--fp-soft); word-break: break-all; }

/* publishing: the button holds still and glows while the version is frozen */
.fp-btn.is-working { position: relative; overflow: hidden; opacity: 1; cursor: progress; }
.fp-btn.is-working::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 20%, rgba(255,248,236,.45) 50%, transparent 80%); animation: fp-shimmer 1.1s ease-in-out infinite; }
@keyframes fp-shimmer { to { transform: translateX(100%); } }
.fp-pub-error { margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid var(--fp-ember); background: var(--fp-paper); font-size: 14px; line-height: 1.5; }
.fp-pub-error p { margin: 0; }
.fp-pub-error-head { font-family: var(--serif, "Cormorant Garamond"), serif; font-size: 20px; color: var(--fp-ink); }
.fp-pub-error ul { margin: 6px 0 0 18px; }
.fp-pub-error-ref { margin-top: 6px !important; font-size: 11px; letter-spacing: .08em; color: var(--fp-faint); }

/* ---- the moment it goes live ---- */
.fp-cel { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 16px;
          background: radial-gradient(80% 70% at 50% 45%, rgba(255,246,228,.62), rgba(232,214,186,.58));
          backdrop-filter: blur(7px) saturate(.92); -webkit-backdrop-filter: blur(7px) saturate(.92);
          animation: fp-cel-veil .32s ease both; }
.fp-cel.is-leaving { animation: fp-cel-veil .24s ease reverse both; }
@keyframes fp-cel-veil { from { opacity: 0; } }
.fp-cel-panel { position: relative; box-sizing: border-box; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; outline: none;
                display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: "book words" "book actions"; gap: 6px 40px;
                align-items: start; padding: 40px 42px 30px; background: var(--fp-paper); border-radius: 18px;
                box-shadow: 0 40px 100px rgba(90,60,25,.24), 0 8px 24px rgba(90,60,25,.1), inset 0 0 0 1px rgba(176,112,58,.12);
                animation: fp-cel-rise .62s cubic-bezier(.2,.9,.25,1.08) .04s both; }
@keyframes fp-cel-rise { from { opacity: 0; transform: translateY(18px) scale(.94); } }

/* the cover of what was just published — the same art and type as the book */
.fp-cel-book { grid-area: book; position: relative; margin: 0; aspect-ratio: 2 / 3; container-type: inline-size; border-radius: 3px 9px 9px 3px;
               background: #e9c79a; overflow: hidden; transform-origin: left center;
               box-shadow: 0 26px 50px rgba(90,60,25,.26), 0 6px 14px rgba(90,60,25,.14), inset 5px 0 9px rgba(60,35,10,.2);
               animation: fp-cel-lift .78s cubic-bezier(.25,.8,.25,1) .08s both; }
@keyframes fp-cel-lift { from { opacity: 0; transform: perspective(900px) translateY(26px) rotateY(-34deg) scale(.72); } }
.fp-cel-art { position: absolute; inset: 0; background-size: cover; background-position: 50% 70%; }
.fp-cel-light { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,246,228,.66) 0%, rgba(255,246,228,.26) 42%, transparent 64%), linear-gradient(90deg, rgba(60,35,10,.22), transparent 7%); }
.fp-cel-in { position: absolute; left: 0; right: 0; top: 9%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 9cqw; }
.fp-cel-in img { width: 30cqw; }
.fp-cel-title { margin-top: 6cqw; font-family: var(--serif, "Cormorant Garamond"), serif; font-weight: 500; font-size: 17cqw; line-height: .92; color: #3a2412; }
.fp-cel-sub { margin-top: 4cqw; font-size: 4.6cqw; line-height: 1.4; color: #5a3a1c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-cel-name { margin-top: 5cqw; font-family: var(--serif, "Cormorant Garamond"), serif; font-size: 8.4cqw; color: #3a2412; }
.fp-cel-span { margin-top: 1cqw; font-size: 3.6cqw; letter-spacing: .2em; color: #6a4524; }
.fp-cel-sweep { position: absolute; inset: -10% -60%; transform: translateX(-70%) rotate(8deg); pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255,240,205,.55) 50%, transparent 62%);
  animation: fp-cel-sweep 1.1s cubic-bezier(.4,.1,.3,1) .5s both; }
@keyframes fp-cel-sweep { to { transform: translateX(70%) rotate(8deg); opacity: 0; } }

/* warm light behind the cover, and a few paper flecks that rise once */
.fp-cel-glow { position: absolute; left: 42px; top: 40px; width: 220px; aspect-ratio: 2 / 3; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,214,150,.55), rgba(255,200,130,.18) 60%, transparent);
  transform: scale(1.5); animation: fp-cel-glow 1.4s ease-out .2s both; }
@keyframes fp-cel-glow { from { opacity: 0; transform: scale(.5); } 45% { opacity: 1; } }
.fp-cel-flecks { position: absolute; left: 42px; top: 40px; width: 220px; aspect-ratio: 2 / 3; pointer-events: none; }
.fp-cel-flecks i { position: absolute; top: 34%; left: calc(14% + var(--i) * 12%); width: 5px; height: 7px; border-radius: 60% 0 60% 0;
  background: #c99a52; opacity: 0; animation: fp-cel-fleck 1.5s cubic-bezier(.2,.7,.3,1) calc(.45s + var(--i) * .06s) both; }
.fp-cel-flecks i:nth-child(3n) { background: #9fae7f; } .fp-cel-flecks i:nth-child(3n+1) { width: 4px; height: 4px; border-radius: 50%; background: #e3b878; }
@keyframes fp-cel-fleck { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 25% { opacity: .95; }
  100% { opacity: 0; transform: translate(calc((var(--i) - 3) * 9px), calc(-70px - var(--i) * 6px)) rotate(calc(var(--i) * 50deg)); } }

.fp-cel-words { grid-area: words; padding-top: 6px; animation: fp-cel-in .5s ease .36s both; }
.fp-cel-words h2 { margin: 10px 0 0; font-family: var(--serif, "Cormorant Garamond"), serif; font-weight: 500; font-size: clamp(30px, 4.2vw, 40px); line-height: 1.08; color: var(--fp-ink); }
.fp-cel-lead { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--fp-soft); }
.fp-cel-actions { grid-area: actions; margin-top: 20px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; animation: fp-cel-in .5s ease .58s both; }
@keyframes fp-cel-in { from { opacity: 0; transform: translateY(8px); } }
.fp-cel-share { padding: 15px 22px; font-size: 12.5px; box-shadow: 0 10px 24px rgba(207,106,63,.26); }
.fp-cel-link { display: flex; align-items: center; gap: 10px; padding: 5px 5px 5px 14px; border: 1px solid var(--fp-rule); border-radius: 999px; background: var(--fp-ivory); }
.fp-cel-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--fp-soft); }
.fp-cel-link .fp-btn { padding: 8px 14px; font-size: 11px; white-space: nowrap; }
.fp-cel-caption summary { cursor: pointer; font-size: 13px; color: var(--fp-soft); list-style: none; }
.fp-cel-caption summary::-webkit-details-marker { display: none; }
.fp-cel-caption summary::before { content: "+ "; color: var(--fp-gold); }
.fp-cel-caption[open] summary::before { content: "− "; }
.fp-cel-caption textarea { display: block; box-sizing: border-box; width: 100%; margin: 10px 0 8px; padding: 12px 14px; border: 1px solid var(--fp-rule); border-radius: 10px;
  background: var(--fp-ivory); font-family: var(--serif, "Cormorant Garamond"), serif; font-size: 17px; line-height: 1.45; color: var(--fp-ink); resize: vertical; }
.fp-cel-foot { margin: 4px 0 0; display: flex; justify-content: space-between; align-items: center; }
.fp-cel-foot a.fp-link { text-decoration: none; }
.fp-cel-done { color: var(--fp-soft); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.fp-cel-note { margin: 0; font-size: 11.5px; color: var(--fp-faint); }

@media (max-width: 640px) {
  .fp-cel { align-items: end; padding: 0; }
  .fp-cel-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "book" "words" "actions"; justify-items: center; text-align: center;
                  padding: 30px 20px 22px; border-radius: 22px 22px 0 0; max-height: calc(100vh - 24px); }
  .fp-cel-book { width: 132px; }
  .fp-cel-glow, .fp-cel-flecks { left: calc(50% - 66px); top: 30px; width: 132px; }
  .fp-cel-words h2 { font-size: 30px; }
  .fp-cel-actions { width: 100%; margin-top: 14px; }
  .fp-cel-caption { text-align: left; }
}

/* the way in, on the My UNBIFY page */
.ws-footprint { margin-top: 14px; display: inline-flex; align-items: baseline; gap: 10px; border: 0; background: none; padding: 6px 2px;
                font-family: var(--serif, "Cormorant Garamond"), serif; font-size: 20px; color: var(--charcoal, #3c3733); cursor: pointer;
                border-bottom: 1px solid rgba(176,112,58,.35); }
.ws-footprint span { color: #b0703a; font-style: italic; }
.ws-footprint:hover { border-bottom-color: #b0703a; }
.ws-footprint-live { align-self: center; margin-left: 2px; padding: 3px 9px; border-radius: 999px; font: 500 10px/1.4 var(--sans, "Jost"), sans-serif;
                     font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: #8a5a2c; background: rgba(232,190,120,.22); }
.ws-footprint:focus-visible { outline: 2px solid #cf6a3f; outline-offset: 4px; }

@media (max-width: 640px) {
  .fp-bar { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .fp-bar-title { font-size: 18px; flex: 1; }
  .fp-modes { order: 3; margin: 0; width: 100%; justify-content: center; }
  .fp-item { grid-template-columns: 1fr; }
  .fp-item-tools { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .fp-ch-head { flex-wrap: wrap; }
  .fp-ch-tools { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fp { transition: none; }
  /* the moment arrives already settled */
  .fp-cel, .fp-cel-panel, .fp-cel-book, .fp-cel-words, .fp-cel-actions, .fp-cel-glow, .fp-btn.is-working::after { animation: none; }
  .fp-cel-sweep, .fp-cel-flecks { display: none; }
}
