/* The posting form and the private settings dialog share the same inputs. */
.vprx-owner,.vprx-options{
  --reply-ink:#342531;
  --reply-wine:#922b55;
  --reply-line:#eadde4;
  --reply-blush:#fff2f6;
  color:var(--reply-ink);
  box-sizing:border-box;
  min-inline-size:0;
  max-width:100%;
  line-height:1.55;
  text-align:start;
  overflow-wrap:anywhere;
}
.vprx-owner [hidden],.vprx-options [hidden],.vprx-owner[hidden],.vprx-options[hidden]{display:none!important}
fieldset.vprx-options{
  margin:12px 0;
  padding:14px 0;
  border:0;
  border-top:1px solid var(--reply-line);
  width:100%;
  background:none;
}
.vprx-options legend.screen-reader-text{
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0;border:0;
}
.vprx-options .vprx-opt-head{
  display:flex;align-items:center;gap:.6rem;min-height:44px;
  margin:0;cursor:pointer;font-weight:700;font-size:1rem;
}
.vprx-opt-head input[type=checkbox]{
  width:22px;height:22px;flex:0 0 auto;accent-color:var(--reply-wine);margin:0;
}
.vprx-options p{margin:.25rem 0 .7rem;font-size:.94rem}
.vprx-options small{display:block;font-size:.875rem;color:#61535e;margin:.35rem 0 0;line-height:1.5}
.vprx-options .vprx-err,.vprx-options .vprx-paid-note[data-vprx-wait]{color:#86233f}
.vprx-options .vprx-err{font-weight:700}
.vprx-options .vprx-err:empty,.vprx-options .vprx-summary:empty,.vprx-owner output:empty{display:none}
.vprx-opt-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(19rem,100%),1fr));
  gap:1rem;margin:1rem 0;
}
.vprx-option{min-inline-size:0;container-type:inline-size}
.vprx-opt-title{display:block;font-size:.95rem;font-weight:700}
.vprx-choices{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:.45rem 0 0;
}
.vprx-choices:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.vprx-choices:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@container(max-width:17rem){
  .vprx-options .vprx-choices button[data-vprx-value],.vprx-options .vprx-choices button[data-vprx-custom]{font-size:.875rem;padding-inline:2px}
}
@container(max-width:14.5rem){
  .vprx-choices,.vprx-choices:has(> :nth-child(3):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
.vprx-options .vprx-choices button,.vprx-owner .vprx-owner-form button[type=submit]{
  box-sizing:border-box;min-width:0;min-height:44px;height:auto;
  font:inherit;font-weight:600;font-size:.95rem;line-height:1.35;
  letter-spacing:normal;white-space:normal;overflow-wrap:anywhere;
  padding:7px 4px;margin:0;border:1px solid #b69ba9;border-radius:12px;
  cursor:pointer;color:var(--reply-ink);background:#fff;box-shadow:none;text-shadow:none;
  touch-action:manipulation;
}
.vprx-options .vprx-choices button[aria-pressed=true]{
  color:#802245;background:var(--reply-blush);border-color:var(--reply-wine);
  box-shadow:inset 0 0 0 1px var(--reply-wine);font-weight:750;
}
.vprx-options .vprx-input{
  display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;
  margin:.55rem 0 .25rem;font-size:.95rem;
}
.vprx-options .vprx-input input[type=text]{
  box-sizing:border-box;min-width:0;width:8.5em;max-width:100%;font-size:16px;
  min-height:44px;margin:0;border:1px solid #917986;border-radius:10px;padding:7px 10px;
  background:#fff;color:var(--reply-ink);font-variant-numeric:tabular-nums;
}
.vprx-options .vprx-input input[aria-invalid=true]{border:2px solid #ac2244}
.vprx-options .vprx-summary{
  margin:.5rem 0;padding:.6rem .75rem;
  color:#722441;background:#fff5f8;border-radius:10px;font-weight:700;
}
.vprx-owner{margin:0 auto;max-width:42rem}
.vprx-owner .vprx-owner-top{
  display:flex;align-items:center;justify-content:space-between;gap:.25rem .65rem;
  flex-wrap:wrap;margin:0 0 .6rem;
}
.vprx-owner .vprx-owner-state{display:flex;gap:.35rem;flex-wrap:wrap}
.vprx-owner .vprx-owner-state span{
  display:inline-block;padding:.22rem .65rem;border-radius:99px;
  background:#f4eef2;color:#55414d;font-size:.825rem;font-weight:700;
}
.vprx-owner .vprx-owner-state [data-vprx-owner-edit]{background:#fff1cf;color:#724110}
.vprx-owner .vprx-owner-inbox{
  display:inline-flex;align-items:center;gap:.4rem;
  min-height:44px;padding-inline:.15rem;color:var(--reply-wine);
  font-size:.94rem;font-weight:700;text-decoration:none;
}
.vprx-owner .vprx-owner-inbox svg{flex:none;width:20px;height:20px}
.vprx-owner [data-vprx-owner-notice]{
  margin:.25rem 0 .8rem;padding:.65rem .8rem;border-radius:10px;
  font-size:.925rem;color:#72300e;background:#fff4de;
}
.vprx-owner .vprx-owner-form,.vprx-owner form.vprx-owner-form fieldset.vprx-options{
  margin:0;padding:0;border:none;background:none;box-shadow:none;
}
.vprx-owner .vprx-opt-grid{grid-template-columns:minmax(0,1fr)}
.vprx-owner .vprx-opt-head{
  box-sizing:border-box;justify-content:space-between;flex-direction:row-reverse;
  padding:.8rem .9rem;border:1px solid var(--reply-line);border-radius:15px;background:#fff;
}
.vprx-owner .vprx-opt-head:has(:checked){border-color:#e2abc2;background:var(--reply-blush)}
.vprx-owner .vprx-opt-head input[type=checkbox]{
  -webkit-appearance:none;appearance:none;
  box-sizing:border-box;position:relative;display:inline-block;opacity:1;transform:none;
  width:48px;height:28px;min-width:48px;min-height:28px;flex:none;
  padding:0;margin:0;border:1px solid transparent;
  border-radius:30px;cursor:pointer;background:#746772;box-shadow:none;
}
.vprx-owner .vprx-opt-head input[type=checkbox]::before{
  content:"";display:block;position:absolute;inset:3px auto auto 3px;
  width:20px;height:20px;margin:0;border:none;border-radius:50%;
  background:white;box-shadow:0 1px 3px #32192e33;transform:none;
}
.vprx-owner .vprx-opt-head input[type=checkbox]:checked{background:var(--reply-wine)}
.vprx-owner .vprx-opt-head input[type=checkbox]:checked::before{transform:translateX(20px)}
.vprx-owner .vprx-opt-head input[type=checkbox]::after{content:none}
.vprx-owner .vprx-owner-form button[type=submit]{
  display:block;width:100%;min-height:48px;margin-top:1rem;padding:.75rem 1rem;
  color:#fff;background:var(--reply-wine);border-color:var(--reply-wine);
  font-size:1rem;font-weight:700;border-radius:14px;
}
.vprx-owner .vprx-owner-form button:disabled{cursor:wait;opacity:.68}
.vprx-owner output[data-vprx-edit-hint]{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;margin:0}
.vprx-owner output{display:block;margin:.5rem 0 0;color:#752447;font-size:.9rem}
:is(.vprx-options,.vprx-owner) :focus-visible{outline:3px solid #922b55;outline-offset:3px}
@media(hover:hover){
  .vprx-owner .vprx-owner-inbox:hover{text-decoration:underline;text-underline-offset:.2em}
  .vprx-options .vprx-choices button:not(:disabled):hover{border-color:var(--reply-wine);background:#fff2f6}
  .vprx-owner .vprx-owner-form button[type=submit]:enabled:hover{background:#762143}
}
@media(forced-colors:active){
  .vprx-options button[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-4px}
  .vprx-owner .vprx-opt-head input[type=checkbox]{appearance:auto;width:26px;min-width:26px;accent-color:auto}
  .vprx-owner .vprx-opt-head input[type=checkbox]::before{content:none}
}
