
/* ==========================================================================
   THE HABITUAL EXPERIENCER — page-experiencer. Prefix xp- (verified free).
   White, airy, editorial. No hero banner, no dashboard density.
   ========================================================================== */
#page-experiencer{
  --xp-navy:#243447; --xp-ink:#2B2B2B; --xp-muted:#5A6472; --xp-line:#E8E4DC;
  --xp-coral:#A05949; --xp-coral-s:#F7EDE9;
  --xp-sage:#5F7350;  --xp-sage-s:#EEF4EC;
  --xp-gold:#8A6A2F;  --xp-gold-s:#FBF3E2;
  --xp-lav:#7A5C8A;   --xp-lav-s:#F1ECF6;
  --xp-blush:#A0566B; --xp-blush-s:#FBECF0;
  background:#fff !important;
  font-family:'Nunito',system-ui,-apple-system,sans-serif;
}
#page-experiencer *{ box-sizing:border-box; }
#page-experiencer [hidden]{ display:none !important; }
.xp-wrap{ max-width:1180px; margin:0 auto; padding:26px clamp(18px,5vw,64px) 70px; }

/* ---------- header ---------- */
.xp-intro{ padding:6px 0 8px; }
.xp-kicker{ margin:0; font-size:.72rem; font-weight:800; letter-spacing:.26em; text-transform:uppercase;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-title{ font-family:'Playfair Display',Georgia,serif; font-weight:700; font-style:italic;
  font-size:clamp(2rem,5vw,3rem); line-height:1.05; margin:2px 0 0;
  color:var(--xp-coral) !important; -webkit-text-fill-color:var(--xp-coral) !important; }
.xp-tag{ margin:10px 0 0; font-size:.8rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-lead{ margin:10px 0 0; font-size:1rem; line-height:1.65; max-width:62ch;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.xp-quick{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.xp-q{ cursor:pointer; font-family:inherit; font-size:.82rem; font-weight:700; border-radius:999px;
  padding:10px 15px; min-height:44px; background:#fff !important; border:1px solid var(--xp-line);
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-q:hover{ background:var(--xp-sage-s) !important; border-color:var(--xp-sage); }

/* ---------- buttons ---------- */
.xp-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:pointer;
  font-family:inherit; font-size:.87rem; font-weight:800; border-radius:999px; padding:12px 20px;
  min-height:46px; background:#fff !important; border:1px solid rgba(18,33,58,.16);
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important;
  transition:background .16s, border-color .16s, transform .16s; }
.xp-btn:hover{ background:var(--xp-coral-s) !important; border-color:var(--xp-coral); transform:translateY(-1px); }
.xp-btn--primary{ background:var(--xp-navy) !important; border-color:var(--xp-navy) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important; }
.xp-btn--primary:hover{ background:#31465F !important; }
.xp-btn--sm{ min-height:44px; padding:9px 15px; font-size:.79rem; }
.xp-btn--ghost{ background:none !important; border:0; text-decoration:underline;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-btn:focus-visible,.xp-q:focus-visible,.xp-opt:focus-visible,.xp-chip:focus-visible,
.xp-cat:focus-visible,.xp-x:focus-visible{ outline:3px solid #CF9E3F; outline-offset:2px; }

/* ---------- category shortcuts ---------- */
.xp-cats{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:26px 0 8px; }
.xp-cat{ display:flex; flex-direction:column; align-items:flex-start; gap:4px; cursor:pointer;
  text-align:left; font-family:inherit; border-radius:18px; padding:15px 14px; min-height:44px;
  border:1px solid var(--xp-line); background:#fff !important; transition:transform .16s, border-color .16s; }
.xp-cat:hover{ transform:translateY(-2px); }
.xp-cat-ic{ font-size:1.15rem; }
.xp-cat-t{ font-size:.9rem; font-weight:800;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-cat-d{ font-size:.76rem; line-height:1.4;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-cat[data-tone="coral"]{ background:var(--xp-coral-s) !important; border-color:#EFDCD5; }
.xp-cat[data-tone="sage"]{  background:var(--xp-sage-s) !important;  border-color:#DCE7D8; }
.xp-cat[data-tone="gold"]{  background:var(--xp-gold-s) !important;  border-color:#EFE2C6; }
.xp-cat[data-tone="lav"]{   background:var(--xp-lav-s) !important;   border-color:#E3DBEC; }
.xp-cat[data-tone="blush"]{ background:var(--xp-blush-s) !important; border-color:#F0D9E1; }

/* ---------- sections ---------- */
.xp-sec{ padding:34px 0 6px; }
.xp-sec + .xp-sec{ border-top:1px solid var(--xp-line); }
.xp-head{ margin-bottom:16px; }
.xp-h{ font-family:'Playfair Display',Georgia,serif; font-weight:700;
  font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.2; margin:0;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-sub{ margin:6px 0 0; font-size:.92rem; line-height:1.6; max-width:60ch;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-note{ margin:10px 0 0; font-size:.78rem; line-height:1.55;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-empty-line{ margin:6px 0 0; font-size:.9rem;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-blank{ text-align:center; padding:50px 0; }
.xp-blank .xp-sub{ margin:8px auto 18px; }

/* ---------- cards ---------- */
.xp-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.xp-card,.xp-place,.xp-cap{ background:#fff; border:1px solid var(--xp-line); border-radius:20px;
  padding:17px 18px; box-shadow:0 4px 18px rgba(36,52,71,.04); }
.xp-card-top,.xp-place-h{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.xp-src{ font-size:.62rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  border-radius:999px; padding:4px 10px; background:#F5F3EE;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-fav{ font-size:1rem; color:var(--xp-coral) !important; -webkit-text-fill-color:var(--xp-coral) !important; }
.xp-card-t{ margin:8px 0 0; font-family:'Playfair Display',Georgia,serif; font-weight:700; font-size:1.05rem;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-card-m,.xp-card-p{ margin:5px 0 0; font-size:.79rem; line-height:1.5;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-card-n{ margin:9px 0 0; font-size:.85rem; line-height:1.55; font-style:italic;
  color:var(--xp-ink) !important; -webkit-text-fill-color:var(--xp-ink) !important; }
.xp-mood{ margin:7px 0 0; font-size:.8rem; font-weight:700; display:flex; align-items:center; gap:7px;
  color:var(--xp-sage) !important; -webkit-text-fill-color:var(--xp-sage) !important; }
.xp-dot{ width:8px; height:8px; border-radius:50%; background:currentColor; flex:none; }
.xp-badge{ margin:9px 0 0; display:inline-block; font-size:.62rem; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; border-radius:999px; padding:4px 10px;
  background:var(--xp-lav-s) !important; border:1px solid #E3DBEC;
  color:var(--xp-lav) !important; -webkit-text-fill-color:var(--xp-lav) !important; }
.xp-card-acts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:13px; }

/* ---------- filters, people, insights, timeline ---------- */
.xp-filters{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.xp-chip{ cursor:pointer; font-family:inherit; font-size:.78rem; font-weight:700; border-radius:999px;
  padding:9px 14px; min-height:44px; background:#fff !important; border:1px solid var(--xp-line);
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-chip[aria-pressed="true"]{ background:var(--xp-navy) !important; border-color:var(--xp-navy) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important; }
.xp-people{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.xp-person{ background:var(--xp-lav-s); border:1px solid #E3DBEC; border-radius:16px; padding:14px; }
.xp-person b{ display:block; font-size:.95rem;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-person span{ display:block; margin-top:3px; font-size:.78rem;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-ins{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.xp-ins-i{ margin:0; background:var(--xp-sage-s); border:1px solid #DCE7D8; border-radius:16px;
  padding:15px 17px; font-size:.9rem; line-height:1.6;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-tl{ list-style:none; margin:0; padding:0; }
.xp-tl-i{ display:flex; gap:14px; padding:11px 0; border-top:1px solid #F2F0EB; }
.xp-tl-i:first-child{ border-top:0; }
.xp-tl-d{ flex:none; width:76px; font-size:.76rem; font-weight:800;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-tl-b b{ display:block; font-size:.92rem;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-tl-b span{ display:block; margin-top:3px; font-size:.78rem;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }
.xp-cap-raw{ margin:0; font-size:1rem; line-height:1.55; font-style:italic;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-status{ font-weight:800; text-transform:uppercase; font-size:.66rem; letter-spacing:.08em;
  color:var(--xp-gold) !important; -webkit-text-fill-color:var(--xp-gold) !important; }

/* ---------- capture sheet ---------- */
.xp-sheet-bg{ position:fixed; inset:0; background:rgba(20,30,40,.46); z-index:200000;
  display:flex; align-items:center; justify-content:center; padding:20px;
  height:100vh; height:100dvh; overflow-y:auto; }
.xp-sheet{ background:#fff; border-radius:24px; width:100%; max-width:620px;
  max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); overflow-y:auto; padding:24px; }
.xp-sheet-h{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:12px; }
.xp-x{ cursor:pointer; border:1px solid var(--xp-line); background:#fff; border-radius:50%;
  width:44px; height:44px; font-size:1.1rem; flex:none;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-fld{ margin-bottom:14px; }
.xp-lbl{ display:block; font-size:.64rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  margin-bottom:7px; color:var(--xp-sage) !important; -webkit-text-fill-color:var(--xp-sage) !important; }
.xp-in,.xp-ta,.xp-big{ width:100%; border:1.5px solid var(--xp-line); border-radius:14px;
  padding:12px 15px; font-family:inherit; font-size:.94rem; background:#FDFCFA;
  color:var(--xp-navy); min-height:46px; }
.xp-big{ font-size:1.02rem; min-height:54px; }
.xp-ta{ min-height:76px; resize:vertical; }
.xp-in:focus,.xp-ta:focus,.xp-big:focus{ outline:none; border-color:var(--xp-sage); background:#fff; }
.xp-err{ margin:6px 0 0; font-size:.8rem; font-weight:700;
  color:#A4453A !important; -webkit-text-fill-color:#A4453A !important; }
.xp-opts{ display:flex; gap:7px; flex-wrap:wrap; }
.xp-opt{ cursor:pointer; font-family:inherit; font-size:.79rem; font-weight:700; border-radius:999px;
  padding:9px 14px; min-height:44px; background:#fff !important; border:1px solid var(--xp-line);
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-opt:hover{ background:var(--xp-sage-s) !important; border-color:var(--xp-sage); }
.xp-opt[aria-pressed="true"]{ background:var(--xp-navy) !important; border-color:var(--xp-navy) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important; }
.xp-range{ width:100%; accent-color:var(--xp-sage); min-height:44px; }
.xp-more summary{ cursor:pointer; list-style:none; font-size:.84rem; font-weight:800; padding:10px 0;
  min-height:44px; display:flex; align-items:center; gap:7px;
  color:var(--xp-sage) !important; -webkit-text-fill-color:var(--xp-sage) !important; }
.xp-more summary::-webkit-details-marker{ display:none; }
.xp-more summary::after{ content:"\2193"; }
.xp-more[open] summary::after{ content:"\2191"; }
.xp-sheet-foot{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.xp-say{ margin:10px 0 0; padding-left:20px; font-size:.9rem; line-height:1.75;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }

@media (max-width:1024px){
  .xp-cats{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .xp-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .xp-people{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px){
  .xp-cats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .xp-grid,.xp-ins{ grid-template-columns:minmax(0,1fr); }
  .xp-cta .xp-btn{ width:100%; }
  .xp-sheet-bg{ padding:0; align-items:flex-end; }
  .xp-sheet{ max-width:none; border-radius:24px 24px 0 0; }
  .xp-tl-i{ flex-direction:column; gap:3px; }
  .xp-tl-d{ width:auto; }
}
@media (prefers-reduced-motion:reduce){ .xp-btn,.xp-cat{ transition:none !important; } }

/* ---------- search & page filters ---------- */
.xp-search{ margin:22px 0 4px; }
.xp-q-in{ font-size:1rem; min-height:52px; }
.xp-search .xp-filters{ margin:12px 0 0; }
.xp-foot{ margin:38px 0 0; text-align:center; font-size:.8rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }

/* ---------- capture-method sheet ---------- */
.xp-ways{ display:grid; gap:10px; margin-top:6px; }
.xp-way{ display:flex; align-items:flex-start; gap:13px; text-align:left; cursor:pointer;
  font-family:inherit; background:#fff !important; border:1px solid var(--xp-line);
  border-radius:18px; padding:15px 16px; min-height:44px; }
.xp-way:hover{ border-color:var(--xp-coral); background:var(--xp-coral-s) !important; }
.xp-way-ic{ font-size:1.2rem; flex:none; }
.xp-way-t{ display:block; font-size:.95rem; font-weight:800;
  color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
.xp-way-d{ display:block; margin-top:3px; font-size:.79rem;
  color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important; }

/* ---------- mobile bottom navigation ---------- */
#xpNav{ display:none; }
@media (max-width:640px){
  #xpNav{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:120;
    background:rgba(255,255,255,.97); backdrop-filter:blur(10px);
    border-top:1px solid var(--xp-line);
    padding:6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    justify-content:space-around; align-items:flex-end;
  }
  .xp-nav-b{
    flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; cursor:pointer;
    font-family:inherit; background:none !important; border:0; padding:7px 4px; min-height:56px;
    color:var(--xp-muted) !important; -webkit-text-fill-color:var(--xp-muted) !important;
  }
  .xp-nav-ic{ font-size:1.15rem; line-height:1; }
  .xp-nav-t{ font-size:.66rem; font-weight:800; letter-spacing:.04em; }
  .xp-nav-b[aria-current="true"]{
    color:var(--xp-navy) !important; -webkit-text-fill-color:var(--xp-navy) !important; }
  /* the + is the prominent one, per her brief */
  .xp-nav-b.is-add .xp-nav-ic{
    width:52px; height:52px; border-radius:50%; display:grid; place-items:center;
    background:var(--xp-coral); font-size:1.4rem; margin-top:-20px;
    box-shadow:0 8px 20px rgba(160,89,73,.34);
    color:#fff !important; -webkit-text-fill-color:#fff !important;
  }
  .xp-nav-b.is-add{ color:var(--xp-coral) !important; -webkit-text-fill-color:var(--xp-coral) !important; }
  .xp-nav-b:focus-visible{ outline:3px solid #CF9E3F; outline-offset:2px; border-radius:14px; }
  /* keep the last section clear of the bar */
  .xp-wrap{ padding-bottom:120px; }
}
