/* Halh0la RSVP widget — themeable from the invite via these vars. */
.hh-rsvp {
  --hh-ink: #1f1a14; --hh-paper: #fbf7ef; --hh-accent: #a3362a; --hh-line: color-mix(in oklab, var(--hh-ink) 18%, transparent);
  --hh-font: inherit;
  font-family: var(--hh-font); color: var(--hh-ink); direction: rtl; text-align: right;
  width: min(100%, 26rem); margin-inline: auto; position: relative;
}
.hh-rsvp [hidden] { display: none !important; }
.hh-form { display: grid; gap: 1rem; }
.hh-q { margin: 0; font-size: 1.15rem; text-align: center; }
.hh-choice { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hh-line); border-radius: 999px; padding: 4px; }
.hh-choice button {
  font: inherit; border: 0; background: none; color: inherit; padding: .7rem 0; border-radius: 999px; cursor: pointer;
  transition: background .25s, color .25s;
}
.hh-choice [aria-checked="true"] { background: var(--hh-ink); color: var(--hh-paper); }
.hh-field { display: grid; gap: .4rem; font-size: .92rem; }
.hh-field i { font-style: normal; opacity: .55; }
.hh-field input, .hh-field textarea {
  font: inherit; font-size: 1rem; color: inherit; background: color-mix(in oklab, var(--hh-paper) 70%, white);
  border: 1px solid var(--hh-line); border-radius: 14px; padding: .8rem .95rem; resize: none; width: 100%; box-sizing: border-box;
}
.hh-field input:focus, .hh-field textarea:focus { outline: 2px solid var(--hh-accent); outline-offset: 1px; }
.hh-step { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--hh-line); border-radius: 14px; padding: .35rem; }
.hh-step button {
  font: inherit; font-size: 1.3rem; width: 2.6rem; height: 2.6rem; border-radius: 10px; border: 0; cursor: pointer;
  background: color-mix(in oklab, var(--hh-ink) 7%, transparent); color: inherit;
}
.hh-step output { font-size: 1.05rem; }
.hh-send {
  font: inherit; font-size: 1.05rem; padding: .95rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--hh-accent); color: #fff; transition: transform .15s, opacity .2s;
}
.hh-send:active { transform: scale(.98); }
.hh-send:disabled { opacity: .6; }
.hh-msg { min-height: 1.2em; margin: 0; text-align: center; font-size: .9rem; color: var(--hh-accent); }
.hh-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; border: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.hh-done { text-align: center; display: grid; gap: .8rem; justify-items: center; }
.hh-done-t { margin: 0; font-size: 1.15rem; line-height: 1.7; }
.hh-edit { font: inherit; background: none; border: 0; color: var(--hh-accent); text-decoration: underline; cursor: pointer; }
