:root{
  --wis-pink:#e11d48;
  --wis-pink-dark:#be123c;

  --wis-blue:#2563eb;
  --wis-green:#16a34a;
  --wis-red:#dc2626;
  --wis-amber:#f59e0b;

  --wis-bg:#f5f5f5;
  --wis-card:#ffffff;
  --wis-text:#171717;
  --wis-muted:#737373;
  --wis-border:#e5e5e5;

  --wis-shadow:0 6px 24px rgba(0,0,0,.06);
  --wis-radius:16px;
}

/* Admin shell */
.wis-admin-shell{
  max-width:1200px;
  padding:22px 12px;
}

.wis-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}

.wis-top-title{
  font-size:22px;
  font-weight:700;
  color:var(--wis-text);
}

/* KPIs */
.wis-kpis{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:16px;
  margin-bottom:16px;
}

.wis-kpi{
  background:var(--wis-card);
  border:1px solid var(--wis-border);
  border-radius:var(--wis-radius);
  box-shadow:var(--wis-shadow);
  padding:18px;
  position:relative;
  min-height:120px;
}

.wis-kpi-ic{
  width:48px;
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  margin-bottom:16px;
}

.wis-kpi-ic svg{ display:block; }

.wis-blue{ background:var(--wis-blue); }
.wis-green{ background:var(--wis-green); }
.wis-red{ background:var(--wis-red); }
.wis-amber{ background:var(--wis-amber); }

.wis-kpi-num{
  font-size:34px;
  font-weight:800;
  color:var(--wis-text);
  line-height:1;
}

.wis-kpi-lbl{
  margin-top:10px;
  font-size:13px;
  color:var(--wis-muted);
}

/* Response rate */
.wis-rate{
  background:var(--wis-card);
  border:1px solid var(--wis-border);
  border-radius:var(--wis-radius);
  box-shadow:var(--wis-shadow);
  padding:18px;
  margin-bottom:16px;
}

.wis-rate-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}

.wis-rate-title{
  font-weight:700;
  color:var(--wis-text);
}

.wis-rate-val{
  color:var(--wis-muted);
  font-weight:700;
}

.wis-rate-bar{
  width:100%;
  height:10px;
  border-radius:999px;
  background:#ededed;
  overflow:hidden;
}

.wis-rate-fill{
  height:10px;
  width:0%;
  background:var(--wis-pink);
  border-radius:999px;
}

/* Tabs */
.wis-tabs{
  background:var(--wis-card);
  border:1px solid var(--wis-border);
  border-radius:999px;
  box-shadow:var(--wis-shadow);
  padding:6px;
  display:flex;
  gap:6px;
  margin-bottom:14px;
  width:max-content;
}

.wis-tab{
  appearance:none;
  border:1px solid transparent;
  background:transparent;
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
  color:var(--wis-muted);
  cursor:pointer;
  display:flex;
  gap:8px;
  align-items:center;
}

.wis-tab svg{ opacity:.8; }

.wis-tab.is-active{
  background:#fafafa;
  border-color:var(--wis-border);
  color:var(--wis-text);
}

.wis-tabpanel{ display:none; }
.wis-tabpanel.is-active{ display:block; }

/* Toolbar */
.wis-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.wis-search{
  background:var(--wis-card);
  border:1px solid var(--wis-border);
  border-radius:999px;
  padding:10px 14px;
  display:flex;
  gap:10px;
  align-items:center;
  flex:1;
  box-shadow:var(--wis-shadow);
}

.wis-search input{
  border:0;
  outline:none;
  width:100%;
  background:transparent;
  font-size:14px;
}

.wis-tools{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

/* Buttons */
.wis-iconbtn{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--wis-border);
  background:var(--wis-card);
  cursor:pointer;
  box-shadow:var(--wis-shadow);
  display:flex;
  align-items:center;
  justify-content:center;
}

.wis-iconbtn:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.wis-btn{
  border-radius:999px;
  border:1px solid var(--wis-border);
  background:var(--wis-card);
  padding:10px 14px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  color:var(--wis-text);
  box-shadow:var(--wis-shadow);
  transition:transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

.wis-btn svg{ opacity:.9; }

.wis-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}

.wis-btn-primary{
  background:var(--wis-pink);
  border-color:var(--wis-pink);
  color:#fff;
}

.wis-btn-primary:hover{
  background:var(--wis-pink-dark);
  border-color:var(--wis-pink-dark);
}

.wis-btn-light{
  background:#fff;
}

.wis-btn-wide{
  width:100%;
  justify-content:center;
}

/* Table */
.wis-tablecard{
  background:var(--wis-card);
  border:1px solid var(--wis-border);
  border-radius:var(--wis-radius);
  box-shadow:var(--wis-shadow);
  overflow:hidden;
}

.wis-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}

.wis-table thead th{
  text-align:left;
  font-size:13px;
  padding:14px 14px;
  color:var(--wis-muted);
  border-bottom:1px solid var(--wis-border);
  background:#fff;
}

.wis-table tbody td{
  padding:14px 14px;
  border-bottom:1px solid #f0f0f0;
  vertical-align:middle;
  color:var(--wis-text);
  font-size:14px;
}

.wis-table tbody tr:last-child td{
  border-bottom:none;
}

.wis-td-title{
  font-weight:700;
}

.wis-td-sub{
  margin-top:4px;
  font-size:12px;
  color:var(--wis-muted);
}

.wis-th-actions,
.wis-td-actions{
  text-align:right;
  white-space:nowrap;
}

.wis-table thead th:first-child,
.wis-table tbody td:first-child{
  min-width:220px;
}

.wis-action-group{
  display:flex;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}

/* Pills */
.wis-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid var(--wis-border);
  background:#fafafa;
  color:var(--wis-muted);
  text-transform:lowercase;
}

.wis-pill-attending{
  border-color:rgba(22,163,74,.25);
  background:rgba(22,163,74,.08);
  color:var(--wis-green);
}

.wis-pill-declined{
  border-color:rgba(220,38,38,.25);
  background:rgba(220,38,38,.08);
  color:var(--wis-red);
}

.wis-pill-pending{
  border-color:rgba(245,158,11,.25);
  background:rgba(245,158,11,.10);
  color:#b45309;
}

/* Row action buttons */
.wis-action{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid var(--wis-border);
  background:#fff;
  cursor:pointer;
  margin-left:0;
  flex:0 0 auto;
}

.wis-action:hover{
  background:#fafafa;
}

.wis-action.wis-del{
  color:var(--wis-red);
}

.wis-action.wis-wa{
  color:#25d366;
}

/* Modal */
.wis-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.wis-modal-card{
  width:min(620px, 100%);
  background:#fff;
  border:1px solid var(--wis-border);
  border-radius:var(--wis-radius);
  box-shadow:var(--wis-shadow);
  padding:18px;
}

.wis-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

.wis-modal-title{
  font-size:18px;
  font-weight:800;
  color:var(--wis-text);
}

.wis-modal-sub{
  color:var(--wis-muted);
  margin-bottom:14px;
  line-height:1.4;
}

.wis-field{
  margin-bottom:12px;
}

.wis-field-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.wis-label{
  display:block;
  font-weight:700;
  color:var(--wis-text);
  margin-bottom:6px;
}

.wis-input,
.wis-textarea{
  width:100%;
  border:1px solid var(--wis-border);
  border-radius:14px;
  padding:10px 12px;
  outline:none;
  font-size:14px;
  background:#fff;
  margin-bottom:6px;
}

.wis-input:focus,
.wis-textarea:focus{
  box-shadow:0 0 0 3px rgba(225,29,72,.12);
  border-color:#f3a0b3;
}

.wis-textarea{ resize:vertical; }

.wis-help{
  margin-top:6px;
  font-size:12px;
  color:var(--wis-muted);
}

.wis-modal-msg{
  margin-top:10px;
  color:var(--wis-muted);
  font-size:13px;
}

/* WhatsApp modal actions */
.wis-wa-actions{
  display:flex;
  gap:10px;
  margin-top:10px;
  flex-wrap:wrap;
}

.wis-wa-template-pick .wis-btn{
  min-width:140px;
}

/* WhatsApp modal template chooser layout */
#wisModalWa .wis-modal-card{
  width:min(720px, 100%);
}

#wisModalWa .wis-wa-actions{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

#wisModalWa .wis-wa-actions > div{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

#wisWaPick{
  margin-top:0;
  padding-left:0;
  border-left:0;
}

#wisWaPick > div:first-child{
  font-weight:800;
  margin-bottom:8px;
}

#wisWaPick button{
  border-radius:999px;
  padding:10px 14px;
  border:1px solid var(--wis-border);
  background:#fff;
  font-weight:800;
}

#wisWaPick button:disabled{
  opacity:.5;
}

#wisOpenWa.wis-btn-primary{
  text-decoration:none;
}

/* Tracking */
.wis-tracking-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.wis-tracking-title{
  font-size:18px;
  font-weight:800;
  color:var(--wis-text);
}

.wis-tracking-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.wis-tracking-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.wis-track-col{
  background:#fff;
  border:1px solid var(--wis-border);
  border-radius:var(--wis-radius);
  box-shadow:var(--wis-shadow);
  overflow:hidden;
}

.wis-track-head{
  padding:12px 14px;
  border-bottom:1px solid var(--wis-border);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.wis-track-name{
  font-weight:800;
  color:var(--wis-text);
}

.wis-track-count{
  font-weight:800;
  color:var(--wis-muted);
}

.wis-track-list{
  padding:10px 14px;
  max-height:520px;
  overflow:auto;
}

.wis-track-item{
  padding:10px 0;
  border-bottom:1px solid #f1f1f1;
}

.wis-track-item:last-child{
  border-bottom:none;
}

.wis-track-att{
  font-weight:700;
  color:var(--wis-text);
}

.wis-track-meta{
  margin-top:4px;
  font-size:12px;
  color:var(--wis-muted);
}

.wis-track-meta a{
  color:var(--wis-pink);
  text-decoration:none;
}

.wis-track-empty{
  color:var(--wis-muted);
  font-size:13px;
  padding:10px 0;
}

.wis-track-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.wis-track-wa{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid var(--wis-border);
  background:#fff;
  cursor:pointer;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

.wis-track-wa:hover{
  background:#fafafa;
}

.wis-track-wa svg{
  display:block;
}

/* Settings */
.wis-settings-card{
  background:#fff;
  border:1px solid var(--wis-border);
  border-radius:var(--wis-radius);
  box-shadow:var(--wis-shadow);
  padding:18px;
}

.wis-settings-note{
  color:var(--wis-muted);
  margin-bottom:10px;
  line-height:1.4;
}

.wis-set-row{
  margin-bottom:14px;
}

.wis-set-label{
  font-weight:800;
  color:var(--wis-text);
  display:block;
  margin-bottom:6px;
}

/* RSVP buttons layout */
.wis-att-btns{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.wis-btn-yes:hover{
  background:rgba(22,163,74,.12);
  border-color:rgba(22,163,74,.45);
}

.wis-btn-no:hover{
  background:rgba(220,38,38,.12);
  border-color:rgba(220,38,38,.45);
}

.wis-att-card.wis-attending .wis-btn-yes{
  background:rgba(22,163,74,.18);
  border-color:rgba(22,163,74,.65);
  color:#0f3d1f;
}

.wis-att-card.wis-declined .wis-btn-no{
  background:rgba(220,38,38,.18);
  border-color:rgba(220,38,38,.65);
  color:#4a0c0c;
}

.wis-att-card.wis-attending .wis-btn-yes.wis-btn-selected,
.wis-att-card.wis-declined .wis-btn-no.wis-btn-selected{
  box-shadow:0 0 0 2px rgba(255,255,255,.85), 0 6px 16px rgba(0,0,0,.10);
}

#wisRsvpApp .wis-att-btns{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  padding-bottom:10px;
}

#wisRsvpApp .wis-att-btns .wis-btn{
  margin:0;
}

/* RSVP name input block */
.wis-att-left{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:6px;
}

.wis-att-label{
  font-size:12px;
  opacity:.75;
}

.wis-att-nameinput.wis-input-error{
  border-color:#ef4444;
  box-shadow:0 0 0 3px rgba(239, 68, 68, 0.15);
}

.wis-toggle-option-label{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:4px;
}

.wis-toggle-option-row{
  margin-bottom:12px;
}

/* Responsive */
@media (max-width: 1024px){
  .wis-kpis{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .wis-tracking-grid{ grid-template-columns:1fr; }
}

@media (max-width: 768px){
  .wis-toolbar{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .wis-search{
    width:100%;
    flex:0 0 auto;
  }

  .wis-tools{
    width:100%;
    justify-content:flex-start;
    gap:10px;
  }

  .wis-tablecard{
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }

  .wis-table{
    min-width:760px;
  }

  .wis-table thead th:nth-child(3),
  .wis-table tbody td:nth-child(3),
  .wis-table thead th:nth-child(5),
  .wis-table tbody td:nth-child(5){
    display:none;
  }

  .wis-table thead th:first-child,
  .wis-table tbody td:first-child{
    min-width:230px;
    width:230px;
  }

  .wis-table thead th:nth-child(2),
  .wis-table tbody td:nth-child(2){
    min-width:150px;
  }

  .wis-table thead th:nth-child(4),
  .wis-table tbody td:nth-child(4){
    min-width:120px;
  }

  .wis-td-actions{
    text-align:right;
    position:sticky;
    right:0;
    background:#fff;
    padding-right:12px;
    min-width:170px;
  }

  .wis-th-actions{
    position:sticky;
    right:0;
    background:#fff;
    min-width:170px;
    text-align:right;
    padding-right:12px;
  }

  .wis-action-group{
    display:flex;
    justify-content:flex-end;
    gap:6px;
    flex-wrap:nowrap;
  }

  .wis-td-title{
    font-size:14px;
    line-height:1.25;
    word-break:break-word;
    padding-right:10px;
  }

  code{
    white-space:normal;
    word-break:break-word;
  }

  .wis-action{
    width:34px;
    height:34px;
    border-radius:10px;
    flex:0 0 auto;
  }

  #wisModalWa .wis-wa-actions{
    align-items:stretch;
  }
}


.wis-invite-count{
  color:#ffffff;
  text-align:center;
  padding-bottom:15px;
}

/* Mobile modal scrolling fix for long guest lists */
.wis-modal-card{
  max-height:calc(100vh - 36px);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

@media (max-width: 768px){
  .wis-modal{
    align-items:flex-start;
    padding:12px;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }

  .wis-modal-card{
    max-height:calc(100dvh - 24px);
    padding:14px;
  }

  #wisAttendeeInputs,
  #wisEditAttendeeInputs{
    max-height:38dvh;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding-right:4px;
  }

  #wisCreateGuest,
  #wisSaveEdit{
    position:sticky;
    bottom:0;
    z-index:2;
    margin-top:8px;
  }
}

/* Elegant compact RSVP refresh */
#wisRsvpApp{
  --wis-rsvp-gold:#8f681f;
  --wis-rsvp-gold-dark:#5f4315;
  --wis-rsvp-line:rgba(95,67,21,.35);
  --wis-rsvp-ink:#5f4315;
  max-width:560px;
  margin:0 auto;
}

#wisRsvpApp .wis-card-rsvp{
  background:transparent !important;
  border:0;
  border-radius:0;
  box-shadow:none;
  padding:18px clamp(14px,4vw,26px) 22px;
  color:var(--wis-rsvp-ink);
  font-family:Georgia,'Times New Roman',serif;
  position:relative;
}

#wisRsvpApp .wis-card-rsvp:before{
  content:"";
  display:block;
  width:100%;
  height:7px;
  border-radius:999px;
  background:var(--wis-rsvp-gold);
  box-shadow:0 1px 3px rgba(95,67,21,.2) inset;
  margin:0 0 20px;
}

#wisRsvpApp .wis-rsvp-head{
  text-align:center;
  margin-bottom:20px;
}

#wisRsvpApp .wis-h2{
  color:var(--wis-rsvp-gold-dark);
  font-family:Georgia,'Times New Roman',serif;
  font-size:18px;
  line-height:1.15;
  letter-spacing:.24em;
  font-weight:700;
  text-transform:uppercase;
}

#wisRsvpApp .wis-rsvp-sub{
  min-height:0;
  margin-top:0;
  color:var(--wis-rsvp-gold);
  font-size:0;
}

#wisRsvpApp .wis-label,
#wisRsvpApp .wis-invite-count{
  color:var(--wis-rsvp-gold-dark);
  font-family:Georgia,'Times New Roman',serif;
  font-size:19px;
  font-weight:700;
  line-height:1.2;
  margin:0 0 10px;
}

#wisRsvpApp .wis-invite-count{
  font-size:14px;
  opacity:.78;
}

#wisRsvpApp .wis-calendar-start{
  display:flex;
  justify-content:flex-end;
  margin:-30px 0 12px;
}

#wisRsvpApp .wis-attendees{
  display:flex;
  flex-direction:column;
  gap:7px;
}

#wisRsvpApp .wis-att-card{
  background:transparent !important;
  border:0;
  border-bottom:1px solid var(--wis-rsvp-line);
  border-radius:0;
  box-shadow:none;
  padding:10px 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
}

#wisRsvpApp .wis-att-left{
  margin:0;
  gap:4px;
}

#wisRsvpApp .wis-att-name{
  color:var(--wis-rsvp-gold-dark);
  font-family:Georgia,'Times New Roman',serif;
  font-size:18px;
  line-height:1.2;
  font-weight:600;
}

#wisRsvpApp .wis-att-label{
  color:var(--wis-rsvp-gold);
  font-family:Georgia,'Times New Roman',serif;
  font-size:12px;
  letter-spacing:.04em;
}

#wisRsvpApp .wis-input.wis-att-nameinput{
  border:0;
  border-bottom:1px solid var(--wis-rsvp-line);
  border-radius:0;
  background:transparent;
  color:var(--wis-rsvp-gold-dark);
  font-family:Georgia,'Times New Roman',serif;
  font-size:16px;
  padding:6px 0;
  box-shadow:none;
}

#wisRsvpApp .wis-input.wis-att-nameinput:focus{
  border-color:var(--wis-rsvp-gold);
  box-shadow:none;
}

#wisRsvpApp .wis-att-btns{
  gap:6px;
  padding-bottom:0;
  flex-wrap:nowrap;
}

#wisRsvpApp .wis-att-btns .wis-btn,
#wisRsvpApp .wis-actions .wis-btn{
  box-shadow:none;
  border-radius:0;
  border:1px solid var(--wis-rsvp-gold);
  background:transparent;
  color:var(--wis-rsvp-gold-dark);
  font-family:Georgia,'Times New Roman',serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:7px 10px;
}

#wisRsvpApp .wis-att-btns .wis-btn{
  min-width:76px;
  justify-content:center;
}

#wisRsvpApp .wis-att-card.wis-attending .wis-btn-yes,
#wisRsvpApp .wis-att-card.wis-declined .wis-btn-no,
#wisRsvpApp .wis-att-btns .wis-btn:hover{
  background:var(--wis-rsvp-gold);
  border-color:var(--wis-rsvp-gold);
  color:#fff;
  box-shadow:none;
}

#wisRsvpApp .wis-actions{
  margin-top:16px;
  display:flex;
  justify-content:center;
}

#wisRsvpApp .wis-actions .wis-btn-primary{
  min-width:170px;
  justify-content:center;
  background:var(--wis-rsvp-gold) !important;
  border-color:var(--wis-rsvp-gold) !important;
  color:#fff;
  letter-spacing:.16em;
  padding:11px 16px;
}

#wisRsvpApp .wis-actions .wis-btn-primary:hover{
  background:var(--wis-rsvp-gold-dark) !important;
  border-color:var(--wis-rsvp-gold-dark) !important;
}

#wisRsvpApp .wis-result{
  color:var(--wis-rsvp-gold-dark);
  font-family:Georgia,'Times New Roman',serif;
}

#wisRsvpApp .wis-recap-head,
#wisRsvpApp .wis-recap-event-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}

#wisRsvpApp .wis-recap-title,
#wisRsvpApp .wis-recap-event-title{
  color:var(--wis-rsvp-gold-dark);
  font-size:19px;
  font-weight:700;
  line-height:1.2;
}

#wisRsvpApp .wis-recap-link{
  appearance:none;
  border:0;
  border-bottom:1px solid var(--wis-rsvp-gold);
  background:transparent;
  color:var(--wis-rsvp-gold-dark);
  cursor:pointer;
  font-family:Georgia,'Times New Roman',serif;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  padding:0 0 3px;
  text-decoration:none;
  white-space:nowrap;
}

#wisRsvpApp .wis-recap-link:hover{
  color:var(--wis-rsvp-gold);
}

#wisRsvpApp .wis-recap-line{
  height:1px;
  background:var(--wis-rsvp-line);
  margin:8px 0 18px;
}

#wisRsvpApp .wis-res-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}

#wisRsvpApp .wis-res-person{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--wis-rsvp-gold-dark);
  font-size:18px;
  font-weight:600;
  line-height:1.2;
}

#wisRsvpApp .wis-res-symbol{
  width:24px;
  height:24px;
  border:1px solid var(--wis-rsvp-gold);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  font-size:17px;
  line-height:1;
  font-weight:400;
}

@media (max-width: 560px){
  #wisRsvpApp{
    max-width:100%;
  }

  #wisRsvpApp .wis-card-rsvp{
    padding:16px 16px 20px;
  }

  #wisRsvpApp .wis-calendar-start{
    justify-content:flex-start;
    margin:0 0 10px;
  }

  #wisRsvpApp .wis-att-card{
    grid-template-columns:1fr;
    align-items:stretch;
    gap:8px;
  }

  #wisRsvpApp .wis-att-btns{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  #wisRsvpApp .wis-att-btns .wis-btn{
    width:100%;
    min-width:0;
  }

  #wisRsvpApp .wis-recap-head,
  #wisRsvpApp .wis-recap-event-head{
    align-items:flex-end;
    gap:10px;
  }

  #wisRsvpApp .wis-recap-title,
  #wisRsvpApp .wis-recap-event-title{
    font-size:18px;
  }

  #wisRsvpApp .wis-recap-link{
    font-size:13px;
  }

  #wisRsvpApp .wis-res-person{
    font-size:17px;
  }
}


/* RSVP final white compact transparent overrides */
#wisRsvpApp{
  --wis-rsvp-gold:#ffffff !important;
  --wis-rsvp-gold-dark:#ffffff !important;
  --wis-rsvp-line:rgba(255,255,255,.72) !important;
  --wis-rsvp-ink:#ffffff !important;
  max-width:430px !important;
  color:#ffffff !important;
}

#wisRsvpApp,
#wisRsvpApp *{
  color:#ffffff !important;
}

#wisRsvpApp .wis-card-rsvp{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:10px 12px 12px !important;
}

#wisRsvpApp .wis-card-rsvp:before{
  height:5px !important;
  background:#ffffff !important;
  box-shadow:none !important;
  margin:0 0 10px !important;
}

#wisRsvpApp .wis-rsvp-head{
  margin-bottom:8px !important;
}

#wisRsvpApp .wis-h2{
  font-size:13px !important;
  letter-spacing:.22em !important;
}

#wisRsvpApp .wis-label,
#wisRsvpApp .wis-recap-title,
#wisRsvpApp .wis-recap-event-title{
  font-size:14px !important;
  line-height:1.15 !important;
  margin-bottom:6px !important;
}

#wisRsvpApp .wis-invite-count{
  font-size:11px !important;
  margin-bottom:5px !important;
}

#wisRsvpApp .wis-calendar-start{
  display:flex !important;
  justify-content:flex-end !important;
  margin:-19px 0 6px !important;
}

#wisRsvpApp .wis-attendees{
  gap:4px !important;
}

#wisRsvpApp .wis-att-card{
  padding:6px 0 !important;
  gap:6px !important;
  border-bottom:1px solid rgba(255,255,255,.72) !important;
  background:transparent !important;
  box-shadow:none !important;
}

#wisRsvpApp .wis-att-left{
  gap:2px !important;
}

#wisRsvpApp .wis-att-name,
#wisRsvpApp .wis-res-person{
  font-size:14px !important;
  line-height:1.15 !important;
}

#wisRsvpApp .wis-att-label{
  font-size:10px !important;
}

#wisRsvpApp .wis-input.wis-att-nameinput{
  border-bottom:1px solid rgba(255,255,255,.72) !important;
  background:transparent !important;
  color:#ffffff !important;
  font-size:13px !important;
  padding:4px 0 !important;
}

#wisRsvpApp .wis-input.wis-att-nameinput::placeholder{
  color:rgba(255,255,255,.82) !important;
}

#wisRsvpApp .wis-att-btns{
  gap:5px !important;
}

#wisRsvpApp .wis-att-btns .wis-btn,
#wisRsvpApp .wis-actions .wis-btn{
  border:1px solid #ffffff !important;
  background:transparent !important;
  color:#ffffff !important;
  box-shadow:none !important;
  font-size:10px !important;
  line-height:1.1 !important;
  padding:5px 7px !important;
  min-width:58px !important;
}

#wisRsvpApp .wis-att-card.wis-attending .wis-btn-yes,
#wisRsvpApp .wis-att-card.wis-declined .wis-btn-no,
#wisRsvpApp .wis-att-btns .wis-btn:hover,
#wisRsvpApp .wis-actions .wis-btn:hover{
  background:rgba(255,255,255,.20) !important;
  border-color:#ffffff !important;
  color:#ffffff !important;
}

#wisRsvpApp .wis-actions{
  margin-top:10px !important;
}

#wisRsvpApp .wis-actions .wis-btn-primary{
  background:transparent !important;
  border-color:#ffffff !important;
  color:#ffffff !important;
  min-width:130px !important;
  padding:7px 10px !important;
  font-size:11px !important;
}

#wisRsvpApp .wis-result{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  margin:0 !important;
  padding:0 !important;
}

#wisRsvpApp .wis-recap-head,
#wisRsvpApp .wis-recap-event-head{
  gap:8px !important;
}

#wisRsvpApp .wis-recap-link{
  border-bottom:1px solid #ffffff !important;
  background:transparent !important;
  color:#ffffff !important;
  font-size:11px !important;
  padding:0 0 2px !important;
}

#wisRsvpApp .wis-recap-line{
  background:rgba(255,255,255,.72) !important;
  margin:5px 0 9px !important;
}

#wisRsvpApp .wis-res-list{
  gap:6px !important;
  margin-top:7px !important;
}

#wisRsvpApp .wis-res-symbol{
  width:18px !important;
  height:18px !important;
  border:1px solid #ffffff !important;
  font-size:13px !important;
}

@media (max-width:560px){
  #wisRsvpApp .wis-card-rsvp{
    padding:10px 12px 12px !important;
  }

  #wisRsvpApp .wis-calendar-start{
    justify-content:flex-end !important;
    margin:-19px 0 6px !important;
  }

  #wisRsvpApp .wis-att-card{
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
  }

  #wisRsvpApp .wis-att-btns{
    display:flex !important;
    flex-wrap:nowrap !important;
  }

  #wisRsvpApp .wis-att-btns .wis-btn{
    width:auto !important;
  }

  #wisRsvpApp .wis-recap-title,
  #wisRsvpApp .wis-recap-event-title{
    font-size:14px !important;
  }

  #wisRsvpApp .wis-recap-link{
    font-size:11px !important;
  }

  #wisRsvpApp .wis-res-person{
    font-size:14px !important;
  }
}


/* RSVP v1.6.15 clarity overrides */
#wisRsvpApp .wis-card-rsvp:before{
  display:none !important;
}

#wisRsvpApp .wis-att-card.wis-attending .wis-btn-yes,
#wisRsvpApp .wis-att-card.wis-declined .wis-btn-no{
  background:#ffffff !important;
  border-color:#ffffff !important;
  color:#111111 !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.45) !important;
  opacity:1 !important;
}

#wisRsvpApp .wis-att-card.wis-attending .wis-btn-no,
#wisRsvpApp .wis-att-card.wis-declined .wis-btn-yes{
  background:transparent !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.72) !important;
  opacity:.68 !important;
}

#wisRsvpApp .wis-att-btns .wis-btn:hover{
  background:rgba(255,255,255,.22) !important;
  color:#ffffff !important;
}

#wisRsvpApp .wis-att-card.wis-attending .wis-btn-yes:hover,
#wisRsvpApp .wis-att-card.wis-declined .wis-btn-no:hover{
  background:#ffffff !important;
  color:#111111 !important;
}

#wisRsvpApp .wis-card-rsvp{
  padding-top:14px !important;
}
