/**
 * /planner-matrimonio/ — page CSS. The page language comes from product.css; the pieces of the
 * couple's Planner redrawn here follow app/assets/css/dashboard/wedding/planner.css, and the
 * digest follows partials/emails/layout.php. Only this page shows them, so they live here.
 */

/* ── Hero: the planner at work, a period being ticked off. Like the other product pages,
   it straddles the coloured field and the cream below. ── */
.gw-pl-hero {
    --pl-overlap: clamp(5rem, 9vw, 8rem);
    --field-inset: 0 0 var(--pl-overlap);
}
.gw-pl-hero__grid { grid-template-columns: minmax(0, 27rem) minmax(0, 28rem); }
/* The extra 2.5rem keeps the last line off the field's edge when the copy is almost as tall as the board. */
.gw-pl-hero__copy { margin-bottom: calc(var(--pl-overlap) + 2.5rem); }
.gw-pl-board { display: flex; flex-direction: column; }
/* The progress card rides over the corner of the period it summarises. */
.gw-pl-board .gw-rp-plsum {
    z-index: 1;
    align-self: flex-start;
    width: min(19.5rem, 100%);
    margin: 0 0 -1.6rem -2rem;
    box-shadow: 0 0 0 1px hsl(var(--gw-border) / .6), 0 24px 48px -24px hsl(216 40% 22% / .45);
}
.gw-pl-board .gw-rp-period { box-shadow: 0 0 0 1px hsl(var(--gw-border)), 0 40px 80px -36px hsl(216 40% 22% / .45); }
.gw-pl-board .gw-rp-period__head { padding-top: 2.4rem; }

/* ── Replicas of the Planner ── */
.gw-rp-plsum {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.15rem 1.35rem;
    overflow: hidden;
    border: 1px solid hsl(30 20% 92%);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--gw-shadow-card);
    font-family: var(--gw-font-sans);
    color: hsl(var(--gw-fg));
}
.gw-rp-plsum::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 120px;
    background: radial-gradient(120px 120px at 100% 0, hsl(var(--gw-wine) / .05), transparent 70%);
    pointer-events: none;
}
.gw-rp-ring { position: relative; flex: none; width: 64px; height: 64px; }
.gw-rp-ring svg { display: block; transform: rotate(-90deg); }
.gw-rp-ring__track { fill: none; stroke: hsl(30 20% 94%); stroke-width: 7; }
.gw-rp-ring__fill { fill: none; stroke: hsl(var(--gw-wine)); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.gw-rp-ring > b { position: absolute; inset: 0; display: grid; place-items: center; font-size: .85rem; font-weight: 700; color: hsl(var(--gw-wine)); }
.gw-rp-ring.is-budget .gw-rp-ring__fill { stroke: hsl(217 91% 60%); }
.gw-rp-ring.is-budget > b { color: hsl(217 91% 60%); }
.gw-rp-plsum__text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-plsum__text > small { font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: hsl(345 8% 62%); }
.gw-rp-plsum__text > b { margin-top: .1rem; font-size: 1.65rem; font-weight: 700; line-height: 1.05; }
.gw-rp-plsum__denom { font-size: 1.1rem; color: hsl(345 8% 62%); }
.gw-rp-plsum__meta { margin-top: .2rem; font-size: .78rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-plsum__split { display: flex; flex-direction: column; margin-top: .3rem; font-size: .8rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-plsum__split b { font-weight: 600; color: hsl(var(--gw-fg)); }
.gw-rp-plsum__split b.is-ok { color: hsl(142 71% 36%); }

/* The tags of an activity that only this page shows. */
.gw-rp-urgent { flex: none; padding: .125rem .5rem; border-radius: 99px; background: hsl(354 70% 54% / .1); font-size: .625rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: hsl(0 70% 50%); }
.gw-rp-cal { display: inline-flex; align-items: center; gap: .3rem; padding: .3em .65em; border: 1px solid hsl(var(--gw-muted-fg)); border-radius: 99px; background: hsl(30 20% 94%); font-size: .72rem; font-weight: 700; color: hsl(var(--gw-muted-fg)); }
.gw-rp-inst { display: flex; flex-direction: column; gap: .2rem; padding: .5rem 0 .15rem; }
.gw-rp-inst__row { display: flex; align-items: center; gap: .6rem; padding: .45rem .7rem; border-radius: .6rem; background: hsl(30 30% 96%); font-size: .85rem; }
.gw-rp-inst__row > i { color: hsl(var(--gw-muted-fg)); }
.gw-rp-inst__row.is-paid > i { color: hsl(142 71% 40%); }
.gw-rp-inst__name { flex: 1; min-width: 0; font-weight: 500; }
.gw-rp-inst__row.is-paid .gw-rp-inst__name { text-decoration: line-through; color: hsl(var(--gw-muted-fg)); }
.gw-rp-inst__row b { font-weight: 600; white-space: nowrap; }
.gw-rp-inst__row small { font-size: .75rem; white-space: nowrap; color: hsl(var(--gw-muted-fg)); }

/* The tabs of the Planner, as a pill bar. */
.gw-rp-tabs {
    display: inline-flex;
    gap: .4rem;
    padding: .3rem;
    border: 1px solid hsl(30 20% 92%);
    border-radius: 99px;
    background: #fff;
    box-shadow: var(--gw-shadow-card);
    font-family: var(--gw-font-sans);
    font-size: .9rem;
    font-weight: 600;
    color: hsl(var(--gw-muted-fg));
}
.gw-rp-tabs > * { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1.2rem; border-radius: 99px; }
.gw-rp-tabs > b { background: hsl(var(--gw-wine)); box-shadow: 0 2px 8px -2px hsl(var(--gw-wine) / .45); font-weight: 600; color: #fff; }

/* Spend by type: the estimate underneath, the real cost on top, red where it goes over. */
.gw-rp-bt {
    margin-top: 1rem;
    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);
    color: hsl(var(--gw-fg));
}
.gw-rp-bt__title { display: flex; align-items: center; gap: .5rem; margin: 0; padding: 1.1rem 1.35rem .9rem; font-weight: 600; }
.gw-rp-bt__title i { color: hsl(var(--gw-wine)); }
.gw-rp-bt__row { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.35rem; border-top: 1px solid hsl(30 20% 92%); }
.gw-rp-bt__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: hsl(var(--gw-champagne)); color: hsl(var(--gw-wine)); }
.gw-rp-bt__main { flex: 1; display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.gw-rp-bt__line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .1rem .75rem; }
.gw-rp-bt__line b { font-size: .875rem; font-weight: 600; }
.gw-rp-bt__line small { font-size: .75rem; white-space: nowrap; color: hsl(var(--gw-muted-fg)); }
.gw-rp-bt__line small.is-over { color: hsl(0 70% 50%); }
.gw-rp-bt__track { position: relative; height: 8px; overflow: hidden; border-radius: 99px; background: hsl(30 20% 94%); }
.gw-rp-bt__est,
.gw-rp-bt__act { position: absolute; inset: 0 auto 0 0; border-radius: 99px; }
.gw-rp-bt__est { background: hsl(217 91% 60% / .28); }
.gw-rp-bt__act { background: hsl(217 91% 60% / .8); }
.gw-rp-bt__act.is-over { background: hsl(0 70% 50%); }
.gw-rp-bt__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; margin: 0; padding: .9rem; border-top: 1px solid hsl(30 20% 92%); font-size: .72rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-bt__legend i { display: inline-block; width: .55rem; height: .55rem; margin-right: .35rem; border-radius: 50%; }
.gw-rp-bt__legend .is-act { background: hsl(217 91% 60% / .8); }
.gw-rp-bt__legend .is-est { background: hsl(217 91% 60% / .28); }
.gw-rp-bt__legend .is-over { background: hsl(0 70% 50%); }

/* The reminder settings of the planner. */
.gw-rp-rem__body { display: flex; flex-direction: column; gap: .8rem; padding: 1rem 1.2rem 1.2rem; font-size: .8rem; }
.gw-rp-rem__switch { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem .85rem; border: 1px solid hsl(30 20% 92%); border-radius: .75rem; background: hsl(var(--gw-cream)); font-weight: 500; }
.gw-rp-rem__head { display: flex; align-items: center; gap: .45rem; padding-top: .2rem; font-size: .78rem; font-weight: 600; }
.gw-rp-rem__head i { color: hsl(var(--gw-muted-fg)); }
.gw-rp-rem__days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }

/* The Planner's Calendario in its Timeline: the search and the kind menu, what is late, the period bar, then only the
   days that hold something, each under its heading. Colours of the kinds as the calendar paints them: tasks grey,
   payments blue, appointments wine. */
.gw-rp-ag {
    --ag-line: hsl(30 20% 92%);
    --ag-edge: hsl(30 20% 80%);
    --ag-muted: hsl(345 10% 32%);
    display: flex;
    flex-direction: column;
    gap: .75rem;
    font-family: var(--gw-font-sans);
    color: hsl(var(--gw-fg));
}
.gw-rp-ag [hidden] { display: none; }
.gw-rp-ag__filters { display: flex; gap: .6rem; padding: .75rem; border: 1px solid var(--ag-line); border-radius: .75rem; background: #fff; }
.gw-rp-ag__search { flex: 1; min-width: 0; display: flex; align-items: center; gap: .7rem; padding: .55rem .9rem; overflow: hidden; border: 1px solid var(--ag-edge); border-radius: .5rem; font-size: .9rem; white-space: nowrap; color: var(--ag-muted); }
.gw-rp-ag__kind { position: relative; flex: none; display: flex; }
.gw-rp-ag__kind-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border: 1px solid var(--ag-muted);
    border-radius: .5rem;
    background: #fff;
    font: 500 .9rem var(--gw-font-sans);
    color: hsl(var(--gw-fg));
    cursor: pointer;
}
.gw-rp-ag__kind-btn:hover { background: hsl(30 30% 96%); }
.gw-rp-ag__kind-btn:focus-visible { outline: 2px solid hsl(var(--gw-wine)); outline-offset: 2px; }
.gw-rp-ag__caret { margin-left: .2rem; font-size: .65rem; color: var(--ag-muted); }
.gw-rp-ag__menu {
    position: absolute;
    top: calc(100% + .35rem);
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-width: 12rem;
    padding: .35rem 0;
    border: 1px solid var(--ag-line);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 12px 30px -10px hsl(340 30% 20% / .3);
}
.gw-rp-ag__menu button {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem 1rem;
    border: 0;
    background: transparent;
    font: 400 .9rem var(--gw-font-sans);
    text-align: left;
    color: hsl(var(--gw-fg));
    cursor: pointer;
}
.gw-rp-ag__menu button:hover,
.gw-rp-ag__menu button:focus-visible { background: hsl(30 30% 96%); outline: 0; }
.gw-rp-ag__menu button[aria-pressed="true"] { background: hsl(var(--gw-wine) / .1); color: hsl(var(--gw-wine)); }
.gw-rp-ag__sep { height: 1px; margin: .3rem 0; background: var(--ag-line); }
.gw-rp-ag__late { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border: 1px solid hsl(38 92% 50%); border-radius: .5rem; background: hsl(38 92% 50% / .12); font-size: .875rem; }
.gw-rp-ag__late i { color: hsl(38 80% 32%); }
.gw-rp-ag__late b { flex: 1; font-weight: 600; }
.gw-rp-ag__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .85rem; }
.gw-rp-ag__nav { display: flex; overflow: hidden; border: 1px solid var(--ag-muted); border-radius: .5rem; font-size: .85rem; color: var(--ag-muted); }
.gw-rp-ag__nav > * { display: grid; place-items: center; padding: .4rem .65rem; }
.gw-rp-ag__nav > * + * { border-left: 1px solid var(--ag-muted); }
.gw-rp-ag__title { display: flex; align-items: center; gap: .4rem; font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
.gw-rp-ag__title i { font-size: .75rem; }
.gw-rp-ag__views { display: flex; gap: .15rem; margin-left: auto; padding: .25rem; border-radius: .6rem; background: hsl(30 20% 90%); }
.gw-rp-ag__views > span { display: flex; align-items: center; gap: .35rem; padding: .35rem .55rem; border-radius: .45rem; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.gw-rp-ag__views > .is-on { background: #fff; box-shadow: 0 0 0 1.5px hsl(var(--gw-wine) / .35); color: hsl(var(--gw-wine)); }
.gw-rp-ag__list {
    overflow: hidden;
    border: 1px solid var(--ag-line);
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 30px 60px -30px hsl(216 40% 22% / .35);
}
.gw-rp-ag__day {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    padding: .6rem .85rem;
    border-top: 0 solid var(--ag-edge);
    background: hsl(30 30% 96%);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
/* A rule opens every day but the first one shown, also when the filter hides the first. */
.gw-rp-ag__group:not([hidden]) ~ .gw-rp-ag__group .gw-rp-ag__day { border-top-width: 2px; }
.gw-rp-ag__day small { font-size: inherit; }
.gw-rp-ag__day small::before { content: "\2013"; margin-right: .45rem; font-weight: 600; color: var(--ag-muted); }
.gw-rp-ag__day.is-today { border-top-color: hsl(var(--gw-wine)); color: hsl(var(--gw-wine)); }
.gw-rp-ag__day.is-today::before { content: ""; align-self: center; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--gw-wine)); }
.gw-rp-ag__row { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border-top: 1px solid var(--ag-line); }
.gw-rp-ag__row.is-task { --ag-c: var(--ag-muted); --ag-c-deep: var(--ag-muted); }
.gw-rp-ag__row.is-payment { --ag-c: hsl(217 91% 60%); --ag-c-deep: hsl(217 91% 40%); }
.gw-rp-ag__row.is-appointment { --ag-c: hsl(var(--gw-wine)); --ag-c-deep: hsl(340 50% 30%); }
.gw-rp-ag__time { flex: none; width: 6.2rem; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ag-muted); }
.gw-rp-ag__ev { flex: 1; min-width: 0; display: flex; align-items: center; gap: .55rem; font-size: .85rem; }
.gw-rp-ag__ev > i { font-size: 1rem; color: var(--ag-c); }
.is-done .gw-rp-ag__ev { opacity: .55; }
.gw-rp-ag__body { flex: 1; min-width: 0; }
.gw-rp-ag__body b { font-weight: 600; }
.gw-rp-ag__tick { margin-right: .2rem; color: hsl(142 71% 28%); }
.gw-rp-ag__body small { display: block; margin-top: .1rem; font-size: .72rem; font-weight: 500; color: var(--ag-muted); }
.gw-rp-ag__link { display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; padding: .22rem .6rem; border-radius: 99px; background: hsl(var(--gw-wine) / .1); font-size: .72rem; font-weight: 700; white-space: nowrap; color: hsl(var(--gw-wine)); }
.gw-rp-ag__amount { display: block; margin-top: .15rem; font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ag-c-deep); }

/* The model: the empty planner offering it, and its preview over the corner. */
.gw-rp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: 1.75rem 1.4rem 1.4rem;
    border: 1px solid hsl(var(--gw-border));
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 30px 60px -34px hsl(216 40% 22% / .35);
    font-family: var(--gw-font-sans);
    text-align: center;
    color: hsl(var(--gw-fg));
}
.gw-rp-empty__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: hsl(var(--gw-champagne)); font-size: 1.5rem; color: hsl(var(--gw-wine)); }
.gw-rp-empty > b { font-size: 1.05rem; font-weight: 600; }
.gw-rp-empty > p { margin: 0 0 .4rem; font-size: .8rem; line-height: 1.5; color: hsl(var(--gw-muted-fg)); }
/* Where the name and the button do not fit side by side, the button drops under, as in the app on a phone. */
.gw-rp-preset { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .75rem .9rem; border: 1px solid hsl(var(--gw-border)); border-radius: .75rem; background: #fff; text-align: left; }
.gw-rp-preset--blank { border-style: dashed; background: transparent; }
.gw-rp-preset__id { flex: 1 1 8.5rem; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-preset__id b { overflow: hidden; font-size: .9rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.gw-rp-preset__id small { font-size: .78rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-preset__go { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border: 1px solid hsl(var(--gw-wine)); border-radius: .4rem; background: hsl(var(--gw-wine)); font-size: .76rem; font-weight: 600; color: #fff; }
.gw-rp-preset--blank .gw-rp-preset__go { background: transparent; color: hsl(var(--gw-wine)); }
.gw-rp-ppv__id { display: flex; flex-direction: column; }
.gw-rp-ppv__id small { font-size: .75rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-ppv__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 20rem;
    overflow: hidden;
    padding: 1rem 1.2rem;
    -webkit-mask-image: linear-gradient(#000 78%, transparent);
    mask-image: linear-gradient(#000 78%, transparent);
}
.gw-rp-ppv__name { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .35rem; }
.gw-rp-ppv__name b { font-size: .88rem; font-weight: 600; }
.gw-rp-ppv__name small { font-size: .75rem; white-space: nowrap; color: hsl(var(--gw-muted-fg)); }
.gw-rp-ppv__rows { display: flex; flex-direction: column; overflow: hidden; border: 1px solid hsl(var(--gw-border)); border-radius: .75rem; }
.gw-rp-ppv__row { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; font-size: .8rem; }
.gw-rp-ppv__row + .gw-rp-ppv__row { border-top: 1px solid hsl(var(--gw-border)); }
.gw-rp-ppv__row > span:first-child { flex: 1; min-width: 0; }
.gw-rp-ppv__tag { flex: none; display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 99px; background: hsl(30 30% 96%); font-size: .68rem; font-weight: 600; white-space: nowrap; color: hsl(var(--gw-muted-fg)); }

/* The invite of a collaborator, with its area permissions (components/perm-matrix.css). */
.gw-rp-invite__body { display: flex; flex-direction: column; gap: .85rem; padding: 1rem 1.2rem; font-size: .8rem; }
.gw-rp-invite__quick { display: flex; flex-wrap: wrap; gap: .4rem; }
.gw-rp-invite__quick span { padding: .3rem .6rem; border: 1px solid hsl(var(--gw-border)); border-radius: .4rem; font-size: .72rem; font-weight: 500; color: hsl(var(--gw-muted-fg)); }
.gw-rp-perm { display: flex; flex-direction: column; overflow: hidden; border: 1px solid hsl(30 20% 92%); border-radius: .5rem; }
.gw-rp-perm__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .625rem .875rem; }
.gw-rp-perm__row + .gw-rp-perm__row { border-top: 1px solid hsl(30 20% 92%); }
.gw-rp-perm__area { min-width: 0; font-size: .8rem; }
.gw-rp-perm__seg { flex: none; display: inline-flex; overflow: hidden; border: 1px solid hsl(30 20% 92%); border-radius: .5rem; }
.gw-rp-perm__seg span { padding: .25rem .625rem; font-size: .72rem; line-height: 1.4; color: hsl(var(--gw-muted-fg)); }
.gw-rp-perm__seg span + span { border-left: 1px solid hsl(30 20% 92%); }
.gw-rp-perm__seg .is-on { background: hsl(var(--gw-wine)); color: #fff; }

/* Small pieces for the three steps. */
.gw-rp-new { align-self: flex-start; border-color: hsl(var(--gw-wine)); font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-rp-new .bi-chevron-down { margin-left: .35rem; padding-left: .5rem; border-left: 1px solid hsl(var(--gw-wine) / .4); font-size: .7rem; }
.gw-rp-plsum--mini { padding: .1rem .2rem; border: 0; box-shadow: none; }
.gw-rp-plsum--mini::after { content: none; }
.gw-rp-plsum--mini .gw-rp-plsum__text > b { font-size: 1.35rem; }
.gw-rp-ui__sec > span:first-of-type { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ── Sections with copy beside a replica ── */
.gw-pl-model,
.gw-pl-remind,
.gw-pl-timeline,
.gw-pl-together { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
@media (min-width: 768px) {
    .gw-pl-spend { padding-block: clamp(3rem, 6vw, 5rem); }
}
.gw-pl-model__grid,
.gw-pl-remind__grid,
.gw-pl-timeline__grid,
.gw-pl-together__grid { display: grid; column-gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.gw-pl-model__grid { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); }
.gw-pl-model__show { display: grid; grid-template-columns: minmax(0, 20.5rem) minmax(0, 18.5rem); justify-content: end; align-items: start; }
/* It only covers the empty card's margin: the offer underneath stays readable. */
.gw-rp-ppv { position: relative; z-index: 1; margin: 6rem 0 0 -1.5rem; }

.gw-pl-spend__grid {
    display: grid;
    grid-template-columns: minmax(0, 32rem) minmax(0, 28.5rem);
    justify-content: center;
    align-items: start;
    column-gap: clamp(2rem, 5vw, 3.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}
.gw-pl-spend__list { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.gw-pl-spend__list .gw-rp-period { align-self: stretch; }

.gw-pl-remind__grid,
.gw-pl-together__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); }
.gw-pl-remind__show { display: flex; flex-direction: column; justify-self: end; width: min(100%, 31rem); }
/* Over the foot of the email only: its button stays in sight. */
.gw-rp-rem { position: relative; align-self: flex-end; width: min(20rem, 100%); margin: -2rem -1.5rem 0 0; }

.gw-pl-timeline__grid { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); }
.gw-pl-timeline .gw-rp-ag { justify-self: end; width: min(100%, 34rem); }

.gw-pl-together__show { justify-self: end; width: min(100%, 29rem); }

@media (max-width: 991.98px) {
    .gw-pl-hero__grid,
    .gw-pl-model__grid,
    .gw-pl-spend__grid,
    .gw-pl-remind__grid,
    .gw-pl-timeline__grid,
    .gw-pl-together__grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
    .gw-pl-hero__copy { margin-bottom: 0; }
    .gw-pl-hero { --pl-overlap: 14rem; }
    .gw-pl-board { width: 100%; max-width: 34rem; justify-self: center; }
    .gw-pl-board .gw-rp-plsum { margin-left: 0; }
    .gw-pl-model__show,
    .gw-pl-remind__show,
    .gw-pl-together__show,
    .gw-pl-timeline .gw-rp-ag { width: 100%; max-width: 40rem; justify-self: center; }
    .gw-pl-model__show { justify-content: center; }
    .gw-pl-spend__list,
    .gw-pl-spend__budget { width: 100%; max-width: 34rem; justify-self: center; }
    .gw-pl-remind__copy,
    .gw-pl-together__copy { order: -1; }
    .gw-rp-rem { margin-right: 0; }
}
@media (max-width: 767.98px) {
    .gw-pl-hero { padding-bottom: 2.25rem; }
    .gw-pl-model,
    .gw-pl-remind,
    .gw-pl-timeline,
    .gw-pl-together { padding-block: 2.25rem; }
}
@media (max-width: 575.98px) {
    .gw-pl-hero__cta { display: block; text-align: center; }
    .gw-pl-board .gw-rp-plsum { width: calc(100% - 1.5rem); }
    .gw-pl-board .gw-rp-period__head { padding-top: 2.4rem; }
    .gw-rp-tabs { align-self: stretch; justify-content: space-between; font-size: .82rem; }
    .gw-rp-tabs > * { flex: 1; justify-content: center; padding: .5rem .25rem; }
    .gw-rp-tabs i { display: none; }
    .gw-rp-inst__row { flex-wrap: wrap; gap: .2rem .6rem; }
    .gw-rp-inst__row small { flex-basis: 100%; padding-left: 1.6rem; }
    .gw-rp-bt__row { padding-inline: 1rem; }
    .gw-rp-bt__ic { width: 36px; height: 36px; }
    .gw-pl-model__show { display: flex; flex-direction: column; }
    .gw-rp-ppv { align-self: flex-end; width: calc(100% - 1.5rem); margin: -1rem 0 0; }
    .gw-rp-rem { width: calc(100% - 1.5rem); margin-top: -1rem; }
    .gw-rp-ag__views { margin-left: 0; }
    .gw-rp-ag__view-label { display: none; }
    .gw-rp-perm__row { padding-inline: .7rem; }
    .gw-rp-perm__seg span { padding-inline: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
    .gw-rp-ring__fill { transition: none; }
}
