/* Shown only when the invitation is opened with ?edit=1 */
.pg-edit-root { font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif; }
.pg-edit-toggle {
  position: fixed; top: 12px; left: 12px; z-index: 80;
  border: 1px solid #C9A96E; background: #FFFBF3; color: #3B1018;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 12px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(59,16,24,0.18);
}
.pg-edit-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 100vw); overflow: auto;
  background: #FFFBF3; color: #3B1018;
  border-left: 1px solid #C9A96E;
  box-shadow: -12px 0 40px rgba(59,16,24,0.18);
  padding: 22px 20px 40px;
}
.pg-edit-panel[hidden] { display: none !important; }
.pg-edit-panel h2 {
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-style: italic; font-weight: 500; font-size: 28px;
  margin: 0 0 6px;
}
.pg-edit-panel .lead {
  font-style: italic; font-size: 16px; margin: 0 0 16px; color: #5C1622;
}
.pg-edit-panel label { display: block; margin: 0 0 12px; }
.pg-edit-panel label span {
  display: block; font-family: Cinzel, serif;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #8E7340; margin-bottom: 4px;
}
.pg-edit-panel input, .pg-edit-panel textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid #C9A96E; background: #fff; color: #3B1018;
  font-family: "Cormorant Garamond", serif; font-size: 16px;
  padding: 7px 8px;
}
.pg-edit-panel textarea { min-height: 56px; resize: vertical; }
.pg-edit-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.pg-edit-actions button {
  border: 1px solid #C9A96E; background: #C9A96E; color: #3B1018;
  font-family: Cinzel, serif; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 10px 12px; cursor: pointer;
}
.pg-edit-actions button.ghost { background: transparent; }
.pg-edit-note { font-style: italic; font-size: 14px; margin: 14px 0 0; color: #5C1622; }
