/**
 * The product pages: the language they share, and the product itself redrawn in HTML and CSS.
 * gw-rp-* are replicas of the app (the guest site inside a phone, pieces of the couple's panel);
 * everything else is the page around them. Colours and fonts of a replica arrive as --pal-* and
 * --site-* from the element that hosts it (partials/replicas.php).
 */

/* A plain cream ground. The site's washes are placed in percentages of the page height, so on a
   long product page the champagne ran two thousand pixels down and hid the champagne icon tiles. */
body.canvas { background: hsl(var(--gw-cream)); }

/* The head of a service page (Assistenza, Contatti): no field and no product, the words start on
   the left and the page gets to work right under them. */
.gw-service-top { padding-top: clamp(2.5rem, 5vw, 3.75rem); }
.gw-service-head { max-width: 40rem; }
.gw-service-head h1 { margin: 1rem 0 .9rem; font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -.015em; }
.gw-service-head h1 em { color: hsl(var(--gw-wine)); }
.gw-service-head p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: hsl(var(--gw-muted-fg)); }
.gw-service-head p a { font-weight: 600; color: hsl(var(--gw-wine)); text-underline-offset: 3px; }

/* ── The opening of a page: its hero copy, dark ink on the coloured field ── */
.gw-opening {
    --opening-ink: 345 10% 20%;
    padding-top: clamp(2.5rem, 5vw, 3.75rem);
    color: hsl(var(--opening-ink));
}
/* Narrower than the page container on purpose: the copy and the product beside it read as
   one group, not pinned to the same edges as every section below. Each page sets its columns. */
.gw-opening__grid {
    display: grid;
    max-width: 60rem;
    justify-content: center;
    column-gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.gw-opening__eyebrow { margin-bottom: 1rem; }
.gw-opening__title {
    max-width: 11em;
    margin: 0;
    font-size: clamp(2.4rem, 4.6vw, 3.75rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.015em;
    color: hsl(var(--opening-ink));
    text-wrap: balance;
}
/* The eyebrow sits inside the h1 so the heading carries the page's search words. It keeps
   the box it had as a line of body text above the title: that line added 5px above it. */
.gw-opening__title .gw-opening__eyebrow {
    display: flex;
    width: fit-content;
    padding-top: 5px;
    font-family: var(--gw-font-sans);
    line-height: 1.6;
}
.gw-opening__title strong { font-weight: inherit; color: hsl(var(--gw-wine)); }
.gw-opening__lead {
    max-width: 30rem;
    margin: 1.1rem 0 1.75rem;
    font-size: 1.08rem;
    line-height: 1.6;
    color: hsl(var(--opening-ink) / .8);
}

.gw-hero-price { margin: .85rem 0 0; font-size: .88rem; line-height: 1.45; color: hsl(var(--opening-ink) / .72); }
.gw-hero-price a { font-weight: 600; color: hsl(var(--gw-wine)); text-underline-offset: 3px; }

.gw-trust {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 1.4rem;
    font-size: .9rem;
    line-height: 1.4;
    color: hsl(var(--opening-ink) / .82);
}
.gw-trust__faces { display: flex; flex-shrink: 0; }
.gw-trust__faces img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}
.gw-trust__faces img + img { margin-left: -11px; }
.gw-trust__text { display: flex; flex-direction: column; }
.gw-trust__text b { color: hsl(var(--opening-ink)); font-weight: 600; }
.gw-trust__stars { display: flex; align-items: center; gap: .12rem; color: hsl(38 80% 46%); font-size: .78rem; }
.gw-trust__stars b { margin-left: .4rem; font-size: .9rem; }
/* Stacked on a tablet, the object sits centred under the copy: the copy centres too, or the
   right half of the hero stays empty. On a phone the copy fills the width and stays left. */
@media (min-width: 576px) and (max-width: 991.98px) {
    .gw-opening__copy { text-align: center; }
    .gw-opening__copy .gw-opening__title,
    .gw-opening__copy .gw-opening__eyebrow,
    .gw-opening__copy .gw-opening__lead { margin-inline: auto; }
    .gw-opening__copy .gw-trust { justify-content: center; text-align: start; }
}
@media (max-width: 575.98px) {
    /* Scales with the screen so a two-line title never breaks a third time, down to 320px. */
    .gw-opening__title { font-size: clamp(1.85rem, 9.4vw, 2.4rem); }
    .gw-opening__lead { margin: .9rem 0 1.5rem; font-size: 1rem; line-height: 1.55; }
}

/* A pill in a row of choices where one is on: the theme's model and fonts, the RSVP modes. */
.gw-option {
    padding: .5rem 1.05rem;
    border: 1px solid hsl(var(--gw-fg) / .15);
    border-radius: 99px;
    background: hsl(0 0% 100% / .7);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.3;
    color: hsl(var(--gw-fg));
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.gw-option--font { padding-block: .45rem; font-size: 1.1rem; font-weight: 400; }
.gw-option:hover { background: #fff; }
.gw-option[aria-pressed="true"] { border-color: hsl(var(--gw-fg)); background: hsl(var(--gw-fg)); color: #fff; }
.gw-option:focus-visible { outline: 2px solid hsl(var(--gw-wine)); outline-offset: 2px; }
/* A group of choices under a short bold head: the theme's model, colour and fonts, the donation tab. */
.gw-pick__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 .75rem;
    font-size: .95rem;
    font-weight: 600;
}
.gw-pick__head output { font-size: .85rem; font-weight: 400; color: hsl(var(--gw-fg) / .7); }
.gw-pick__options { display: flex; flex-wrap: wrap; gap: .5rem; }
/* The couple's palettes, each a disc split in its two colours. */
.gw-pick__swatches { display: grid; grid-template-columns: repeat(6, 2.25rem); justify-content: space-between; row-gap: .75rem; }
.gw-swatch {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sw-a) 49%, var(--sw-b) 51%);
    box-shadow: 0 0 0 1px hsl(0 0% 0% / .08), 0 2px 6px hsl(0 0% 0% / .12);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.gw-swatch:hover { transform: scale(1.08); }
.gw-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px hsl(var(--gw-fg)); }
.gw-swatch:focus-visible { outline: 2px solid hsl(var(--gw-wine)); outline-offset: 4px; }

/* ── What else changes, beyond the choices tried on a replica ── */
.gw-more {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 18px 40px -24px hsl(340 40% 25% / .35);
    color: hsl(var(--gw-fg));
}
.gw-more__head { margin-bottom: 1.75rem; }
.gw-more__title {
    margin: 0;
    font-family: var(--gw-font-serif);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 500;
    line-height: 1.15;
}
.gw-more__head p { margin: .4rem 0 0; font-size: 1rem; line-height: 1.5; color: hsl(var(--gw-muted-fg)); }
.gw-more__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gw-more__list li { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.gw-more__text b { display: block; font-size: .98rem; font-weight: 600; line-height: 1.3; }
.gw-more__text small { display: block; margin-top: .2rem; font-size: .85rem; line-height: 1.4; color: hsl(var(--gw-muted-fg)); }

/* Each piece reads the --pal-* and --site-* variables of the block around it, so it changes with the
   palette and fonts picked there. The fixed height keeps the titles level across a row. */
.gw-more__show { display: flex; flex-wrap: wrap; align-content: center; align-items: center; height: 2.75rem; color: var(--pal-primary); }
.gw-more__show i { font-style: normal; }

.gw-more__show--colors { gap: .2rem; }
.gw-more__show--colors i { width: 1.15rem; height: 1.15rem; border-radius: 50%; box-shadow: inset 0 0 0 1px hsl(0 0% 0% / .08); }
.gw-more__show--colors i:nth-child(1) { background: var(--pal-primary); }
.gw-more__show--colors i:nth-child(2) { background: var(--pal-accent); }
.gw-more__show--colors i:nth-child(3) { background: var(--pal-bg-alt); }
.gw-more__show--colors i:nth-child(4) { background: var(--pal-text); }
.gw-more__show--colors i:nth-child(5) { background: var(--pal-text-light); }
.gw-more__show--colors i:nth-child(6) { background: var(--pal-border); }
.gw-more__show--colors .bi { display: grid; place-items: center; margin-left: .25rem; background: #fff; box-shadow: inset 0 0 0 1px var(--pal-border); color: var(--pal-text); font-size: .62rem; }

.gw-more__show--fonts { gap: .6rem; align-items: baseline; line-height: 1; color: var(--pal-text); }
.gw-more__show--fonts span:first-child { font-family: var(--site-heading); font-size: 2.1rem; font-weight: var(--site-hw); }
.gw-more__show--fonts span:last-child { font-family: var(--site-body); font-size: 1.2rem; color: var(--pal-text-light); }

.gw-more__show--size { gap: .5rem; align-items: baseline; line-height: 1; font-family: var(--site-heading); color: var(--pal-muted); }
.gw-more__show--size i:nth-child(1) { font-size: 1rem; }
.gw-more__show--size i:nth-child(2) { font-size: 1.3rem; }
.gw-more__show--size i:nth-child(3) { font-size: 1.6rem; }
.gw-more__show--size i:nth-child(4) { font-size: 1.9rem; }
.gw-more__show--size .is-on { color: var(--pal-primary); text-decoration: underline 2px; text-underline-offset: 5px; }

.gw-more__show--pattern { --ink: color-mix(in srgb, var(--pal-primary) 50%, transparent); gap: .3rem; }
.gw-more__show--pattern i { width: 2.4rem; height: 2.4rem; border-radius: .55rem; background-color: var(--pal-bg-alt); box-shadow: inset 0 0 0 1px var(--pal-border); }
.gw-more__show--pattern i:nth-child(1) { background-image: radial-gradient(circle at 50% 100%, transparent 3.5px, var(--ink) 4px 5px, transparent 5.5px); background-size: 12px 7px; }
.gw-more__show--pattern i:nth-child(2) { background-image: repeating-linear-gradient(45deg, var(--ink) 0 1px, transparent 1px 6px); }
.gw-more__show--pattern i:nth-child(3) { background-image: repeating-linear-gradient(to bottom, transparent 0 6px, var(--ink) 6px 7px); }

/* The envelope's photographed wax in the palette's colour, the initials pressed into the same wax. */
.gw-more__show--seal span {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    padding-top: .1rem;
    font-family: Georgia, serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--wax-mid);
    text-shadow: .03em .05em .03em rgb(0 0 0 / .45), -.02em -.03em .01em rgb(255 255 255 / .35);
}
.gw-more__show--seal span::before,
.gw-more__show--seal span::after {
    content: "";
    position: absolute;
    inset: -8%;
    z-index: -1;
}
.gw-more__show--seal span::before {
    background: var(--wax-mid);
    -webkit-mask: url(../img/intro/seal-wax.webp) center / contain no-repeat;
    mask: url(../img/intro/seal-wax.webp) center / contain no-repeat;
}
.gw-more__show--seal span::after {
    background: url(../img/intro/seal-wax.webp) center / contain no-repeat;
    mix-blend-mode: hard-light;
}

.gw-more__show--cover { gap: .3rem; }
.gw-more__show--cover > span { position: relative; width: 1.95rem; height: 2.6rem; border-radius: .4rem; overflow: hidden; }
.gw-more__show--cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gw-more__show--cover b { position: absolute; inset: auto 0 .25rem; display: flex; justify-content: center; gap: 2px; }
.gw-more__show--cover b i { width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .55; }
.gw-more__show--cover b i:first-child { opacity: 1; }
.gw-more__show--cover .bi { position: absolute; inset: 0; display: grid; place-items: center; background: hsl(0 0% 0% / .28); color: #fff; font-size: .95rem; }

.gw-more__show--music { flex-wrap: nowrap; gap: .5rem; width: 100%; max-width: 10rem; }
.gw-more__show--music .bi { display: grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--pal-primary); color: #fff; font-size: 1rem; }
.gw-more__show--music > span { flex: 1; height: 4px; border-radius: 99px; background: var(--pal-border); overflow: hidden; }
.gw-more__show--music > span span { display: block; width: 40%; height: 100%; background: var(--pal-primary); }
.gw-more__show--music small { font-size: .72rem; font-variant-numeric: tabular-nums; color: var(--pal-muted); }

/* The hairline keeps the flags' white stripes from melting into the white card. */
.gw-more__show--langs { display: grid; grid-template-columns: repeat(4, 1.45rem); gap: .3rem .35rem; }
.gw-more__show--langs img { display: block; width: 100%; height: auto; border-radius: 3px; outline: 1px solid hsl(0 0% 0% / .1); outline-offset: -1px; }
@media (max-width: 991.98px) {
    .gw-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* On a phone the list becomes a row to swipe: one card and a half in view says there is
   more, and a white fade marks whichever edge still hides something. */
@media (max-width: 575.98px) {
    .gw-more { --more-pad: 1.5rem; padding: var(--more-pad); }
    .gw-more__rail { position: relative; margin-inline: calc(-1 * var(--more-pad)); }
    .gw-more__rail::before,
    .gw-more__rail::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1;
        width: 2.75rem;
        pointer-events: none;
        transition: opacity .25s ease;
    }
    .gw-more__rail::before { left: 0; background: linear-gradient(to right, #fff 15%, hsl(0 0% 100% / 0)); }
    .gw-more__rail::after { right: 0; background: linear-gradient(to left, #fff 15%, hsl(0 0% 100% / 0)); }
    .gw-more__rail.is-start::before,
    .gw-more__rail.is-end::after { opacity: 0; }
    .gw-more__list {
        display: flex;
        gap: .85rem;
        padding: .25rem var(--more-pad) .5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--more-pad);
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .gw-more__list::-webkit-scrollbar { display: none; }
    .gw-more__list li {
        /* One card and a fifth in view: 100% is the track minus both paddings. */
        flex: 0 0 calc((100% + var(--more-pad) - .85rem) / 1.2);
        scroll-snap-align: start;
        padding: 1.1rem;
        border-radius: 1rem;
        background: hsl(var(--gw-champagne-light));
        border: 1px solid hsl(var(--gw-champagne));
    }
    .gw-more__list.is-nudging li { animation: gw-more-nudge 1.1s cubic-bezier(.45, 0, .25, 1); }
    .gw-more__nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-top: .9rem;
    }
    .gw-more__dots { display: flex; align-items: center; gap: .35rem; }
    .gw-more__dots i { width: 6px; height: 6px; border-radius: 99px; background: hsl(var(--gw-wine) / .2); transition: width .25s ease, background .25s ease; }
    .gw-more__dots i.is-active { width: 18px; background: hsl(var(--gw-wine)); }
    .gw-more__hint { font-size: 1.1rem; line-height: 1; color: hsl(var(--gw-wine)); transition: opacity .3s ease; }
    .gw-more__rail.is-end + .gw-more__nav .gw-more__hint { opacity: 0; }
}
@media (min-width: 576px) {
    .gw-more__nav { display: none; }
}
@media (max-width: 767.98px) {
    .gw-more { margin-top: 2rem; }
}
@keyframes gw-more-nudge {
    0%, 100% { transform: none; }
    45% { transform: translateX(-2.75rem); }
}
@media (prefers-reduced-motion: reduce) {
    .gw-more__list.is-nudging li { animation: none; }
}

/* ── Bands: a few full-width grounds that split the page into chapters. Neighbouring
   bands of the same kind read as one. ── */
.gw-band--champagne { background: hsl(var(--gw-champagne)); }
.gw-band--champagne .gw-facts__icon { background: #fff; }
.gw-band--white { background: #fff; border-block: 1px solid hsl(var(--gw-border) / .7); }
.gw-band--white:has(+ .gw-band--white) { border-bottom: 0; }
.gw-band--white + .gw-band--white { border-top: 0; }
/* Its edges show, so it keeps inside the room its neighbours share: the breath of a product section. */
@media (min-width: 768px) {
    .gw-band--white { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
}
/* The closing right after a band: the band's edge gives it no section padding above, while the
   footer's margin adds 3.5rem below. The same room on both sides keeps the wine panel centred. */
.gw-band + .block:has(> .container > .panel-wine) { padding-top: calc(3.75rem + 3.5rem); }
/* A page that ends on a band meets the footer edge to edge: no strip of cream between two grounds. */
main:has(> .gw-band:last-child) + .gw-site-footer { margin-top: 0; }

/* A step number, in a wine disc. */
.gw-num {
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: hsl(var(--gw-wine));
    font-size: .82rem;
    color: #fff;
}

/* ── A duo: the guest on the site beside the couple in the panel, each under a numbered line ── */
.gw-duo {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 32rem);
    justify-content: center;
    align-items: center;
    column-gap: clamp(3rem, 7vw, 5.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}
.gw-duo__side { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.gw-duo__side--panel { align-items: stretch; }
.gw-duo__step {
    display: flex;
    align-items: center;
    align-self: center;
    gap: .6rem;
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    color: hsl(var(--gw-fg));
}
@media (max-width: 991.98px) {
    .gw-duo { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
    .gw-duo__step { align-self: flex-start; }
    .gw-duo__side--panel { width: 100%; max-width: 32rem; justify-self: center; }
}

/* ── A split: the copy of a section beside its replica; --show-first puts the replica on the left ── */
.gw-split { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); column-gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.gw-split--show-first { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); }
.gw-split__show { display: flex; flex-direction: column; justify-self: start; width: min(100%, 33rem); }
.gw-split--show-first .gw-split__show { justify-self: end; width: min(100%, 32rem); }
/* Copy and phone are one group in the middle, as in a hero: never pinned to the edges of the sections around. */
@media (min-width: 992px) {
    .gw-split--pair { grid-template-columns: minmax(0, 25rem) auto; justify-content: center; max-width: 52rem; }
    .gw-split--pair .gw-split__show { width: auto; }
}
@media (max-width: 991.98px) {
    .gw-split,
    .gw-split--show-first { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
    .gw-split .gw-split__show { justify-self: center; width: 100%; max-width: 36rem; }
    .gw-split--show-first .gw-split__copy { order: -1; }
}

/* Facts: an icon tile, a bold line and a sentence. A column by default, a row of three
   under a whole section with --row. */
.gw-facts { display: flex; flex-direction: column; gap: 1.1rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.gw-facts--row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2.5rem;
    max-width: 60rem;
    margin: clamp(3.5rem, 6vw, 4.5rem) auto 0;
    padding-top: clamp(1.75rem, 3vw, 2.25rem);
}
.gw-facts li { display: flex; align-items: flex-start; gap: .9rem; font-size: .9rem; line-height: 1.5; color: hsl(var(--gw-muted-fg)); }
.gw-facts b { display: block; margin-bottom: .15rem; font-size: .98rem; font-weight: 600; color: hsl(var(--gw-fg)); }
.gw-facts__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: .8rem;
    background: hsl(var(--gw-champagne));
    color: hsl(var(--gw-wine));
    font-size: 1.1rem;
}

/* A customer's words, quoted under the copy they back. */
.gw-voice { margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid hsl(var(--gw-wine) / .15); }
.gw-voice blockquote { margin: 0; font-family: var(--gw-font-serif); font-style: normal; font-size: 1.15rem; line-height: 1.55; color: hsl(var(--gw-fg)); text-wrap: balance; }
.gw-voice figcaption { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; font-size: .85rem; color: hsl(var(--gw-muted-fg)); }
.gw-voice__face { flex: none; width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px hsl(var(--gw-wine) / .2); }
.gw-voice figcaption a { color: hsl(var(--gw-wine)); text-underline-offset: 3px; }

/* ── Three steps: each shown on the piece of the product where it happens ── */
.gw-howto {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem clamp(1.5rem, 3vw, 2.5rem);
    max-width: 68rem;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    padding: 0;
    list-style: none;
}
/* Subgrid: pictures, titles and texts line up across the three steps whatever their height. */
.gw-howto__item { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.gw-howto__show {
    display: grid;
    place-items: center;
    min-height: 13.5rem;
    margin-bottom: 1.4rem;
    padding: 1.5rem;
    border: 1px solid hsl(var(--gw-champagne));
    border-radius: 1.5rem;
    background: hsl(340 35% 97% / .3);
}
.gw-howto__title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .45rem; font-size: 1.1rem; font-weight: 600; color: hsl(var(--gw-fg)); }
.gw-howto__desc { margin: 0; font-size: .92rem; line-height: 1.55; color: hsl(var(--gw-muted-fg)); }

/* ── Prices: told by the two addresses a couple can have ── */
.gw-price {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 52rem;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.gw-price__plan {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 0 0 1px hsl(var(--gw-border) / .8), 0 18px 40px -26px hsl(340 40% 25% / .35);
}
.gw-price__plan--domain { box-shadow: 0 0 0 1.5px hsl(var(--gw-wine) / .55), 0 24px 48px -26px hsl(340 45% 25% / .45); }
.gw-price__address {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: .45rem;
    max-width: 100%;
    padding: .45rem .85rem;
    overflow: hidden;
    border-radius: 99px;
    background: hsl(30 20% 95%);
    font-size: .84rem;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: hsl(var(--gw-fg));
}
.gw-price__address i { font-size: .7rem; color: hsl(var(--gw-muted-fg)); }
.gw-price__plan--domain .gw-price__address { background: hsl(var(--gw-wine)); color: #fff; }
.gw-price__plan--domain .gw-price__address i { color: hsl(var(--gw-champagne)); }
.gw-price__name { margin: 1.4rem 0 0; font-size: 1.05rem; font-weight: 600; color: hsl(var(--gw-fg)); }
.gw-price__amount { display: flex; align-items: baseline; gap: .6rem; margin: .15rem 0 0; font-family: var(--gw-font-serif); font-size: 3rem; line-height: 1.1; color: hsl(var(--gw-wine)); }
.gw-price__amount small { font-family: var(--gw-font-sans); font-size: .85rem; color: hsl(var(--gw-muted-fg)); }
.gw-price__was { margin: .3rem 0 0; font-size: 1.1rem; color: hsl(var(--gw-fg) / .8); }
/* A slanted line in wine over dark digits: a line-through of the digits' own colour, across their middle, hid them. */
.gw-price__was s { position: relative; font-weight: 600; text-decoration: none; color: hsl(var(--gw-fg)); }
.gw-price__was s::after { content: ''; position: absolute; top: 50%; right: -.1em; left: -.1em; border-top: 1.75px solid hsl(var(--gw-wine)); transform: rotate(-7deg); }
.gw-price__save { display: flex; align-items: center; gap: .55rem; margin: .9rem 0 0; padding: .6rem .85rem; border-radius: .75rem; background: hsl(var(--gw-wine) / .08); font-size: .95rem; font-weight: 600; line-height: 1.3; color: hsl(var(--gw-wine)); }
.gw-price__save .bi { font-size: 1.15rem; line-height: 1; }
.gw-price__save b { font-size: 1.15rem; font-weight: 800; }
.gw-price__save small { display: block; margin-top: .1rem; font-size: .8rem; font-weight: 500; color: hsl(var(--gw-wine) / .8); }
.gw-price__list { flex: 1; display: flex; flex-direction: column; gap: .55rem; margin: 1.4rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid hsl(var(--gw-border)); list-style: none; }
.gw-price__list li { display: flex; gap: .6rem; font-size: .92rem; line-height: 1.45; color: hsl(var(--gw-fg)); }
.gw-price__list i { flex: none; font-size: 1rem; line-height: 1.4; color: hsl(var(--gw-wine)); }
.gw-price__cta { margin-top: 1.6rem; text-align: center; }
/* Three plans: the free account before the two ways of paying (pricing-pro.php). */
.gw-price--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: 72rem; }
@media (max-width: 991.98px) {
    .gw-price--three { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
}
/* One plan: a page's own offer ($pro_offer in pricing-pro.php). Alone, its head stands centred. */
.gw-price--one { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
.gw-price--one .gw-price__address { align-self: center; }
.gw-price--one .gw-price__name,
.gw-price--one .gw-price__was { text-align: center; }
.gw-price--one .gw-price__amount { justify-content: center; font-size: 3.75rem; }

@media (max-width: 767.98px) {
    .price-foot { text-align: left; }
    .gw-price { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
    .gw-price__plan { padding: 1.4rem; }
}

/* Small pieces of the couple's panel. */
.gw-rp-ui {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    width: 100%;
    max-width: 17rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0 0 1px hsl(var(--gw-border)), 0 18px 36px -24px hsl(340 45% 25% / .4);
    font-family: var(--gw-font-sans);
    font-size: .8rem;
    color: hsl(var(--gw-fg));
}
.gw-rp-ui__tabs { display: flex; gap: .35rem; }
.gw-rp-ui__tabs > * { flex: 1; padding: .3rem 0; border-radius: 99px; background: hsl(30 20% 95%); font-size: .68rem; font-weight: 600; text-align: center; color: hsl(var(--gw-muted-fg)); }
.gw-rp-ui__tabs b { background: hsl(var(--gw-wine)); color: #fff; }
.gw-rp-ui__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.gw-rp-ui__field { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.gw-rp-ui__field small { font-size: .68rem; font-weight: 600; color: hsl(var(--gw-muted-fg)); white-space: nowrap; }
.gw-rp-ui__field span { padding: .45rem .6rem; border: 1px solid hsl(var(--gw-border)); border-radius: .5rem; font-size: .82rem; }
.gw-rp-ui--list { gap: .4rem; padding: .75rem; }
.gw-rp-ui__sec { display: flex; align-items: center; gap: .55rem; padding: .5rem .6rem; border: 1px solid hsl(var(--gw-border)); border-radius: .6rem; }
.gw-rp-ui__sec > i { font-size: .8rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-ui__sec > span:first-of-type { flex: 1; font-weight: 500; }
.gw-rp-ui__switch { position: relative; flex: none; width: 1.9rem; height: 1.05rem; border-radius: 99px; background: hsl(30 15% 85%); }
.gw-rp-ui__switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: calc(1.05rem - 4px); height: calc(1.05rem - 4px); border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.gw-rp-ui__switch.is-on { background: hsl(var(--gw-wine)); }
.gw-rp-ui__switch.is-on::after { left: auto; right: 2px; }
.gw-rp-ui__address { display: flex; align-items: center; gap: .45rem; padding: .5rem .65rem; overflow: hidden; border-radius: .6rem; background: hsl(30 20% 96%); font-size: .78rem; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.gw-rp-ui__address i { color: hsl(var(--gw-wine)); }
.gw-rp-ui__share { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.gw-rp-ui__btn { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .5rem .6rem; border: 1.5px solid; border-radius: .5rem; font-size: .78rem; font-weight: 500; white-space: nowrap; }
.gw-rp-ui__btn--wa { border-color: #25D366; color: #25D366; }
.gw-rp-ui__btn--tg { border-color: #2AABEE; color: #2AABEE; }
.gw-rp-ui__btn--qr { border: 1px solid hsl(var(--gw-border)); color: hsl(var(--gw-muted-fg)); }

@media (max-width: 991.98px) {
    .gw-facts--row { grid-template-columns: minmax(0, 1fr); max-width: 32rem; }
    .gw-howto { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
}
@media (max-width: 767.98px) {
    .gw-howto__show { min-height: 0; padding: 1.25rem; }
}

.gw-cs-feature__title { text-wrap: balance; }

/* ── Phone reading line: text runs from the left like the hero; only devices stay centred.
   One rhythm between sections: each carries half of the gap, so two never stack up. ── */
@media (max-width: 767.98px) {
    .panel-head { text-align: left; margin-inline: 0; }
    .panel-head h2 { text-wrap: balance; }
    .block { padding-block: 2.25rem; }
    /* A band's edge is visible, so it cannot lean on its neighbour's half of the gap: where it meets the cream it keeps more room inside.
       A section that is also a band sets its own padding only above this width, or it would win over these. */
    .gw-band { padding-block: 3rem; }
    .gw-band:has(+ .gw-band) { padding-bottom: 2.25rem; }
    .gw-band + .gw-band { padding-top: 2.25rem; }
    .gw-band + .block:has(> .container > .panel-wine) { padding-top: calc(2.25rem + 3.5rem); }
}

/* ── The team photo: no room below it and no reveal on it, so the people stand on the lower edge of their band instead
   of floating above it. After the phone rules of the bands, so it wins over them. ── */
.gw-band.gw-team-band { padding-bottom: 0; }
.gw-team-photo { display: block; width: min(100%, 60rem); height: auto; margin: 0 auto; }

/* ── Inner pages of the guest site, inside a phone. 1em = 1rem of a 390px phone;
   values follow the ≤768px rules of the elegant theme and assets/css/sites/rsvp.css ── */
.gw-rp-phone--inner { width: clamp(14rem, 21vw, 17rem); }
.gw-rp-nav {
    position: absolute;
    top: 12.5cqi;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .75em;
    height: 3.5em;
    padding: 0 1em;
    font-size: 4.1cqi;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.gw-rp-nav__brand { flex: 1; font-family: var(--site-heading); font-size: 1.12em; font-weight: var(--site-hw); color: var(--pal-text); }
.gw-rp-nav__lang { font-family: var(--site-body); font-size: .8em; font-weight: 600; color: var(--pal-text-light); }
.gw-rp-nav__menu { display: flex; flex-direction: column; gap: .3em; width: 1.4em; }
.gw-rp-nav__menu i { height: 1.5px; background: var(--pal-text); }
.gw-rp-phone__screen:has(.gw-rp-nav) { background: var(--pal-bg); }
.gw-rp-phone__screen:has(.gw-rp-nav) .gw-rp-phone__status { color: #1d1d1f; background: #fff; height: 12.5cqi; padding-top: 4.4cqi; align-items: flex-start; }

.gw-rp-view {
    position: absolute;
    inset: calc(12.5cqi + 3.5 * 4.1cqi) 0 0;
    overflow: hidden;
    font-size: 4.1cqi;
    font-synthesis: none;
    color: var(--pal-text);
    background: var(--pal-bg);
}
.gw-rp-view__in { will-change: transform; }
.gw-rp-g { font-family: var(--site-body); }
.gw-rp-g__title {
    display: block;
    padding: 1.6em 1em 1.4em;
    font-family: var(--site-heading);
    font-size: 2em;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
}

/* RSVP: the "who is coming" step, header stuck under the site bar, action bar pinned. */
.gw-rp-g-rsvp { padding: .75em 1em 7em; }
.gw-rp-wz { overflow: hidden; border: 1.5px solid var(--pal-border); border-radius: 13px; background: #fff; }
.gw-rp-wz__head { display: block; padding: 1.1em 1.25em 1em; border-bottom: 1px solid var(--pal-border); }
.gw-rp-wz__row { display: flex; justify-content: space-between; align-items: baseline; }
.gw-rp-wz__where { font-size: .75em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pal-muted); }
.gw-rp-wz__which { font-size: .75em; color: var(--pal-muted); }
.gw-rp-wz__progress { display: block; height: 4px; margin-top: .7em; overflow: hidden; border-radius: 4px; background: var(--pal-border); }
.gw-rp-wz__progress span { display: block; width: 50%; height: 100%; border-radius: 4px; background: var(--pal-primary); }
.gw-rp-wz__stage { display: flex; flex-direction: column; gap: .85em; padding: 1.4em 1em 1.25em; }
.gw-rp-wz__q { font-size: 1.2em; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-align: center; }
.gw-rp-wz__sub { margin-top: -.5em; font-size: .875em; line-height: 1.55; text-align: center; color: var(--pal-text-light); }
.gw-rp-wz__person { overflow: hidden; border: 1.5px solid var(--pal-border); border-radius: 13px; background: #fff; }
.gw-rp-wz__person.is-open { border-color: var(--pal-primary); box-shadow: 0 10px 30px -14px color-mix(in srgb, var(--pal-primary) 46%, transparent); }
.gw-rp-wz__person-head { display: flex; align-items: center; gap: .8em; padding: .9em; }
.gw-rp-wz__avatar {
    flex: none;
    width: 2.75em;
    height: 2.75em;
    border-radius: 50%;
    background: var(--pal-bg-alt);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-primary) 15%, transparent);
    position: relative;
}
.gw-rp-wz__avatar::after {
    content: '';
    position: absolute;
    inset: 22%;
    background: var(--pal-primary);
    -webkit-mask: var(--avatar) center / contain no-repeat;
    mask: var(--avatar) center / contain no-repeat;
}
.gw-rp-wz__id { flex: 1; display: flex; flex-direction: column; gap: .2em; min-width: 0; }
.gw-rp-wz__id b { font-weight: 600; line-height: 1.25; }
.gw-rp-wz__id small { font-size: .875em; line-height: 1.4; color: var(--pal-text-light); transition: color .3s; }
.gw-rp-wz__id small.is-todo { font-weight: 500; color: var(--pal-primary); }
.gw-rp-wz__chev { width: .5em; height: .5em; margin-right: .3em; border-right: 1.7px solid var(--pal-muted); border-bottom: 1.7px solid var(--pal-muted); transform: translateY(-25%) rotate(45deg); }
.gw-rp-wz__person.is-open .gw-rp-wz__chev { transform: translateY(25%) rotate(-135deg); }
.gw-rp-wz__band { display: flex; flex-direction: column; gap: .7em; margin: 0 .95em 1.05em; padding-top: .95em; border-top: 1px solid var(--pal-border); }
.gw-rp-wz__band-title { font-size: .75em; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--pal-text-light); }
.gw-rp-wz__choice {
    display: flex;
    align-items: center;
    gap: .8em;
    min-height: 3.6em;
    padding: .7em .95em;
    border: 1.5px solid color-mix(in srgb, var(--pal-text) 50%, #fff);
    border-radius: 13px;
    font-weight: 500;
    transition: background .25s, border-color .25s, transform .15s;
}
.gw-rp-wz__mark {
    flex: none;
    display: grid;
    place-items: center;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--pal-text) 50%, #fff);
    transition: background .25s, border-color .25s;
}
.gw-rp-wz__choice.is-pressed { transform: scale(.985); }
.gw-rp-wz__choice.is-on { background: color-mix(in srgb, var(--pal-primary) 9%, #fff); border-color: var(--pal-primary); }
.gw-rp-wz__choice.is-on .gw-rp-wz__mark { background: var(--pal-primary); border-color: var(--pal-primary); }
.gw-rp-wz__choice.is-on .gw-rp-wz__mark::after { content: ''; width: .5em; height: .28em; margin-top: -.12em; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.gw-rp-wz__foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    gap: .7em;
    padding: .8em 1.25em calc(21cqi);
    font-size: 4.1cqi;
    font-family: var(--site-body);
    background: #fff;
    border-top: 1px solid var(--pal-border);
}
.gw-rp-wz__back,
.gw-rp-wz__cta { display: grid; place-items: center; min-height: 3.6em; border-radius: 6px; font-size: .875em; font-weight: 600; letter-spacing: .03em; }
.gw-rp-wz__back { padding: 0 1.2em; color: var(--pal-text-light); border: 1.5px solid var(--pal-border); }
.gw-rp-wz__cta { flex: 1; color: #fff; background: var(--pal-primary); }

/* ── Guest-site sections outside the phone, at desktop size: the elegant theme's values,
   laid out to fit a column. Cards keep their real size on a phone and swipe instead. ── */
.gw-rp-canvas {
    --canvas-pad: clamp(1.5rem, 3vw, 2.25rem);
    padding: var(--canvas-pad);
    border-radius: 1.5rem;
    background: var(--pal-bg);
    box-shadow: 0 0 0 1px hsl(var(--gw-border) / .6), 0 30px 60px -34px hsl(340 45% 25% / .35);
    font-family: var(--site-body);
    font-synthesis: none;
    color: var(--pal-text-light);
}
.gw-rp-canvas__label {
    display: block;
    margin-bottom: 1rem;
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--pal-muted);
}
.gw-rp-canvas__label::after { content: ''; display: block; width: 40px; height: 1px; margin: 1rem auto 0; background: var(--pal-border); }
.gw-rp-canvas__title {
    display: block;
    margin-bottom: 1.75rem;
    font-family: var(--site-heading);
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
    color: var(--pal-text);
}

/* The couple's panel, as the dashboard draws it. */
.gw-rp-dash {
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0 0 1px hsl(var(--gw-border)), 0 30px 60px -30px hsl(340 45% 25% / .35);
    font-family: var(--gw-font-sans);
    color: hsl(var(--gw-fg));
}
.gw-rp-dash__head { display: flex; flex-direction: column; padding: 1.25rem 1.4rem 1rem; }
.gw-rp-dash__head b { font-family: var(--gw-font-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.gw-rp-dash__head small { font-size: .8rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dash__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    margin: 0 1.4rem 1rem;
    padding: .9rem;
    border: 1px solid hsl(var(--gw-border));
    border-radius: .75rem;
}
.gw-rp-dash__stat { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.gw-rp-dash__stat > i { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-size: .9rem; }
.gw-rp-dash__stat > span { display: flex; flex-direction: column; min-width: 0; }
.gw-rp-dash__stat b { font-size: 1.15rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; transition: color .4s; }
.gw-rp-dash__stat b.is-bumped { color: hsl(152 55% 36%); }
.gw-rp-dash__stat small { font-size: .7rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dash__stat--all > i { background: hsl(var(--gw-champagne)); color: hsl(var(--gw-wine)); }
.gw-rp-dash__stat--yes > i { background: hsl(145 45% 92%); color: hsl(152 50% 38%); }
.gw-rp-dash__stat--wait > i { background: hsl(40 90% 92%); color: hsl(36 85% 45%); }
.gw-rp-dash__stat--no > i { background: hsl(0 70% 95%); color: hsl(0 60% 52%); }
.gw-rp-dash__rows { border-top: 1px solid hsl(var(--gw-border)); }
.gw-rp-dash__row { display: flex; align-items: center; gap: .8rem; padding: .75rem 1.4rem; border-bottom: 1px solid hsl(var(--gw-border) / .7); transition: background 1.6s ease; }
.gw-rp-dash__row.is-flash { background: hsl(145 45% 93%); transition: background .3s ease; }
.gw-rp-dash__rows > .gw-rp-dash__row:last-child { border-bottom: 0; }
.gw-rp-dash__avatar { position: relative; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; }
.gw-rp-dash__avatar::after {
    content: '';
    position: absolute;
    inset: 12%;
    background: currentColor;
    -webkit-mask: var(--avatar) center / contain no-repeat;
    mask: var(--avatar) center / contain no-repeat;
}
.gw-rp-dash__avatar.is-yes { color: hsl(152 50% 40%); background: hsl(145 45% 94%); }
.gw-rp-dash__avatar.is-wait { color: hsl(var(--gw-muted-fg)); background: hsl(30 15% 94%); }
.gw-rp-dash__who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-dash__who b { font-size: .92rem; font-weight: 600; }
.gw-rp-dash__who small { font-size: .78rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dash__who small.is-care { color: hsl(var(--gw-fg)); }
.gw-rp-dash__who small em { margin-right: .35rem; font-size: .66rem; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: hsl(32 90% 45%); }
.gw-rp-dash__pill { flex: none; padding: .22rem .6rem; border-radius: 99px; font-size: .74rem; font-weight: 600; }
.gw-rp-dash__pill.is-yes { background: hsl(145 45% 92%); color: hsl(152 55% 32%); }
.gw-rp-dash__pill.is-wait { background: hsl(40 90% 92%); color: hsl(34 80% 36%); }

@media (max-width: 767.98px) {
    /* As wide as a phone column allows: the text inside must stay readable, not just recognisable. */
    .gw-rp-phone--inner { justify-self: center; width: min(17rem, 100%); }
    .gw-rp-dash__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .8rem; }
    .gw-rp-dash__row, .gw-rp-dash__head { padding-inline: 1rem; }
    .gw-rp-dash__stats { margin-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .gw-rp-dash__row, .gw-rp-wz__choice, .gw-rp-wz__mark { transition: none; }
}

/* ── The guest list of the panel (the Ospiti page): households, then the people in them.
   Values follow app/assets/css/dashboard/wedding/guests.css. ── */
.gw-rp-hh-list { border-top: 1px solid hsl(var(--gw-border)); }
.gw-rp-hh__row {
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem .9rem .8rem 1.1rem;
    border-top: 1px solid hsl(var(--gw-border));
    background: #FBFAF8;
}
.gw-rp-hh:first-child .gw-rp-hh__row { border-top: 0; }
.gw-rp-hh__bar { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 4px; }
.gw-rp-hh__bar span { transition: background .5s ease; }
.gw-rp-hh__chev { font-size: .85rem; line-height: 1; color: hsl(345 8% 62%); transform: rotate(90deg); }
.gw-rp-hh.is-closed .gw-rp-hh__chev { transform: none; }
.gw-rp-hh__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gw-rp-hh__id b { overflow: hidden; font-size: .94rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.gw-rp-hh__id small { font-size: .69rem; font-weight: 500; line-height: 1.3; color: hsl(var(--gw-muted-fg)); transition: opacity .4s ease; }
.gw-rp-hh__total { display: inline-flex; align-items: center; gap: .3rem; margin-left: auto; font-size: .8rem; font-weight: 600; color: hsl(var(--gw-muted-fg)); }
.gw-rp-guest {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .9rem;
    border-top: 1px solid hsl(30 20% 92%);
    transition: background 1.6s ease;
}
.gw-rp-guest.is-flash { background: hsl(145 45% 95%); transition: background .3s ease; }
.gw-rp-guest__av { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; transition: background .4s ease, color .4s ease; }
.gw-rp-guest__av::after {
    content: '';
    position: absolute;
    inset: 8%;
    background: currentColor;
    -webkit-mask: var(--avatar) center / contain no-repeat;
    mask: var(--avatar) center / contain no-repeat;
}
.gw-rp-guest__id { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-guest__id b { overflow: hidden; font-size: .9rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.gw-rp-guest__line { display: flex; align-items: baseline; gap: .5rem; margin-top: 2px; font-size: .78rem; line-height: 1.45; color: hsl(var(--gw-muted-fg)); }
.gw-rp-guest__line em { flex: none; width: 5.5rem; font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: hsl(345 8% 62%); }
.gw-rp-guest__line.is-intol { color: hsl(38 80% 32%); font-weight: 500; transition: opacity .4s ease; }
.gw-rp-guest__line.is-intol em { color: hsl(38 92% 50%); }
.gw-rp-badge { flex: none; padding: .25rem .62rem; border-radius: 20px; font-size: .75rem; font-weight: 600; transition: background .4s ease, color .4s ease; }
.gw-rp-guest__av.is-yes, .gw-rp-badge.is-yes { background: hsl(142 71% 45% / .12); color: hsl(142 71% 36%); }
.gw-rp-guest__av.is-wait, .gw-rp-badge.is-wait { background: hsl(38 92% 50% / .12); color: hsl(38 92% 40%); }
.gw-rp-guest__av.is-no, .gw-rp-badge.is-no { background: hsl(0 70% 50% / .12); color: hsl(0 70% 50%); }
.gw-rp-hh__bar .is-yes { background: hsl(142 71% 45%); }
.gw-rp-hh__bar .is-wait { background: hsl(38 92% 50%); }
.gw-rp-hh__bar .is-no { background: hsl(0 70% 50%); }

/* ── Controls of the RSVP form (assets/css/sites/rsvp.css) at phone width ── */
.gw-rp-field { display: flex; flex-direction: column; gap: .45em; }
.gw-rp-field__label { font-size: .875em; font-weight: 600; line-height: 1.4; color: var(--pal-text-light); }
.gw-rp-field__label i { font-style: normal; color: var(--pal-primary); }
.gw-rp-field__input {
    display: flex;
    align-items: center;
    min-height: 3.6em;
    padding: 0 .95em;
    border: 1.5px solid color-mix(in srgb, var(--pal-text) 50%, #fff);
    border-radius: 13px;
    background: #fff;
    color: var(--pal-text);
}
.gw-rp-field__input.is-typed::after { content: ''; width: 1.5px; height: 1.2em; margin-left: 1px; background: var(--pal-primary); }
.gw-rp-field__input--select { justify-content: space-between; }
.gw-rp-field__input--select::after { content: ''; width: .45em; height: .45em; margin-right: .2em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-25%) rotate(45deg); }
.gw-rp-field__help { font-size: .875em; line-height: 1.45; color: var(--pal-text-light); }
.gw-rp-hit {
    display: flex;
    align-items: center;
    gap: .8em;
    min-height: 3.6em;
    padding: .7em .8em;
    border: 1.5px solid color-mix(in srgb, var(--pal-text) 50%, #fff);
    border-radius: 13px;
    background: #fff;
}
.gw-rp-hit__count { flex: none; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--pal-bg-alt); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-primary) 15%, transparent); font-weight: 600; color: var(--pal-primary); }
.gw-rp-hit__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-hit__body b { font-weight: 500; line-height: 1.3; }
.gw-rp-hit__body small { font-size: .875em; line-height: 1.35; color: var(--pal-text-light); }
.gw-rp-hit > i { color: var(--pal-muted); }
.gw-rp-wz__stage > .gw-rp-wz__cta { flex: none; min-height: 3.6em; margin-top: .3em; }
.gw-rp-wz__band-head { display: flex; justify-content: space-between; align-items: baseline; }
.gw-rp-wz__band-head small { font-size: .75em; color: var(--pal-muted); }
.gw-rp-pills { display: flex; flex-wrap: wrap; gap: .55em; }
.gw-rp-pill {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    min-height: 2.85em;
    padding: .55em .95em .55em .7em;
    border: 1.5px solid color-mix(in srgb, var(--pal-text) 50%, #fff);
    border-radius: 40px;
    background: #fff;
    font-size: .875em;
    font-weight: 500;
    color: var(--pal-text);
}
/* The mark: a plus where more than one can be picked, an empty circle where only one. */
.gw-rp-pill::before {
    content: '+';
    display: grid;
    place-items: center;
    width: 1.5em;
    height: 1.5em;
    border: 1.5px solid color-mix(in srgb, var(--pal-text) 50%, #fff);
    border-radius: 50%;
    font-size: .9em;
    line-height: 1;
    color: var(--pal-muted);
}
.gw-rp-pill.is-one::before { content: ''; }
.gw-rp-pill.is-on { border-color: var(--pal-primary); background: color-mix(in srgb, var(--pal-primary) 9%, #fff); }
.gw-rp-pill.is-on::before { content: '\2713'; border-color: var(--pal-primary); background: var(--pal-primary); font-weight: 700; color: #fff; }

/* ── Windows of the panel: the guest statistics, the import, one send in the email history ── */
.gw-rp-win {
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0 0 1px hsl(var(--gw-border)), 0 30px 60px -30px hsl(340 45% 25% / .4);
    font-family: var(--gw-font-sans);
    color: hsl(var(--gw-fg));
}
.gw-rp-win__head { display: flex; align-items: center; justify-content: space-between; padding: .95rem 1.2rem; border-bottom: 1px solid hsl(var(--gw-border)); }
.gw-rp-win__head b { font-size: 1.02rem; font-weight: 600; }
.gw-rp-win__head i { font-size: .8rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-win__foot { display: flex; justify-content: flex-end; gap: .5rem; padding: .85rem 1.2rem 1rem; border-top: 1px solid hsl(var(--gw-border)); }

/* The tableau's export window: what the file should hold, one option ticked. */
.gw-rp-tbexp__body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.2rem; font-size: .8rem; }
.gw-rp-tbexp__body > small { font-size: .74rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-tbexp__opt { display: flex; align-items: flex-start; gap: .65rem; padding: .65rem .75rem; border: 1px solid hsl(var(--gw-border)); border-radius: .75rem; }
.gw-rp-tbexp__opt > i:first-child { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .5rem; background: hsl(30 20% 94%); color: hsl(var(--gw-muted-fg)); }
.gw-rp-tbexp__opt > span { flex: 1; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.gw-rp-tbexp__opt b { font-weight: 600; }
.gw-rp-tbexp__opt small { font-size: .72rem; line-height: 1.4; color: hsl(var(--gw-muted-fg)); }
.gw-rp-tbexp__opt > i:last-child { color: hsl(var(--gw-wine)); }
.gw-rp-tbexp__opt.is-on { border-color: hsl(var(--gw-wine)); background: hsl(var(--gw-wine) / .04); }
.gw-rp-tbexp__opt.is-on > i:first-child { background: hsl(var(--gw-wine) / .1); color: hsl(var(--gw-wine)); }
.gw-rp-tbexp .gw-rp-win__head b { display: flex; align-items: center; gap: .5rem; }
.gw-rp-tbexp .gw-rp-win__head b i { font-size: 1rem; color: hsl(var(--gw-fg)); }

/* ── Dictation in a field (app/assets/css/components/dictation.css): listening, writing, then the text, on a loop ── */
.gw-rp-dict { width: min(100%, 27rem); }
.gw-rp-dict__body { display: flex; flex-direction: column; gap: .75rem; padding: 1rem 1.15rem 1.15rem; font-size: .8rem; }
.gw-rp-dict__sec { display: flex; align-items: center; gap: .55rem; font-size: .86rem; font-weight: 600; }
.gw-rp-dict__sec .bi { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .5rem; background: hsl(30 20% 94%); font-size: .9rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dict__label { margin-bottom: -.4rem; font-size: .68rem; font-weight: 600; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dict__area { position: relative; display: block; padding: .6rem 2.9rem .75rem .7rem; border: 1px solid hsl(var(--gw-border)); border-radius: .5rem; background: #fff; font-size: .82rem; line-height: 1.5; animation: gw-rp-dict-field 9s infinite; }
.gw-rp-dict__text { display: block; border-radius: .3rem; animation: gw-rp-dict-text 9s infinite; }
.gw-rp-dict__ph { position: absolute; top: .6rem; left: .7rem; color: hsl(var(--gw-muted-fg)); opacity: 0; }
.gw-rp-dict__ph.is-listen { animation: gw-rp-dict-listen 9s infinite; }
.gw-rp-dict__ph.is-write { animation: gw-rp-dict-write 9s infinite; }
.gw-rp-dict__mic { position: absolute; right: .45rem; bottom: .45rem; display: grid; width: 1.9rem; height: 1.9rem; }
.gw-rp-dict__mic > * { grid-area: 1 / 1; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; }
.gw-rp-dict__mic .is-idle { font-size: 1.05rem; color: hsl(var(--gw-muted-fg)); animation: gw-rp-dict-done 9s infinite; }
.gw-rp-dict__mic .is-stop { position: relative; isolation: isolate; background: hsl(var(--gw-wine)); font-size: .8rem; color: #fff; opacity: 0; animation: gw-rp-dict-listen 9s infinite; }
.gw-rp-dict__mic .is-stop::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: hsl(var(--gw-wine) / .28); animation: gw-rp-dict-voice 1.4s ease-in-out infinite; }
.gw-rp-dict__mic .is-spin { width: 1.1rem; height: 1.1rem; margin: auto; border: 2px solid hsl(var(--gw-wine) / .25); border-top-color: hsl(var(--gw-wine)); border-radius: 50%; opacity: 0; animation: gw-rp-dict-write 9s infinite, gw-rp-dict-spin .8s linear infinite; }
.gw-rp-dict__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; }
.gw-rp-dict__foot .gw-rp-ui__field { width: 9.5rem; }
.gw-rp-dict__foot .gw-rp-import__go { padding: .5rem .8rem; font-size: .78rem; }
/* An editor with bold and italic: the microphone sits alone at the far right of its toolbar, always in sight. */
.gw-rp-dict__editor { display: block; border: 1px solid hsl(var(--gw-border)); border-radius: .5rem; background: #fff; animation: gw-rp-dict-field 9s infinite; }
.gw-rp-dict__tools { display: flex; align-items: center; gap: .75rem; padding: .35rem .5rem .35rem .7rem; border-bottom: 1px solid hsl(var(--gw-border)); font-size: .88rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dict__tools .gw-rp-dict__mic { position: static; margin-left: auto; width: 1.75rem; height: 1.75rem; }
.gw-rp-dict__tools .gw-rp-dict__mic > * { border-radius: .4rem; }
.gw-rp-dict__tools .gw-rp-dict__mic .is-spin { border-radius: 50%; }
.gw-rp-dict__editor .gw-rp-dict__area { min-height: 5.5rem; padding: .6rem .7rem .75rem; border: 0; border-radius: 0 0 .5rem .5rem; animation: none; }
.gw-rp-dict__langs { display: flex; gap: .35rem; }
.gw-rp-dict__langs > * { padding: .3rem .7rem; border: 1px solid hsl(var(--gw-border)); border-radius: 99px; font-size: .74rem; font-weight: 600; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dict__langs b { border-color: hsl(var(--gw-wine)); background: hsl(var(--gw-wine) / .06); color: hsl(var(--gw-wine)); }
.gw-rp-dict .gw-rp-win__foot .gw-rp-import__ghost,
.gw-rp-dict .gw-rp-win__foot .gw-rp-import__go { padding: .5rem .85rem; font-size: .78rem; }
@keyframes gw-rp-dict-listen { 0%, 42% { opacity: 1; } 43%, 100% { opacity: 0; } }
@keyframes gw-rp-dict-write { 0%, 42% { opacity: 0; } 43%, 56% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes gw-rp-dict-done { 0%, 56% { opacity: 0; } 57%, 100% { opacity: 1; } }
@keyframes gw-rp-dict-text {
    0%, 56% { opacity: 0; background-color: hsl(var(--gw-wine) / .12); }
    57% { opacity: 1; background-color: hsl(var(--gw-wine) / .12); }
    75%, 100% { opacity: 1; background-color: transparent; }
}
@keyframes gw-rp-dict-field {
    0%, 56% { border-color: hsl(var(--gw-wine)); box-shadow: 0 0 0 .2rem hsl(var(--gw-wine) / .15); }
    57%, 100% { border-color: hsl(var(--gw-border)); box-shadow: none; }
}
@keyframes gw-rp-dict-voice {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.5); }
    35% { transform: scale(1.15); }
    55% { transform: scale(1.65); }
    75% { transform: scale(1.2); }
    88% { transform: scale(1.4); }
}
@keyframes gw-rp-dict-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .gw-rp-dict__area,
    .gw-rp-dict__editor,
    .gw-rp-dict__text,
    .gw-rp-dict__ph.is-listen,
    .gw-rp-dict__ph.is-write,
    .gw-rp-dict__mic .is-idle,
    .gw-rp-dict__mic .is-stop,
    .gw-rp-dict__mic .is-stop::before,
    .gw-rp-dict__mic .is-spin { animation: none; }
}

/* ── We listen: a request, the window that answers it, the file it downloads ── */
.gw-listen { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.gw-listen__ask {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 -.7rem -1.5rem;
    padding: .6rem 1.1rem .6rem .6rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0 0 1px hsl(var(--gw-border)), 0 18px 36px -18px hsl(340 45% 25% / .45);
    font: 600 .9rem/1.3 var(--gw-font-sans);
    color: hsl(var(--gw-fg));
}
.gw-listen__ask > i { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .75rem; background: hsl(var(--gw-wine) / .1); font-size: 1.1rem; color: hsl(var(--gw-wine)); }
.gw-listen__ask small { display: block; font-size: .72rem; font-weight: 500; color: hsl(var(--gw-muted-fg)); }
.gw-listen__win { position: relative; align-self: flex-end; width: min(20rem, 100%); margin: -5.5rem -1.5rem 0 0; }
@media (max-width: 991.98px) {
    .gw-listen__ask { margin-left: 0; }
    .gw-listen__win { margin-right: 0; }
}
@media (max-width: 767.98px) {
    .gw-listen { padding-block: 2.25rem; }
}
@media (max-width: 575.98px) {
    .gw-listen__win { width: calc(100% - 1.5rem); margin-top: -1.5rem; }
}

/* A browser window around a page. Its ring and shadow take the tint of the field it stands on
   (--browser-ring, --browser-drop: bare HSL triples). */
.gw-rp-browser { overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 0 0 1px hsl(var(--browser-ring, 345 10% 30%) / .14), 0 40px 80px -36px hsl(var(--browser-drop, 345 20% 20%) / .45); }
.gw-rp-browser__bar { display: flex; align-items: center; gap: .9rem; padding: .55rem .8rem; border-bottom: 1px solid #e6e2e2; background: #f3f1f1; }
.gw-rp-browser__dots { display: flex; gap: .35rem; }
.gw-rp-browser__dots i { width: .6rem; height: .6rem; border-radius: 50%; background: #ff5f57; }
.gw-rp-browser__dots i:nth-child(2) { background: #febc2e; }
.gw-rp-browser__dots i:nth-child(3) { background: #28c840; }
.gw-rp-browser__url { flex: 1; display: flex; align-items: center; justify-content: center; gap: .35rem; min-width: 0; margin-right: 2.2rem; padding: .3rem .7rem; overflow: hidden; border-radius: .45rem; background: #fff; font: 400 .7rem/1.2 'Inter', sans-serif; white-space: nowrap; color: #6b6168; }
.gw-rp-browser__url i { font-size: .6rem; }

/* An email from GoWeddy, in a mail client: layout.php at a reading size. */
.gw-rp-mail {
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0 0 1px hsl(var(--gw-border)), 0 30px 60px -30px hsl(216 40% 22% / .4);
}
.gw-rp-mail__head { padding: 1rem 1.2rem .9rem; border-bottom: 1px solid #e8e8e8; font-family: var(--gw-font-sans); }
.gw-rp-mail__head > b { display: block; font-size: 1.02rem; font-weight: 600; color: #202124; }
.gw-rp-mail__from { display: flex; align-items: center; gap: .65rem; margin-top: .75rem; }
.gw-rp-mail__av { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #9e4563; font-size: .9rem; font-weight: 700; color: #fff; }
.gw-rp-mail__from > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-size: .82rem; line-height: 1.3; color: #202124; }
.gw-rp-mail__from small { font-size: .74rem; color: #5f6368; }
.gw-rp-mail__paper { padding: 1.1rem; background: #f4f4f4; }
.gw-rp-mail__card { overflow: hidden; border-radius: 8px; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.gw-rp-mail__title { margin: 0; padding: 1.6rem 1.4rem 1.1rem; font: 700 1.2rem/1.3 Georgia, 'Times New Roman', serif; text-align: center; color: #9e4563; }
.gw-rp-mail__body { padding: 0 1.4rem 1.2rem; font-size: .84rem; line-height: 1.6; color: #666; }
.gw-rp-mail__body > p { margin: 0 0 .8rem; }
.gw-rp-mail__body > .gw-rp-mail__group { margin: 1rem 0 .45rem; font-weight: 700; color: #444; }
.gw-rp-mail__body > .gw-rp-mail__item { display: flex; flex-direction: column; margin: 0 0 .55rem; padding-left: .6rem; border-left: 3px solid #9e4563; line-height: 1.5; color: #444; }
.gw-rp-mail__item small { font-size: .74rem; color: #6b6b6b; }
.gw-rp-mail__cta { display: grid; place-items: center; padding: 1.1rem; background: #9e4563; }
.gw-rp-mail__cta span { padding: .6rem 1.6rem; border-radius: 4px; background: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em; color: #9e4563; }
/* The label → value table of an email body (app/partials/emails/_detail-table.php). */
.gw-rp-mail__dt {
    display: grid;
    grid-template-columns: 7.2rem minmax(0, 1fr);
    gap: 1px;
    margin: .2rem 0 .9rem;
    border: 1px solid #e8e0d8;
    background: #e8e0d8;
    font-size: .76rem;
    line-height: 1.4;
    color: #444;
}
.gw-rp-mail__dt > span { padding: .42rem .6rem; background: #fff; overflow-wrap: anywhere; }
.gw-rp-mail__dt > span:nth-child(odd) { background: #f8f5f2; font-weight: 600; }
.gw-rp-mail__dt > span.gw-rp-mail__dt-head { grid-column: 1 / -1; background: #9e4563; font-size: .7rem; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: #fff; }
.gw-rp-mail__dt-head ~ span:nth-child(odd) { background: #fff; font-weight: 400; }
.gw-rp-mail__dt-head ~ span:nth-child(even) { background: #f8f5f2; font-weight: 600; }
.gw-rp-mail__dt .is-strong { font-weight: 600; }
.gw-rp-mail__dt .is-mono { font-family: monospace; font-size: .72rem; letter-spacing: .5px; }

/* An open dropdown of the panel. */
.gw-rp-menu { display: flex; flex-direction: column; padding: .3rem 0; border: 1px solid hsl(var(--gw-border)); border-radius: .5rem; box-shadow: 0 10px 24px -14px hsl(345 10% 20% / .35); }
.gw-rp-menu span { display: flex; align-items: center; gap: .55rem; padding: .45rem .8rem; font-weight: 500; }
.gw-rp-menu span.is-on { background: hsl(var(--gw-wine) / .06); }
.gw-rp-menu i { color: hsl(var(--gw-muted-fg)); }

/* 1px gaps over a border-coloured ground draw the dividers, wherever the cells wrap. */
.gw-rp-stats__ages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 1rem 1.2rem 0; overflow: hidden; border: 1px solid hsl(var(--gw-border)); border-radius: .75rem; background: hsl(var(--gw-border)); }
.gw-rp-stats__ages span { display: flex; flex-direction: column; align-items: center; padding: .7rem .3rem; background: #fff; text-align: center; }
.gw-rp-stats__ages b { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.gw-rp-stats__ages small { font-size: .68rem; line-height: 1.25; color: hsl(var(--gw-muted-fg)); }
.gw-rp-stats__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: .75rem 1.2rem 1.2rem; }
.gw-rp-stats__card { padding: 1rem; border: 1px solid hsl(var(--gw-border)); border-radius: .75rem; }
.gw-rp-stats__title { display: flex; align-items: center; gap: .45rem; margin: 0 0 .65rem; font-size: .84rem; font-weight: 600; }
.gw-rp-stats__title i { color: hsl(var(--gw-wine)); }
.gw-rp-stats__title i.is-warn { color: hsl(38 92% 50%); }
.gw-rp-stats__row { display: grid; grid-template-columns: minmax(0, 1fr) 3.6rem 4.4rem; align-items: baseline; padding: .22rem 0; font-size: .8rem; }
.gw-rp-stats__row--pair { grid-template-columns: minmax(0, 1fr) auto; }
.gw-rp-stats__row--head { margin-bottom: .2rem; padding-bottom: .3rem; border-bottom: 1px solid hsl(var(--gw-border)); }
.gw-rp-stats__row > b, .gw-rp-stats__row > small { text-align: right; font-variant-numeric: tabular-nums; }
.gw-rp-stats__row > small { font-size: inherit; color: hsl(var(--gw-muted-fg)); }
.gw-rp-stats__row--head > small { font-size: .7rem; }

.gw-rp-import__body { padding: 1rem 1.2rem; font-size: .84rem; }
.gw-rp-import__body p { margin: 0 0 .85rem; line-height: 1.5; color: hsl(var(--gw-muted-fg)); }
.gw-rp-import__body small { display: block; margin-top: .5rem; font-size: .74rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-import__file { display: flex; align-items: center; gap: .6rem; padding: .3rem; border: 1px solid hsl(var(--gw-border)); border-radius: .6rem; font-weight: 500; }
.gw-rp-import__pick { padding: .35rem .7rem; border-radius: .45rem; background: hsl(30 20% 94%); font-size: .78rem; font-weight: 600; }
.gw-rp-import__foot { display: flex; justify-content: space-between; gap: .5rem; padding: .85rem 1.2rem 1rem; border-top: 1px solid hsl(var(--gw-border)); }
.gw-rp-import__ghost,
.gw-rp-import__go { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: .6rem; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.gw-rp-import__ghost { border: 1px solid hsl(var(--gw-border)); color: hsl(var(--gw-muted-fg)); }
.gw-rp-import__go { background: hsl(var(--gw-wine)); color: #fff; }

.gw-rp-hist__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1rem 1.2rem 0; font-size: .8rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-hist__state { padding: .2rem .5rem; border-radius: .35rem; background: hsl(142 60% 38%); font-size: .7rem; font-weight: 700; color: #fff; }
.gw-rp-hist__tabs { display: flex; gap: 1.25rem; margin: .9rem 1.2rem 0; border-bottom: 1px solid hsl(var(--gw-border)); font-size: .84rem; }
.gw-rp-hist__tabs > * { padding-bottom: .55rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-hist__tabs b { margin-bottom: -1px; border-bottom: 2px solid hsl(var(--gw-wine)); font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-rp-hist__list { display: flex; flex-direction: column; gap: .375rem; padding: 1rem 1.2rem 1.2rem; }
.gw-rp-hist__row { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border: 1px solid hsl(30 20% 92%); border-radius: .5rem; }
.gw-rp-hist__who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-hist__who b { font-size: .875rem; font-weight: 500; }
.gw-rp-hist__who small { overflow: hidden; font-size: .78rem; white-space: nowrap; text-overflow: ellipsis; color: hsl(var(--gw-muted-fg)); }
.gw-rp-hist__hh { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .5rem; border-radius: 99px; background: hsl(var(--gw-wine) / .08); font-size: .75rem; font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-rp-hist__badge { flex: none; padding: .25rem .45rem; border-radius: .35rem; font-size: .69rem; font-weight: 700; color: #fff; }
.gw-rp-hist__badge.is-clicked { background: hsl(142 60% 38%); }
.gw-rp-hist__badge.is-sent { background: hsl(210 8% 46%); }

/* ── A period of the planner and its activities: the Planner page, and the couple's panel on Diventa partner ── */
.gw-rp-period {
    overflow: hidden;
    border: 1px solid hsl(var(--gw-border));
    border-radius: .5rem;
    background: #fff;
    box-shadow: var(--gw-shadow-card);
    font-family: var(--gw-font-sans);
    font-size: .9rem;
    color: hsl(var(--gw-fg));
}
.gw-rp-period__head { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid hsl(30 20% 92%); }
.gw-rp-period__check {
    flex: none;
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid hsl(var(--gw-border));
    border-radius: 50%;
    font-size: .85rem;
}
.gw-rp-period__check.is-some { border-color: hsl(var(--gw-wine)); background: hsl(var(--gw-wine) / .1); color: hsl(var(--gw-wine)); }
.gw-rp-period__id { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-period__id b { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.gw-rp-period__id small { font-size: .8rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-period__bar { flex: none; width: 80px; height: 4px; overflow: hidden; border-radius: 99px; background: hsl(30 20% 92%); }
.gw-rp-period__bar span { display: block; height: 100%; background: hsl(var(--gw-wine)); transition: width .6s ease; }
.gw-rp-period__pct { flex: none; padding: .1875rem .625rem; border-radius: 99px; background: hsl(var(--gw-wine) / .08); font-size: .75rem; font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-rp-period__chev { font-size: .85rem; }

.gw-rp-task { display: flex; align-items: flex-start; gap: .75rem; padding: .8rem 1.5rem; border-bottom: 1px solid hsl(30 20% 92%); transition: background 1.6s ease; }
.gw-rp-task:last-child { border-bottom: 0; }
.gw-rp-task.is-done { background: hsl(var(--gw-cream)); }
.gw-rp-task.is-flash { background: hsl(145 45% 95%); transition: background .3s ease; }
.gw-rp-task__check {
    position: relative;
    flex: none;
    width: 1.4rem;
    height: 1.4rem;
    margin-top: .05rem;
    border: 1px solid hsl(var(--gw-border));
    border-radius: 50%;
    background: #fff;
    transition: background .25s ease, border-color .25s ease;
}
.gw-rp-task.is-done .gw-rp-task__check { border-color: hsl(var(--gw-wine)); background: hsl(var(--gw-wine)); }
.gw-rp-task.is-done .gw-rp-task__check::after {
    content: '';
    position: absolute;
    top: .36rem;
    left: .36rem;
    width: .56rem;
    height: .3rem;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.gw-rp-task__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-task__title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.gw-rp-task__title b { font-weight: 500; line-height: 1.45; }
.gw-rp-task.is-done .gw-rp-task__title b { text-decoration: line-through; color: hsl(var(--gw-muted-fg)); }
.gw-rp-task__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; margin-top: .45rem; }
.gw-rp-cost {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3125rem .625rem;
    border-radius: 99px;
    background: hsl(var(--gw-wine) / .08);
    font-size: .8125rem;
    font-weight: 600;
    color: hsl(var(--gw-wine));
}
.gw-rp-cost.is-paid { background: hsl(142 71% 45% / .12); color: hsl(142 71% 34%); }
.gw-rp-cost.is-partial { border: 1px dashed hsl(var(--gw-wine) / .45); }
.gw-rp-cost.is-unset { border: 1px dashed hsl(var(--gw-muted-fg)); background: hsl(30 20% 94%); color: hsl(var(--gw-muted-fg)); }
.gw-rp-cost .bi-chevron-down { font-size: .7rem; opacity: .65; transform: rotate(180deg); }
.gw-rp-cost__count { display: inline-grid; place-items: center; min-width: 1.05rem; height: 1.05rem; padding: 0 .25rem; border-radius: 99px; background: hsl(var(--gw-wine)); font-size: .62rem; font-weight: 700; line-height: 1; color: #fff; }
@media (max-width: 575.98px) {
    .gw-rp-period__head { gap: .75rem; padding: 1rem; }
    .gw-rp-period__bar { display: none; }
    .gw-rp-task { padding: .8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .gw-rp-task, .gw-rp-task__check, .gw-rp-period__bar span { transition: none; }
}

/* ── A spreadsheet: the guest sheet the couple downloads and uploads (docs/guest-sheet.md) ── */
.gw-rp-sheet {
    overflow: hidden;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 0 0 1px hsl(var(--gw-border)), 0 30px 60px -34px hsl(340 45% 25% / .35);
    font: 400 .76rem/1.2 Arial, Helvetica, sans-serif;
    color: #202124;
}
.gw-rp-sheet__bar { display: flex; align-items: center; gap: .45rem; padding: .6rem .85rem; border-bottom: 1px solid #dadce0; background: #f8f9fa; font-weight: 700; color: #3c4043; }
.gw-rp-sheet__bar i { font-size: .95rem; color: #188038; }
.gw-rp-sheet__grid {
    display: grid;
    grid-template-columns: 2rem repeat(var(--cols), minmax(6.5rem, max-content));
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
    mask-image: linear-gradient(to right, #000 85%, transparent);
}
.gw-rp-sheet__grid > span { overflow: hidden; padding: .42rem .55rem; border-right: 1px solid #e2e3e5; border-bottom: 1px solid #e2e3e5; white-space: nowrap; }
.gw-rp-sheet__grid > .gw-rp-sheet__n { padding-inline: 0; background: #f8f9fa; text-align: center; color: #5f6368; }
.gw-rp-sheet__th { display: flex; justify-content: space-between; align-items: center; gap: .4rem; background: #f1f3f4; font-weight: 700; }
.gw-rp-sheet__th i { font-size: .7rem; color: #5f6368; }
.gw-rp-sheet__bar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The seating sheet with names only: the couple on top, then the tables two by two. */
.gw-rp-seatxls {
    grid-template-columns: 1.7rem minmax(0, 1fr) minmax(0, 1.2fr) .6rem minmax(0, 1fr) minmax(0, 1.2fr);
    -webkit-mask-image: linear-gradient(#000 70%, transparent);
    mask-image: linear-gradient(#000 70%, transparent);
}
.gw-rp-seatxls > span { min-height: 1.75rem; text-overflow: ellipsis; }
.gw-rp-seatxls > .gw-rp-seatxls__col { background: #f8f9fa; text-align: center; color: #5f6368; }
.gw-rp-seatxls > .is-gap { padding-inline: 0; }
.gw-rp-seatxls__couple,
.gw-rp-seatxls__date,
.gw-rp-seatxls__table { grid-column: span 2; text-align: center; }
.gw-rp-seatxls__couple { font-size: .95rem; font-weight: 700; font-style: italic; }
.gw-rp-seatxls__date { font-size: .85rem; font-weight: 700; font-style: italic; }
.gw-rp-seatxls > .gw-rp-seatxls__table { border-color: #7D1F3A; background: #7D1F3A; font-weight: 700; color: #fff; }
.gw-rp-seatxls > .gw-rp-seatxls__head { border-color: #7D1F3A; background: #F6E8EB; font-size: .6rem; font-weight: 700; text-align: center; color: #7D1F3A; }

/* ── Small pieces of the panel for the three steps ── */
.gw-rp-ui__btn--line { border: 1px solid hsl(var(--gw-border)); color: hsl(var(--gw-fg)); }
.gw-rp-ui__btn--wine { border-color: hsl(var(--gw-wine)); background: hsl(var(--gw-wine)); color: #fff; }
.gw-rp-ui__stat { display: flex; align-items: center; gap: .55rem; padding: .4rem .55rem; border: 1px solid hsl(var(--gw-border)); border-radius: .6rem; }
.gw-rp-ui__stat > i { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font-size: .75rem; }
.gw-rp-ui__stat > span { flex: 1; font-weight: 500; }
.gw-rp-ui__stat > b { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
    .gw-rp-guest, .gw-rp-guest__av, .gw-rp-badge, .gw-rp-hh__bar span { transition: none; }
}

/* ── Moments in the RSVP form: the day groups the rows, the hour lines up in a column,
   the place sits under the name, and the plate hangs off the moment where one eats ── */
.gw-rp-day { display: flex; align-items: center; gap: .7em; margin: .35em 0 -.2em; font-size: .75em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pal-muted); }
.gw-rp-day::after { content: ''; flex: 1; height: 1px; background: var(--pal-border); }
.gw-rp-slot {
    display: flex;
    align-items: center;
    gap: .8em;
    min-height: 3.6em;
    padding: .7em .95em;
    border: 1.5px solid color-mix(in srgb, var(--pal-text) 50%, #fff);
    border-radius: 13px;
    background: #fff;
}
.gw-rp-slot.is-on { border-color: var(--pal-primary); background: color-mix(in srgb, var(--pal-primary) 9%, #fff); }
.gw-rp-slot:not(.is-on) .gw-rp-wz__mark::after { content: '+'; font-size: .95em; line-height: 1; color: var(--pal-muted); }
.gw-rp-slot.is-on .gw-rp-wz__mark { background: var(--pal-primary); border-color: var(--pal-primary); }
.gw-rp-slot.is-on .gw-rp-wz__mark::after { content: ''; width: .5em; height: .28em; margin-top: -.12em; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.gw-rp-slot__time { flex: none; align-self: stretch; display: flex; align-items: center; padding-right: .8em; border-right: 1px solid var(--pal-border); font-size: .875em; font-weight: 600; font-variant-numeric: tabular-nums; }
.gw-rp-slot.is-on .gw-rp-slot__time { border-right-color: color-mix(in srgb, currentColor 32%, transparent); }
.gw-rp-slot__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gw-rp-slot__body b { font-weight: 500; line-height: 1.3; }
.gw-rp-slot__body small { font-size: .875em; line-height: 1.35; color: var(--pal-text-light); }
.gw-rp-slot__menu { display: flex; flex-direction: column; gap: .8em; margin-left: 1.2em; padding: .8em 0 .2em 1.2em; border-left: 2px solid var(--pal-accent); }
.gw-rp-slot__menu small { font-size: .75em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pal-muted); }

/* Inside a moment, someone who is not invited to it stays in the list, visibly out of it. */
.gw-rp-guest.is-out { opacity: .55; }
.gw-rp-guest__av.is-out { background: hsl(30 20% 94%); color: hsl(var(--gw-muted-fg)); }
.gw-rp-guest__out { flex: none; font-size: .8125rem; color: hsl(var(--gw-muted-fg)); }

/* On a phone, as the panel draws it there: the answer under the name, each detail under its label. */
@media (max-width: 559.98px) {
    .gw-rp-hh__chev { display: none; }
    .gw-rp-guest { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "av name" "av sta"; column-gap: .7rem; row-gap: .35rem; padding-left: 1.5rem; }
    .gw-rp-guest__av { grid-area: av; align-self: start; }
    .gw-rp-guest__id { display: contents; }
    .gw-rp-guest__id b { grid-area: name; white-space: normal; }
    .gw-rp-badge, .gw-rp-guest__out { grid-area: sta; justify-self: start; }
    .gw-rp-guest__line { grid-column: 2; flex-direction: column; gap: 1px; margin-top: .2rem; }
    .gw-rp-guest__line em { width: auto; }
}
@media (max-width: 575.98px) {
    .gw-rp-canvas { --canvas-pad: 1.25rem; }
    .gw-rp-stats__ages { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .gw-rp-stats__ages span { grid-column: span 2; }
    .gw-rp-stats__ages span:nth-child(n+4) { grid-column: span 3; }
    .gw-rp-stats__cards { grid-template-columns: minmax(0, 1fr); }
    .gw-rp-mail__paper { padding: .75rem; }
    .gw-rp-mail__title { padding: 1.25rem 1rem .9rem; font-size: 1.1rem; }
    .gw-rp-mail__body { padding-inline: 1rem; }
}
