/* Big RSVP (core/rsvp/190, fork of core/rsvp/180), INV-20 One Line · Luxe (A2715; plan W1): a white word screen. RS over VP in big light capitals (the reference's
   card), the reply-by date in italic, one ink line edge to edge tying an envelope at its centre; then one white card with lines to write on, "Dear Olivia &
   Thomas" in script and the guest's name written in script by the fork's signature mirror. Send is filled ink. The script is unchanged, line for line: Send
   saves, then WhatsApp opens 4 s later (D-156). No seal (INV-12's), no post (INV-16's), no colour. Laptop: a spread, the couple's photo (gallery.0) on the left.
   W1.2 (A2735, D-415: the bias cut): on a phone, after a band of paper, the couple's photo (gallery.0) sits above RS / VP, cut along one slant of 8°
   (falling to the right); the line runs along it and ties the envelope at its middle, its body a paper envelope cut into the photo, so W1's envelope rule goes.
   On a laptop the envelope sits on the spread's leaning seam. With no photo, W1's rule comes back. */
.rs190 { position: relative; color: var(--k-ol-ink); }
.rs190 .rs190__words { justify-content: flex-start; }
.rs190 .rs190__card { width: 100%; }
.rs190 .rs190__title { display: flex; flex-direction: column; align-items: center; padding-left: .12em; font: 300 calc(clamp(84px, 26vw, 180px) * var(--k-ol-z))/.9 var(--k-font-display); letter-spacing: .12em; }
.rs190 .rs190__rule { width: calc(60px * var(--k-ol-z)); height: calc(40px * var(--k-ol-z)); margin-top: 16px; }
.rs190 .rs190__side { display: flex; flex-direction: column; align-items: center; }
.rs190 .rs190__by { margin-top: 20px; font: italic 500 calc(19px * (var(--k-ol-z) + .1))/1.4 var(--k-font-body); }
.rs190 .rs190__s { margin: 14px 0 24px; text-wrap: balance; }
/* under the sheet, so it can't push the letter down when it appears after Send */
.rs190-mine { margin: 22px auto 0; }
.rs190-mine__t { margin-bottom: 12px; font-size: 1rem; }
.rs190__plain { margin-top: 8px; }
/* One white card on the paper; Send is filled ink. */
.rs190-form { position: relative; display: grid; gap: 0; max-width: 500px; margin: 0 auto; padding: clamp(28px, 6vw, 46px) clamp(24px, 6vw, 46px) 28px; text-align: left; color: var(--k-ol-ink); color-scheme: light; }
.rs190-form select option { color: #141414; background: #fff; }
.rs190-form input:-webkit-autofill { -webkit-box-shadow: 0 0 0 60px #FFFFFF inset; -webkit-text-fill-color: #161616; }
.rs190 .rs190-dear { margin: 0 0 14px; padding: .1em 0; color: var(--k-ol-ink); font-size: calc(clamp(48px, 13vw, 64px) * var(--k-ol-z)); line-height: 1.05; text-align: left; text-wrap: balance; overflow-wrap: anywhere; }
.rs190__ink, .rs190-yes { display: grid; gap: 0; }
.rs190-yes[hidden] { display: none; }
/* fields are lines on the sheet */
.rs190-field, .rs190-choice { display: block; min-width: 0; margin: 0; padding: 14px 0 0; border: 0; border-radius: 0; background: transparent; }
.rs190-field__l { display: block; margin-bottom: 2px; padding: 0; font: italic 400 1.0625rem/1.3 var(--k-font-body); color: var(--k-ol-soft); }
.rs190-field:has(select) { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 2px; border-bottom: 1px solid var(--k-ol-rule); }
.rs190-field:has(select) .rs190-field__l { margin: 0; }
.rs190-field:has(select) .rs190-input { width: 62px; min-height: 36px; border: 0; font: 400 1.5rem/1 var(--k-font-body); text-align: right; padding-right: 22px; }
.rs190-field__l i { font-style: normal; font-weight: 400; color: var(--k-ol-soft); }
.rs190-choice { display: grid; grid-template-columns: 1fr 1fr; padding-top: 0; }
.rs190-choice legend { float: left; width: 100%; grid-column: 1 / -1; margin-bottom: 8px; }
.rs190-opt { position: relative; display: grid; justify-items: center; gap: 8px; padding: 6px 0; text-align: center; cursor: pointer; font-size: 1.0625rem; line-height: 1.25; }
.rs190-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
/* accept or decline, a choice lands in three held frames */
.rs190-opt__i { width: 40px; height: 38px; fill: transparent; stroke: var(--k-ol-rule); stroke-width: 1.5; transition: fill .2s; }
.rs190-opt__i--no { fill: none; stroke-width: 2; stroke-linecap: round; }
.rs190-opt input:checked ~ .rs190-opt__i--yes { fill: var(--k-ol-ink); stroke: var(--k-ol-ink); }
.rs190-opt input:checked ~ .rs190-opt__i--no { stroke: var(--k-ol-ink); stroke-width: 3; }
.rs190-opt input:checked ~ .rs190-opt__i { animation: rs190-pick 320ms steps(3, end); }
@keyframes rs190-pick { from { transform: scale(.82); } }
.rs190-opt input:checked ~ .rs190-opt__t { font-weight: 400; }
.rs190-opt input:focus-visible ~ .rs190-opt__i { outline: 2px solid var(--k-ol-ink); outline-offset: 3px; }
.rs190-input, .rs190-sig__in { display: block; width: 100%; min-height: 40px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--k-ol-rule); border-radius: 0; background: transparent; color: var(--k-ol-ink); font: 400 max(16px, 1.0625rem)/1.3 var(--k-font-body); -webkit-appearance: none; appearance: none; }
.rs190-input:focus, .rs190-sig__in:focus { outline: none; border-bottom-color: var(--k-ol-ink); }
.rs190-input:is(select) { padding-right: 20px; background: linear-gradient(45deg, transparent 50%, var(--k-ol-ink) 50%) right 8px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--k-ol-ink) 50%) right 2px center / 6px 6px no-repeat; }
/* a note on ruled lines */
.rs190-input--note { min-height: 96px; padding: 0; border: 0; font: italic 400 1.1875rem/32px var(--k-font-body); background: repeating-linear-gradient(transparent 0 31px, color-mix(in srgb, var(--k-ol-rule) 55%, transparent) 31px 32px); background-attachment: local; resize: vertical; }
/* the name, written: the field's own text is see-through, and the mirror on it wipes each new letter on (section.js) */
.rs190-sig { position: relative; display: block; }
.rs190 .rs190-sig__in { height: 54px; min-height: 54px; padding: 12px 0 2px; font: 400 calc(38px * var(--rs190-k, 1))/40px var(--k-font-script); color: transparent; -webkit-text-fill-color: transparent; caret-color: var(--k-ol-ink); }
.rs190-sig__ink { position: absolute; left: 0; top: 0; display: flex; align-items: center; height: 54px; padding: 12px 0 2px; font: 400 calc(38px * var(--rs190-k, 1))/40px var(--k-font-script); color: var(--k-ol-ink); white-space: pre; pointer-events: none; clip-path: inset(-.6em -.8em -.6em -.8em); }
.rs190-sig__ink.is-writing { transition: clip-path var(--rs190-wt, .16s) linear; }
html.motion-reduce .rs190-sig__ink.is-writing { transition: none; }
.rs190-help { margin: 8px 0 2px; padding: 0; font: italic 400 .9375rem/1.3 var(--k-font-body); color: var(--k-ol-soft); }
.rs190-evs { display: grid; gap: 0; }
.rs190-day { padding: 6px 4px 0; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.rs190-ev { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 8px 0 4px; border-bottom: 1px solid color-mix(in srgb, var(--k-ol-rule) 45%, transparent); }
.rs190-ev__n { font-weight: 400; }
.rs190-ev__d { grid-row: 2; font-size: .9375rem; color: var(--k-ol-soft); }
.rs190-ev .rs190-ev__c { grid-column: 2; grid-row: 1 / span 2; width: auto; min-width: 62px; min-height: 34px; border: 0; font: 400 1.25rem/1 var(--k-font-body); text-align: right; padding-right: 22px; }
.rs190-extra { display: grid; gap: 0; }
.rs190-late, .rs190-err { padding: 0 4px; font-size: .96875rem; }
.rs190-err { color: var(--k-ol-ink); }
.rs190-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rs190 .rs190-send { justify-self: center; min-height: 50px; margin-top: 22px; padding: 0 60px; font-size: .875rem; }
.rs190-small { margin-top: 12px; text-align: center; font-size: .875rem; font-style: italic; color: var(--k-ol-soft); }
.rs190 .rs190-thanks { margin: 4px 0 0; text-align: center; font: 400 1.0625rem/1.5 var(--k-font-body); }
.rs190 .rs190-thanks[hidden], .rs190 .rs190-extra:empty { display: none; }
/* after Send: the chosen heart or cross and the thanks stay; the fields fold away (is-sent, is-chosen: the script's) */
.rs190 .rs190-form.is-sent .rs190-field, .rs190 .rs190-form.is-sent .rs190-send, .rs190 .rs190-form.is-sent .rs190-small, .rs190 .rs190-form.is-sent .rs190-yes,
.rs190 .rs190-form.is-sent .rs190-late, .rs190 .rs190-form.is-sent .rs190-err, .rs190 .rs190-form.is-sent .rs190-opt:not(.is-chosen), .rs190 .rs190-form.is-sent .rs190-choice > .rs190-field__l { display: none; }
.rs190 .rs190-form.is-sent .rs190-choice { grid-template-columns: 1fr; background: transparent; }
/* The card on one clock: the fields fade, then the thank-you arrives as the card eases shut (section.js, A2324) */
.rs190 .rs190-form.is-closing :is(.rs190-field, .rs190-yes, .rs190-send, .rs190-small, .rs190-extra, .rs190-opt) { opacity: 0; transition: opacity .45s ease; }
/* the script adds the thank-you just before it holds the height, so it takes no room until the fields are gone, or the sheet hops taller first */
.rs190 .rs190-form:not(.is-sent) .rs190-thanks { position: absolute; visibility: hidden; }
.rs190 .rs190-form.is-sent .rs190-thanks { animation: rs190-thanks 1.1s ease .5s backwards; }
@keyframes rs190-thanks { from { opacity: 0; } }
.rs190 .rs190__note { font-style: italic; color: var(--k-ol-soft); }
.rs190 .rs190-form { margin-top: 8px; }

/* the bias cut (W1.2) */
.rs190:has(> .rs190__ph) .rs190__rule { display: none; }
@media (max-width: 999px), (orientation: portrait) {
  .rs190:has(> .rs190__ph) { padding-top: clamp(48px, 9svh, 96px); overflow: hidden; overflow: clip; }
  .rs190 .rs190__ph { height: clamp(190px, 30svh, 340px); }
  .rs190 .rs190__ph > .k-ol-cut { top: calc(100% - var(--k-ol-half)); rotate: 8deg; }
  .rs190:has(> .rs190__ph) .rs190__words { min-height: 0; padding-top: clamp(40px, 7svh, 72px); }
}
