/**
 * The GoWeddy panel, redrawn for the pages that show it (GoWeddy Pro, Diventa partner, Fornitori), with the
 * values of app/assets/css/dashboard/** (CRM, quotes, the couple's side) and biolink.css. A piece lands here
 * when a second of these pages uses it; the rest stays in its page's sheet.
 */

/* The panel's own tokens (app/assets/css/custom.css) where the site's differ. */
:root {
    --app-wine-dark: hsl(340 50% 30%);
    --app-surface-warm: #FBFAF8;
    --app-surface-muted: hsl(30 30% 96%);
    --app-muted: hsl(30 20% 94%);
    --app-border-light: hsl(30 20% 92%);
    --app-faint: hsl(345 8% 62%);
    --app-success: hsl(142 71% 45%);
    --app-success-bg: hsl(142 71% 45% / .12);
    --app-success-deep: hsl(142 71% 28%);
    --app-warning: hsl(38 92% 50%);
    --app-warning-bg: hsl(38 92% 50% / .12);
    --app-warning-deep: hsl(38 80% 32%);
    --app-danger-deep: hsl(0 60% 42%);
    --app-info: hsl(217 91% 60%);
    --app-info-bg: hsl(217 91% 60% / .12);
    --app-info-deep: hsl(217 91% 40%);
    --app-shadow-card: 0 2px 12px -2px rgba(52, 39, 44, .08);
}

/* ── The biolink in a phone (biolink.css). 1em = 1rem of a 390px phone. ── */
.gw-rp-bio { background: #f5f5f6; }
.gw-rp-bio__page {
    --accent: #9e4563;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 0 1.4em;
    font: 400 4.1cqi/1.5 'Inter', system-ui, sans-serif;
    text-align: center;
    color: #18181b;
}
.gw-rp-bio__cover { flex: none; width: calc(100% + 2.8em); max-width: none; height: auto; aspect-ratio: 16 / 7; margin: 0 -1.4em; border-radius: 0 0 1.25em 1.25em; background: #f0f0f2; object-fit: cover; }
.gw-rp-bio__lang { position: absolute; top: 14cqi; right: .8em; z-index: 2; display: inline-flex; align-items: center; gap: .3em; padding: .3em .55em; border: 1px solid rgba(24, 24, 27, .12); border-radius: 99px; background: rgba(255, 255, 255, .82); font-size: .72em; font-weight: 700; }
.gw-rp-bio__lang img { width: 1.35em; height: 1.35em; border-radius: 3px; }
.gw-rp-bio__lang .bi { font-size: .8em; }
/* Sized on its own letter (1.9em): 80px wide, 24px corners, the 40px lift over the cover. */
.gw-rp-bio__logo {
    position: relative;
    z-index: 2;
    flex: none;
    display: grid;
    place-items: center;
    width: 2.63em;
    height: 2.63em;
    margin: -1.32em 0 .5em;
    border: 3px solid #fff;
    border-radius: .79em;
    background: linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent), #18181b 20%));
    box-shadow: 0 14px 34px -12px rgba(24, 24, 27, .18);
    font-size: 1.9em;
    font-weight: 700;
    color: #fff;
}
.gw-rp-bio__logo:has(img) { overflow: hidden; background: #fff; }
.gw-rp-bio__logo img { width: 100%; height: 100%; object-fit: cover; }
.gw-rp-bio__name { font-size: 1.55em; font-weight: 750; line-height: 1.12; letter-spacing: -.025em; }
.gw-rp-bio__loc { display: inline-flex; align-items: center; gap: .25em; margin-top: .5em; font-size: .83em; color: #6f6f78; }
.gw-rp-bio__text { max-width: 32ch; margin: 2.09em auto 1.16em; font-size: .86em; line-height: 1.5; color: #6f6f78; }
.gw-rp-bio__contacts { display: flex; justify-content: center; gap: .55em; margin-top: 1.15em; }
.gw-rp-bio__ct { display: flex; flex-direction: column; align-items: center; gap: .3em; }
.gw-rp-bio__ct .bi { display: grid; place-items: center; width: 2.4em; height: 2.4em; border: 1px solid #eaeaed; border-radius: .77em; background: #fff; box-shadow: 0 3px 14px -6px rgba(24, 24, 27, .13); font-size: 1.3em; color: var(--accent); }
.gw-rp-bio__ct.is-wa .bi { color: #25d366; }
.gw-rp-bio__ct small { font-size: .68em; font-weight: 600; color: #6f6f78; }
.gw-rp-bio__cta { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 1.2em; padding: .92em; border-radius: .94em; background: var(--accent); box-shadow: 0 14px 34px -12px rgba(24, 24, 27, .18); font-size: .96em; font-weight: 650; color: #fff; }
.gw-rp-bio__link { align-self: stretch; display: flex; align-items: center; gap: .75em; margin-top: .8em; padding: .95em 1.05em; border: 1px solid #eaeaed; border-radius: 1.25em; background: #fff; box-shadow: 0 3px 14px -6px rgba(24, 24, 27, .13); font-size: .93em; text-align: left; }
.gw-rp-bio__link { margin-top: .86em; }
.gw-rp-bio__cta + .gw-rp-bio__link { margin-top: 3.2em; }
.gw-rp-bio__link > .bi:first-child { flex: none; display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: .7em; background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); }
.gw-rp-bio__link > .bi:first-child:is(.bi-instagram, .bi-facebook, .bi-pinterest, .bi-tiktok, .bi-youtube, .bi-linkedin, .bi-twitter-x) { background: #f0f0f2; }
.gw-rp-bio__link > .bi:first-child.bi-facebook { color: #1877f2; }
.gw-rp-bio__link > .bi:first-child.bi-pinterest { color: #e60023; }
.gw-rp-bio__link > .bi:first-child.bi-tiktok { color: #010101; }
.gw-rp-bio__link > .bi:first-child.bi-youtube { color: #ff0000; }
.gw-rp-bio__link > .bi:first-child.bi-linkedin { color: #0a66c2; }
.gw-rp-bio__link > .bi:first-child.bi-twitter-x { color: #000; }
.gw-rp-bio__link > .bi-instagram::before { background: linear-gradient(to top right, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gw-rp-bio__foot { display: flex; flex-direction: column; align-items: center; gap: .53em; margin-top: 2.13em; font-size: .75em; font-weight: 600; color: #6f6f78; }
.gw-rp-bio__foot svg { width: auto; height: 1.2em; color: var(--accent); opacity: .85; }
.gw-rp-bio__link b { flex: 1; min-width: 0; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.gw-rp-bio__link > .bi:last-child { color: #a6a6ae; }

/* ── A lead, opened (the lead modal of crm.php) ── */
.gw-rp-lead .gw-rp-win__head b { display: flex; align-items: center; gap: .5rem; }
.gw-rp-lead .gw-rp-win__head img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.gw-rp-lead__deal { display: flex; flex-direction: column; gap: .3rem; margin: .85rem 1.15rem .3rem; padding: .7rem .85rem; border: 1px solid var(--app-border-light); border-radius: .85rem; background: var(--app-surface-warm); }
.gw-rp-lead__deal small { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--app-faint); }
.gw-rp-lead__select,
.gw-rp-model__select { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .7rem; border: 1px solid hsl(var(--gw-border)); border-radius: .5rem; background: #fff; font-size: .82rem; }
.gw-rp-lead__select .bi,
.gw-rp-model__select .bi { font-size: .7rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-lead__sec { display: flex; flex-direction: column; gap: .55rem; padding: .75rem 1.15rem .35rem; font-size: .8rem; }
.gw-rp-lead__sec:last-child { padding-bottom: 1.15rem; }
.gw-rp-lead__title { display: flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; }
.gw-rp-lead__title em { padding: .05rem .45rem; border-radius: 99px; background: hsl(var(--gw-champagne)); font-size: .68rem; font-style: normal; font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-rp-lead__tags { display: flex; flex-direction: column; gap: .3rem; }
.gw-rp-lead__tags small { font-size: .68rem; font-weight: 600; color: hsl(var(--gw-muted-fg)); }
.gw-rp-lead__tags > span { display: flex; flex-wrap: wrap; gap: .3rem; }
.gw-rp-lead__tags em { padding: .2rem .65rem; border-radius: 99px; background: hsl(var(--gw-champagne)); font-size: .74rem; font-style: normal; font-weight: 500; color: var(--app-wine-dark); }
.gw-rp-lead__tasks { overflow: hidden; border: 1px solid var(--app-border-light); border-radius: .65rem; }
.gw-rp-ltask { display: flex; align-items: flex-start; gap: .6rem; padding: .6rem .75rem; border-top: 1px solid var(--app-border-light); }
.gw-rp-ltask:first-child { border-top: 0; }
.gw-rp-ltask.is-done { background: hsl(var(--gw-cream)); }
.gw-rp-ltask__check,
.gw-rp-ltask__mail { flex: none; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; }
.gw-rp-ltask__check { border: 2px solid hsl(var(--gw-border)); background: #fff; }
.gw-rp-ltask__check.is-on { border-color: hsl(var(--gw-wine)); background: hsl(var(--gw-wine)); }
.gw-rp-ltask__check.is-on::after { content: ''; width: .28rem; height: .52rem; margin-top: -.1rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gw-rp-ltask__mail { background: hsl(var(--gw-wine) / .1); font-size: .66rem; color: hsl(var(--gw-wine)); }
.gw-rp-ltask.is-done .gw-rp-ltask__mail { background: var(--app-success-bg); color: var(--app-success-deep); }
.gw-rp-ltask__body { flex: 1; display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.gw-rp-ltask__body b { font-size: .8rem; font-weight: 500; line-height: 1.35; }
.gw-rp-ltask__body b .bi { margin-right: .25rem; font-size: .72rem; }
.gw-rp-ltask.is-done b { font-weight: 400; text-decoration: line-through; color: var(--app-faint); }
.gw-rp-ltask__body > span { display: flex; align-items: center; gap: .45rem; }
.gw-rp-ltask__body em { padding: .12rem .5rem; border-radius: 99px; font-size: .62rem; font-style: normal; font-weight: 600; }
.gw-rp-ltask__body em.is-pending { background: var(--app-warning-bg); color: var(--app-warning-deep); }
.gw-rp-ltask__body em.is-sent { background: var(--app-success-bg); color: var(--app-success-deep); }
.gw-rp-ltask__body small { font-size: .68rem; font-variant-numeric: tabular-nums; color: hsl(var(--gw-muted-fg)); }

/* ── The quote: the vendor's editor, the couple's modal, the same summary in both (quote-summary.css) ── */
.gw-rp-prop__head { display: flex; align-items: center; gap: .7rem; padding: .95rem 1.1rem .8rem; }
.gw-rp-prop__head img { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 10px; object-fit: cover; }
.gw-rp-prop__head > span { display: flex; flex-direction: column; min-width: 0; }
.gw-rp-prop__head b { font-size: .95rem; font-weight: 600; line-height: 1.25; }
.gw-rp-prop__head small { font-size: .76rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-prop__cat { margin-left: auto; padding: .08rem .55rem; border-radius: 99px; background: var(--app-muted); font-size: .68rem; font-style: normal; }
.gw-rp-badge-draft,
.gw-rp-badge-chosen { padding: .2rem .6rem; border-radius: 99px; font-size: .64rem; font-style: normal; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.gw-rp-badge-draft { background: var(--app-muted); color: hsl(var(--gw-muted-fg)); }
.gw-rp-badge-chosen { background: var(--app-success-bg); color: var(--app-success-deep); }
.gw-rp-prop__photos { display: flex; gap: .4rem; padding: 0 1.1rem .85rem; }
.gw-rp-prop__photos img,
.gw-rp-prop__photos span { width: 3.1rem; height: 3.1rem; border-radius: .5rem; object-fit: cover; }
.gw-rp-prop__photos span { display: grid; place-items: center; border: 1.5px dashed hsl(var(--gw-border)); color: hsl(var(--gw-muted-fg)); }
.gw-rp-prop__private { margin: .6rem 1.1rem .9rem; font-size: .72rem; line-height: 1.45; color: hsl(var(--gw-muted-fg)); }

.gw-rp-sum { display: flex; flex-direction: column; margin: 0 1.1rem; overflow: hidden; border: 1px solid hsl(var(--gw-border)); border-radius: 12px; font-size: .8rem; font-variant-numeric: tabular-nums; }
.gw-rp-sum__title { padding: .55em 1em; background: var(--app-surface-warm); font-size: .95em; font-weight: 700; color: hsl(var(--gw-wine)); }
.gw-rp-sum__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .1em 1em; padding: .5em 1em; border-top: 1px solid var(--app-border-light); }
.gw-rp-sum__row b { min-width: 0; overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.gw-rp-sum__row strong { font-weight: 600; text-align: right; }
.gw-rp-sum__row small { grid-column: 1 / -1; font-size: .86em; line-height: 1.4; color: hsl(var(--gw-muted-fg)); }
.gw-rp-sum__row em { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .35em; margin-top: .25em; padding: .1em .6em; border-radius: 99px; background: hsl(var(--gw-champagne)); font-size: .8em; font-style: normal; font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-rp-sum__t { display: flex; justify-content: space-between; gap: 1em; padding: .45em 1em; border-top: 1px solid var(--app-border-light); font-size: .95em; color: hsl(var(--gw-muted-fg)); }
.gw-rp-sum__t.is-gross { background: var(--app-surface-warm); font-size: 1.05em; font-weight: 700; color: hsl(var(--gw-fg)); }
.gw-rp-sum__t.is-earn { background: hsl(var(--gw-champagne)); font-weight: 700; color: hsl(var(--gw-wine)); }
.gw-rp-sum__t .bi { margin-right: .4em; }

/* The couple opens it on her phone: the modal goes full screen there (modal-fullscreen-md-down). */
.gw-rp-cq { background: #fff; }
.gw-rp-cq .gw-rp-phone__status { height: 12.5cqi; background: #fff; color: #1d1d1f; }
.gw-rp-cq__page { position: absolute; inset: 12.5cqi 0 0; display: flex; flex-direction: column; font: 400 4.1cqi/1.45 var(--gw-font-sans); color: hsl(var(--gw-fg)); }
.gw-rp-cq__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; padding: .9em 1.1em; border-bottom: 1px solid hsl(var(--gw-border)); }
.gw-rp-cq__head b { font-size: 1.1em; font-weight: 600; line-height: 1.3; }
.gw-rp-cq__head .bi { margin-top: .2em; font-size: .85em; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cq__body { flex: 1; display: flex; flex-direction: column; gap: .8em; overflow: hidden; padding: 1em 1.1em; }
.gw-rp-cq__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
.gw-rp-cq__gallery img { width: 100%; height: auto; aspect-ratio: 1; border-radius: .5em; object-fit: cover; }
.gw-rp-cq__desc { font-size: .84em; line-height: 1.5; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cq .gw-rp-sum { flex: none; margin: 0; font-size: .82em; }
.gw-rp-cq__block { flex: none; display: flex; flex-direction: column; gap: .55em; padding: .8em .9em; border: 1px solid hsl(var(--gw-border)); border-radius: .75em; font-size: .82em; }
.gw-rp-cq__block > b { display: flex; align-items: center; gap: .45em; font-weight: 600; }
.gw-rp-cq__block > b .bi { color: hsl(var(--gw-wine)); }
.gw-rp-cq__file { display: flex; align-items: center; gap: .6em; padding: .55em .7em; border: 1px solid var(--app-border-light); border-radius: .6em; }
.gw-rp-cq__file .bi:first-child { color: hsl(var(--gw-wine)); }
.gw-rp-cq__file .bi:last-child { margin-left: auto; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cq__foot { display: flex; justify-content: flex-end; gap: .6em; padding: .75em 1.1em 2.6em; border-top: 1px solid hsl(var(--gw-border)); font-size: .92em; font-weight: 500; }
.gw-rp-cq__foot > * { padding: .55em 1.1em; border-radius: .6em; }
.gw-rp-cq__foot span { border: 1px solid hsl(var(--gw-border)); color: hsl(var(--gw-muted-fg)); }
.gw-rp-cq__foot b { background: hsl(var(--gw-wine)); font-weight: 500; color: #fff; }
.gw-rp-cq .gw-rp-phone__home { background: rgba(0, 0, 0, .8); }

/* ── After the choice: the quote's card in the planner's list, and its reading on the confirmed guests ── */
.gw-rp-pcard { display: flex; flex-direction: column; gap: .75rem; width: min(100%, 23rem); padding-top: .1rem; }
.gw-rp-pcard > .gw-rp-prop__head { padding-bottom: 0; }
.gw-rp-pcard__foot { display: flex; align-items: center; justify-content: space-between; padding: 0 1.1rem; }
.gw-rp-pcard__foot b { font-size: .98rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.gw-rp-pcard__rc { display: flex; align-items: center; gap: .65rem; margin: 0 1.1rem; padding: .55rem .75rem; border: 1px solid var(--app-border-light); border-radius: .65rem; background: var(--app-surface-warm); }
.gw-rp-pcard__rc > .bi:first-child { color: hsl(var(--gw-wine)); }
.gw-rp-pcard__rc > span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.gw-rp-pcard__rc b { font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.gw-rp-pcard__rc small { font-size: .72rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-pcard__rc > .bi:last-child { font-size: .75rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-pcard__plan { display: flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-top: 1px solid var(--app-border-light); background: hsl(var(--gw-cream)); font-size: .76rem; font-weight: 600; color: hsl(var(--gw-wine)); }

.gw-rp-rc { position: relative; align-self: flex-end; width: min(100%, 27rem); margin: -.6rem -1.5rem 0 0; }
.gw-rp-rc__line { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.2rem .2rem; font-variant-numeric: tabular-nums; }
.gw-rp-rc__line span { font-size: .92rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-rc__line .bi { font-size: .8rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-rc__line b { font-size: 1.3rem; font-weight: 700; }
.gw-rp-rc__line em { padding: .1rem .5rem; border-radius: 99px; background: var(--app-muted); font-size: .72rem; font-style: normal; font-weight: 700; }
.gw-rp-rc__meta { margin: 0; padding: 0 1.2rem .8rem; font-size: .74rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-rc__table { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, auto); border-top: 1px solid hsl(var(--gw-border)); font-size: .74rem; font-variant-numeric: tabular-nums; }
.gw-rp-rc__table > span { padding: .45rem .55rem; border-bottom: 1px solid var(--app-border-light); text-align: right; white-space: nowrap; }
.gw-rp-rc__table > span:nth-child(4n+1) { overflow: hidden; padding-left: 1.2rem; text-align: left; text-overflow: ellipsis; }
.gw-rp-rc__table > span:nth-child(4n) { padding-right: 1.2rem; }
.gw-rp-rc__table > .is-head { font-size: .66rem; font-weight: 600; color: hsl(var(--gw-muted-fg)); }
.gw-rp-rc__table > .is-moved { font-weight: 700; }
.gw-rp-rc__table > .is-delta { color: hsl(var(--gw-muted-fg)); }
.gw-rp-rc__table > .is-total { background: var(--app-surface-muted); font-weight: 700; }
.gw-rp-rc__table > .is-earn { border-bottom: 0; background: hsl(var(--gw-champagne)); font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-rp-rc__table > .is-earn .bi { margin-right: .3rem; }

/* ── Link e Documenti (dashboard/documents.css): the couple's page groups them by vendor; a row is the same on both sides (document-rows.js) ── */
.gw-rp-docs { padding-bottom: 1rem; }
.gw-rp-docs__band { margin: 0 1.4rem .6rem; font-size: .8rem; font-weight: 600; }
.gw-rp-docs__group { display: flex; flex-direction: column; margin: 0 1rem .55rem; overflow: hidden; border: 1px solid var(--app-border-light); border-radius: .75rem; background: #fff; }
.gw-rp-docs__ghead { display: flex; align-items: center; gap: .5rem; padding: .7rem .85rem; }
.gw-rp-docs__ghead b { font-size: .88rem; font-weight: 600; }
.gw-rp-docs__ghead em { padding: .08rem .5rem; border-radius: 99px; background: var(--app-muted); font-size: .64rem; font-style: normal; white-space: nowrap; }
.gw-rp-docs__ghead small { margin-left: auto; font-size: .7rem; white-space: nowrap; color: hsl(var(--gw-muted-fg)); }
.gw-rp-docs__ghead small .bi { color: var(--app-success); }
.gw-rp-docs__ghead > .bi { font-size: .7rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-docs__group.is-open .gw-rp-docs__ghead > .bi { transform: rotate(90deg); }
.gw-rp-docs__row { display: flex; align-items: center; gap: .7rem; padding: .6rem .85rem; border-top: 1px solid var(--app-border-light); }
.gw-rp-docs__row > .bi:first-child { font-size: 1.1rem; color: hsl(var(--gw-wine)); }
.gw-rp-docs__row > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw-rp-docs__row b { font-size: .82rem; font-weight: 500; }
.gw-rp-docs__row small { font-size: .7rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-docs__row > .bi:last-child:not(:first-child) { font-size: .75rem; color: hsl(var(--gw-muted-fg)); }

/* ── Pieces of the three steps ── */
.gw-rp-ui__sec small { font-size: .68rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-ui__btn .bi { font-size: .75rem; }

/* ── The calendar (dashboard/vendor/calendar.css): its bar, and an event with the badge of its source ── */
.gw-rp-cal__bar { display: flex; align-items: center; gap: .9rem; margin-bottom: .85rem; }
.gw-rp-cal__nav { display: flex; gap: .3rem; }
.gw-rp-cal__nav > * { display: grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 .5rem; border: 1px solid hsl(var(--gw-border)); border-radius: .5rem; font-size: .74rem; font-weight: 500; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cal__bar > b { font-size: 1.05rem; font-weight: 600; }
.gw-rp-cal__seg { display: flex; margin-left: auto; padding: .2rem; border-radius: .6rem; background: var(--app-muted); font-size: .72rem; font-weight: 500; }
.gw-rp-cal__seg > * { padding: .3rem .65rem; border-radius: .45rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cal__seg b { background: #fff; box-shadow: 0 1px 3px rgba(52, 39, 44, .12); font-weight: 600; color: hsl(var(--gw-fg)); }
.gw-rp-cal__ev { --c-soft: var(--app-muted); --c-deep: hsl(var(--gw-fg)); display: flex; align-items: center; gap: .25rem; width: 100%; min-width: 0; padding: 1px 2px; font-size: .64rem; line-height: 1.3; }
.gw-rp-cal__ev > .bi { flex: none; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--c-soft); font-size: .66rem; color: var(--c-deep); }
.gw-rp-cal__ev small { flex: none; font-size: 1em; font-weight: 700; opacity: .8; }
.gw-rp-cal__ev > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cal__ev b { font-weight: 700; color: hsl(var(--gw-fg)); }
.gw-rp-cal__ev.is-appointment,
.gw-rp-cal__ev.is-planner-appointment { --c-soft: hsl(var(--gw-wine) / .1); --c-deep: var(--app-wine-dark); }
.gw-rp-cal__ev.is-wedding { --c-soft: var(--app-success-bg); --c-deep: var(--app-success-deep); }
.gw-rp-cal__ev.is-planner-payment { --c-soft: hsl(217 91% 60% / .1); --c-deep: var(--app-info-deep); }
.gw-rp-cal__ev.is-planner-task { --c-soft: var(--app-muted); --c-deep: hsl(var(--gw-muted-fg)); }
.gw-rp-cal__ev.is-lead-task { --c-soft: var(--app-warning-bg); --c-deep: var(--app-warning-deep); }

/* The quote (partials/pro-replicas.php): the editor beside the couple's phone. */
@media (min-width: 992px) {
    .gw-duo--quote { grid-template-columns: minmax(0, 30rem) auto; }
}

/* The month: colour rationed by rank, wedding days marked. The window that links it to the phone
   overlaps its corner, so the two stand on a stage. */
.gw-wp-cal__stage { position: relative; max-width: 56rem; margin: 0 auto; }
.gw-rp-cal { margin-right: 4rem; padding: 1rem 1.1rem 1.1rem; }
.gw-rp-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--app-border-light); border-radius: .75rem; background: var(--app-border-light); }
.gw-rp-cal__dow { padding: .45rem .5rem; background: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cal__day { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; min-height: 5.3rem; padding: .25rem .2rem .3rem; background: #fff; }
.gw-rp-cal__day.is-weekend { background: var(--app-surface-muted); }
.gw-rp-cal__day.is-wedding { background: hsl(142 45% 96%); }
.gw-rp-cal__num { padding: .15rem .35rem; font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cal__day.is-other .gw-rp-cal__num { opacity: .45; }
.gw-rp-cal__day.is-today .gw-rp-cal__num,
.gw-rp-cal__day.is-wedding .gw-rp-cal__num { display: grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .3rem; border-radius: 99px; font-weight: 700; color: #fff; }
.gw-rp-cal__day.is-today .gw-rp-cal__num { background: hsl(var(--gw-wine)); }
.gw-rp-cal__day.is-wedding .gw-rp-cal__num { background: var(--app-success-deep); }

.gw-rp-ics { position: absolute; right: -1.5rem; bottom: -5.4rem; width: 19rem; }
.gw-rp-ics__body { display: flex; flex-direction: column; gap: .7rem; padding: .9rem 1.1rem 1.1rem; }
.gw-rp-ics__body p { margin: 0; font-size: .74rem; line-height: 1.5; color: hsl(var(--gw-muted-fg)); }
.gw-rp-ics__os { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.gw-rp-ics__os > span { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .55rem .2rem; border: 1px solid var(--app-border-light); border-radius: .6rem; font-size: .62rem; font-weight: 600; line-height: 1.2; text-align: center; }
.gw-rp-ics__os .bi { font-size: 1.05rem; }
.gw-rp-ics__os .is-google { color: #4285F4; }
.gw-rp-ics__os .is-ms { color: #0078d4; }
.gw-rp-ics__label { font-size: .72rem; font-weight: 600; }
.gw-rp-ics__src { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .6rem; margin-top: -.3rem; }
.gw-rp-ics__src > span { display: flex; align-items: center; gap: .35rem; font-size: .68rem; }
.gw-rp-ics__src .bi { display: grid; place-items: center; width: .95rem; height: .95rem; border-radius: .25rem; background: hsl(var(--gw-wine)); font-size: .6rem; color: #fff; }

/* ── A wedding planner's word: the Home's quote card (base.css) beside a portrait photo ── */
.gw-wp-voice { display: grid; grid-template-columns: minmax(0, 31rem) minmax(0, 25rem); justify-content: center; align-items: center; }
.gw-wp-voice__photo { grid-area: 1 / 2; margin: 0; aspect-ratio: 4 / 5; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 40px 92px -34px hsl(var(--gw-wine) / .5); }
.gw-wp-voice__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.gw-wp-voice .testi-quote { grid-area: 1 / 1; position: relative; top: auto; transform: none; width: auto; margin-right: -4rem; }
/* Who wrote it (the studio's site and its Instagram) on one line; the review apart, framed, so the two read as two things. */
.gw-wp-voice .testi-by { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem; }
.gw-wp-voice__ig { display: inline-flex; align-items: center; gap: .35rem; }
.gw-wp-voice .testi-by a { color: hsl(var(--gw-champagne) / .85); text-decoration: underline; text-decoration-color: hsl(var(--gw-champagne) / .35); text-underline-offset: 3px; }
.gw-wp-voice .testi-by a:hover { color: #fff; text-decoration-color: currentColor; }
.gw-wp-voice__source { display: inline-block; margin-top: 1.1rem; padding: .5rem .85rem; border-radius: .65rem; background: hsl(0 0% 100% / .1); box-shadow: inset 0 0 0 1px hsl(var(--gw-champagne) / .3); font-size: .82rem; font-weight: 500; line-height: 1.4; color: #fff; text-decoration: none; transition: background .2s ease; }
.gw-wp-voice__source:hover { background: hsl(0 0% 100% / .18); color: #fff; }
.gw-wp-voice .testi-by a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
.gw-wp-voice__source:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gw-wp-voice + .gw-wp-voice { margin-top: clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 992px) {
    .gw-wp-voice--flip { grid-template-columns: minmax(0, 25rem) minmax(0, 31rem); }
    .gw-wp-voice--flip .gw-wp-voice__photo { grid-area: 1 / 1; }
    .gw-wp-voice--flip .testi-quote { grid-area: 1 / 2; margin: 0 0 0 -4rem; }
}

@media (max-width: 1199.98px) {
    .gw-rp-cal { margin-right: 0; }
    .gw-rp-ics { right: -.5rem; }
}
@media (max-width: 991.98px) {
    /* Stacked at the same width, an overlap reads as a mistake: they stand apart. */
    .gw-rp-rc { margin: 1rem 0 0; }
    /* The panel drops the names from the month below 992px and keeps the source badge;
       an agenda (Diventa partner) keeps them. */
    .gw-rp-cal__day .gw-rp-cal__ev small,
    .gw-rp-cal__day .gw-rp-cal__ev > span { display: none; }
    .gw-rp-cal__day .gw-rp-cal__ev { width: auto; }
    .gw-rp-cal__day { min-height: 3.9rem; }
    .gw-rp-ics { position: relative; right: auto; bottom: auto; width: calc(100% - 1.5rem); max-width: 22rem; margin: -1.5rem 0 0 auto; }
    .gw-wp-voice { grid-template-columns: minmax(0, 28rem); }
    .gw-wp-voice__photo { grid-area: 1 / 1; }
    .gw-wp-voice .testi-quote { grid-area: 2 / 1; margin: -1.75rem 1rem 0; }
}
@media (max-width: 767.98px) {
    .gw-rp-cal__bar { flex-wrap: wrap; row-gap: .6rem; }
    .gw-rp-cal__seg { order: 3; width: 100%; margin-left: 0; }
    .gw-rp-cal__seg > * { flex: 1; text-align: center; }
    .gw-rp-cal { padding-inline: .75rem; }
    .gw-rp-cal__dow { padding-inline: .2rem; text-align: center; }
    .gw-rp-cal__day { align-items: center; padding-inline: 0; }
}
@media (max-width: 575.98px) {
    .gw-rp-lead__sec,
    .gw-rp-prop__head,
    .gw-rp-pcard__foot { padding-inline: .9rem; }
    .gw-rp-lead__deal { margin-inline: .9rem; }
    .gw-rp-prop__photos { padding-inline: .9rem; }
    .gw-rp-sum,
    .gw-rp-pcard__rc { margin-inline: .9rem; }
    .gw-rp-prop__head .gw-rp-prop__cat { display: none; }
    .gw-rp-prop__head .gw-rp-badge-draft { margin-left: auto; }
    .gw-rp-rc__table { font-size: .7rem; }
    .gw-rp-rc__table > span { padding-inline: .4rem; }
    .gw-rp-rc__table > span:nth-child(4n+1) { padding-left: .9rem; white-space: normal; }
    .gw-rp-rc__table > span:nth-child(4n) { padding-right: .9rem; }
    .gw-rp-docs__ghead em { display: none; }
}

/* ── The directory: the page of a category in a province, with its cards ── */
.gw-rp-dir { display: flex; flex-direction: column; gap: .8rem; padding: 1.15rem 1.15rem 1.25rem; }
.gw-rp-dir__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; }
.gw-rp-dir__head b { font-family: var(--gw-font-serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.gw-rp-dir__head em { color: hsl(var(--gw-wine)); }
.gw-rp-dir__head small { font-size: .72rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dir__pill { display: flex; align-items: center; padding: .3rem .3rem .3rem .2rem; border: 1px solid hsl(var(--gw-border)); border-radius: 99px; background: #fff; }
.gw-rp-dir__pill > span { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 0 .85rem; font-size: .76rem; white-space: nowrap; }
.gw-rp-dir__pill > span + span { border-left: 1px solid hsl(var(--gw-border)); }
.gw-rp-dir__pill small { font-size: .56rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dir__pill > .bi { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: hsl(var(--gw-wine)); font-size: .78rem; color: #fff; }
.gw-rp-dir__filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.gw-rp-dir__filters span { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .7rem; border: 1px solid hsl(var(--gw-border)); border-radius: 99px; background: #fff; font-size: .68rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dir__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .15rem; }
.gw-rp-dcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid hsl(var(--gw-border) / .5); border-radius: .85rem; background: #fff; }
.gw-rp-dcard.is-ours { box-shadow: 0 18px 36px -18px hsl(var(--dcard-drop, 300 30% 20%) / .45); }
.gw-rp-dcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.gw-rp-dcard__media img { width: 100%; height: 100%; object-fit: cover; }
.gw-rp-dcard__media > .bi { position: absolute; top: .45rem; display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: hsl(var(--gw-cream) / .92); font-size: .68rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dcard__media > .bi-plus-lg { left: .45rem; }
.gw-rp-dcard__media > .bi-heart { right: .45rem; }
.gw-rp-dcard__body { display: flex; flex-direction: column; gap: .3rem; padding: .7rem .75rem .8rem; }
.gw-rp-dcard__body > b { overflow: hidden; font-family: var(--gw-font-serif); font-size: .98rem; font-weight: 500; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.gw-rp-dcard__body > small { display: flex; align-items: center; gap: .3rem; font-size: .66rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dcard__tags { display: flex; flex-wrap: wrap; gap: .25rem; }
.gw-rp-dcard__tags span { padding: .12rem .45rem; border-radius: 99px; background: hsl(var(--gw-champagne)); font-size: .58rem; font-weight: 500; color: hsl(var(--gw-wine)); }
.gw-rp-dcard__price { display: flex; flex-direction: column; margin-top: .25rem; padding-top: .45rem; border-top: 1px solid hsl(var(--gw-border) / .6); }
.gw-rp-dcard__price small { font-size: .54rem; letter-spacing: .05em; text-transform: uppercase; color: hsl(var(--gw-muted-fg)); }
.gw-rp-dcard__price b { font-family: var(--gw-font-serif); font-size: .98rem; font-weight: 400; color: hsl(var(--gw-wine)); }
.gw-rp-dcard__price em { font-family: var(--gw-font-sans); font-size: .6rem; font-style: normal; color: hsl(var(--gw-muted-fg)); }
/* The category picker of the search pill (search-pill.css), open over the page, a size down. */
.gw-rp-dir__search { position: relative; display: block; }
.gw-rp-cat {
    position: absolute;
    top: calc(100% + .4rem);
    left: -.3rem;
    z-index: 2;
    display: grid;
    grid-template-columns: 8.2rem minmax(0, 1fr);
    width: min(calc(100% + .3rem), 25rem);
    overflow: hidden;
    border: 1px solid hsl(var(--gw-border));
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 20px 45px -10px hsl(var(--gw-fg) / .25);
}
.gw-rp-cat__macros { padding: .3rem 0; border-right: 1px solid hsl(var(--gw-border) / .5); background: hsl(var(--gw-champagne) / .18); }
.gw-rp-cat__macro { position: relative; display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; font-size: .74rem; font-weight: 500; }
.gw-rp-cat__macro svg { flex: none; width: 15px; height: 15px; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cat__macro .bi { margin-left: auto; font-size: .62rem; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cat__macro.is-on { background: #fff; font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-rp-cat__macro.is-on::before { content: ''; position: absolute; top: .3rem; bottom: .3rem; left: 0; width: 3px; border-radius: 0 2px 2px 0; background: hsl(var(--gw-wine)); }
.gw-rp-cat__macro.is-on svg,
.gw-rp-cat__macro.is-on .bi { color: hsl(var(--gw-wine)); }
.gw-rp-cat__items { padding: .3rem 0; }
.gw-rp-cat__back { display: none; align-items: center; gap: .3rem; margin: -.3rem 0 .2rem; padding: .6rem .9rem; border-bottom: 1px solid hsl(var(--gw-border) / .5); font-size: .76rem; font-weight: 500; color: hsl(var(--gw-wine)); }
.gw-rp-cat__item { display: flex; align-items: center; gap: .6rem; padding: .42rem .9rem; font-size: .76rem; white-space: normal; }
.gw-rp-cat__item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.gw-rp-cat__item b { font-weight: 500; line-height: 1.25; }
.gw-rp-cat__item small { font-size: .64rem; line-height: 1.25; color: hsl(var(--gw-muted-fg)); }
.gw-rp-cat__icon { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: .5rem; background: hsl(var(--gw-champagne) / .35); color: hsl(var(--gw-wine)); }
.gw-rp-cat__icon svg { width: 13px; height: 13px; }
@media (max-width: 575.98px) {
    .gw-rp-dir { padding-inline: .8rem; }
    .gw-rp-dir__pill > span:nth-child(2) { display: none; }
    .gw-rp-dcard__body > b { white-space: normal; }
    /* On a phone the picker shows one list at a time, with the way back to the categories. */
    .gw-rp-cat { grid-template-columns: minmax(0, 1fr); width: calc(100% + .3rem); }
    .gw-rp-cat__macros { display: none; }
    .gw-rp-cat__back { display: flex; }
}

/* ── The couple's panel: the expanded sidebar of app/assets/css/dashboard.css beside the page it opens.
   The sidebar takes the page's height and fades where the list goes on. ── */
.gw-rp-couple {
    display: grid;
    grid-template-columns: 12.5rem minmax(0, 1fr);
    align-items: start;
    gap: .8rem;
    padding: .8rem;
    border-radius: 1.25rem;
    background: var(--app-surface-warm);
    box-shadow: 0 0 0 1px hsl(var(--gw-border)), 0 40px 80px -36px hsl(var(--couple-drop, 300 30% 20%) / .4);
}
.gw-rp-couple__side {
    contain: size;
    align-self: stretch;
    overflow: hidden;
    border: 1px solid hsl(var(--gw-wine) / .08);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .1);
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
    mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.gw-rp-couple__brand { display: block; padding: .8rem .85rem; border-bottom: 1px solid var(--app-border-light); }
.gw-rp-couple__brand img { display: block; width: 5.4rem; height: auto; }
.gw-rp-couple__brand .is-mark { display: none; }
.gw-rp-couple__group { display: flex; flex-direction: column; gap: .1rem; padding: .6rem .45rem 0; }
.gw-rp-couple__group small { padding: .15rem .5rem .3rem; font-size: .55rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: hsl(var(--gw-muted-fg)); }
.gw-rp-couple__link { display: flex; align-items: center; gap: .5rem; padding: .34rem .5rem; border-radius: .45rem; font-size: .74rem; font-weight: 500; white-space: nowrap; color: hsl(var(--gw-muted-fg)); }
.gw-rp-couple__link .bi { flex: none; width: 1rem; font-size: .88rem; text-align: center; }
.gw-rp-couple__link.is-on { background: hsl(var(--gw-wine)); box-shadow: 0 4px 12px hsl(var(--gw-wine) / .3); color: #fff; }
.gw-rp-couple__link > span { overflow: hidden; text-overflow: ellipsis; }
.gw-rp-couple__link em { margin-left: auto; padding: .08rem .42rem; border-radius: 99px; background: hsl(340 38% 95%); font-size: .58rem; font-style: normal; font-weight: 700; color: hsl(var(--gw-wine)); }

@media (max-width: 575.98px) {
    /* The sidebar as the app draws it closed: a rail of icons, the count as a dot on the icon. */
    .gw-rp-couple { grid-template-columns: 3.3rem minmax(0, 1fr); gap: .6rem; padding: .6rem; }
    .gw-rp-couple__brand { display: grid; place-items: center; padding: .8rem 0; }
    .gw-rp-couple__brand .is-full,
    .gw-rp-couple__group small,
    .gw-rp-couple__link > span { display: none; }
    .gw-rp-couple__brand .is-mark { display: block; width: 1.6rem; }
    .gw-rp-couple__group { align-items: center; padding: .35rem 0 0; }
    .gw-rp-couple__link { position: relative; justify-content: center; width: 2.2rem; height: 2.2rem; padding: 0; }
    .gw-rp-couple__link em { position: absolute; top: -.15rem; right: -.15rem; display: grid; place-items: center; width: .95rem; height: .95rem; padding: 0; background: hsl(var(--gw-wine)); color: #fff; }
}
