
.ncpl-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.ncpl-btn{appearance:none;border:1px solid #cfdbea;background:#fff;color:#294663;border-radius:999px;min-height:42px;padding:8px 14px;font-weight:800;cursor:pointer;transition:.18s ease}
.ncpl-btn:hover{border-color:#76a3dc;background:#f6faff}
.ncpl-btn--want.is-active{background:#fff1f2;border-color:#f4a8b0;color:#a51d33}
.ncpl-btn--done.is-active{background:#eaf7ef;border-color:#8bcba3;color:#176438}
.ncpl-card-actions{padding:0 14px 14px;margin:0;background:#fff}
.ncpl-card-actions .ncpl-btn{font-size:.82rem;min-height:36px;padding:6px 11px}
.ncpl-toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);opacity:0;z-index:99999;width:min(92vw,520px);background:#17345d;color:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 14px 40px rgba(0,0,0,.22);transition:.22s ease;display:grid;gap:4px}
.ncpl-toast.is-show{opacity:1;transform:translate(-50%,0)}
.ncpl-toast span{font-size:.9rem;opacity:.9}
.ncpl-toast-link{color:#fff4b8;font-weight:800;margin-top:5px;text-decoration:none}
.ncpl-saved-page{max-width:1120px;margin:0 auto;padding:24px 16px 52px}
.ncpl-eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.12em;color:#2e67ac}
.ncpl-saved-head h1{color:#17345d;margin:.35rem 0}
.ncpl-saved-head p{color:#607089;line-height:1.7}
.ncpl-tabs{display:flex;gap:8px;margin:22px 0;overflow:auto}
.ncpl-tab{border:1px solid #d6e1ef;background:#fff;border-radius:999px;padding:10px 15px;font-weight:800;white-space:nowrap;cursor:pointer}
.ncpl-tab.is-active{background:#17345d;color:#fff;border-color:#17345d}
.ncpl-saved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ncpl-saved-card{border:1px solid #e0e7f0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 7px 24px rgba(25,54,92,.06)}
.ncpl-saved-link{text-decoration:none;color:inherit;display:block}
.ncpl-saved-card img,.ncpl-saved-placeholder{width:100%;aspect-ratio:16/10;object-fit:cover;background:#eef3f8}
.ncpl-saved-body{padding:14px}
.ncpl-saved-body h2{font-size:1.02rem;line-height:1.45;color:#17345d;margin:8px 0}
.ncpl-saved-body p{font-size:.83rem;color:#68788f;margin:0;line-height:1.6}
.ncpl-status{display:inline-block;font-size:.72rem;font-weight:800;border-radius:999px;padding:4px 8px;background:#eef3f8;color:#52647d}
.ncpl-status--open{background:#e9f8ef;color:#176438}
.ncpl-status--upcoming{background:#edf4ff;color:#275d9d}
.ncpl-status--ended{background:#f2f2f2;color:#6d6d6d}
.ncpl-empty,.ncpl-loading{grid-column:1/-1;border:1px dashed #cfdae7;border-radius:16px;padding:30px;text-align:center;color:#68788f}
.ncpl-local-note{font-size:.82rem;color:#75849a;margin-top:20px}
@media(max-width:820px){.ncpl-saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ncpl-saved-grid{grid-template-columns:1fr}.ncpl-actions{gap:7px}.ncpl-btn{flex:1}}

/* rc2: compact card controls */
.nch-event-card>.ncpl-card-actions,.ncs-card>.ncpl-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 12px 12px;margin:0;background:#fff}
.nch-event-card>.ncpl-card-actions .ncpl-btn,.ncs-card>.ncpl-card-actions .ncpl-btn{min-width:0;width:100%;font-size:.76rem;line-height:1.2;min-height:34px;padding:6px 7px;white-space:nowrap}
@media(max-width:700px){.nch-event-card>.ncpl-card-actions,.ncs-card>.ncpl-card-actions{padding:0 10px 10px}}

/* rc3: saved-list tab visibility fix for Kadence/theme button colors */
.ncpl-tabs .ncpl-tab{
  color:#294663 !important;
  background:#fff !important;
  border-color:#d6e1ef !important;
  opacity:1 !important;
  -webkit-text-fill-color:#294663;
}
.ncpl-tabs .ncpl-tab:hover,
.ncpl-tabs .ncpl-tab:focus-visible{
  color:#17345d !important;
  background:#f4f8fc !important;
  border-color:#9bb7d5 !important;
  -webkit-text-fill-color:#17345d;
}
.ncpl-tabs .ncpl-tab.is-active{
  color:#fff !important;
  background:#17345d !important;
  border-color:#17345d !important;
  -webkit-text-fill-color:#fff;
}

/* rc5: event-detail action placement */
.single-event .ncpl-detail-actions{
  margin:10px 0 22px;
  gap:9px;
}
.single-event .ncpl-detail-actions .ncpl-btn{
  min-height:40px;
  padding:7px 14px;
}
@media(max-width:560px){
  .single-event .ncpl-detail-actions{
    margin:8px 0 18px;
  }
}

/* rc6: participant-survey CTA */
.ncpl-detail-actions .ncpl-survey-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:7px 14px;
  border-radius:999px;
  background:#fff8dd;
  border:1px solid #f1cf69;
  color:#7a5700;
  font-weight:800;
  text-decoration:none;
  font-size:.9rem;
}
.ncpl-detail-actions .ncpl-survey-cta:hover{
  background:#fff2bd;
  color:#654800;
}
.ncpl-toast-link{
  display:inline-block;
}

/* rc7: make the survey invitation much more noticeable without covering the page */
.ncpl-toast{
  width:min(520px,calc(100vw - 32px));
  padding:18px 18px 16px;
  border-left:6px solid #f6c343;
  border-radius:16px;
  box-shadow:0 18px 48px rgba(12,37,72,.28);
}
.ncpl-toast strong{
  display:block;
  margin-bottom:5px;
  font-size:1.05rem;
}
.ncpl-toast span{
  display:block;
  margin-bottom:12px;
  line-height:1.55;
}
.ncpl-toast .ncpl-toast-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  padding:10px 16px;
  border-radius:11px;
  background:#ffd45a;
  color:#17345d !important;
  font-weight:900;
  font-size:1rem;
  text-decoration:none;
  box-shadow:0 5px 14px rgba(0,0,0,.10);
}
.ncpl-toast .ncpl-toast-link:hover,
.ncpl-toast .ncpl-toast-link:focus-visible{
  background:#ffca2f;
  color:#102b4e !important;
  transform:translateY(-1px);
}

/* On event detail pages, keep a visible CTA after the user marks the event as participated. */
.single-event .ncpl-detail-actions{
  display:flex;
  flex-wrap:wrap;
}
.single-event .ncpl-detail-actions .ncpl-survey-cta{
  flex:1 0 100%;
  margin-top:2px;
  min-height:46px;
  border-radius:12px;
  background:#fff4bf;
  border:1px solid #edc342;
  color:#6c4d00;
  font-size:.95rem;
  font-weight:900;
  box-shadow:0 5px 14px rgba(86,62,0,.08);
}
.single-event .ncpl-detail-actions .ncpl-survey-cta:hover,
.single-event .ncpl-detail-actions .ncpl-survey-cta:focus-visible{
  background:#ffe98c;
  color:#563e00;
}
@media(max-width:560px){
  .ncpl-toast{
    bottom:16px;
    width:calc(100vw - 24px);
    padding:16px 14px 14px;
  }
}
