/* /public/css/classic-pages.css (v2.31) 📄 The plain pages: Find a person (people.html) and the classic person page (person.html).
   No painted pictures: a plain title, white/cream cards, big readable writing, the site's own fonts and colors.
   Works in light and dark, and on phones (one column) and computers (two columns on the person page). */

.cp{max-width:1100px;margin:0 auto;padding:18px 1.25rem 28px;font-size:1.06rem;color:#1d1a22}
.cp a{color:var(--oh-violet-strong,#3d1f8f)}
.cp-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 16px;margin:0 0 14px;border-bottom:1px solid #e8e1d3;padding-bottom:12px}
.cp-top h1{font-family:Lora,Georgia,serif;font-weight:700;font-size:1.9rem;margin:0;color:#1d1a22;line-height:1.2}
.cp-top .cp-sub{margin:4px 0 0;color:#5b5562;font-size:1rem}
.cp-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cp-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid #d8d3e2;background:#fff;color:#2b2233!important;font-weight:700;font-size:.98rem;text-decoration:none;cursor:pointer;font-family:inherit}
.cp-btn:hover{border-color:var(--oh-violet,#5b35c4);background:var(--oh-violet-soft,#ece6fb)}
.cp-btn.is-main{background:var(--oh-violet,#5b35c4);border-color:var(--oh-violet,#5b35c4);color:#fff!important}
.cp-btn.is-main:hover{background:var(--oh-violet-strong,#3d1f8f)}
.cp-btn.is-small{min-height:36px;padding:0 12px;font-size:.9rem}
/* the small "Classic look" switch */
.cp-look{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px 0 14px;border-radius:999px;border:1.5px solid #d8d3e2;background:#fff;font:inherit;font-weight:700;font-size:.9rem;color:#2b2233;cursor:pointer}
.cp-look .cp-sw{position:relative;width:38px;height:22px;border-radius:99px;background:#cfc9d8;flex:none;transition:background .15s}
.cp-look .cp-sw::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .15s}
.cp-look[aria-checked="true"] .cp-sw{background:var(--oh-violet,#5b35c4)}
.cp-look[aria-checked="true"] .cp-sw::after{left:19px}

/* ---------- Find a person ---------- */
.cp-find{background:#fffdf8;border:1px solid #e8e1d3;border-radius:14px;padding:14px;margin:0 0 12px}
.cp-q{display:flex;align-items:center;gap:10px;border:2px solid #d9cfb9;border-radius:12px;background:#fff;padding:0 14px}
.cp-q:focus-within{border-color:var(--oh-violet,#5b35c4);box-shadow:0 0 0 4px var(--oh-a-violet-15,rgba(91,53,196,.15))}
.cp-q svg{flex:none;color:#6b6475}
.cp-q input{flex:1;min-width:0;border:0;outline:0;background:transparent;min-height:56px;font-size:1.25rem;color:#1d1a22;font-family:inherit}
.cp-q input::placeholder{color:#8a8494}
.cp-q input:focus,.cp-q input:focus-visible{outline:none!important;box-shadow:none!important}
.cp-q input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.cp-q-x{border:0;background:none;font-size:1.6rem;line-height:1;color:#6b6475;width:40px;height:40px;border-radius:50%;cursor:pointer}
.cp-q-x:hover{background:#f1edf6}
.cp-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.cp-filters label{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:.9rem;color:#4a4452;min-width:0}
.cp-filters select{min-height:46px;border-radius:10px;border:1.5px solid #d8d3e2;background:#fff;color:#1d1a22;font-size:1rem;padding:0 10px;font-family:inherit;width:100%}
.cp-count{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:4px 2px 10px;color:#4a4452;font-weight:700}
.cp-clear{border:0;background:none;color:var(--oh-violet,#5b35c4);font-weight:800;font-size:.98rem;cursor:pointer;padding:6px 4px}
.cp-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #e8e1d3;border-radius:14px;overflow:hidden}
.cp-list li+li{border-top:1px solid #efe9dd}
.cp-row{display:grid;grid-template-columns:1fr auto;gap:2px 14px;padding:12px 16px;text-decoration:none;color:#1d1a22!important;align-items:center}
.cp-row:hover,.cp-row:focus-visible{background:#faf7f0;outline:none}
.cp-row:focus-visible{box-shadow:inset 0 0 0 3px var(--oh-violet,#5b35c4)}
.cp-row-name{font-weight:800;font-size:1.2rem;line-height:1.3;color:#1d1a22}
.cp-nick{font-weight:600;color:#5b5562}
html.theme-dark .cp-nick{color:#c9c4d3}
.cp-row-name mark{background:#fdeeb5;color:inherit;padding:0 1px;border-radius:3px}
.cp-row-years{font-weight:700;color:#4a4452;white-space:nowrap;font-size:1.05rem;text-align:right}
.cp-row-line{grid-column:1/-1;color:#4a4452;font-size:1rem;line-height:1.4}
.cp-row-line b{font-weight:700;color:#2b2233}
.cp-tag{display:inline-block;font-size:.8rem;font-weight:800;border-radius:999px;padding:1px 9px;margin-left:6px;vertical-align:2px;background:#dcfce7;color:#166534}
.cp-tag.is-you{background:var(--oh-violet,#5b35c4);color:#fff}
.cp-more{display:flex;justify-content:center;margin:14px 0 4px}
.cp-empty{background:#fffdf8;border:1px dashed #d9cfb9;border-radius:14px;padding:28px 16px;text-align:center;color:#4a4452}
.cp-empty b{display:block;font-size:1.15rem;color:#1d1a22;margin-bottom:4px}
.cp-status{padding:40px 10px;text-align:center;color:#4a4452}

/* ---------- the classic person page ---------- */
.cp-person-h{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.cp-person-h .cp-av{width:84px;height:84px;border-radius:12px;object-fit:cover;flex:none;border:1px solid #e8e1d3;background:#f3efe6}
.cp-person-h .cp-ini[hidden]{display:none}
.cp-person-h .cp-ini{width:84px;height:84px;border-radius:12px;flex:none;display:grid;place-items:center;font-weight:800;font-size:1.8rem;background:#efe9dd;color:#5b5562}
.cp-person-h .cp-life{font-size:1.15rem;font-weight:700;color:#4a4452;margin:4px 0 0}
.cp-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start}
.cp-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.cp-card{background:#fffdf8;border:1px solid #e8e1d3;border-radius:14px;padding:14px 18px 16px;min-width:0}
.cp-card-h{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-bottom:1px solid #efe9dd;padding-bottom:8px;margin-bottom:10px}
.cp-card-h h2{font-family:Lora,Georgia,serif;font-weight:700;font-size:1.3rem;margin:0;color:#2b2233}
.cp-card-acts{display:flex;gap:6px;flex-wrap:wrap}
.cp-vitals{display:grid;grid-template-columns:minmax(110px,auto) 1fr;gap:10px 16px;margin:0}
.cp-vitals dt{font-weight:800;color:#4a4452;font-size:1rem}
.cp-vitals dd{margin:0;color:#1d1a22;min-width:0;overflow-wrap:anywhere}
.cp-vitals dd small,.cp-dim{display:block;color:#5b5562;font-size:.95rem}
.cp-none{color:#6b6475;font-style:italic}
.cp-fam{margin:0 0 14px}
.cp-fam:last-child{margin-bottom:0}
.cp-fam-h{font-weight:800;font-size:.86rem;letter-spacing:.05em;text-transform:uppercase;color:#6b6475;margin:0 0 6px}
.cp-fam-line{color:#4a4452;font-size:.98rem;margin:-2px 0 6px}
.cp-ppl{list-style:none;margin:0;padding:0}
.cp-ppl li{border-top:1px solid #efe9dd}
.cp-ppl li:first-child{border-top:0}
.cp-ppl a,.cp-ppl .is-self{display:flex;justify-content:space-between;gap:10px;padding:9px 6px;text-decoration:none;color:#1d1a22!important;border-radius:8px;align-items:baseline}
.cp-ppl a:hover{background:#f6f1e6}
.cp-ppl b{font-weight:800;font-size:1.08rem;color:var(--oh-violet-strong,#3d1f8f)}
.cp-ppl .is-self b{color:#1d1a22}
.cp-ppl .is-self{background:#f3efe6}
.cp-ppl span{color:#4a4452;white-space:nowrap;font-weight:600}
.cp-ppl em{font-style:normal;font-size:.85rem;color:#6b6475;font-weight:700;margin-left:6px}
.cp-text{white-space:pre-line;line-height:1.6;font-family:Lora,Georgia,serif;font-size:1.08rem;color:#2b2233}
.cp-ul{margin:0;padding-left:1.1rem}
.cp-ul li{margin:0 0 6px;line-height:1.45}
.cp-ul li small{color:#5b5562}
.cp-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.cp-thumbs a{display:block;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#efe9dd;border:1px solid #e8e1d3;text-decoration:none;color:#5b5562;font-size:1.6rem;display:grid;place-items:center}
.cp-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.cp-links{display:flex;flex-wrap:wrap;gap:8px}
.cp-member{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#4a4452;font-size:.98rem}
.cp-foot-note{color:#6b6475;font-size:.92rem;margin:14px 2px 0}

@media (max-width:860px){.cp-grid{grid-template-columns:1fr}.cp-filters{grid-template-columns:1fr 1fr}}
@media (max-width:575.98px){
  .cp{padding:12px .75rem 24px}
  .cp-top h1{font-size:1.55rem}
  .cp-tools{width:100%;gap:6px}
  .cp-tools .cp-btn,.cp-look{min-height:40px;padding:0 12px;font-size:.92rem}
  .cp-look .cp-sw{width:34px;height:20px}.cp-look .cp-sw::after{width:14px;height:14px}.cp-look[aria-checked="true"] .cp-sw::after{left:17px}
  .cp-filters{gap:8px}
  .cp-q input{font-size:1.15rem;min-height:52px}
  .cp-row{padding:12px 12px}
  .cp-row-years{font-size:1rem}
  .cp-card{padding:12px 14px 14px}
  .cp-vitals{grid-template-columns:1fr;gap:2px}
  .cp-vitals dd{margin-bottom:10px}
  .cp-person-h .cp-av,.cp-person-h .cp-ini{width:64px;height:64px;font-size:1.4rem}
}
/* bigger text choices (♿ Easy access) */
html.fp-text-lg .cp{font-size:1.14rem}
html.fp-text-xl .cp{font-size:1.24rem}

/* ---------- dark ---------- */
html.theme-dark .cp{color:#ece9f1}
html.theme-dark .cp a{color:var(--oh-lavender-2,#c9b8ff)}
html.theme-dark .cp-top{border-color:#36333c}
html.theme-dark .cp-top h1,html.theme-dark .cp-card-h h2,html.theme-dark .cp-row-name,html.theme-dark .cp-vitals dd,html.theme-dark .cp-text,html.theme-dark .cp-empty b,html.theme-dark .cp-ppl .is-self b{color:#f1eef5!important}
html.theme-dark .cp-top .cp-sub,html.theme-dark .cp-row-years,html.theme-dark .cp-row-line,html.theme-dark .cp-count,html.theme-dark .cp-vitals dt,html.theme-dark .cp-filters label,html.theme-dark .cp-ppl span,html.theme-dark .cp-fam-line,html.theme-dark .cp-member,html.theme-dark .cp-status,html.theme-dark .cp-empty,html.theme-dark .cp-life{color:#c9c4d3!important}
html.theme-dark .cp-row-line b{color:#ece9f1}
html.theme-dark .cp-vitals dd small,html.theme-dark .cp-dim,html.theme-dark .cp-none,html.theme-dark .cp-fam-h,html.theme-dark .cp-ppl em,html.theme-dark .cp-ul li small,html.theme-dark .cp-foot-note{color:#aaa3b6!important}
html.theme-dark .cp-find,html.theme-dark .cp-card,html.theme-dark .cp-empty{background:#222026;border-color:#36333c}
html.theme-dark .cp-list{background:#1f1d23;border-color:#36333c}
html.theme-dark .cp-list li+li,html.theme-dark .cp-card-h,html.theme-dark .cp-ppl li{border-color:#33303a}
html.theme-dark .cp-row{color:#ece9f1!important}
html.theme-dark .cp-row:hover,html.theme-dark .cp-row:focus-visible,html.theme-dark .cp-ppl a:hover{background:#2a2731}
html.theme-dark .cp-ppl a{color:#ece9f1!important}
html.theme-dark .cp-ppl b{color:var(--oh-lavender-2,#c9b8ff)}
html.theme-dark .cp-ppl .is-self{background:#2a2731}
html.theme-dark .cp-q{background:#1d1a22;border-color:#4a4152}
html.theme-dark .cp-q input{color:#f1eef5}
html.theme-dark .cp-q input::placeholder{color:#8f889a}
html.theme-dark .cp-q svg,html.theme-dark .cp-q-x{color:#b7b1c2}
html.theme-dark .cp-q-x:hover{background:#2a2731}
html.theme-dark .cp-filters select{background:#1d1a22;border-color:#4a4152;color:#f1eef5}
html.theme-dark .cp-btn,html.theme-dark .cp-look{background:#2b2832;border-color:#4a4552;color:#ece9f1!important}
html.theme-dark .cp-btn:hover{background:#3a3150;border-color:var(--oh-lavender,#a48bff)}
html.theme-dark .cp-btn.is-main{background:var(--oh-t-7c5cd6,#7c5cd6);border-color:var(--oh-t-7c5cd6,#7c5cd6);color:#fff!important}
html.theme-dark .cp-look .cp-sw{background:#555060}
html.theme-dark .cp-look[aria-checked="true"] .cp-sw{background:var(--oh-t-7c5cd6,#7c5cd6)}
html.theme-dark .cp-clear{color:var(--oh-lavender-2,#c9b8ff)}
html.theme-dark .cp-tag{background:#14361f;color:#86efac}
html.theme-dark .cp-tag.is-you{background:var(--oh-t-7c5cd6,#7c5cd6);color:#fff}
html.theme-dark .cp-row-name mark{background:#5a4a14;color:#fff}
html.theme-dark .cp-person-h .cp-ini{background:#2f2b36;color:#c9c4d3}
html.theme-dark .cp-person-h .cp-av,html.theme-dark .cp-thumbs a{border-color:#36333c;background:#2f2b36}

/* ---------- Home: the "Find a person" bar under the greeting (everyone) ---------- */
.hh-find{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 1.5rem 14px;padding:12px 14px;border-radius:14px;background:#fffdf8;border:1px solid #e8e1d3}
.hh-find label{font-weight:800;font-size:1.08rem;color:#2b2233;margin:0}
.hh-find input{flex:1 1 220px;min-width:0;min-height:48px;border-radius:999px;border:2px solid #d9cfb9;padding:0 18px;font-size:1.1rem;background:#fff;color:#1d1a22;font-family:inherit}
.hh-find input:focus{outline:0;border-color:var(--oh-violet,#5b35c4);box-shadow:0 0 0 4px var(--oh-a-violet-15,rgba(91,53,196,.15))}
.hh-find button{min-height:48px;border-radius:999px;border:0;background:var(--oh-violet,#5b35c4);color:#fff;font-weight:800;padding:0 20px;font-size:1.02rem;font-family:inherit}
.hh-find a{font-weight:700;color:var(--oh-violet-strong,#3d1f8f)}
html.theme-dark .hh-find{background:#222026;border-color:#36333c}
html.theme-dark .hh-find label{color:#f1eef5}
html.theme-dark .hh-find input{background:#1d1a22;border-color:#4a4152;color:#f1eef5}
html.theme-dark .hh-find a{color:var(--oh-lavender-2,#c9b8ff)}
@media (max-width:575.98px){.hh-find{margin:0 .75rem 12px}.hh-find label{flex-basis:100%}}

/* ---------- v2.34 "Elsewhere" under the name: one compact row ---------- */
#cpTopLinks:empty{display:none}
#cpTopLinks{margin:0 0 16px}
.cp-elsewhere{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;padding:10px 14px}
.cp-elsewhere .cp-card-h{border:0;padding:0;margin:0;flex:none}
.cp-elsewhere .cp-card-h h2{font-size:1.05rem}
.cp-elsewhere .cp-links{flex:1 1 auto;min-width:0}
.cp-elsewhere .cp-member{flex-basis:100%;margin-top:2px!important}
.cp-elsewhere .cp-member:empty{display:none}
@media (max-width:575.98px){
  .cp-elsewhere{padding:8px 10px;gap:6px}
  .cp-elsewhere .cp-card-h{display:none}
  .cp-elsewhere .cp-links{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;-webkit-overflow-scrolling:touch}
  .cp-elsewhere .cp-links::-webkit-scrollbar{display:none}
  .cp-elsewhere .cp-links .cp-btn{flex:none;white-space:nowrap}
}

/* ---------- v2.34 editing inside a card (Vitals, Life sketch) ---------- */
.cp-btn.is-link{border-color:transparent;background:none;text-decoration:underline;text-underline-offset:3px}
.cp-card.is-editing{border:2px solid var(--oh-violet,#5b35c4);box-shadow:0 6px 22px rgba(61,31,143,.14)}
.cp-editing-tag{font-weight:800;color:var(--oh-violet-strong,#3d1f8f);background:#f1ecfb;border-radius:8px;padding:4px 10px}
.cp-edit .pf{gap:12px}
.cp-edit .pf-group{padding:8px 12px 12px}
.cp-edit .pp-label{font-size:.8rem}
.cp-notes{margin-bottom:12px}
.cp-story .ed-h{font-family:Lora,Georgia,serif;font-size:1.1rem;font-weight:700;margin:4px 0 2px}
.cp-story .ed-sub{color:#5b5562;font-size:.95rem;margin:0 0 10px}
.cp-story .ed-save-bar .btn-primary{display:none}
.cp-story .ed-save-bar{min-height:0}
.cp-story .ed-status:empty{display:none}
.cp-edit-bar{position:sticky;bottom:0;z-index:2;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;background:#fffdf8;border-top:1px solid #efe9dd;margin:14px -18px -16px;padding:12px 18px;border-radius:0 0 12px 12px}
.cp-edit-bar .cp-btn{min-height:46px}
.cp-edit-st{flex-basis:100%;margin-right:auto;font-weight:700;color:var(--oh-violet-strong,#3d1f8f)}
.cp-saved{font-weight:700;color:#1f5f3a;background:#dcf3e4;border-radius:8px;padding:3px 10px;font-size:.92rem}
@media (max-width:575.98px){
  .cp-edit-bar{margin:12px -14px -14px;padding:10px 14px}
  .cp-edit-bar .cp-btn{flex:1 1 auto}
  .cp-edit-st{flex-basis:100%}
}
html.theme-dark .cp-card.is-editing{border-color:#7a5be0}
html.theme-dark .cp-editing-tag{background:#2e2839;color:#d9ccff}
html.theme-dark .cp-edit-bar{background:#222026;border-color:#33303a}
html.theme-dark .cp-edit-st{color:var(--oh-lavender-2,#c9b8ff)}
html.theme-dark .cp-saved{background:#203628;color:#bfe5cc}
html.theme-dark .cp-story .ed-h{color:#f1eef5}
html.theme-dark .cp-story .ed-sub{color:#b9b3c2}
/* the phone dock (js/sidebar.js) covers the bottom 82px: keep Save / Cancel above it */
@media (max-width:991.98px){html.fp-has-tabs .cp-edit-bar{bottom:calc(82px + env(safe-area-inset-bottom))}}

/* ---------- v2.35 inline editing that keeps the card's size ----------
   Vitals: the same lines as the card (label | boxes, date and place side by side), small boxes, no help text,
   a small gold dot on a changed box (its tooltip says what it was), Save / Cancel as one slim footer row. */
.cp-edit .pf-rows{display:grid;grid-template-columns:minmax(100px,auto) minmax(0,1fr);gap:6px 16px;align-items:center}
.cp-edit .pf-row{display:contents}
.cp-edit .pf-row[hidden]{display:none}
.cp-edit .pf-row-l{font-weight:800;color:#4a4452;font-size:1rem}
.cp-edit .pf-row-v{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:6px;min-width:0}
.cp-edit .pf-row-v:has(> .pf-c:only-child){grid-template-columns:minmax(0,220px)}
.cp-edit .pf-c{position:relative;min-width:0}
.cp-edit .pf-c .form-control,.cp-edit .pf-c .form-select,.cp-story.is-compact .form-control{min-height:34px;height:34px;padding:3px 10px;font-size:.95rem;border-radius:8px}
.cp-edit .pf-c .form-select{padding-right:30px;background-position:right 8px center}
.cp-edit .pf-c .form-control:disabled{font-size:.9rem}
.cp-edit .pf-f.is-chg .form-control,.cp-edit .pf-f.is-chg .form-select{box-shadow:none}
.cp-edit .pf-dot{position:absolute;top:-4px;right:-4px;width:12px;height:12px;border-radius:50%;background:#e0a21b;border:2px solid #fffdf8;cursor:help}
.cp-edit .fp-fmt-hint{font-size:.78rem;margin-top:1px;line-height:1.25}
.cp-notes{margin-bottom:8px}
.cp-notes[hidden]{display:none}
.cp-notes textarea.form-control{min-height:40px;font-size:1rem;line-height:1.45;padding:6px 10px;resize:vertical}
/* Life sketch: only the lists the card showed, compact rows, no help text (the drawer keeps the full version) */
.cp-story.is-compact .ed-h,.cp-story.is-compact .ed-sub,.cp-story.is-compact .sf-help,.cp-story.is-compact .sf-empty,.cp-story.is-compact .ed-save-bar{display:none}
.cp-story.is-compact .sf-group{border:0;border-radius:0;padding:0;margin:0 0 8px}
.cp-story.is-compact .sf-group legend{font-weight:800;font-size:.86rem;letter-spacing:.05em;text-transform:uppercase;color:#6b6475;padding:0;margin:0 0 4px}
.cp-story.is-compact .sf-rows{gap:4px;margin-bottom:4px}
.cp-story.is-compact .sf-row{padding:0;border:0;background:none;gap:4px;align-items:center}
.cp-story.is-compact .sf-f span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.cp-story.is-compact .sf-wide{margin-bottom:4px}
.cp-story.is-compact textarea.form-control{height:auto;min-height:34px}
.cp-story.is-compact [data-add]{display:none}
.cp-story.is-compact .sf-rm{padding:2px 6px;font-size:1rem}
.cp-story.is-compact .sf-journeys .sf-rm{grid-column:auto;justify-self:auto}
.cp-story.is-compact:not([data-show~="work"]) .sf-group:has([data-add="work"]),
.cp-story.is-compact:not([data-show~="homes"]) .sf-group:has([data-add="homes"]),
.cp-story.is-compact:not([data-show~="journeys"]) .sf-group:has([data-add="journeys"]),
.cp-story.is-compact:not([data-show~="stone"]) .sf-group:has(#sfStone){display:none}
/* the slim footer: "＋ Burial"-style chips on the left, Save / Cancel on the right */
.cp-card.is-editing .cp-edit-bar{margin:8px -18px -16px;padding:6px 18px;gap:6px}
.cp-card.is-editing .cp-edit-bar .cp-btn{min-height:34px}
.cp-card.is-editing .cp-edit-st{flex:1 1 auto;flex-basis:auto;margin-right:0;font-size:.88rem;text-align:right}
.cp-card.is-editing .cp-edit-st:empty{display:none}
.cp-edit-adds{display:flex;flex-wrap:wrap;gap:4px;margin-right:auto}
.cp-edit-adds:empty{display:none}
.cp-chip{border:1.5px dashed #cfc6e3;background:none;border-radius:999px;padding:0 9px;min-height:30px;font-weight:700;font-size:.85rem;color:var(--oh-violet-strong,#3d1f8f);font-family:inherit;cursor:pointer}
.cp-chip:hover{background:var(--oh-violet-soft,#ece6fb);border-style:solid}
.cp-add-sel{appearance:none;-webkit-appearance:none;padding:0 12px;max-width:150px}
.cp-add-sel option{color:#1d1a22;font-weight:600}
.cp-card.is-editing .cp-card-h{margin-bottom:8px}
.cp-card.is-editing .cp-card-acts{align-items:center}
.cp-card.is-editing .cp-card-acts .is-link{min-height:30px;padding:0 6px}
@media (max-width:575.98px){
  .cp-edit .pf-rows{grid-template-columns:1fr;gap:2px}
  .cp-edit .pf-row-l{font-size:.9rem;margin-top:6px}
  .cp-edit .pf-row-v{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}
  .cp-edit .pf-c .form-control{padding:3px 8px}
  .cp-card.is-editing .cp-editing-tag{display:none}
  .cp-card.is-editing .cp-card-h{flex-wrap:nowrap}
  /* 16px or more: phones don't zoom in on the box */
  .cp-edit .pf-c .form-control,.cp-edit .pf-c .form-select,.cp-story.is-compact .form-control,.cp-notes textarea.form-control{font-size:16px;height:40px;min-height:40px}
  .cp-story.is-compact textarea.form-control,.cp-notes textarea.form-control{height:auto}
  .cp-card.is-editing .cp-edit-bar{margin:10px -14px -14px;padding:8px 14px}
  .cp-card.is-editing .cp-edit-bar .cp-btn{min-height:40px;flex:0 1 auto}
  .cp-add-sel{font-size:16px;min-height:40px}
}
html.theme-dark .cp-edit .pf-row-l{color:#c9c4d3}
html.theme-dark .cp-edit .pf-dot{border-color:#222026;background:#f0b429}
html.theme-dark .cp-story.is-compact .sf-group legend{color:#aaa3b6}
html.theme-dark .cp-chip{border-color:#5a5168;color:var(--oh-lavender-2,#c9b8ff)}
html.theme-dark .cp-chip:hover{background:#2e2839}
