/* Drawn at 90% (tools/dev/scalecss.py). */
/* The invitation maker on jovvy.app. Builds on /styles.css. */

.bar {
  display: flex; align-items: center; gap: 14.5px;
  padding: 12.5px 21.5px; border-bottom: 1px solid var(--line); background: var(--surface);
}
/* The logo, then the site's sections, then the account at the far end. */
.bar .brand { font-size: 23.4px; margin-right: 7px; }
.bar #who { margin-left: auto; }
/* Four sections and an account don't always fit on one line. */
.bar { flex-wrap: wrap; row-gap: 5.5px; }
.bar .sections { display: flex; gap: 3.5px; flex-wrap: wrap; }
.bar .sections[hidden] { display: none; }
.bar .sections a { padding: 7px 11px; border-radius: 9px; font-weight: 600; color: var(--ink); text-decoration: none; }
.bar .sections a:hover { background: var(--tint); }
.bar .sections a[aria-current=page] { background: var(--tint); color: var(--deep); }
.stage { max-width: 1120px; margin: 0 auto; padding: 29px 21.5px 72px; display: flex; flex-direction: column; gap: 21.5px; }
.stage h1 { font-size: 30.6px; }
.stage h2 { font-family: var(--display); font-weight: 500; font-size: 21.6px; margin: 0; }

button, .button {
  font: inherit; font-weight: 600; cursor: pointer; border-radius: 12.5px;
  padding: 11px 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.danger { color: #a3312a; }
button.link { border: 0; background: none; padding: 3.5px 0; color: var(--accent); }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2.5px solid #2f7cf6; outline-offset: 2px; }

label { display: flex; flex-direction: column; gap: 5.5px; font-size: 12.6px; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], select, textarea {
  font: inherit; font-size: 15.3px; color: var(--ink); padding: 11px 12.5px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--surface); width: 100%;
}
textarea { min-height: 86.5px; resize: vertical; }
/* Every button and box is the same size of type wherever it sits. They take
   their font from what is around them, and a label's own words are small,
   so without this a button inside a label ("Add a shape") came out smaller
   than the same button outside one. 15.5px is the page's size; boxes under
   14.5px also make an iPhone zoom in when they are tapped. */
input[type=date], input[type=time] { font: inherit; font-size: 15.3px; color: var(--ink); background: var(--surface); }
button, .button, input, select, textarea { font-size: 15.3px; }
.error { color: #a3312a; font-size: 13.5px; }
.row { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; }
.spread { justify-content: space-between; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 21.5px; display: flex; flex-direction: column; gap: 14.5px; }
/* The sign-in box, and the short messages that share its look, sit in the
   middle of the page. */
.signin { max-width: 378px; width: 100%; margin: clamp(14.5px, 8vh, 86.5px) auto 0; }

/* Cards in a grid: saved invitations and templates. */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(171px, 1fr)); gap: 21.5px; }
.tile { display: flex; flex-direction: column; gap: 7px; text-align: left; padding: 0; border: 0; background: none; border-radius: 5.5px; font-weight: 400; }
.tile .paper { box-shadow: 0 5.5px 18px rgba(0,0,0,.13); border: 1px solid var(--line); background: #fff; width: 100%; }
.tile .paper img { display: block; width: 100%; height: auto; }
.tile strong { font-weight: 600; }
/* A premium design (Jovvy Wedding Plus): a small crown after its name. */
.tile strong .premiumcrown { margin-left: 5.5px; color: var(--accent); vertical-align: -1px; }
.tile strong .premiumcrown svg { width: 13.5px; height: 13.5px; }
.premiumnote { display: flex; align-items: center; gap: 5.5px; }
.premiumnote .premiumcrown { color: var(--accent); }
/* A design that moves online: a petal on the move after its name. */
.tile strong .movingmark { margin-left: 5.5px; color: var(--accent); vertical-align: -1px; }
.tile strong .movingmark svg { width: 13.5px; height: 13.5px; }
.premiumnote .movingmark { color: var(--accent); }
.tile small { color: var(--muted); }

/* A card on its own screen: in the middle of the page, front and back side
   by side (one above the other where there isn't room), and what can be
   done with it beneath. */
.cardview { display: flex; flex-direction: column; align-items: center; gap: 21.5px; }
.cardview .cardhead { text-align: center; }
.cardview .faces { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 25px; width: 100%; }
.cardview figure { margin: 0; flex: 0 1 378px; min-width: 198px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.cardview .paper { width: 100%; box-shadow: 0 9px 30.5px rgba(0,0,0,.16); border: 1px solid var(--line); background: #fff; }
.cardview .paper img { display: block; width: 100%; height: auto; }
.cardview figcaption { text-align: center; }
/* What can be done with the card: one row of buttons under its name. Three
   of them open what they offer beneath themselves. */
.cardview .actionbar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 9px; }
/* Under the reply card's actions: emailing it to everyone. */
.cardview .cardsend { display: flex; flex-direction: column; align-items: center; gap: 5.5px; margin: 3.5px auto 0; max-width: 414px; text-align: center; }
.cardview .cardsend:empty { display: none; }
.cardview .cardsend .wide { width: 100%; }
.cardview .replytoggle { max-width: 414px; margin: 3.5px auto 0; width: 100%; }
.cardview .replytoggle .check.choice { border-top: 0; }
.cardview .actionbar .menu { position: relative; }
.cardview .actionbar .menu > button { display: inline-flex; align-items: center; gap: 5.5px; }
.cardview .actionbar .menu.open > button { background: var(--tint); border-color: var(--accent); color: var(--deep); }
.cardview .actionbar .caret { font-size: 9.9px; opacity: .7; }
.cardview .actionbar .sharedon::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2e7d4f; margin-right: 6.5px; vertical-align: 1px; }
/* Opens in the middle under its button, wide enough for its buttons and notes. */
.cardview .actionbar .menupanel { left: 50%; transform: translateX(-50%); width: 360px; text-align: left; }
.cardview .actionbar .menupanel[hidden] { display: none; }
.cardview .actionbar .menupanel .panel { border: 0; padding: 0; background: none; border-radius: 0; }
.cardview > .note:empty { display: none; }
@media (max-width: 720px) {
  .cardview .actionbar { position: relative; }
  .cardview .actionbar .menu { position: static; }
  .cardview .actionbar .menupanel { left: 0; right: 0; transform: none; width: auto; }
}

/* The editor: the card's name on a line of its own, as a document's title
   is; under it one row of small buttons for everything that can be done,
   each a drawing with its name on hover; and the card below, centered. A
   button with choices to make drops them down beneath it. */
.editor { display: block; }
.titlebar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
/* The card's name, in the middle of the header between the logo and the
   account. Always boxed, so it is plainly something to type in. */
.bar { position: relative; }
#barcenter { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(324px, 38vw); }
#barcenter:empty { display: none; }
.cardname { width: 100%; box-sizing: border-box; text-align: center; font-family: var(--display); font-size: 18px; padding: 5.5px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
@media (max-width: 720px) {
  /* No room in the middle on a phone: the name takes a line of its own under the logo. */
  .bar { flex-wrap: wrap; }
  #barcenter { position: static; transform: none; width: 100%; order: 3; }
}
.titlebar label { flex-direction: row; align-items: center; gap: 7px; min-width: 0 !important; }
.titlebar > .note { margin: 0; font-size: 11.7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 288px; }
.menuspace { flex: 1; min-width: 7px; }
.menubar { position: sticky; top: 7px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; padding: 4.5px 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 12.5px; box-shadow: 0 3.5px 14.5px rgba(0,0,0,.06); }
.menubar .menu { position: relative; display: flex; }
.menubar button.tool { border: 0; background: none; min-width: 30.5px; height: 30.5px; padding: 0 6.5px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; color: var(--ink); font-weight: 600; font-size: 12.6px; }
.menubar button.tool:hover:not(:disabled), .menubar .menu.open > button.tool { background: var(--tint); color: var(--deep); }
.menubar button.tool[aria-pressed=true] { background: var(--tint); color: var(--deep); box-shadow: inset 0 0 0 1px var(--accent); }
.menubar button.tool.wide { padding: 0 9px; }
/* The button for whatever is selected stands out, so it is easy to find. */
.menubar .menu.thing > button.tool { background: var(--tint); color: var(--deep); box-shadow: inset 0 0 0 1px var(--accent); }
.menubar .caret { font-size: 9px; opacity: .65; }
.menubar .toolgap { width: 1px; height: 20px; background: var(--line); margin: 0 4.5px; }
.menubar .toolwrap { display: flex; gap: 0; }
.titlebar .zoombar { margin: 0; gap: 0; flex-wrap: nowrap; }
.titlebar .zoombar button { min-width: 27px; height: 30.5px; padding: 0 7px; border: 0; background: none; border-radius: 7px; font-size: 12.6px; }
.titlebar .zoombar button:hover { background: var(--tint); }
.titlebar .zoomlabel { min-width: 39.5px; font-size: 11.7px; }
.menubar .sides { gap: 2px; flex-wrap: nowrap; }
.menubar .sides button, .menubar > button:not(.tool) { height: 27px; padding: 0 9px; font-size: 11.7px; border-radius: 7px; }
.menupanel { position: absolute; left: 0; top: calc(100% + 9px); z-index: 31; width: 313px; max-width: calc(100vw - 29px); max-height: min(72vh, 594px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14.5px; padding: 14.5px; box-shadow: 0 12.5px 36px rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 12.5px; }
.menupanel h2 { font-size: 18px; }
/* The second line: what is selected, and its commonest options. */
.menubar .toolbreak { flex-basis: 100%; height: 0; margin: 3.5px 0; border-top: 1px solid var(--line); }
/* While nothing is selected, the second line holds a word on what it is for, as tall as its tools, so the card below stays put. */
.menubar .toolhint { margin: 0; flex: 1 1 100%; min-height: 42.5px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11.7px; }
.menubar .toolhint .tool { margin-right: 11px; }
.menubar .qfont { height: 29px; padding: 0 7px; font-size: 12.6px; border-radius: 7px; max-width: 153px; }
/* Choosing a font: a button in the font chosen, and every font in its own face beneath it. */
.fontpick { display: inline-flex; align-items: center; justify-content: space-between; gap: 7px; width: 100%; min-height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 14.4px; font-weight: 400; text-align: left; }
.fontpick .fontname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fontpick .caret { font-family: system-ui, sans-serif; font-size: 9.9px; color: var(--muted); }
.menubar .fontpick.qfont { width: auto; min-width: 135px; min-height: 29px; height: 29px; font-size: 13.5px; }
.fontpanel { position: fixed; z-index: 60; width: 261px; max-height: min(414px, 70vh); display: flex; flex-direction: column; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 12.5px; background: var(--surface); box-shadow: 0 16px 36px rgba(0, 0, 0, .16); }
.fontpanel input[type=search] { width: 100%; }
.fontlist { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.fontlist > * { flex: none; }
.fontlist .fonthead { margin: 9px 7px 3.5px; font: 600 9.9px/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fontlist [role=option] { border: 0; background: none; text-align: left; padding: 6.5px 7px; border-radius: 7px; font-size: 18px; font-weight: 400; color: var(--ink); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fontlist [role=option]:hover, .fontlist [role=option]:focus-visible { background: var(--tint); }
.fontlist [role=option].on { background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
/* The Text menu: each style as it will look, under its heading. */
.textstyles { display: flex; flex-direction: column; gap: 7px; }
.textstyles .stylehead { margin: 7px 0 0; font: 600 9.9px/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.textstyles .stylepick { padding: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: none; cursor: pointer; }
.textstyles .stylepick:hover, .textstyles .stylepick:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 2px var(--tint); }
.textstyles .stylepreview { pointer-events: none; }
/* The Elements menu: a tab each for lines, shapes, graphics, frames, and grids, and a grid of pictures. */
.menupanel:has(.elementspanel) { width: 378px; }
.elementspanel { display: flex; flex-direction: column; gap: 9px; }
.eltabs { display: flex; flex-wrap: wrap; gap: 0 2px; border-bottom: 1px solid var(--line); }
.eltabs [role=tab] { border: 0; background: none; padding: 7px 9px; font-size: 12.6px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 0; }
.eltabs [role=tab].on { color: var(--deep); border-bottom-color: var(--accent); }
.elbody { display: flex; flex-direction: column; gap: 7px; }
.elbody .stylehead { margin: 5.5px 0 0; font: 600 9.9px/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.elgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 7px; }
.elpick { padding: 0; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.elpick:hover, .elpick:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 2px var(--tint); }
.elpick .elpreview { width: 100%; pointer-events: none; }
.elpick.piece svg { width: 70%; height: 70%; overflow: visible; pointer-events: none; }
.elpick.photo img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.elpick.effect { position: relative; }
.elpick.effect.on { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.elpick.effect .elname { position: absolute; left: 0; right: 0; bottom: 3.5px; font-size: 9.9px; font-weight: 600; color: var(--ink); text-align: center; }
.musicplayer { width: 100%; }
.motionrow select { flex: 1 1 0; min-width: 0; }
/* The card as guests see it online, moving: over the editor, until Done. */
.onlinepreview { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(20, 16, 12, .55); }
.onlineframe { width: min(396px, 100%); max-height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 11px; padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: 0 21.5px 54px rgba(0, 0, 0, .3); }
.onlineframe .onlinecard { width: 100%; box-shadow: 0 9px 25px rgba(0, 0, 0, .18); }
.onlineframe .row { justify-content: flex-end; }
.onlineframe.guestpreview { width: min(560px, 100%); }
.previewtabs { display: flex; flex-wrap: wrap; gap: 4px; }
.previewbody { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.phone { align-self: center; width: 300px; height: 600px; border: 10px solid #1d1b1a; border-radius: 38px; background: #1d1b1a; box-shadow: 0 12px 30px rgba(0,0,0,.25); overflow: hidden; }
.phonescreen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #FBF8F2; display: flex; flex-direction: column; }
.phonebar { padding: 26px 16px 10px; font: 600 16px/1.2 system-ui, sans-serif; color: #2B2823; text-align: center; border-bottom: 1px solid #ECE5DA; background: #FFFDFA; }
.phonebody { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.phonelabel { margin: 0; text-align: center; font: 12px system-ui, sans-serif; color: #857C70; }
.phoneframe { width: 100%; height: 100%; border: 0; background: #fff; }
.guestcard { width: 100%; border: 1px solid #E6DFD2; }
.guestcard.raised { box-shadow: 0 5px 14px rgba(0,0,0,.12); }
.mailhead { font-size: 12.6px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.mailhead p { margin: 2px 0; }
.mailbody { border: 1px solid var(--line); border-radius: 8px; max-height: 62vh; overflow-y: auto; }
.mailbody .emailcard { max-width: 300px; margin: 0 auto 28px; box-shadow: 0 6px 18px rgba(31,27,22,.14); }
.chat { background: #fff; }
.bubble { align-self: flex-end; max-width: 80%; padding: 8px 12px; border-radius: 18px; background: #2F7CF6; color: #fff; font: 14px system-ui, sans-serif; }
.linkcard { align-self: flex-end; width: 82%; border-radius: 18px; overflow: hidden; background: #E9E9EB; font-family: system-ui, sans-serif; }
.linkcard .linkimage { border: 0; max-height: 190px; overflow: hidden; }
.linkwords { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 10px; font-size: 13px; color: #1d1b1a; }
.linkwords span, .linkwords small { color: #6b6560; }
.trimview { position: relative; width: min(360px, 100%); align-self: center; }
.trimview .trimmarks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trimkey { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.trimkey .key { display: inline-block; width: 22px; height: 0; margin-right: 8px; vertical-align: middle; border-top: 2px solid; }
.trimkey .key.cut { border-color: #C0392B; }
.trimkey .key.off { height: 10px; border: 0; background: rgba(40,30,20,.45); }
.trimkey .key.safe { border-top: 2px dashed #2E7D5B; }
.titlebar .previewlink { font-weight: 600; }
.menubar .qsize { width: 56px; height: 29px; padding: 0 5.5px; font-size: 12.6px; border-radius: 7px; text-align: center; }
.menubar .qcolor { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1; }
.menubar .qcolor svg { width: 15.5px; height: 15.5px; }
.menubar .qcolor b { font-size: 12.6px; }
.menubar .qcolor .dot { width: 16px; height: 3.5px; border-radius: 2px; border: 1px solid rgba(0,0,0,.25); box-sizing: border-box; }
.menubar .qcolor .dot.none { background: repeating-linear-gradient(45deg, #fff 0 2.5px, #d8d2c8 2.5px 4.5px); }
.menubar button.tool.danger { color: #a3312a; }
/* The options for what is selected open at the right, clear of the middle
   of the card where that thing usually is. */
.menubar .menu.thing { position: static; }
.menubar .menu.thing .menupanel { left: auto; right: 0; }
@media (max-width: 720px) {
  /* On a narrow screen the row wraps and scrolls away with the page, and
     choices open across it, not under their button. */
  .menubar { position: relative; top: 0; }
  .menubar .menu { position: static; }
  .menupanel { left: 7px; right: 7px; width: auto; max-width: none; }
}
.editor .sheet { max-width: 468px; width: 100%; margin: 0 auto; box-shadow: 0 9px 30.5px rgba(0,0,0,.16); border: 1px solid var(--line); background: #fff; touch-action: none; user-select: none; }
.editor .sheet [data-el] { cursor: grab; }
/* Zooming: the card grows past its column and scrolls inside this frame. */
.zoombar { justify-content: center; gap: 7px; margin-bottom: 9px; }
.zoombar button { min-width: 36px; padding: 5.5px 11px; }
.zoomlabel { min-width: 47px; text-align: center; font-size: 12.6px; color: var(--muted); }
.zoomwrap { padding: 7px 7px 25px; position: relative; }
/* Rulers along the top and left of the card, with a marker for each guide. */
.zoomwrap.ruled { padding: 29px 7px 25px 29px; }
.ruler { position: absolute; z-index: 3; background: #fbf9f5; color: #6b6259; font: 8.1px/1 system-ui, -apple-system, sans-serif; user-select: none; touch-action: none; cursor: crosshair; box-sizing: border-box; }
.ruler[hidden], .guidetip[hidden] { display: none; }
.ruler.top { border-bottom: 1px solid #b9b0a4; }
.ruler.left { border-right: 1px solid #b9b0a4; }
.ruler .tick { position: absolute; background: #8a8076; pointer-events: none; }
.ruler.top .tick { bottom: 0; width: 1px; }
.ruler.left .tick { right: 0; height: 1px; }
.ruler .num { position: absolute; pointer-events: none; }
.ruler.top .num { top: 2px; }
.ruler.left .num { left: 2px; }
.ruler .band { position: absolute; background: rgba(47, 124, 246, .22); pointer-events: none; }
.ruler.top .band { top: 0; bottom: 0; }
.ruler.left .band { left: 0; right: 0; }
.ruler .guidetab { position: absolute; width: 11.5px; height: 11.5px; background: #00A7B5; }
.ruler.top .guidetab { bottom: -1px; margin-left: -6px; cursor: ew-resize; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.ruler.left .guidetab { right: -1px; margin-top: -6px; cursor: ns-resize; clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%); }
.ruler.corner { border: 0; border-right: 1px solid #b9b0a4; border-bottom: 1px solid #b9b0a4; border-radius: 0; padding: 0; min-width: 0; background: #efeae2; color: #6b6259; cursor: pointer; font-weight: 600; }
.guidetip { position: absolute; z-index: 9; transform: translate(-50%, -100%); background: #1f1b16; color: #fff; font: 9.9px/1.2 system-ui, -apple-system, sans-serif; padding: 2.5px 6.5px; border-radius: 4.5px; white-space: nowrap; pointer-events: none; }
.zoomwrap.zoomed { overflow: auto; max-height: calc(100vh - 135px); border: 1px solid var(--line); border-radius: 14.5px; background: #f1ede6; }
.zoomwrap.zoomed .sheet { margin: 0; }
.editor .sheet [data-el].on { outline: 2.5px solid #2f7cf6; outline-offset: 0; }
.controls { display: flex; flex-direction: column; gap: 12.5px; }
.controls .field, .menupanel .field { display: flex; flex-direction: column; gap: 5.5px; font-size: 12.6px; color: var(--muted); }
.controls h3.subhead { margin: 4px 0 -4px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sliderval { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.shapegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.shapepick { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 3px 6px; font-size: 10.8px; line-height: 1.2; text-align: center; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.shapepick svg { width: 30px; height: 30px; color: var(--muted); }
.shapepick:hover, .shapepick:focus-visible { border-color: var(--accent); }
.shapepick[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.shapepick[aria-pressed="true"] svg { color: var(--accent); }
.menupanel .menupad { display: flex; flex-direction: column; gap: 12.5px; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.swatches button { width: 29px; height: 29px; padding: 0; border-radius: 50%; border: 1px solid var(--line); }
.swatches button.on { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.toggles button { padding: 7px 11px; }
.toggles button[aria-pressed=true] { background: var(--tint); border-color: var(--accent); color: var(--deep); }
input[type=range] { width: 100%; accent-color: var(--accent); }
input[type=color] { width: 39.5px; height: 29px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: none; }


/* A checkbox with its words beside it. */
label.check { flex-direction: row; align-items: center; gap: 7px; color: var(--ink); font-size: 13.5px; cursor: pointer; }
label.check input { width: 16px; height: 16px; accent-color: var(--accent); }

/* The decoration library beside the page. */

/* A row in the layers list: the name takes the room, the buttons stay small. */
.layer button { padding: 6.5px 7px; font-size: 11.7px; border-radius: 9px; flex: none; }
.layer button.name { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: 12.6px; }

/* The guest list */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14.5px; background: var(--surface); }
table.guests { border-collapse: collapse; width: 100%; font-size: 13.5px; }
table.guests th { text-align: left; font-weight: 600; font-size: 11.7px; color: var(--muted); padding: 11px 12.5px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.guests td { padding: 11px 12.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.guests tbody tr:last-child td { border-bottom: 0; }
table.guests:not(.plain):not(.fix) tbody tr { cursor: pointer; }
table.guests:not(.plain):not(.fix) tbody tr:hover, table.guests tbody tr:focus-visible { background: var(--tint); outline: none; }
table.guests td small { display: block; color: var(--muted); }
table.guests td.warn { color: #8a5a00; }
table.guests.fix td { padding: 5.5px 5.5px; }
table.guests.fix input[type=text] { padding: 7px 9px; border-radius: 7px; font-size: 12.6px; }
table.guests.fix input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); margin: 8px 5.5px; }
/* Choosing who Jovvy emails (guestlist.js): a box to tick, or why one can't be. */
table.guests td.pick { width: 1%; white-space: nowrap; }
table.guests td.pick label.check { gap: 5.5px; }
table.guests td.pick small { font-size: 11.2px; }
table.guests tr.chosen td { background: var(--tint, #f3efe8); }
.callout.choosing { border-color: var(--accent); }
table.guests.fix td.problem { min-width: 180px; font-size: 11.7px; padding: 9px 7px; }
table.guests.fix td.problem.bad { color: #a3312a; }
table.guests.fix tr:has(td.problem.bad) input[type=text] { border-color: #d9a8a4; }
.mapping { display: grid; grid-template-columns: repeat(auto-fill, minmax(198px, 1fr)); gap: 12.5px; }
table.guests td.nowrap, table.guests.plain td { white-space: nowrap; }
table.guests td.name { min-width: 153px; }
a.button { display: inline-block; text-decoration: none; }
button.small, a.button.small { display: inline-block; padding: 5.5px 11px; font-size: 12.6px; border-radius: 9px; margin-right: 5.5px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--surface); font-weight: 600; }
table.guests td.reply.yes { color: #2f6b4a; font-weight: 600; }
table.guests td.reply.no { color: var(--muted); }
table.guests td.reply.unsent { color: #8a5a00; }
table.guests td.reply { min-width: 117px; }

/* Envelopes and labels. Sizes are real (inches), so what prints is what was laid out. */
.envelope, .label-sheet { position: relative; background: #fff; color: #1f1b16; font-family: 'Fraunces', Georgia, serif; font-weight: 400; overflow: hidden; box-sizing: border-box; }
.envelope { display: flex; align-items: center; justify-content: center; padding: 12% 14% 0; }
.envelope .to { text-align: center; line-height: 1.5; }
.envelope .return { position: absolute; left: 0.4in; top: 0.35in; font-size: 62%; line-height: 1.35; text-align: left; }
.label-sheet .label { position: absolute; box-sizing: border-box; padding: 0.07in 0.14in; display: flex; align-items: center; line-height: 1.25; overflow: hidden; }
.envelope-preview { border: 1px solid var(--line); box-shadow: 0 5.5px 18px rgba(0,0,0,.13); overflow: hidden; }
/* The seating chart: who has no table on the left, the tables beside. */
.seating { display: grid; grid-template-columns: minmax(234px, 306px) 1fr; gap: 18px; align-items: start; }
.seating .tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 18px; align-items: start; }
.seating .panel { padding: 18px; gap: 11px; }
.seating .panel.dropping, .room .shape.dropping { outline: 2px solid var(--accent); outline-offset: 2px; }
/* The left column stays in view as the page scrolls: the chosen table (on the floor plan), then who has no table. */
.seating .side { position: sticky; top: 14.5px; max-height: calc(100vh - 29px); overflow: auto; display: flex; flex-direction: column; gap: 18px; }
.seating .count { font-weight: 600; color: var(--muted); white-space: nowrap; }
.seating .table.full .count { color: #2f6b4a; }
.seating .table.over .count { color: #a3312a; }
.seats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5.5px; }
.seat { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 5.5px 5.5px 5.5px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); cursor: grab; }
.seat .who { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.seat .who small { color: var(--muted); font-size: 11.7px; }
.seat select.seatmove { width: 93.5px; font-size: 12.6px; padding: 5.5px 7px; border-radius: 9px; flex: none; }
@media (max-width: 760px) {
  .seating { grid-template-columns: 1fr; }
  .seating .side { position: static; max-height: none; }
}
.howto ol, .howto ul { margin: 0; padding-left: 1.4em; display: grid; gap: 5.5px; }
.howto h3 { margin: 12.5px 0 5.5px; font-size: 1rem; }
.howto ul { color: var(--muted); }
/* The floor plan: drawn to its own measure, sized by its window's width (cqw). */
.floor { display: flex; flex-direction: column; gap: 14.5px; min-width: 0; }
.roomwrap { container-type: inline-size; width: 100%; }
.room { position: relative; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; touch-action: none; user-select: none; }
.room .spot { position: absolute; width: 0; height: 0; z-index: 0; } /* each its own layer, drawn in stack order (stackOrder) */
/* Carried over everything else while it is dragged (under the guides). */
.room .spot.lifted { z-index: 2; }
.room .chair { position: absolute; border-radius: 50%; border: 1px solid #8a8378; box-sizing: border-box; }
/* A name in place of a taken chair's dot. Written outward from the table: beside it, above or
   below it, or slanted along a long table's sides so neighbors don't run into each other. */
.room .seatname { position: absolute; white-space: nowrap; line-height: 1; font-weight: 600; color: #3a352e; pointer-events: none; }
.room .seatname.above { transform: translate(-50%, -85%); }
.room .seatname.below { transform: translate(-50%, -15%); }
.room .seatname.left { transform: translate(calc(-100% + .4em), -50%); }
.room .seatname.right { transform: translate(-.4em, -50%); }
.room .seatname.up { transform-origin: left bottom; transform: translate(-.2em, -70%) rotate(-38deg); }
.room .seatname.down { transform-origin: left top; transform: translate(-.2em, -30%) rotate(38deg); }
.room .chair.taken { background: #645d54; border-color: #645d54; }
.room .shape { position: absolute; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.15; background: #f6f1e9; border: 1.5px solid #645d54; border-radius: 5.5px; cursor: grab; overflow: hidden; padding: 2px; }
.room .shape.round { border-radius: 50%; }
/* The room itself: an outline round the tables. Only its label takes the pointer, so the floor inside stays free. */
.room .thing.look-outline { background: none; border: 2px solid #8a8378; border-radius: 2px; padding: 0; pointer-events: none; overflow: visible; }
.room .thing.look-outline span { pointer-events: auto; cursor: grab; position: absolute; left: 0; bottom: 100%; margin-bottom: 2.5px; white-space: nowrap; background: #fbf8f3; border: 1px solid #b9b0a2; }
.room .thing.look-outline.picked { border-color: #2f7cf6; }
.room:not(.open) .thing.look-outline span { border: 0; }
/* Locked in place: a small padlock in the corner. */
.room .shape.locked::after, .room .thing.locked::after { content: ''; position: absolute; right: 6%; top: 6%; width: 10px; height: 10px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235c554b'%3E%3Cpath d='M17 9V7a5 5 0 0 0-10 0v2H5v13h14V9h-2zm-8 0V7a3 3 0 0 1 6 0v2H9z'/%3E%3C/svg%3E"); }
.room:not(.open) .locked::after { display: none; }
.room .shape.locked, .room .thing.locked { cursor: default; }
/* A meal's mark inside a taken chair. */
.room .chair.marked { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; line-height: 1; overflow: hidden; }
.meals .note { margin: 2px 0; }
/* A table's color, chosen from a few. */
.swatches { gap: 5.5px; }
.swatch { width: 23.5px; height: 23.5px; padding: 0; border-radius: 50%; border: 1.5px solid #b9b0a2; cursor: pointer; }
.swatch[aria-pressed=true] { border-color: #1f1b16; box-shadow: 0 0 0 2px #fbf8f3, 0 0 0 3.5px #1f1b16; }
/* Who sits where: a numbered chair, two arrows, and the person. */
.seats.ordered { display: grid; gap: 0; }
.seatrow { display: flex; align-items: center; gap: 3.5px; list-style: none; }
.seatrow .chairno { flex: none; width: 1.6em; text-align: right; color: var(--muted); font-size: 10.8px; font-variant-numeric: tabular-nums; }
.seatrow .nudge { flex: none; width: 21.5px; height: 21.5px; padding: 0; border-radius: 5.5px; border: 1px solid var(--line); background: var(--surface); font-size: 10.8px; line-height: 1; cursor: pointer; }
.seatrow .nudge:disabled { opacity: .35; cursor: default; }
.seatrow .seats.one { flex: 1; min-width: 0; margin: 0; padding: 0; }
.room .chair.dropping, .room .seatname.dropping { outline: 2px solid var(--accent); outline-offset: 2px; }
.room.open .seatname.droppable { pointer-events: auto; }
/* What is in the room besides tables: flat, so tables read as standing on the floor beside them. */
.room .thing { position: absolute; box-sizing: border-box; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.15; padding: 2px; color: #5c554b; background: repeating-linear-gradient(45deg, #efe9de, #efe9de 5.5px, #e9e2d5 5.5px, #e9e2d5 11px); border: 1.5px dashed #8a8378; border-radius: 5.5px; cursor: grab; touch-action: none; user-select: none; overflow: hidden; }
.room .thing.round { border-radius: 50%; }
.room .thing.look-dance { background: repeating-conic-gradient(#ece5d8 0% 25%, #f6f1e9 0% 50%) 50% / 14% 14%; border-style: solid; }
.room .thing.look-door { background: #f6f1e9; border-style: solid; border-width: 0 0 2.5px; border-radius: 0; }
.room .thing span { background: rgba(251,248,243,.86); border-radius: 3.5px; padding: 0 .3em; font-weight: 600; }
.room .thing.look-line { background: #6f685e; border: 0; border-radius: 1.5px; padding: 0; }
.room .thing.look-window { background: #eef4f8; border: 1.5px solid #8fb3c9; border-radius: 0; padding: 0; }
.room .thing.look-line span, .room .thing.look-window span { display: none; }
.room .thing.look-solid { background: #8a8378; border: 1.5px solid #6f685e; color: #fff; }
.room .thing.look-solid span { background: none; }
.room .thing.look-stairs { background: repeating-linear-gradient(180deg, #f6f1e9 0 9px, #b9b0a2 9px 10.5px); border-style: solid; }
.room .thing.look-zone { background: rgba(122,110,95,.07); border: 1.5px dashed #b9b0a2; align-items: flex-start; justify-content: flex-start; }
.room .thing.look-zone span { background: none; color: #8a8378; font-weight: 600; }
/* A small marker: a dot, with what it is written beneath it. */
.room .thing.look-mark { background: #f6f1e9; border-style: solid; overflow: visible; padding: 0; }
.room .thing.small { overflow: visible; }
.room .thing.small.look-solid span { color: #5c554b; }
.room .thing.small:not(.look-line):not(.look-window) span, .room .thing.look-mark span { position: absolute; top: 100%; left: 50%; translate: -50% 0; margin-top: 2px; white-space: nowrap; font-size: max(7px, .8em); }
.room .thing.picked { border-color: #2f7cf6; border-style: solid; border-width: 2px; }
.room:not(.open) .thing { cursor: default; }
/* Shown while something is pulled into line with something else. */
.room .guide { position: absolute; background: #2f7cf6; opacity: .7; pointer-events: none; z-index: 3; }
.room .guide.upright { top: -2000cqw; bottom: -2000cqw; width: 1px; }
.room .guide.level { left: -2000cqw; right: -2000cqw; height: 1px; }
.room .guide[hidden] { display: none; }
.room .shape span { color: var(--muted); }
.room .shape.over { border-color: #a3312a; }
.room .shape.over span { color: #a3312a; }
.room .shape.picked { border-color: #2f7cf6; border-width: 2px; }
.room .shape.over.picked { border-color: #a3312a; }
.room .shape.over:not(.picked), .room .shape.picked { z-index: 1; }
/* The floor plan on the whole screen: over everything, the room as big as the window allows. */
.floor.full { position: fixed; inset: 0; z-index: 60; background: #fbf8f3; padding: 14.5px 18px; overflow: auto; }
/* The window onto the floor: the sheet inside it has no edges, and is moved and scaled. */
.roomwrap.live { position: relative; overflow: hidden; aspect-ratio: 10 / 7; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; touch-action: none; cursor: grab; }
.roomwrap.live.grabbing { cursor: grabbing; }
.roomwrap.live .sheet { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; }
.roomwrap.live .room { border: 0; border-radius: 0; background: none; overflow: visible; height: 0; }
.floor.full .roomwrap.live { aspect-ratio: auto; height: calc(100vh - 99px); }
.floor.full .chosen.left { right: auto; left: 18px; }
.floor.full .chosen { position: fixed; right: 18px; bottom: 18px; width: min(306px, calc(100vw - 36px)); max-height: 60vh; overflow: auto; box-shadow: 0 9px 30.5px rgba(0,0,0,.18); border-radius: 18px; }
.seating-print .room { border-radius: 0; border: 0; }
.seating-print .roomwrap { max-width: 9.8in; }
.seating-print { font-family: 'Inter', system-ui, sans-serif; color: #1f1b16; font-size: 11pt; }
.seating-print h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 20pt; margin: 0; }
.seating-print h2 { font-size: 13pt; margin: 0; }
.seating-print .what { color: #645d54; font-size: 9pt; margin: 0 0 10pt; }
.seating-print .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14pt; }
.seating-print .card { border: 0.6pt solid #999; border-radius: 6pt; padding: 8pt 10pt; break-inside: avoid; }
.seating-print ul { list-style: none; margin: 0; padding: 0; line-height: 1.45; }
.seating-print .rest { margin-top: 16pt; }
.seating-print .rest ul { columns: 3; margin-top: 4pt; }
.seating-print table { width: 100%; border-collapse: collapse; }
.seating-print td { padding: 3pt 0; border-bottom: 0.5pt solid #ccc; }
.seating-print td:last-child { text-align: right; }
.seating-print td.none { color: #645d54; }
#print-area { display: none; }
@media print {
  body > *:not(#print-area) { display: none !important; }
  body { background: #fff !important; margin: 0 !important; }
  #print-area { display: block; }
  #print-area .envelope, #print-area .label-sheet { break-after: page; page-break-after: always; transform: none !important; box-shadow: none; }
  #print-area > :last-child { break-after: auto; page-break-after: auto; }
}

/* ---- The signed-in pages, made lighter -----------------------------------
   Smaller type and tighter controls than the public pages, and a different
   look for each kind of thing, so it is plain what can be pressed:
     - something to read (a number, a fact) has no box round it;
     - a button is a filled or outlined pill;
     - a row that opens a page of its own ends in a chevron;
     - a box to type in is inset, with its label above;
     - a list is rows in one frame, lit as the pointer passes.            */
.stage { font-size: 13.5px; gap: 18px; padding-top: 25px; }
.stage h1 { font-size: 27px; letter-spacing: -0.02em; }
.stage h2 { font-size: 17.1px; }
.stage .lede { font-size: 14.4px; }
.stage .note { font-size: 12.2px; }
button, .button { font-size: 13.1px; padding: 7px 12.5px; border-radius: 999px; line-height: 1.35; transition: background .12s, border-color .12s, box-shadow .12s; }
button:hover:not(:disabled):not(.primary):not(.link):not(.tile):not(.navrow):not(.chip):not(.statcard):not(.photobtn):not(.pact):not(.fbtn):not(.viewtoggle button):not([role=tab]), .button:hover { background: #faf6f0; border-color: #d9d0c2; }
button.primary { box-shadow: 0 1px 0 rgba(94,43,24,.25), 0 5.5px 14.5px -7px rgba(168,80,47,.55); }
button.primary:hover:not(:disabled) { background: #96462a; border-color: #96462a; }
/* A lesser action beside a main one: no outline until it is pointed at. */
button.quiet, .button.quiet { border-color: transparent; background: none; color: var(--deep); text-decoration: none; }
button.quiet:hover:not(:disabled), .button.quiet:hover { background: var(--tint); border-color: transparent; }
label { font-size: 11.7px; gap: 4.5px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], input[type=time], select, textarea {
  font-size: 13.5px; padding: 8px 11px; border-radius: 9px; background: #fffdfa; box-shadow: inset 0 1px 2px rgba(31,27,22,.05);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 2.5px rgba(168,80,47,.16); }
/* An iPhone zooms the page in on a box with type under 14.5px. */
@media (max-width: 720px) { input, select, textarea { font-size: 16px !important; } }
.panel { border-radius: 14.5px; padding: 18px; gap: 12.5px; box-shadow: 0 1px 2px rgba(31,27,22,.04); }
button.small, a.button.small { padding: 4.5px 10px; font-size: 11.7px; border-radius: 999px; }

/* The top of a page: its name on the left, what can be done on the right. */
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 14.5px; flex-wrap: wrap; }
.pagehead .note { margin-top: 2px; }
.pagehead.sub { align-items: center; }

/* Tabs between the parts of one page. */
.tabs { display: flex; gap: 3.5px; border-bottom: 1px solid var(--line); margin-top: -3.5px; }
.tabs [role=tab] { border: 0; border-radius: 0; background: none; padding: 9px 12.5px 10px; color: var(--muted); font-weight: 600; margin-bottom: -1px; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 6.5px; }
.tabs [role=tab]:hover { color: var(--ink); }
.tabs [role=tab][aria-selected=true] { color: var(--deep); border-bottom-color: var(--accent); }
.tabs .count { font-size: 10.8px; font-weight: 600; padding: 1px 6.5px; border-radius: 999px; background: #efe9df; color: var(--muted); }
.tabs [aria-selected=true] .count { background: var(--tint); color: var(--deep); }

/* Numbers to read at a glance. Nothing here is pressed, so nothing is boxed. */
.stats { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 0; padding: 5.5px 0 2px; }
.stat { display: flex; flex-direction: column; padding: 0 25px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat strong { font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 1; letter-spacing: -0.02em; }
.stat span { font-size: 11.7px; color: var(--muted); margin-top: 5.5px; }
.stat.yes strong { color: #2f6b4a; }
.stat.wait strong { color: #8a5a00; }
.stats > button { margin-left: auto; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 5.5px 16px; margin: 0; font-size: 12.6px; }
.facts dt { color: var(--muted); font-size: 10.8px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.facts dd { margin: 0; }

/* A row that opens a page of its own. */
.navrow { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 12.5px 14.5px; border-radius: 12.5px; background: var(--surface); border: 1px solid var(--line); font-weight: 400; }
.navrow:hover { border-color: #d9d0c2; box-shadow: 0 2px 9px -3.5px rgba(31,27,22,.18); }
.navrow .navtext { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.navrow strong { font-weight: 600; font-size: 13.5px; }
.navrow small { color: var(--muted); font-size: 11.7px; }
.chev { color: #b3aa9c; font-size: 19.8px; line-height: 1; }
.badge { font-size: 10.8px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #efe9df; color: var(--muted); }
.badge.on { background: #e3f1e8; color: #2f6b4a; }

/* Something to do next, set apart on a tint. */
.callout { background: linear-gradient(180deg, #fbf1ea, #f8ebe3); border-radius: 14.5px; padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.callout h2 { font-size: 17.1px; }
.callout .eyebrow { font-size: 10.3px; margin-top: 3.5px; }
.callout .note { color: #6b5a4e; }
.callout .button.quiet, .callout button.quiet { background: rgba(255,255,255,.7); border-color: rgba(94,43,24,.12); }
.note.warn { color: #8a5a00; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 11px; flex-wrap: wrap; padding: 9px 12.5px; border-radius: 11px; background: #fdf6e4; color: #6b4a00; font-size: 12.6px; }
.blank { text-align: center; padding: 43px 21.5px; border: 1.5px dashed #d9d0c2; border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 11px; }
.blank p { max-width: 46em; color: var(--muted); }

/* Finding and narrowing a list. */
.toolbar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.toolbar .search { flex: 1 1 234px; max-width: 378px; padding-left: 32.5px; background: #fffdfa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23857c70' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center no-repeat; }
.toolbar select { width: auto; }
.chips { display: flex; gap: 5.5px; flex-wrap: wrap; margin-left: auto; }
.chip { padding: 5.5px 11px; font-size: 11.7px; font-weight: 600; color: var(--muted); background: none; border-color: var(--line); }
.chip:hover { color: var(--ink); border-color: #cfc5b5; }
.foildot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.backdrops { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; margin: 4px 0 8px; }
.backdrop { position: relative; padding: 0; aspect-ratio: 5 / 7; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--surface); }
.backdrop img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.backdrop[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.backdrop .premiumcrown { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: rgba(255,255,255,.9); }
.backdrop .premiumcrown svg { width: 100%; height: 100%; color: var(--accent); }
.sectionlist { display: flex; flex-direction: column; gap: 4px; }
.sectionrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.sectionrow .row { gap: 4px; }
.sectionrow button { padding: 4px 10px; font-size: 12px; }
.tplframe { max-width: min(1100px, 94vw); width: 100%; max-height: 90vh; overflow-y: auto; }
.tplframe .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.savedtile { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.matchkinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 14px; }
.elpick { position: relative; }
.elpick .elcrown { position: absolute; top: 4px; right: 4px; width: 15px; height: 15px; color: var(--accent); }
.elpick .elcrown svg, .chip .premiumcrown svg, .row button .premiumcrown svg { width: 13px; height: 13px; }
.chip .premiumcrown, .row button .premiumcrown { margin-left: 4px; color: var(--accent); vertical-align: -2px; }
.fontpanel .fontadd { margin-top: 6px; width: 100%; }
.artchips { display: flex; flex-wrap: wrap; align-items: center; gap: 5.5px; margin: 9px 0 2px; }
.artchips[hidden] { display: none; }
.artchips .note { margin-right: 3px; }
.chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Deadline ideas, under "What is due": a tap fills in the title and a usual day. */
.chips.ideas { margin: -5.5px 0 2px; }
.chips.ideas[hidden] { display: none; }
/* Who's joined: Joined, Left wedding, All guests. */
.chips.joinedtags { margin: 0 0 12.5px; }
/* From guests on the guest list (fromguestsview.js). */
.fromlist { display: grid; gap: 12.5px; margin-bottom: 20px; }
.fromcard h3 { margin: 0 0 3.5px; font-size: 17.1px; }
.fromcard p { margin: 3.5px 0; }
.fromcard .changes { margin: 5.5px 0; padding-left: 16px; }
.fromcard .row { flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.fromcard select { max-width: 216px; }
.askedline { display: block; color: #A8502F; font-weight: 600; margin-top: 2px; }
.leftheading { margin: 20px 0 5.5px; font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* Where someone stands. */
.pill { display: inline-flex; align-items: center; gap: 5.5px; padding: 2.5px 9px; border-radius: 999px; font-size: 11.2px; font-weight: 600; white-space: nowrap; background: #f1ece4; color: #5a534a; }
.pill::before { content: ''; width: 5.5px; height: 5.5px; border-radius: 50%; background: currentColor; opacity: .75; }
.pill.yes { background: #e3f1e8; color: #23583b; }
.pill.no { background: #fbe6e3; color: #94302a; }
/* A no is red, with a cross in front in place of the dot. */
.pill.no::before { content: '✕'; width: auto; height: auto; border-radius: 0; background: none; opacity: 1; font-size: 9px; line-height: 1; }
.pill.opened { background: #e6eef8; color: #2f4f7a; }
.pill.unsent { background: #fdf3dc; color: #7a5200; }
.pill.bad { background: #fbe6e3; color: #94302a; }

/* The list itself: one frame, close rows, a chevron on rows that open. */
.tablewrap { border-radius: 12.5px; box-shadow: 0 1px 2px rgba(31,27,22,.04); }
table.guests { font-size: 12.6px; }
table.guests th { font-size: 10.3px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 12.5px; background: #fdfaf5; }
table.guests th:first-child { border-top-left-radius: 12.5px; }
table.guests th:last-child { border-top-right-radius: 12.5px; }
table.guests td { padding: 9px 12.5px; vertical-align: middle; }
table.guests td.name strong { font-weight: 600; font-size: 13.1px; }
table.guests td small { font-size: 11.2px; }
table.guests td.address, table.guests td.contact { color: #4a443c; }
table.guests td.contact span, table.guests td.contact small { display: block; }
table.guests td.num { font-variant-numeric: tabular-nums; color: #4a443c; }
table.guests .faint { color: #b3aa9c; }
table.guests td.chev { width: 25px; text-align: right; padding-left: 0; }
table.guests tbody tr:hover td.chev { color: var(--accent); }
table.guests td.reply { min-width: 0; color: inherit; font-weight: 400; }
table.guests td.reply small { margin-top: 3.5px; font-style: italic; }
table.guests td.acts { text-align: right; }
table.guests td.acts .small { margin: 0 0 0 5.5px; background: none; }
table.guests:not(.plain):not(.fix) tbody tr:hover, table.guests tbody tr:focus-visible { background: #fdf7f2; }
.summary { display: flex; flex-direction: column; gap: 16px; }
.summary:empty, .stage > p:empty, .stage > div:empty { display: none; }
.bar { padding: 9px 21.5px; }
.bar .brand { font-size: 21.6px; }
.bar .sections a { font-size: 13.1px; padding: 6.5px 11px; border-radius: 999px; }
.bar #who { font-size: 12.6px; }
/* A form reads better in a column than stretched across the window. */
.stage[data-view="guests-form"], .stage[data-view="guests-replies"] { max-width: 702px; }
@media (max-width: 720px) {
  .tabs { overflow-x: auto; }
  .tabs [role=tab] { white-space: nowrap; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14.5px 0; }
  .stat, .stat:first-child { padding: 0 0 0 12.5px; border-left: 2px solid var(--line); }
  .stat strong { font-size: 28.8px; }
  .stats > button { grid-column: 1 / -1; justify-self: start; margin-left: 0; }
  .chips { margin-left: 0; }
}

/* ---- The same look on the other sections ---------------------------------- */
/* A choice between two or three: joined buttons, the chosen one filled. */
.toggles { gap: 0; }
.toggles button { border-radius: 0; margin-left: -1px; padding: 5.5px 11px; font-size: 12.2px; }
.toggles button:first-child { border-radius: 999px 0 0 999px; margin-left: 0; }
.toggles button:last-child { border-radius: 0 999px 999px 0; }
.toggles button:only-child { border-radius: 999px; }
.toggles button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; position: relative; }
button.quiet[aria-pressed=true] { background: var(--tint); }

/* Seating: people are rows in their table's frame, not boxes of their own. */
.seating .panel { padding: 14.5px 16px; gap: 7px; }
.seating .panel h2 { font-size: 15.3px; }
.seating .count { font-size: 11.2px; padding: 2px 8px; border-radius: 999px; background: #f1ece4; }
.seating .table.full .count { background: #e3f1e8; color: #23583b; }
.seating .table.over .count { background: #fbe6e3; color: #94302a; }
.seats { gap: 0; }
.seat { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 6.5px 0 6.5px 2px; background: none; font-size: 13.1px; }
.seats .seat:last-child { border-bottom: 0; }
.seat:hover { background: #fdf7f2; }
.seat .who small { font-size: 11.2px; }
.seat select.seatmove { width: 86.5px; font-size: 11.7px; padding: 3.5px 7px; border-radius: 999px; border-color: transparent; background-color: transparent; box-shadow: none; color: var(--deep); font-weight: 600; }
.seat:hover select.seatmove, .seat select.seatmove:focus { border-color: var(--line); background-color: var(--surface); }
.seating .panel .small { background: none; border-color: transparent; color: var(--deep); padding-left: 0; }
.seating .panel .small:hover { text-decoration: underline; background: none; }

/* Deadlines and other lists of panels sit in a readable column. */
.stage[data-view="deadlines"] > .panel, .stage[data-view="deadlines"] > .note { max-width: 774px; }
.stage[data-view="suite"] .panel select, .stage[data-view="suite"] .panel input[type=text] { max-width: 414px; }
.grid { gap: 25px 21.5px; }
.tile { transition: transform .15s; }
.tile:hover { transform: translateY(-2.5px); }
.tile:hover .paper { box-shadow: 0 12.5px 27px rgba(0,0,0,.16); }
.tile strong { font-size: 13.1px; }
.tile small { font-size: 11.2px; }
.pagehead > div:first-child { flex: 1 1 288px; min-width: 0; }
.pagehead > .row, .pagehead > button { flex: none; }

/* A button whose choices drop down beneath it. */
.dropdown { position: relative; }
.dropdown .caret { font-size: 9.9px; opacity: .7; }
.dropdown [aria-expanded=true] { background: var(--tint); }
.droplist { position: absolute; top: calc(100% + 5.5px); right: 0; z-index: 20; min-width: 234px; padding: 5.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12.5px; box-shadow: 0 11px 29px -7px rgba(31,27,22,.25); display: flex; flex-direction: column; }
.droplist[hidden] { display: none; }
.droplist button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 0; border-radius: 9px; padding: 7px 11px; background: none; font-weight: 400; }
.droplist button:hover { background: var(--tint) !important; }
.droplist strong { font-weight: 600; font-size: 13.1px; }
.droplist small { color: var(--muted); font-size: 11.2px; }
@media (max-width: 720px) { .droplist { right: auto; left: 0; } }
@media print { .dropdown { display: none; } }

/* ---- The card editor: a strip of controls, and a desk ------------------------
   The controls run edge to edge in one white strip that stays put; the card
   lies on a darker desk under it, so the page being made is the brightest
   thing on screen. */
.stage[data-view="editor"] { max-width: none; padding: 0; gap: 0; min-height: calc(100vh - 52px);
  background-color: #ece6dc; background-image: radial-gradient(rgba(94,43,24,.10) 1px, transparent 1px); background-size: 16px 16px; }
.chrome { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 5.5px 16px -11px rgba(31,27,22,.35); padding: 5.5px max(14.5px, calc((100vw - 1240px) / 2)); display: flex; flex-direction: column; gap: 2px; }
.chrome .titlebar { gap: 7px; min-height: 36px; }
.chrome .titlebar label { font-size: 10.8px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.chrome .titlebar select { padding: 5.5px 9px; border-radius: 7px; font-size: 12.6px; box-shadow: none; }
.chrome .titlebar > .note { color: var(--muted); }
.chrome .titlebar button.primary { padding: 6.5px 16px; }
.chrome .menubar { position: static; border: 0; box-shadow: none; border-radius: 0; padding: 2px 0 2px; margin: 0 -3.5px; background: none; }
.chrome .menubar button.tool { border-radius: 7px; }
.chrome .menubar button.tool[aria-pressed=true] { background: var(--ink); color: #fff; box-shadow: none; }
.chrome .menubar .toolbreak { margin: 2.5px 0; }
.stage[data-view="editor"] .editor { padding: 30.5px 14.5px 86.5px; }
.stage[data-view="editor"] .editor .sheet { border: 0; box-shadow: 0 1px 2px rgba(31,27,22,.10), 0 16px 43px -11px rgba(31,27,22,.38); }
.stage[data-view="editor"] .zoomwrap.zoomed { border: 0; border-radius: 0; background: none; max-height: calc(100vh - 180px); }
.stage[data-view="editor"] > .note, .stage[data-view="editor"] > .panel, .stage[data-view="editor"] > .error { margin: 12.5px auto 0; max-width: 648px; width: calc(100% - 29px); }
.stage[data-view="editor"] > .deskline { text-align: center; }
/* The card's name, in the header: plainly a box to type in, but a quiet one. */
.cardname { font-size: 16.2px; padding: 4.5px 9px; border-radius: 8px; background: #fbf8f3; box-shadow: none; transition: border-color .12s, background .12s; }
.cardname:hover { border-color: #cfc5b5; }
.cardname:focus { background: var(--surface); }
@media (max-width: 720px) { .chrome { position: relative; padding: 5.5px 11px; } }

/* The couple's choice of what guests are shown of the seating chart. */
.sharebar { display: flex; flex-wrap: wrap; gap: 7px 25px; padding: 11px 14.5px; border-radius: 12.5px; border: 1px solid var(--line); background: var(--surface); }
.sharebar.on { background: #f3f8f4; border-color: #cfe3d6; }
.switchrow { flex: 1 1 288px; flex-direction: row; align-items: flex-start; gap: 9px; color: var(--ink); cursor: pointer; }
.switchrow input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.switchrow span { display: flex; flex-direction: column; }
.switchrow strong { font-weight: 600; font-size: 13.1px; }
.switchrow small { color: var(--muted); font-size: 11.7px; }

/* ---- Check-in ------------------------------------------------------------- */
/* Who has arrived. A row is a mark to press, who they are, and how many came. */
progress.arrived { width: 100%; height: 7px; border: 0; border-radius: 999px; overflow: hidden; background: var(--line); margin-top: 9px; appearance: none; }
progress.arrived::-webkit-progress-bar { background: var(--line); }
progress.arrived::-webkit-progress-value { background: #2f6b4a; border-radius: 999px; }
progress.arrived::-moz-progress-bar { background: #2f6b4a; }
ul.checkin { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12.5px; background: var(--surface); overflow: hidden; }
ul.checkin li { display: flex; align-items: center; gap: 12.5px; padding: 9px 14.5px; border-bottom: 1px solid var(--line); }
ul.checkin li:last-child { border-bottom: 0; }
ul.checkin li.here { background: #f3f8f4; }
ul.checkin .who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
ul.checkin .who strong { font-weight: 600; font-size: 13.5px; }
ul.checkin .who small { color: var(--muted); font-size: 11.7px; }
ul.checkin .who small.table { color: #2f6b4a; font-weight: 600; }
ul.checkin select { width: auto; padding: 7px 9px; border-radius: 9px; font-size: 12.6px; }
ul.checkin button.tick { flex: none; width: 30.5px; height: 30.5px; padding: 0; border-radius: 50%; border: 2px solid #b9b0a2; background: #fff; color: #fff; font-size: 16.2px; font-weight: 700; line-height: 1; }
ul.checkin button.tick:hover { border-color: #2f6b4a; }
ul.checkin button.tick[aria-pressed=true] { background: #2f6b4a; border-color: #2f6b4a; }
ul.checkin.plain li { padding: 11px 14.5px; }

/* A set: one design printed for every guest or table, on a card's page. */
.setbox { border: 1px solid var(--line); border-radius: 11px; padding: 14.5px; display: flex; flex-direction: column; gap: 9px; }
.panel h3 { margin: 0; font-size: 13.5px; font-weight: 600; }

/* Color themes for a suite: a name beside its three colors. */
.themes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5.5px; }
.themes .theme { display: inline-flex; align-items: center; gap: 7px; padding: 5.5px 11px 5.5px 7px; font-size: 12.6px; }
.themes .theme[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.themes .chips { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.themes .chips i { width: 12.5px; height: 16px; display: block; }
.setbox details summary { cursor: pointer; font-size: 12.6px; }
.setbox .picks { display: flex; flex-wrap: wrap; gap: 5.5px 12.5px; margin: 7px 0; }
.setbox .pick { display: inline-flex; flex-direction: row; align-items: center; gap: 5.5px; font-size: 12.6px; margin: 0; }
.setbox .pick input { width: auto; margin: 0; }

/* A menu near the right end of the toolbar opens from the toolbar's right edge, so it stays on the page however the row has wrapped. */
@media (min-width: 721px) {
  .menubar .menu.fromright { position: static; }
  .menubar .menu.fromright .menupanel { left: auto; right: 0; }
}

/* The seating editor: more shapes, turning, seat needs, wishes, layouts, cards */
.room .shape { transform-origin: 50% 50%; }
.room .shape .words { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.room .shape.oval { border-radius: 50%; }
.room .shape.half { border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.room .shape.sweetheart { border-radius: 8px 8px 50% 50% / 8px 8px 40% 40%; }
.room .shape.u { background: none !important; border: 0; overflow: visible; }
.room .shape.u .uline, .room .shape.u svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.room .shape.u path { fill: var(--fill, #f6f1e9); stroke: #645d54; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.room .shape.u.over path, .room .shape.u.clash path { stroke: #a3312a; }
.room .shape.u.picked path { stroke: #2f7cf6; stroke-width: 2px; }
.room .shape.clash:not(.picked) { border-color: #a3312a; border-style: dashed; z-index: 1; }
.room .thing { transform-origin: 50% 50%; }
.room .chair.need { box-shadow: 0 0 0 2px #fbf8f3, 0 0 0 3px #7a4fd6; }
.turnrow { align-items: center; flex-wrap: wrap; }
.toggles.wrap { flex-wrap: wrap; row-gap: 5.5px; }
details.needs { margin: 5.5px 0; }
details.needs summary { cursor: pointer; font-size: 12.6px; }
.needrow { display: grid; gap: 3.5px; padding: 5.5px 0; border-top: 1px solid var(--line); font-size: 12.6px; }
.needrow .ticks { display: flex; flex-wrap: wrap; gap: 3.5px 11px; }
.needrow label { display: inline-flex; align-items: center; gap: 4.5px; font-weight: 400; margin: 0; }
.needrow input { width: auto; margin: 0; }
.pairlist { list-style: none; margin: 0 0 9px; padding: 0; display: grid; gap: 5.5px; }
.pairlist li { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; font-size: 12.6px; }
.pairlist li span { display: grid; gap: 2px; }
.pairlist small.error { margin: 0; }
.pairform { display: grid; gap: 5.5px; }
.layouts .row { flex-wrap: wrap; }
.layouts button { display: grid; gap: 2px; text-align: left; }
.layouts button small { color: var(--muted); font-weight: 400; }
.card-sheet { display: grid; box-sizing: border-box; width: 8.5in; height: 11in; break-after: page; page-break-after: always; font-family: 'Inter', system-ui, sans-serif; color: #1f1b16; }
.seatcard { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5pt; padding: 0.2in; outline: 0.4pt dashed #bbb; outline-offset: -0.2pt; position: relative; overflow: hidden; }
.seatcard strong { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 17pt; line-height: 1.15; }
.seatcard span { font-size: 10pt; letter-spacing: .08em; text-transform: uppercase; color: #645d54; }
.seatcard small { position: absolute; right: 0.14in; bottom: 0.1in; font-size: 8pt; color: #645d54; }
.card-sheet.escort .seatcard span { font-size: 13pt; letter-spacing: .04em; color: #1f1b16; }

/* The seating editor laid out as an editor: a toolbar, the people to seat, the floor, and what is selected */
.seatbar { margin: 0 0 12.5px; }
.seatbar .toolname { display: inline-flex; align-items: baseline; gap: 7px; padding: 0 5.5px; font-size: 12.6px; white-space: nowrap; }
.seatbar .toolname .count { font-weight: 400; color: var(--muted); font-size: 11.7px; }
.seatbar .toolnote { color: var(--muted); font-size: 11.7px; padding: 0 5.5px; }
.seatbar button.tool:disabled { opacity: .35; cursor: default; }
.seatbar .menupanel { width: 225px; padding: 7px; display: grid; gap: 2px; }
.seatbar .menupanel .swatches { padding: 5.5px; }
.menuchoice { display: grid; gap: 1px; text-align: left; border: 0; background: none; padding: 7px 9px; border-radius: 7px; font-size: 12.6px; }
.menuchoice:hover { background: var(--tint); }
.menuchoice[aria-pressed=true] { background: var(--tint); color: var(--deep); box-shadow: inset 0 0 0 1px var(--accent); }
.menuchoice strong { font-weight: 600; }
.menuchoice small { color: var(--muted); font-weight: 400; }
.seating.plan { grid-template-columns: minmax(198px, 243px) minmax(0, 1fr) minmax(252px, 306px); gap: 14.5px; }
.seating.plan .aside { position: sticky; top: 57.5px; max-height: calc(100vh - 72px); overflow: auto; }
.seating.plan .side { top: 57.5px; max-height: calc(100vh - 72px); }
.seating.plan .roomwrap.live { border-radius: 11px 11px 0 0; }
.inspect.empty { color: var(--muted); }
.statusbar { display: flex; justify-content: space-between; gap: 14.5px; flex-wrap: wrap; margin-top: -14.5px; padding: 6.5px 11px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 11px 11px; background: var(--surface); color: var(--muted); font-size: 11.2px; }
.blankfloor { display: flex; align-items: center; justify-content: center; cursor: default; }
.floor.full .seatbar { position: static; margin: 0 0 9px; }
.floor.full { display: flex; flex-direction: column; gap: 0; }
.floor.full .roomwrap.live { flex: 1; height: auto; min-height: 0; }
@media (max-width: 1180px) {
  .seating.plan { grid-template-columns: minmax(198px, 243px) minmax(0, 1fr); }
  .seating.plan .aside { grid-column: 1 / -1; position: static; max-height: none; }
}
@media (max-width: 760px) {
  .seating.plan { grid-template-columns: 1fr; }
  .seating.plan .side { position: static; max-height: none; order: 2; }
  .seating.plan .aside { order: 3; }
}
.stage[data-wide="yes"] { max-width: 1640px; }
.seating.plan .aside .seat { gap: 5.5px; }
.seating.plan .aside .seat .who { flex: 1; min-width: 0; }
.seating.plan .aside .seatmove { width: 88px; flex: none; padding-left: 5.5px; padding-right: 18px; font-size: 11.7px; }
.needrow label { flex-direction: row; white-space: nowrap; }

/* Words under the toolbars' pictures, in both editors */
.menubar { align-items: stretch; }
.menubar button.tool { flex-direction: column; height: auto; min-width: 38px; padding: 5.5px 2.5px 4.5px; gap: 2.5px; }
.menubar button.tool.wide { flex-direction: row; align-self: center; min-width: 0; height: 30.5px; padding: 0 9px; gap: 2px; }
.menubar button.tool .ti { display: inline-flex; align-items: center; justify-content: center; gap: 2px; height: 20px; }
.menubar button.tool .tl { font-size: 9.5px; line-height: 1.1; font-weight: 500; white-space: nowrap; color: var(--muted); }
.menubar button.tool:hover:not(:disabled) .tl, .menubar .menu.open > button.tool .tl, .menubar button.tool[aria-pressed=true] .tl { color: inherit; }
.menubar button.tool.danger .tl { color: #a3312a; }
.menubar .toolgap { height: auto; align-self: stretch; margin: 5.5px 2.5px; }
.menubar .sides, .menubar > button:not(.tool), .menubar .qfont, .menubar .qsize, .menubar .toolwrap { align-self: center; }
.menubar .toolwrap { align-self: stretch; }
.menubar .menu { align-items: stretch; }
.seatbar { gap: 1px; padding: 5.5px 7px; }
.seatbar button.tool { min-width: 52px; padding: 5.5px 5.5px 4.5px; }
.seatbar button.tool .tl { font-size: 9.9px; }
.seatbar .toolname, .seatbar .toolnote { align-self: center; }

/* ---- The host site as a web app: a sidebar on wide screens, and the wedding's Home page ---- */
.rail { display: none; }
@media (min-width: 960px) {
  body.railed { padding-left: 219.5px; }
  body.railed header.bar { display: none; }
  .rail:not([hidden]) { display: flex; flex-direction: column; gap: 16px; position: fixed; left: 0; top: 0; bottom: 0; width: 219.5px; z-index: 40; padding: 18px 12.5px 14.5px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
  .rail .brand { font-size: 21.6px; padding: 0 7px; }
  .railwedding { display: grid; gap: 2.5px; padding: 11px; border-radius: 12.5px; background: var(--paper); border: 1px solid var(--line); }
  .railwedding strong { font-family: var(--display); font-weight: 500; font-size: 16.2px; line-height: 1.2; overflow-wrap: anywhere; }
  .railwedding span { color: var(--muted); font-size: 11.2px; line-height: 1.35; }
  /* The plan to unlock next: a crown and the plan's name in the accent, under the wedding. */
  .railoffer { display: flex; align-items: center; gap: 7px; padding: 2px 11px; color: var(--accent); font-weight: 600; font-size: 12.6px; text-decoration: none; }
  .railoffer:hover { text-decoration: underline; }
  .railoffer .plusglyph svg { width: 18px; height: 18px; }
  .railwedding .link { justify-self: start; font-size: 11.7px; padding: 0; margin-top: 3.5px; }
  .rail nav { display: grid; gap: 2px; }
  .railheading { margin: 11px 9px 3.5px; font-size: 9.9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .rail nav a { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 13.1px; font-weight: 500; }
  .rail nav a svg { flex: none; color: var(--muted); }
  .rail nav a:hover { background: var(--paper); }
  .rail nav a[aria-current=page] { background: var(--tint); color: var(--deep); font-weight: 600; }
  .rail nav a[aria-current=page] svg { color: var(--deep); }
  .railfoot { margin-top: auto; display: grid; gap: 3.5px; padding: 11px 9px 0; border-top: 1px solid var(--line); }
  .railwho { font-size: 11.2px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .railfoot .link { justify-self: start; padding: 0; font-size: 12.2px; }
  /* A screen that fills the window covers the sidebar too. */
  .floor.full { z-index: 60; }
}

.stage[data-view="home"] { max-width: 1180px; }
.homehead h1 { font-size: 36px; margin: 2px 0 3.5px; }
.eyebrow { margin: 0; font-size: 11.2px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.steps .meter { height: 5.5px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 9px 0 5.5px; }
.steps .meter span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.steplist { list-style: none; margin: 0; padding: 0; display: grid; }
.steplist li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--line); }
.steplist li:first-child { border-top: 0; }
.steplist .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c9c0b2; display: inline-flex; align-items: center; justify-content: center; font-size: 10.8px; color: #fff; }
.steplist li.done .tick { background: #5a7d5a; border-color: #5a7d5a; }
.steplist li.next .tick { border-color: var(--accent); }
.steplist .steptext { flex: 1; min-width: 0; display: grid; gap: 1px; }
.steplist .steptext strong { font-weight: 600; font-size: 13.5px; }
.steplist .steptext small { color: var(--muted); font-size: 12.2px; }
.steplist li.done .steptext strong { color: var(--muted); font-weight: 500; text-decoration: line-through; text-decoration-color: #c9c0b2; }
.steplist a.button { flex: none; display: inline-flex; align-items: center; height: 30.5px; padding: 0 12.5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 12.6px; text-decoration: none; }
.steplist a.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(207px, 1fr)); gap: 12.5px; }
.tile { position: relative; display: grid; gap: 3.5px; align-content: start; padding: 14.5px 16px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .12s, box-shadow .12s, transform .12s; }
.tile:hover { border-color: #d5c9b8; box-shadow: 0 5.5px 18px rgba(60, 40, 20, .07); transform: translateY(-1px); }
.tile:focus-visible { outline: 2.5px solid #2f7cf6; outline-offset: 2px; }
.tilelabel { font-size: 10.8px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tilefigure { font-family: var(--display); font-weight: 500; font-size: 21.6px; line-height: 1.2; padding-right: 20px; overflow-wrap: anywhere; }
.tiledetail { font-size: 12.2px; color: var(--muted); line-height: 1.4; }
.tile.alert .tiledetail { color: #a3312a; }
.tilego { position: absolute; right: 14.5px; top: 12.5px; color: #b9b0a2; font-size: 14.4px; }
.tile:hover .tilego { color: var(--accent); }
.homecols { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12.5px; align-items: start; }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 11px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.codebox + .codebox { margin-top: 7px; }
.codebox div { display: grid; gap: 2px; min-width: 0; }
.codebox strong { font-size: 14.4px; overflow-wrap: anywhere; }
.codebox .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; }
.facts li { display: flex; justify-content: space-between; gap: 11px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.1px; }
.facts li:first-child { border-top: 0; }
.facts li span { color: var(--muted); }
.facts li strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.tiles .tile .tilefigure { font-size: 20.7px; }

/* A row that opens a page of its own. */
.navrow { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 12.5px 14.5px; border-radius: 12.5px; background: var(--surface); border: 1px solid var(--line); font-weight: 400; }
.navrow:hover { border-color: #d9d0c2; box-shadow: 0 2px 9px -3.5px rgba(31,27,22,.18); }
.navrow .navtext { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.navrow strong { font-weight: 600; font-size: 13.5px; }
.navrow small { color: var(--muted); font-size: 11.7px; }
.chev { color: #b3aa9c; font-size: 19.8px; line-height: 1; }
.badge { font-size: 10.8px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #efe9df; color: var(--muted); }
.badge.on { background: #e3f1e8; color: #2f6b4a; }

/* Something to do next, set apart on a tint. */
.callout { background: linear-gradient(180deg, #fbf1ea, #f8ebe3); border-radius: 14.5px; padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.callout h2 { font-size: 17.1px; }
.callout .eyebrow { font-size: 10.3px; margin-top: 3.5px; }
.callout .note { color: #6b5a4e; }
.callout .button.quiet, .callout button.quiet { background: rgba(255,255,255,.7); border-color: rgba(94,43,24,.12); }
.note.warn { color: #8a5a00; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 11px; flex-wrap: wrap; padding: 9px 12.5px; border-radius: 11px; background: #fdf6e4; color: #6b4a00; font-size: 12.6px; }
.blank { text-align: center; padding: 43px 21.5px; border: 1.5px dashed #d9d0c2; border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 11px; }
.blank p { max-width: 46em; color: var(--muted); }

/* Finding and narrowing a list. */
.toolbar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.toolbar .search { flex: 1 1 234px; max-width: 378px; padding-left: 32.5px; background: #fffdfa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23857c70' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center no-repeat; }
.toolbar select { width: auto; }
.chips { display: flex; gap: 5.5px; flex-wrap: wrap; margin-left: auto; }
.chip { padding: 5.5px 11px; font-size: 11.7px; font-weight: 600; color: var(--muted); background: none; border-color: var(--line); }
.chip:hover { color: var(--ink); border-color: #cfc5b5; }
.chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Where someone stands. */
.pill { display: inline-flex; align-items: center; gap: 5.5px; padding: 2.5px 9px; border-radius: 999px; font-size: 11.2px; font-weight: 600; white-space: nowrap; background: #f1ece4; color: #5a534a; }
.pill::before { content: ''; width: 5.5px; height: 5.5px; border-radius: 50%; background: currentColor; opacity: .75; }
.pill.yes { background: #e3f1e8; color: #23583b; }
.pill.no { background: #fbe6e3; color: #94302a; }
/* A no is red, with a cross in front in place of the dot. */
.pill.no::before { content: '✕'; width: auto; height: auto; border-radius: 0; background: none; opacity: 1; font-size: 9px; line-height: 1; }
.pill.opened { background: #e6eef8; color: #2f4f7a; }
.pill.unsent { background: #fdf3dc; color: #7a5200; }
.pill.bad { background: #fbe6e3; color: #94302a; }

/* The list itself: one frame, close rows, a chevron on rows that open. */
.tablewrap { border-radius: 12.5px; box-shadow: 0 1px 2px rgba(31,27,22,.04); }
table.guests { font-size: 12.6px; }
table.guests th { font-size: 10.3px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 12.5px; background: #fdfaf5; }
table.guests th:first-child { border-top-left-radius: 12.5px; }
table.guests th:last-child { border-top-right-radius: 12.5px; }
table.guests td { padding: 9px 12.5px; vertical-align: middle; }
table.guests td.name strong { font-weight: 600; font-size: 13.1px; }
table.guests td small { font-size: 11.2px; }
table.guests td.address, table.guests td.contact { color: #4a443c; }
table.guests td.contact span, table.guests td.contact small { display: block; }
table.guests td.num { font-variant-numeric: tabular-nums; color: #4a443c; }
table.guests .faint { color: #b3aa9c; }
table.guests td.chev { width: 25px; text-align: right; padding-left: 0; }
table.guests tbody tr:hover td.chev { color: var(--accent); }
table.guests td.reply { min-width: 0; color: inherit; font-weight: 400; }
table.guests td.reply small { margin-top: 3.5px; font-style: italic; }
table.guests td.acts { text-align: right; }
table.guests td.acts .small { margin: 0 0 0 5.5px; background: none; }
table.guests:not(.plain):not(.fix) tbody tr:hover, table.guests tbody tr:focus-visible { background: #fdf7f2; }
.summary { display: flex; flex-direction: column; gap: 16px; }
.summary:empty, .stage > p:empty, .stage > div:empty { display: none; }
.bar { padding: 9px 21.5px; }
.bar .brand { font-size: 21.6px; }
.bar .sections a { font-size: 13.1px; padding: 6.5px 11px; border-radius: 999px; }
.bar #who { font-size: 12.6px; }
/* A form reads better in a column than stretched across the window. */
.stage[data-view="guests-form"], .stage[data-view="guests-replies"] { max-width: 702px; }
/* Envelopes: the settings across the page, the look at its own size in the middle. */
.envelope-look { width: fit-content; max-width: 100%; margin-inline: auto; }
.envelope-look .lookhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 18px; }
.envelope-look .lookhead h2 { margin: 0; }
.envelope-look .samplebox { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 13px; font-weight: 400; }
.envelope-look .samplebox[hidden] { display: none; }
@media (max-width: 720px) {
  .tabs { overflow-x: auto; }
  .tabs [role=tab] { white-space: nowrap; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14.5px 0; }
  .stat, .stat:first-child { padding: 0 0 0 12.5px; border-left: 2px solid var(--line); }
  .stat strong { font-size: 28.8px; }
  .stats > button { grid-column: 1 / -1; justify-self: start; margin-left: 0; }
  .chips { margin-left: 0; }
}

/* ---- The same look on the other sections ---------------------------------- */
/* A choice between two or three: joined buttons, the chosen one filled. */
.toggles { gap: 0; }
.toggles button { border-radius: 0; margin-left: -1px; padding: 5.5px 11px; font-size: 12.2px; }
.toggles button:first-child { border-radius: 999px 0 0 999px; margin-left: 0; }
.toggles button:last-child { border-radius: 0 999px 999px 0; }
.toggles button:only-child { border-radius: 999px; }
.toggles button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; position: relative; }
button.quiet[aria-pressed=true] { background: var(--tint); }

/* Seating: people are rows in their table's frame, not boxes of their own. */
.seating .panel { padding: 14.5px 16px; gap: 7px; }
.seating .panel h2 { font-size: 15.3px; }
.seating .count { font-size: 11.2px; padding: 2px 8px; border-radius: 999px; background: #f1ece4; }
.seating .table.full .count { background: #e3f1e8; color: #23583b; }
.seating .table.over .count { background: #fbe6e3; color: #94302a; }
.seats { gap: 0; }
.seat { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 6.5px 0 6.5px 2px; background: none; font-size: 13.1px; }
.seats .seat:last-child { border-bottom: 0; }
.seat:hover { background: #fdf7f2; }
.seat .who small { font-size: 11.2px; }
.seat select.seatmove { width: 86.5px; font-size: 11.7px; padding: 3.5px 7px; border-radius: 999px; border-color: transparent; background-color: transparent; box-shadow: none; color: var(--deep); font-weight: 600; }
.seat:hover select.seatmove, .seat select.seatmove:focus { border-color: var(--line); background-color: var(--surface); }
.seating .panel .small { background: none; border-color: transparent; color: var(--deep); padding-left: 0; }
.seating .panel .small:hover { text-decoration: underline; background: none; }

/* Deadlines and other lists of panels sit in a readable column. */
.stage[data-view="deadlines"] > .panel, .stage[data-view="deadlines"] > .note { max-width: 774px; }
.stage[data-view="suite"] .panel select, .stage[data-view="suite"] .panel input[type=text] { max-width: 414px; }
.grid { gap: 25px 21.5px; }
.tile { transition: transform .15s; }
.tile:hover { transform: translateY(-2.5px); }
.tile:hover .paper { box-shadow: 0 12.5px 27px rgba(0,0,0,.16); }
.tile strong { font-size: 13.1px; }
.tile small { font-size: 11.2px; }
.pagehead > div:first-child { flex: 1 1 288px; min-width: 0; }
.pagehead > .row, .pagehead > button { flex: none; }

/* A button whose choices drop down beneath it. */
.dropdown { position: relative; }
.dropdown .caret { font-size: 9.9px; opacity: .7; }
.dropdown [aria-expanded=true] { background: var(--tint); }
.droplist { position: absolute; top: calc(100% + 5.5px); right: 0; z-index: 20; min-width: 234px; padding: 5.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12.5px; box-shadow: 0 11px 29px -7px rgba(31,27,22,.25); display: flex; flex-direction: column; }
.droplist[hidden] { display: none; }
.droplist button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 0; border-radius: 9px; padding: 7px 11px; background: none; font-weight: 400; }
.droplist button:hover { background: var(--tint) !important; }
.droplist strong { font-weight: 600; font-size: 13.1px; }
.droplist small { color: var(--muted); font-size: 11.2px; }
@media (max-width: 720px) { .droplist { right: auto; left: 0; } }
@media print { .dropdown { display: none; } }

/* ---- The card editor: a strip of controls, and a desk ------------------------
   The controls run edge to edge in one white strip that stays put; the card
   lies on a darker desk under it, so the page being made is the brightest
   thing on screen. */
.stage[data-view="editor"] { max-width: none; padding: 0; gap: 0; min-height: calc(100vh - 52px);
  background-color: #ece6dc; background-image: radial-gradient(rgba(94,43,24,.10) 1px, transparent 1px); background-size: 16px 16px; }
.chrome { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 5.5px 16px -11px rgba(31,27,22,.35); padding: 5.5px max(14.5px, calc((100vw - 1240px) / 2)); display: flex; flex-direction: column; gap: 2px; }
.chrome .titlebar { gap: 7px; min-height: 36px; }
.chrome .titlebar label { font-size: 10.8px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.chrome .titlebar select { padding: 5.5px 9px; border-radius: 7px; font-size: 12.6px; box-shadow: none; }
.chrome .titlebar > .note { color: var(--muted); }
.chrome .titlebar button.primary { padding: 6.5px 16px; }
.chrome .menubar { position: static; border: 0; box-shadow: none; border-radius: 0; padding: 2px 0 2px; margin: 0 -3.5px; background: none; }
.chrome .menubar button.tool { border-radius: 7px; }
.chrome .menubar button.tool[aria-pressed=true] { background: var(--ink); color: #fff; box-shadow: none; }
.chrome .menubar .toolbreak { margin: 2.5px 0; }
.stage[data-view="editor"] .editor { padding: 30.5px 14.5px 86.5px; }
.stage[data-view="editor"] .editor .sheet { border: 0; box-shadow: 0 1px 2px rgba(31,27,22,.10), 0 16px 43px -11px rgba(31,27,22,.38); }
.stage[data-view="editor"] .zoomwrap.zoomed { border: 0; border-radius: 0; background: none; max-height: calc(100vh - 180px); }
.stage[data-view="editor"] > .note, .stage[data-view="editor"] > .panel, .stage[data-view="editor"] > .error { margin: 12.5px auto 0; max-width: 648px; width: calc(100% - 29px); }
.stage[data-view="editor"] > .deskline { text-align: center; }
/* The card's name, in the header: plainly a box to type in, but a quiet one. */
.cardname { font-size: 16.2px; padding: 4.5px 9px; border-radius: 8px; background: #fbf8f3; box-shadow: none; transition: border-color .12s, background .12s; }
.cardname:hover { border-color: #cfc5b5; }
.cardname:focus { background: var(--surface); }
@media (max-width: 720px) { .chrome { position: relative; padding: 5.5px 11px; } }

/* The couple's choice of what guests are shown of the seating chart. */
.sharebar { display: flex; flex-wrap: wrap; gap: 7px 25px; padding: 11px 14.5px; border-radius: 12.5px; border: 1px solid var(--line); background: var(--surface); }
.sharebar.on { background: #f3f8f4; border-color: #cfe3d6; }
.switchrow { flex: 1 1 288px; flex-direction: row; align-items: flex-start; gap: 9px; color: var(--ink); cursor: pointer; }
.switchrow input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.switchrow span { display: flex; flex-direction: column; }
.switchrow strong { font-weight: 600; font-size: 13.1px; }
.switchrow small { color: var(--muted); font-size: 11.7px; }

/* ---- Check-in ------------------------------------------------------------- */
/* Who has arrived. A row is a mark to press, who they are, and how many came. */
progress.arrived { width: 100%; height: 7px; border: 0; border-radius: 999px; overflow: hidden; background: var(--line); margin-top: 9px; appearance: none; }
progress.arrived::-webkit-progress-bar { background: var(--line); }
progress.arrived::-webkit-progress-value { background: #2f6b4a; border-radius: 999px; }
progress.arrived::-moz-progress-bar { background: #2f6b4a; }
ul.checkin { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12.5px; background: var(--surface); overflow: hidden; }
ul.checkin li { display: flex; align-items: center; gap: 12.5px; padding: 9px 14.5px; border-bottom: 1px solid var(--line); }
ul.checkin li:last-child { border-bottom: 0; }
ul.checkin li.here { background: #f3f8f4; }
ul.checkin .who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
ul.checkin .who strong { font-weight: 600; font-size: 13.5px; }
ul.checkin .who small { color: var(--muted); font-size: 11.7px; }
ul.checkin .who small.table { color: #2f6b4a; font-weight: 600; }
ul.checkin select { width: auto; padding: 7px 9px; border-radius: 9px; font-size: 12.6px; }
ul.checkin button.tick { flex: none; width: 30.5px; height: 30.5px; padding: 0; border-radius: 50%; border: 2px solid #b9b0a2; background: #fff; color: #fff; font-size: 16.2px; font-weight: 700; line-height: 1; }
ul.checkin button.tick:hover { border-color: #2f6b4a; }
ul.checkin button.tick[aria-pressed=true] { background: #2f6b4a; border-color: #2f6b4a; }
ul.checkin.plain li { padding: 11px 14.5px; }

/* A set: one design printed for every guest or table, on a card's page. */
.setbox { border: 1px solid var(--line); border-radius: 11px; padding: 14.5px; display: flex; flex-direction: column; gap: 9px; }
.panel h3 { margin: 0; font-size: 13.5px; font-weight: 600; }

/* Color themes for a suite: a name beside its three colors. */
.themes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5.5px; }
.themes .theme { display: inline-flex; align-items: center; gap: 7px; padding: 5.5px 11px 5.5px 7px; font-size: 12.6px; }
.themes .theme[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.themes .chips { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.themes .chips i { width: 12.5px; height: 16px; display: block; }
.setbox details summary { cursor: pointer; font-size: 12.6px; }
.setbox .picks { display: flex; flex-wrap: wrap; gap: 5.5px 12.5px; margin: 7px 0; }
.setbox .pick { display: inline-flex; flex-direction: row; align-items: center; gap: 5.5px; font-size: 12.6px; margin: 0; }
.setbox .pick input { width: auto; margin: 0; }

/* A menu near the right end of the toolbar opens from the toolbar's right edge, so it stays on the page however the row has wrapped. */
@media (min-width: 721px) {
  .menubar .menu.fromright { position: static; }
  .menubar .menu.fromright .menupanel { left: auto; right: 0; }
}

/* The seating editor: more shapes, turning, seat needs, wishes, layouts, cards */
.room .shape { transform-origin: 50% 50%; }
.room .shape .words { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.room .shape.oval { border-radius: 50%; }
.room .shape.half { border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.room .shape.sweetheart { border-radius: 8px 8px 50% 50% / 8px 8px 40% 40%; }
.room .shape.u { background: none !important; border: 0; overflow: visible; }
.room .shape.u .uline, .room .shape.u svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.room .shape.u path { fill: var(--fill, #f6f1e9); stroke: #645d54; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.room .shape.u.over path, .room .shape.u.clash path { stroke: #a3312a; }
.room .shape.u.picked path { stroke: #2f7cf6; stroke-width: 2px; }
.room .shape.clash:not(.picked) { border-color: #a3312a; border-style: dashed; z-index: 1; }
.room .thing { transform-origin: 50% 50%; }
.room .chair.need { box-shadow: 0 0 0 2px #fbf8f3, 0 0 0 3px #7a4fd6; }
.turnrow { align-items: center; flex-wrap: wrap; }
.toggles.wrap { flex-wrap: wrap; row-gap: 5.5px; }
details.needs { margin: 5.5px 0; }
details.needs summary { cursor: pointer; font-size: 12.6px; }
.needrow { display: grid; gap: 3.5px; padding: 5.5px 0; border-top: 1px solid var(--line); font-size: 12.6px; }
.needrow .ticks { display: flex; flex-wrap: wrap; gap: 3.5px 11px; }
.needrow label { display: inline-flex; align-items: center; gap: 4.5px; font-weight: 400; margin: 0; }
.needrow input { width: auto; margin: 0; }
.pairlist { list-style: none; margin: 0 0 9px; padding: 0; display: grid; gap: 5.5px; }
.pairlist li { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; font-size: 12.6px; }
.pairlist li span { display: grid; gap: 2px; }
.pairlist small.error { margin: 0; }
.pairform { display: grid; gap: 5.5px; }
.layouts .row { flex-wrap: wrap; }
.layouts button { display: grid; gap: 2px; text-align: left; }
.layouts button small { color: var(--muted); font-weight: 400; }
.card-sheet { display: grid; box-sizing: border-box; width: 8.5in; height: 11in; break-after: page; page-break-after: always; font-family: 'Inter', system-ui, sans-serif; color: #1f1b16; }
.seatcard { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5pt; padding: 0.2in; outline: 0.4pt dashed #bbb; outline-offset: -0.2pt; position: relative; overflow: hidden; }
.seatcard strong { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 17pt; line-height: 1.15; }
.seatcard span { font-size: 10pt; letter-spacing: .08em; text-transform: uppercase; color: #645d54; }
.seatcard small { position: absolute; right: 0.14in; bottom: 0.1in; font-size: 8pt; color: #645d54; }
.card-sheet.escort .seatcard span { font-size: 13pt; letter-spacing: .04em; color: #1f1b16; }

/* The seating editor laid out as an editor: a toolbar, the people to seat, the floor, and what is selected */
.seatbar { margin: 0 0 12.5px; }
.seatbar .toolname { display: inline-flex; align-items: baseline; gap: 7px; padding: 0 5.5px; font-size: 12.6px; white-space: nowrap; }
.seatbar .toolname .count { font-weight: 400; color: var(--muted); font-size: 11.7px; }
.seatbar .toolnote { color: var(--muted); font-size: 11.7px; padding: 0 5.5px; }
.seatbar button.tool:disabled { opacity: .35; cursor: default; }
.seatbar .menupanel { width: 225px; padding: 7px; display: grid; gap: 2px; }
.seatbar .menupanel .swatches { padding: 5.5px; }
.menuchoice { display: grid; gap: 1px; text-align: left; border: 0; background: none; padding: 7px 9px; border-radius: 7px; font-size: 12.6px; }
.menuchoice:hover { background: var(--tint); }
.menuchoice[aria-pressed=true] { background: var(--tint); color: var(--deep); box-shadow: inset 0 0 0 1px var(--accent); }
.menuchoice strong { font-weight: 600; }
.menuchoice small { color: var(--muted); font-weight: 400; }
.seating.plan { grid-template-columns: minmax(198px, 243px) minmax(0, 1fr) minmax(252px, 306px); gap: 14.5px; }
.seating.plan .aside { position: sticky; top: 57.5px; max-height: calc(100vh - 72px); overflow: auto; }
.seating.plan .side { top: 57.5px; max-height: calc(100vh - 72px); }
.seating.plan .roomwrap.live { border-radius: 11px 11px 0 0; }
.inspect.empty { color: var(--muted); }
.statusbar { display: flex; justify-content: space-between; gap: 14.5px; flex-wrap: wrap; margin-top: -14.5px; padding: 6.5px 11px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 11px 11px; background: var(--surface); color: var(--muted); font-size: 11.2px; }
.blankfloor { display: flex; align-items: center; justify-content: center; cursor: default; }
.floor.full .seatbar { position: static; margin: 0 0 9px; }
.floor.full { display: flex; flex-direction: column; gap: 0; }
.floor.full .roomwrap.live { flex: 1; height: auto; min-height: 0; }
@media (max-width: 1180px) {
  .seating.plan { grid-template-columns: minmax(198px, 243px) minmax(0, 1fr); }
  .seating.plan .aside { grid-column: 1 / -1; position: static; max-height: none; }
}
@media (max-width: 760px) {
  .seating.plan { grid-template-columns: 1fr; }
  .seating.plan .side { position: static; max-height: none; order: 2; }
  .seating.plan .aside { order: 3; }
}
.stage[data-wide="yes"] { max-width: 1640px; }
.seating.plan .aside .seat { gap: 5.5px; }
.seating.plan .aside .seat .who { flex: 1; min-width: 0; }
.seating.plan .aside .seatmove { width: 88px; flex: none; padding-left: 5.5px; padding-right: 18px; font-size: 11.7px; }
.needrow label { flex-direction: row; white-space: nowrap; }

/* Words under the toolbars' pictures, in both editors */
.menubar { align-items: stretch; }
.menubar button.tool { flex-direction: column; height: auto; min-width: 38px; padding: 5.5px 2.5px 4.5px; gap: 2.5px; }
.menubar button.tool.wide { flex-direction: row; align-self: center; min-width: 0; height: 30.5px; padding: 0 9px; gap: 2px; }
.menubar button.tool .ti { display: inline-flex; align-items: center; justify-content: center; gap: 2px; height: 20px; }
.menubar button.tool .tl { font-size: 9.5px; line-height: 1.1; font-weight: 500; white-space: nowrap; color: var(--muted); }
.menubar button.tool:hover:not(:disabled) .tl, .menubar .menu.open > button.tool .tl, .menubar button.tool[aria-pressed=true] .tl { color: inherit; }
.menubar button.tool.danger .tl { color: #a3312a; }
.menubar .toolgap { height: auto; align-self: stretch; margin: 5.5px 2.5px; }
.menubar .sides, .menubar > button:not(.tool), .menubar .qfont, .menubar .qsize, .menubar .toolwrap { align-self: center; }
.menubar .toolwrap { align-self: stretch; }
.menubar .menu { align-items: stretch; }
.seatbar { gap: 1px; padding: 5.5px 7px; }
.seatbar button.tool { min-width: 52px; padding: 5.5px 5.5px 4.5px; }
.seatbar button.tool .tl { font-size: 9.9px; }
.seatbar .toolname, .seatbar .toolnote { align-self: center; }

/* ---- The host site as a web app: a sidebar on wide screens, and the wedding's Home page ---- */
.rail { display: none; }
@media (min-width: 960px) {
  body.railed { padding-left: 219.5px; }
  body.railed header.bar { display: none; }
  .rail:not([hidden]) { display: flex; flex-direction: column; gap: 16px; position: fixed; left: 0; top: 0; bottom: 0; width: 219.5px; z-index: 40; padding: 18px 12.5px 14.5px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
  .rail .brand { font-size: 21.6px; padding: 0 7px; }
  .railwedding { display: grid; gap: 2.5px; padding: 11px; border-radius: 12.5px; background: var(--paper); border: 1px solid var(--line); }
  .railwedding strong { font-family: var(--display); font-weight: 500; font-size: 16.2px; line-height: 1.2; overflow-wrap: anywhere; }
  .railwedding span { color: var(--muted); font-size: 11.2px; line-height: 1.35; }
  .railwedding .link { justify-self: start; font-size: 11.7px; padding: 0; margin-top: 3.5px; }
  .rail nav { display: grid; gap: 2px; }
  .railheading { margin: 11px 9px 3.5px; font-size: 9.9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .rail nav a { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 13.1px; font-weight: 500; }
  .rail nav a svg { flex: none; color: var(--muted); }
  .rail nav a:hover { background: var(--paper); }
  .rail nav a[aria-current=page] { background: var(--tint); color: var(--deep); font-weight: 600; }
  .rail nav a[aria-current=page] svg { color: var(--deep); }
  .railfoot { margin-top: auto; display: grid; gap: 3.5px; padding: 11px 9px 0; border-top: 1px solid var(--line); }
  .railwho { font-size: 11.2px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .railfoot .link { justify-self: start; padding: 0; font-size: 12.2px; }
  /* A screen that fills the window covers the sidebar too. */
  .floor.full { z-index: 60; }
}

.stage[data-view="home"] { max-width: 1180px; }
.homehead h1 { font-size: 36px; margin: 2px 0 3.5px; }
.eyebrow { margin: 0; font-size: 11.2px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.steps .meter { height: 5.5px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 9px 0 5.5px; }
.steps .meter span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.steplist { list-style: none; margin: 0; padding: 0; display: grid; }
.steplist li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--line); }
.steplist li:first-child { border-top: 0; }
.steplist .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c9c0b2; display: inline-flex; align-items: center; justify-content: center; font-size: 10.8px; color: #fff; }
.steplist li.done .tick { background: #5a7d5a; border-color: #5a7d5a; }
.steplist li.next .tick { border-color: var(--accent); }
.steplist .steptext { flex: 1; min-width: 0; display: grid; gap: 1px; }
.steplist .steptext strong { font-weight: 600; font-size: 13.5px; }
.steplist .steptext small { color: var(--muted); font-size: 12.2px; }
.steplist li.done .steptext strong { color: var(--muted); font-weight: 500; text-decoration: line-through; text-decoration-color: #c9c0b2; }
.steplist a.button { flex: none; display: inline-flex; align-items: center; height: 30.5px; padding: 0 12.5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 12.6px; text-decoration: none; }
.steplist a.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(207px, 1fr)); gap: 12.5px; }
.tile { position: relative; display: grid; gap: 3.5px; align-content: start; padding: 14.5px 16px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .12s, box-shadow .12s, transform .12s; }
.tile:hover { border-color: #d5c9b8; box-shadow: 0 5.5px 18px rgba(60, 40, 20, .07); transform: translateY(-1px); }
.tile:focus-visible { outline: 2.5px solid #2f7cf6; outline-offset: 2px; }
.tilelabel { font-size: 10.8px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tilefigure { font-family: var(--display); font-weight: 500; font-size: 21.6px; line-height: 1.2; padding-right: 20px; overflow-wrap: anywhere; }
.tiledetail { font-size: 12.2px; color: var(--muted); line-height: 1.4; }
.tile.alert .tiledetail { color: #a3312a; }
.tilego { position: absolute; right: 14.5px; top: 12.5px; color: #b9b0a2; font-size: 14.4px; }
.tile:hover .tilego { color: var(--accent); }
.homecols { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12.5px; align-items: start; }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 11px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.codebox + .codebox { margin-top: 7px; }
.codebox div { display: grid; gap: 2px; min-width: 0; }
.codebox strong { font-size: 14.4px; overflow-wrap: anywhere; }
.codebox .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.facts { margin: 0; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 11px; padding: 8px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 13.1px; }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- Setting the wedding up: details, schedule, key info ---- */
.setupcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: 14.5px; align-items: start; }
.stack { display: grid; gap: 14.5px; }
.goodnews { margin: 0; color: #3f6b3f; font-weight: 600; }
.check.choice { align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
.check.choice:first-of-type { border-top: 0; }
.check.choice span { display: grid; gap: 2px; }
.check.choice small { color: var(--muted); font-weight: 400; }
.facts li strong { text-align: right; max-width: 62%; }
.sday h2 { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.slist { list-style: none; margin: 7px 0 0; padding: 0; }
.slist li { border-top: 1px solid var(--line); }
.slist li:first-child { border-top: 0; }
.srow { display: flex; align-items: flex-start; gap: 12.5px; width: 100%; padding: 11px 5.5px; border: 0; background: none; text-align: left; border-radius: 9px; font: inherit; color: inherit; }
button.srow { cursor: pointer; }
button.srow:hover { background: var(--paper); }
.srow.fixed { padding: 11px 5.5px; }
.srow .stime { flex: none; width: 75.5px; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13.1px; padding-top: 1px; }
.srow .swords { flex: 1; min-width: 0; display: grid; gap: 2px; }
.srow .swords strong { font-weight: 600; font-size: 14px; }
/* Schedule: what guests don't see yet (What guests see ahead), and the choice itself. */
.srow .swords .hiddennow { color: var(--muted); font-style: italic; }
.srow .swords .hiddennow::before { content: '◌ '; font-style: normal; }
.panel.reveal select { max-width: 324px; }
.panel.reveal .check.strike { margin-top: 12.5px; border-top: 1px solid var(--line); padding-top: 12.5px; }
.srow .swords small { color: var(--muted); font-size: 12.2px; }
.srow .swords small.more { white-space: pre-wrap; }
.srow .chev { color: #b9b0a2; font-size: 18px; align-self: center; }
.inforow { display: grid; gap: 7px; padding: 11px 0; border-top: 1px solid var(--line); }
.inforow:first-of-type { border-top: 0; }
.inforow > button { justify-self: start; }

/* ---- The program, the registry, and the map ---- */
.psection h3 { margin: 12.5px 0 2px; font-size: 13.5px; }
.psection .nudge { width: 25px; height: 25px; padding: 0; border-radius: 5.5px; border: 1px solid var(--line); background: var(--surface); font-size: 10.8px; cursor: pointer; }
.psection .nudge:disabled { opacity: .35; cursor: default; }
.rphoto { border-radius: 50%; object-fit: cover; flex: none; }
.wraprow { flex-wrap: wrap; }
.placeform { max-width: 1040px; }
.pinmap { position: relative; border: 1px solid var(--line); border-radius: 12.5px; overflow: hidden; background: #e8e4dc; }
.pinmap-view { position: relative; height: 306px; overflow: hidden; cursor: grab; touch-action: none; user-select: none; }
.pinmap-view:active { cursor: grabbing; }
.pinmap-tiles img { position: absolute; width: 230.5px; height: 230.5px; max-width: none; pointer-events: none; }
.pinmap-pin { position: absolute; width: 23.5px; height: 23.5px; margin: -23.5px 0 0 -11.5px; pointer-events: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 23s-7-6.6-7-12.4A7 7 0 0 1 19 10.6C19 16.4 12 23 12 23z' fill='%23a8502f' stroke='%23fff' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='10.5' r='2.6' fill='%23fff'/%3E%3C/svg%3E"); }
.pinmap-zoom { position: absolute; right: 9px; top: 9px; display: grid; gap: 3.5px; }
.pinmap-zoom button { width: 29px; height: 29px; padding: 0; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); font-size: 16.2px; line-height: 1; }
.pinmap-credit { position: absolute; right: 5.5px; bottom: 3.5px; font-size: 9.9px; color: #3a352e; background: rgba(255,255,255,.8); padding: 1px 4.5px; border-radius: 3.5px; text-decoration: none; }

/* ---- Reviewing photos and the guestbook, who has joined, the Activity log ---- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 9px; }
.ptile { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 11px; overflow: hidden; background: #e8e2d8; cursor: pointer; }
.ptile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ptile:hover img { transform: scale(1.03); transition: transform .15s; }
.ptile:focus-visible { outline: 2.5px solid #2f7cf6; outline-offset: 2px; }
.ptile .pname { position: absolute; left: 0; right: 0; bottom: 0; padding: 12.5px 7px 5.5px; font-size: 10.8px; font-weight: 600; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.6)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptile .pbadge { position: absolute; right: 7px; top: 5.5px; color: #fff; font-size: 14.4px; text-shadow: 0 1px 2.5px rgba(0,0,0,.6); }
.ptile.flagged { outline: 2.5px solid #a3312a; outline-offset: -2.5px; }
.reportedpile { border-color: #e2b9b4; }
.photodlg { position: fixed; inset: 0; z-index: 80; background: rgba(31,27,22,.72); display: flex; align-items: center; justify-content: center; padding: 18px; }
.photobox { display: grid; grid-template-columns: minmax(0, 1fr) 306px; width: min(1180px, 100%); max-height: calc(100vh - 36px); background: var(--surface); border-radius: 18px; overflow: hidden; }
.photopic { position: relative; background: #14110e; display: flex; align-items: center; justify-content: center; min-height: 288px; }
.photopic img { max-width: 100%; max-height: calc(100vh - 36px); object-fit: contain; display: block; }
.photonav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); font-size: 19.8px; line-height: 1; cursor: pointer; }
.photonav.prev { left: 11px; }
.photonav.next { right: 11px; }
.photoside { padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; }
.photoside .caption { margin: 0; font-style: italic; }
.photoside .actions button { width: 100%; }
.photoside .reported { display: grid; gap: 3.5px; padding: 9px 11px; border-radius: 11px; background: #fbeeec; border: 1px solid #e2b9b4; }
.photoside .reported .note { margin: 0; }
/* Keeping a reported photo: outlined in Jovvy's green, as in the app. */
.photoside .reported button.keep { justify-self: start; border: 1.5px solid #2f6b4a; }
.hidechoose { display: grid; gap: 3.5px; padding: 5.5px; border: 1px solid var(--line); border-radius: 11px; }
.hidechoose > .small { justify-self: start; margin: 3.5px 0 2px 5.5px; }
.notelist { display: grid; gap: 11px; max-width: 684px; }
.gnote { display: grid; gap: 7px; }
.gnote .gtext { margin: 0; font-size: 14.4px; line-height: 1.5; white-space: pre-wrap; }
.gnote.is-hidden { opacity: .72; }
.gnote.is-pending { border-color: var(--accent); }
.gnote audio, .gnote video { width: 100%; max-width: 378px; border-radius: 9px; }
@media (max-width: 860px) {
  .photobox { grid-template-columns: 1fr; overflow-y: auto; }
  .photopic img { max-height: 52vh; }
}

/* ---- Your team ---- */
.hostedit { display: grid; gap: 9px; padding: 12.5px 5.5px; }
.hostedit .removes { margin-top: 5.5px; padding-top: 9px; border-top: 1px solid var(--line); gap: 2px; }
.hostedit .removes .menuchoice strong { color: #a3312a; }
.swords strong .count { margin-left: 7px; font-weight: 500; }
.srow.fixed > .row { flex: none; align-self: center; }

/* ---- Wedding party ---- */
.face { flex: none; border-radius: 50%; object-fit: cover; background: #efe7db; color: #7b6a55; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
img.face { display: block; }
.rolegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(189px, 1fr)); gap: 5.5px 12.5px; margin: 3.5px 0 9px; }

/* ---- Attire ---- */
.outfits { display: grid; gap: 16px; max-width: 810px; }
.outfit { display: flex; gap: 18px; align-items: flex-start; }
.outfitpic { width: 180px; max-width: 40%; border-radius: 11px; object-fit: cover; aspect-ratio: 3 / 4; background: #efe7db; flex: none; }
form .outfitpic { width: 144px; }
.outfitwords { flex: 1; min-width: 0; display: grid; gap: 7px; }
.outfitwords h2, .outfitwords p { margin: 0; }
.outfitpieces { list-style: none; margin: 0; padding: 0; display: grid; gap: 3.5px; }
.outfitpieces li { display: flex; gap: 9px; align-items: baseline; flex-wrap: wrap; }
.outfitpieces li::before { content: '·'; color: var(--muted); }
.outfitwords a { color: var(--accent); font-weight: 600; }
.prose { white-space: pre-wrap; }
.piecerow { display: flex; gap: 9px; align-items: flex-end; flex-wrap: wrap; padding: 7px 0; border-top: 1px solid var(--line); }
.piecerow label { min-width: 135px; }
.piecerow label.check { min-width: 0; padding-bottom: 9px; }
.piecerow > button { margin-bottom: 5.5px; }
@media (max-width: 640px) { .outfit { flex-direction: column; } .outfitpic { max-width: 100%; width: 100%; aspect-ratio: 4 / 3; } }

/* ---- Settings ---- */
.coverpic { width: 100%; max-height: 216px; object-fit: cover; border-radius: 11px; display: block; }
.dressextras { display: grid; gap: 7px; margin-bottom: 12.5px; }
.whojoined { display: grid; gap: 5.5px; margin: 3.5px 0 9px; }
.dressextras .row { margin: 0; }
/* The wedding's color, in Settings and setup (the editor's are dots in a row). */
.swatches[role=radiogroup] { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 7px; }
.swatch span { white-space: nowrap; }
.panel p.note a, .pagehead p.note a, .stage > p.note a { color: var(--accent); font-weight: 600; }
.swatch { display: flex; align-items: center; gap: 7px; padding: 7px 9px; font-size: 12.6px; font-weight: 600; justify-content: flex-start; }
.swatch i { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.swatch[aria-checked=true] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
i.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: -1px; }

/* ---- The morning after ---- */
.recaphero { text-align: center; padding: 25px 14.5px 7px; }
.recaphero h1 { font-size: clamp(30.6px, 5vw, 46.8px); margin: 0 0 5.5px; }
.recapstats { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 20px; }
.recapstats > div { min-width: 119px; padding: 14.5px 16px; border-radius: 14.5px; background: #fff; border: 1px solid var(--line); display: grid; gap: 2px; }
.recapstats strong { font-family: var(--display, 'Fraunces', serif); font-size: 30.6px; line-height: 1.1; color: var(--deep); }
.recapstats span { font-size: 12.2px; color: var(--muted); }
.recapbig { margin: 0; display: grid; gap: 7px; max-width: 504px; }
.recapbig .ptile { aspect-ratio: 4 / 3; width: 100%; }
.recapnote { margin: 0 0 12.5px; padding: 0 0 0 14.5px; border-left: 2.5px solid var(--tint); }
.recapnote p { margin: 0 0 3.5px; font-size: 15.3px; }
.recapnote cite { font-style: normal; color: var(--muted); font-size: 12.6px; }
.recapview { background: #fff; border-radius: 14.5px; padding: 12.5px; max-width: min(92vw, 882px); display: grid; gap: 9px; }
.recapview img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 9px; display: block; margin: 0 auto; }
a.button.primary { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 600; }
a.button.primary:hover { background: var(--deep); border-color: var(--deep); }
.panel p > a:not(.button) { color: var(--accent); font-weight: 600; }

/* ---- A new wedding, and your account ---- */
.newwedding { max-width: 558px; margin: 0 auto; }
.railfoot a.link { font-size: 12.2px; color: var(--accent); text-decoration: none; font-weight: 600; }
.signin .link { padding: 0; }
.backlink { color: var(--accent); font-weight: 600; text-decoration: none; }
.backlink:hover { text-decoration: underline; }

/* ---- Apple's map: the hosts' pins ---- */
.applemap { position: relative; border: 1px solid var(--line); border-radius: 12.5px; overflow: hidden; background: #e8e4dc; }
.applemap-view { height: 378px; }
.applemap-says { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 18px; text-align: center; color: var(--muted); background: #efeae1; }
.applemap-says[hidden] { display: none; }
.placesmap { height: 324px; border-radius: 12.5px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 12.5px; background: #e8e4dc; }
.placesmap[hidden] { display: none; }

/* ==================================================================================
   The look, carried through from the front page (site/index.html): set in type and
   hairlines rather than rounded boxes and icons. The serif at a light weight for
   headings, small spaced capitals for labels, rules where the boxes were, and a card
   only where something is a card. It comes last, so it has the last word.

   The two drawing tools keep their own furniture: the invitation editor
   (data-view="editor") and the seating chart's floor plan are places to work, with
   toolbars whose pictures mean something.
   ================================================================================== */

/* ---- Headings and labels ---- */
.stage h1 { font-weight: 400; font-size: clamp(30.6px, 3.3vw, 48.6px); letter-spacing: -.022em; line-height: 1.02; }
.stage h2 { font-weight: 400; font-size: 22.5px; letter-spacing: -.012em; line-height: 1.12; }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: 17.1px; }
.eyebrow, .tilelabel, .railheading { letter-spacing: .2em; font-size: 10.3px; }
.stage .note { font-size: 12.6px; }
.stage .lede { font-size: 15.3px; }

/* A page's heading stands on its own, with no rule under it. */
.pagehead { padding-bottom: 3.5px; }
.pagehead .note { margin-top: 7px; font-size: 13.5px; max-width: 46em; }

/* ---- Buttons: pills, plainly ---- */
button.primary, a.button.primary { box-shadow: none; }
button, .button { border-color: #d6ccbc; }

/* ---- Panels: a white card lifted off the page. One inside another is a passage in it. ---- */
.stage:not([data-view="editor"]):not([data-view="seating"]) .panel { background: var(--surface); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--lift); padding: 18px 20px; }
.stage:not([data-view="editor"]):not([data-view="seating"]) .panel .panel { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 14.5px 0 5.5px; }
.setupcols, .homecols { gap: 16px; }
.stage[data-view="editor"] > .panel { border-radius: 3.5px; }

/* What is a card stays one: the sign-in and its kin, set like a place card. */
.stage .panel.signin, .stage .panel.newwedding { position: relative; background: #fffdf8; border: 0; border-radius: 0; padding: clamp(27px, 4vw, 41.5px) clamp(23.5px, 4vw, 39.5px); box-shadow: 0 1px 0 #e9e0d0, 0 23.5px 45px -30.5px rgba(31,27,22,.45); }
.stage .panel.signin::before, .stage .panel.newwedding::before { content: ''; position: absolute; inset: 9px; border: 1px solid #d9c9ae; pointer-events: none; }
.stage .panel.signin > *, .stage .panel.newwedding > * { position: relative; }
.stage .panel.signin h1, .stage .panel.newwedding h1 { font-size: clamp(27px, 3vw, 36px); }

/* ---- Fields ---- */
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], input[type=time], select, textarea { border-radius: 5.5px; }
.codebox { border-radius: 3.5px; background: #fffdf8; }

/* ---- Tabs: in the serif, the chosen one in italics ---- */
.tabs { gap: 20px; border-bottom-color: var(--line); margin-top: 0; }
.tabs [role=tab] { font-family: var(--display); font-weight: 400; font-size: 17.1px; padding: 7px 0 9px; color: var(--muted); }
.tabs [role=tab][aria-selected=true] { font-style: italic; color: var(--accent); border-bottom-color: var(--accent); }
.tabs .count, .tabs [aria-selected=true] .count { background: none; padding: 0; font: 600 10.8px/1 var(--text, 'Inter', sans-serif); font-style: normal; color: var(--muted); align-self: flex-start; margin-top: 3.5px; }

/* ---- Lists: rows on rules ---- */
.slist li { border-top-color: var(--line); }
.srow { border-radius: 0; padding: 12.5px 0; }
.srow.fixed { padding: 12.5px 0; }
.srow .swords strong { font-family: var(--display); font-weight: 400; font-size: 17.1px; letter-spacing: -.01em; }
.srow .stime { font: italic 300 14.4px/1.5 var(--display); color: var(--accent); }
.facts li, .facts div { padding: 10px 0; }

/* ---- Nothing here yet: a quiet line between rules, not a dashed box ---- */
.blank { background: var(--surface); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--lift); padding: 48.5px 21.5px; }
.blank h2 { font-style: italic; font-weight: 300; font-size: 27px; }

/* ---- Home ---- */
.homehead h1 { font-size: clamp(36px, 4.4vw, 64.8px); }
.stage[data-view="home"] .tiles { gap: 12.5px; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); }
.stage[data-view="home"] .tile { background: var(--surface); border: 1px solid var(--edge); border-radius: 16px; box-shadow: var(--lift); padding: 14.5px 16px 16px; transform: none; }
.stage[data-view="home"] .tile:hover { border-color: var(--accent); box-shadow: var(--lift); transform: none; }
.stage[data-view="home"] .tile:hover .tilefigure { color: var(--accent); }
.tilefigure { font-weight: 400; font-size: 25.2px; letter-spacing: -.012em; }
.tilego { right: 14.5px; top: 14.5px; }
.steps .meter { height: 2px; border-radius: 0; }
.steps .meter span { border-radius: 0; }
.steplist .steptext strong { font-family: var(--display); font-weight: 400; font-size: 16.2px; }
.steplist .tick { width: 16px; height: 16px; border-width: 1px; font-size: 9px; }

/* ---- The sidebar: a table of contents, in words alone ---- */
@media (min-width: 960px) {
  .rail:not([hidden]) { background: var(--paper); padding: 23.5px 20px 16px; gap: 20px; }
  .rail .brand { padding: 0; }
  /* (The sidebar's groups and the wedding at its top are styled at the end of this file.) */
  .railfoot { padding: 12.5px 0 0; }
}

/* Refinements to the look, after seeing it on every page. */
.stage h2 .count { margin-left: 11px; padding: 0; background: none; font: italic 300 14.4px/1 var(--display); color: var(--muted); letter-spacing: 0; }
/* The boxes that remain (a table, a toolbar, the floor) are cards too. */
.tablewrap, .seatbar, .roomwrap, .stage[data-view="seating"] > .panel, .stage[data-view="seating"] .panel { border-radius: 12.5px; border-color: var(--edge); box-shadow: var(--lift); }
table.guests th { font-size: 10.3px; letter-spacing: .16em; text-transform: uppercase; }
/* The place cards (sign-in, a new wedding) are said again here with as much weight as the rule that flattens panels. */
.stage:not([data-view="editor"]):not([data-view="seating"]) .panel.signin,
.stage:not([data-view="editor"]):not([data-view="seating"]) .panel.newwedding { position: relative; background: #fffdf8; border: 0; border-radius: 0; padding: clamp(30.5px, 4vw, 45px) clamp(27px, 4vw, 43px); box-shadow: 0 1px 0 #e9e0d0, 0 23.5px 45px -30.5px rgba(31,27,22,.45); }
.stage .panel.signin { max-width: 414px; }
header.bar { background: var(--paper); }
/* The header's ways to help, where the sidebar isn't: two quiet links, at the right of a wide
   window, and on a narrow one a row of their own under the sections. */
.bar .barhelp { display: flex; gap: 16px; align-items: center; order: 10; }
.bar .barhelp a { font-size: 12.6px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.bar .barhelp a:hover { text-decoration: underline; }
@media (max-width: 959px) {
  .bar .barhelp { width: 100%; padding: 2px 0 2px; }
  .bar .barhelp a { font-size: 12.2px; }
}
.stage h1 + .note, .stage h1 + p { margin-top: 7px; }
.ptile, .coverpic, .outfitpic, .placesmap, .applemap, .pinmap { border-radius: 3.5px; }

/* On a phone or a narrow window the sections are a row to slide along, in the serif, the one you
   are on in italics: the sidebar's table of contents laid on its side, in place of a block of chips. */
@media (max-width: 959px) {
  .bar .sections { flex-wrap: nowrap; gap: 18px; overflow-x: auto; scrollbar-width: none; width: 100%; padding: 2px 0 3.5px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 25px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 25px), transparent); }
  .bar .sections::-webkit-scrollbar { display: none; }
  .bar .sections::after { content: ''; flex: none; width: 18px; }
  .bar .sections a { flex: none; padding: 5.5px 0; border-radius: 0; background: none; font: 400 16.2px/1.3 var(--display); color: var(--muted); white-space: nowrap; }
  .bar .sections a:hover { background: none; color: var(--ink); }
  .bar .sections a[aria-current=page] { background: none; color: var(--accent); font-style: italic; border-bottom: 1.5px solid var(--accent); }
}

/* A short video in the album: it plays where a photo would show, and its tile says how long it runs. */
.photopic video { max-width: 100%; max-height: calc(100vh - 36px); display: block; background: #000; }
.pclip { position: absolute; left: 5.5px; top: 5.5px; font-size: 10.3px; font-weight: 600; background: rgba(0,0,0,.65); color: #fff; padding: 2px 7px; border-radius: 999px; }
@media (max-width: 900px) { .photopic video { max-height: 52vh; } }

/* ---- The Website page (websitescreens.js) ---- */
/* Where the website stands: the one card on the page. */
.stage[data-view="website"] .panel.sitecard { position: relative; background: #fffdf8; border: 0; padding: 23.5px 23.5px 21.5px; box-shadow: 0 1px 0 #e9e0d0, 0 20px 39.5px -29px rgba(31,27,22,.45); display: grid; gap: 9px; }
.stage[data-view="website"] .panel.sitecard::before { content: ''; position: absolute; inset: 7px; border: 1px solid #d9c9ae; pointer-events: none; }
.stage[data-view="website"] .panel.sitecard > * { position: relative; }
.siteaddress { font-family: var(--display); font-weight: 400; font-size: clamp(21.6px, 2.6vw, 28.8px); letter-spacing: -.01em; color: var(--deep); text-decoration: none; overflow-wrap: anywhere; }
.siteaddress:hover { color: var(--accent); }
/* The address typed on a ruled line, after the part that never changes. */
.stage label.siteinput { display: flex; flex-direction: row; color: inherit; align-items: baseline; gap: 2px; border-bottom: 1.5px solid var(--ink); padding-bottom: 3.5px; font-family: var(--display); font-size: 19.8px; }
.siteinput span { color: var(--muted); flex: none; }
.siteinput input { flex: 1; min-width: 0; border: 0; background: none; padding: 0; font: inherit; color: var(--deep); border-radius: 0; box-shadow: none; }
.siteinput input:focus-visible { outline: none; }
.siteinput:focus-within { border-bottom-color: var(--accent); }
.stage[data-view="website"] .choice input { flex: none; }
.stage[data-view="website"] .choice small a { color: var(--accent); font-weight: 600; text-decoration: none; }
.stage[data-view="website"] .choice small a::after { content: '\00a0→'; }
/* Photos chosen for the website, in hairline frames. */
.sitethumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 16px; }
.sitethumbs li { display: grid; gap: 7px; align-content: start; }
.sitethumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid #d9c9ae; outline-offset: 3.5px; background: #f3ede4; }
.gallerythumbs { grid-template-columns: repeat(auto-fill, minmax(171px, 1fr)); margin-top: 7px; }
.gallerythumbs img { aspect-ratio: 1; }
.gallerythumbs .row { gap: 11px; }
.stage[data-view="website"] fieldset.stayform { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14.5px 0 5.5px; display: grid; gap: 11px; }
.stage[data-view="website"] fieldset.stayform legend { font-family: var(--display); font-size: 18px; padding: 0; float: left; width: 100%; margin-bottom: 3.5px; }
.stage[data-view="website"] .twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.stage[data-view="website"] .row.spread { justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.stage[data-view="website"] fieldset.stayform > button.link { justify-self: start; }
/* The DNS record a couple add for their own domain. */
.stage[data-view="website"] dl.dnsrecord { display: grid; grid-template-columns: auto 1fr; gap: 5.5px 14.5px; margin: 3.5px 0; padding: 11px 12.5px; border: 1px solid #d9c9ae; background: #fffdf8; }
.stage[data-view="website"] dl.dnsrecord dt { font-size: 10.3px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); align-self: center; }
.stage[data-view="website"] dl.dnsrecord dd { margin: 0; display: flex; gap: 11px; align-items: center; min-width: 0; }
.stage[data-view="website"] dl.dnsrecord code { font-size: 13.5px; overflow-wrap: anywhere; }
.stage .twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
/* A color of the couple's own, beside the palette's. */
.stage .owncolor { display: flex; align-items: center; gap: 12.5px; margin-top: 3.5px; }
.stage .owncolor .swatch { flex: none; cursor: pointer; }
.stage .owncolor input[type=color] { width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; }
.stage .owncolor input[type=color]::-webkit-color-swatch-wrapper { padding: 2.5px; }
.stage .owncolor input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.stage .owncolor .swatch[aria-checked=true] input[type=color] { border: 2px solid var(--ink); }
.stage .owncolor .note { margin: 0; }
/* Choosing part of the guest list for an update. */
.stage .guestpick { display: grid; gap: 9px; margin: 3.5px 0 2px; }
.stage .guestpick .tabs { margin-top: 0; }
.stage .pickhouseholds { max-height: 234px; overflow-y: auto; display: grid; gap: 2px; margin-top: 7px; padding-right: 5.5px; }
.stage .order { display: inline-flex; gap: 2px; }
/* Who is giving a registry gift. */
.stage .givers { display: grid; gap: 5.5px; padding-top: 5.5px; }
.stage ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stage .rphotobox { display: grid; gap: 3.5px; justify-items: start; align-content: start; }
/* The website's design: pictures to choose from. */
.stage .designcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(342px, 100%), 1fr)); gap: 23.5px 39.5px; align-items: start; }
.stage .designpicks { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 9px; }
.stage .designpick { display: grid; gap: 5.5px; justify-items: start; text-align: left; padding: 9px; border: 1px solid var(--line); border-radius: 3.5px; background: #fffdf8; cursor: pointer; font: inherit; color: inherit; }
.stage .designpick[aria-checked=true] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.stage .designpick:disabled { cursor: default; opacity: .7; }
.stage .designpick strong { font-size: 12.6px; }
.stage .designpick small { color: var(--muted); font-size: 10.8px; line-height: 1.35; }
.stage .sketch svg { display: block; }
.stage .typesample { display: grid; gap: 2px; min-height: 47px; }
.stage .typesample > span { font-size: 19.8px; line-height: 1.15; }
.stage .typesample small { color: var(--muted); font-size: 10.8px; }
.stage .swatchpaper { display: block; width: 100%; height: 32.5px; border: 1px solid var(--line); }
.stage .paper-classic { background: #fbf8f3; }
.stage .paper-white { background: #ffffff; }
.stage .paper-garden { background: color-mix(in srgb, var(--accent) 12%, #fbf8f3); }
.stage .paper-blush { background: #f8ece8; }
.stage .paper-evening { background: #191714; }
.stage ol.sectionorder { list-style: none; margin: 0; padding: 0; display: grid; }
.stage ol.sectionorder li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.stage ol.sectionorder li:first-child { border-top: 0; }
/* Something worth knowing before going on, not an error. */
.stage p.warning { margin: 0; padding: 9px 11px; border-left: 2px solid #b8860b; background: #fbf4e4; color: var(--ink); font-size: 12.6px; }
/* Which part of the cover photo the website keeps in view. */
.stage .focusrow { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 700px) { .stage .focusrow { grid-template-columns: 1fr; } }
.stage .focuswhole { position: relative; cursor: crosshair; touch-action: none; user-select: none; outline-offset: 2.5px; }
.stage .focuswhole img { width: 100%; display: block; pointer-events: none; }
.stage .focusmark { position: absolute; width: 23.5px; height: 23.5px; margin: -11.5px 0 0 -11.5px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.45); pointer-events: none; }
.stage .focusmark::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3.5px; height: 3.5px; margin: -2px 0 0 -2px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.45); }
.stage .focusside { display: grid; gap: 5.5px; }
.stage .focuspreview { width: 100%; max-width: 234px; border: 1px solid var(--line); }
.stage .focuspreview .crop { width: 100%; height: 100%; overflow: hidden; }
.stage .focuspreview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage .focuspreview.shape-arch .crop { border-radius: 9999px 9999px 3.5px 3.5px; }
.stage .focuspreview.shape-circle { border: 0; max-width: 180px; }
.stage .focuspreview.shape-circle .crop { border-radius: 50%; }
.stage .focuspreview.shape-arch { border: 0; }
.stage .zoomline { display: flex; flex-direction: row; align-items: center; gap: 9px; flex: 1; min-width: 198px; }
.stage .zoomline input[type=range] { flex: 1; }
/* How to add a couple's domain record: steps, then where to look at each company. */
.stage[data-view="website"] details.domainhelp { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px 0; margin: 3.5px 0; }
.stage[data-view="website"] details.domainhelp summary { cursor: pointer; font-weight: 600; }
.stage[data-view="website"] details.domainhelp ol { margin: 9px 0 5.5px; padding-left: 20px; display: grid; gap: 5.5px; }
.stage[data-view="website"] details.domainhelp ul.companies { list-style: none; margin: 11px 0 5.5px; padding: 0; display: grid; gap: 7px; }
.stage[data-view="website"] details.domainhelp ul.companies li { font-size: 12.6px; }
.stage[data-view="website"] details.domainhelp ul.companies a { color: var(--accent); font-weight: 600; }
/* Venues and vendors (vendorscreens.js). */
.stage[data-view="vendors"] .vendorfind label { display: grid; gap: 5.5px; max-width: 468px; }
.stage[data-view="vendors"] .vendorfind .row input { flex: 1; min-width: 180px; }
.stage[data-view="vendors"] ul.vendorlist { list-style: none; margin: 7px 0 0; padding: 0; }
.stage[data-view="vendors"] li.vendor { display: flex; gap: 12.5px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 11px 0; border-top: 1px solid var(--line); }
.stage[data-view="vendors"] li.vendor:first-child { border-top: 0; }
.stage[data-view="vendors"] li.vendor > div:first-child { display: grid; gap: 2px; min-width: 0; flex: 1 1 234px; }
.stage[data-view="vendors"] li.vendor small { color: var(--muted); }
.stage[data-view="vendors"] li.vendor.passed strong { color: var(--muted); text-decoration: line-through; }
.stage[data-view="vendors"] li.vendor .row { align-items: center; gap: 7px; }
.stage[data-view="vendors"] li.vendor select { max-width: 153px; }
.stage[data-view="vendors"] .tag { font-size: 11.2px; font-weight: 600; padding: 2.5px 8px; border-radius: 999px; background: #efe9df; color: var(--muted); white-space: nowrap; }
.stage[data-view="vendors"] h2 .count { font: 600 11.7px var(--text, 'Inter', sans-serif); color: var(--muted); }
.stage[data-view="vendors"] .vendoredit { display: grid; gap: 11px; max-width: 558px; }
.stage[data-view="vendors"] .vendoredit label { display: grid; gap: 5.5px; }
.stage[data-view="vendors"] .vendoredit label small { color: var(--muted); }
.stage[data-view="vendors"] .vendoredit h3 { margin: 9px 0 0; font-size: 11.7px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stage[data-view="vendors"] .comparewrap { overflow-x: auto; margin-top: 7px; }
.stage[data-view="vendors"] table.compare { border-collapse: collapse; min-width: 100%; }
.stage[data-view="vendors"] table.compare th, .stage[data-view="vendors"] table.compare td { text-align: left; vertical-align: top; padding: 8px 11px; border-bottom: 1px solid var(--line); min-width: 135px; }
.stage[data-view="vendors"] table.compare thead th { font-weight: 600; }
.stage[data-view="vendors"] table.compare tbody th { color: var(--muted); font-weight: 600; font-size: 12.2px; min-width: 126px; }
dialog.placedialog { width: min(92vw, 396px); max-height: 86vh; padding: 12.5px; border: 1px solid #d9c9ae; border-radius: 9px; background: #fffdf8; }
dialog.placedialog::backdrop { background: rgba(30, 24, 18, .35); }
/* The seating editor's questions and table form (seatingchart.js): in the page, so full screen stays. */
dialog.seatask, dialog.seatform { padding: 18px 20px; width: min(92vw, 414px); }
dialog.seatask p { margin: 0 0 14.5px; line-height: 1.5; }
/* Plan my seating: the choices, then the plan in a few lines. */
dialog.seatplan { width: min(92vw, 480px); }
dialog.seatplan h2 { margin: 0 0 8px; font-size: 22px; }
dialog.seatplan ul.keeps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
dialog.seatplan ul.keeps li { padding-left: 24px; position: relative; line-height: 1.45; }
dialog.seatplan ul.keeps li::before { content: '✓'; position: absolute; left: 2px; color: var(--accent, #4e6b58); font-weight: 600; }
dialog.seatplan label.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; cursor: pointer; }
dialog.seatplan label.check input { margin-top: 3px; }
dialog.seatplan label small, dialog.seatplan .seatsat small { display: block; color: var(--muted, #645d54); font-size: 13px; margin-top: 2px; }
dialog.seatplan .seatsat { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 14px; color: var(--ink); }
dialog.seatplan .seatsat > span { text-align: left; }
dialog.seatplan .seatsat input { width: 76px; }
dialog.seatplan .row { gap: 8px; flex-wrap: wrap; }
dialog.seatform form { display: flex; flex-direction: column; gap: 12.5px; }
dialog.seatform h2 { margin: 0; }
/* Home: send the invitations before sharing the code. */
dialog.sendfirst { padding: 21.5px 21.5px 18px; width: min(92vw, 414px); text-align: center; }
dialog.sendfirst .sendfirsticon { display: inline-grid; place-items: center; color: var(--accent); font-size: 27px; line-height: 1; }
dialog.sendfirst h2 { margin: 9px 0 7px; font: 400 23.4px/1.15 var(--display); letter-spacing: -.01em; }
dialog.sendfirst p { margin: 0 0 16px; line-height: 1.5; text-align: left; }
dialog.sendfirst .row { justify-content: space-between; gap: 11px; }
dialog.placedialog .placecard { margin-top: 9px; min-height: 108px; }
.stage[data-view="vendors"] li.vendor > .row { flex-wrap: nowrap; }
.stage[data-view="vendors"] li.vendor select { padding-top: 5.5px; padding-bottom: 5.5px; }
.stage[data-view="vendors"] main a, .stage[data-view="vendors"] .panel a { color: var(--accent); font-weight: 600; }
@media (max-width: 640px) { .stage[data-view="vendors"] li.vendor > .row { flex-wrap: wrap; } }
/* Jovvy Wedding Plus (plan.js, home.js): for sale, across Home's width under the
   tiles, set like the app's screen, in Jovvy's terracotta whatever the wedding's
   color. A couple at sunset with what Plus is, beside a cream sheet with the price
   (under it, rising over the photo's foot, when narrow); what you get, each part of
   the day with a photo that opens to its details; free and Plus side by side; and
   the price again. Just bought: the thank-you, at the top of Home. */
.plusoffer, .plusthanks { --p: #A8502F; --p-tint: #F6E9E2; --cream: #FBF8F3; }
.plusoffer { display: grid; gap: 50.5px; margin: 34px 0 16px; }
.plusglyph { display: inline-grid; place-items: center; flex: none; }
.plusglyph svg { width: 1.15em; height: 1.15em; }
.plustop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(288px, .95fr); overflow: hidden; border-radius: 25px; background: var(--cream); box-shadow: 0 16px 45px rgba(20,16,12,.16); }
.plusphoto { position: relative; isolation: isolate; min-height: 504px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.plusphoto img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.plusphoto::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,0) 22%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.8)); }
.plusmark { position: absolute; top: 20px; left: 0; right: 0; margin: 0; text-align: center; font-family: var(--display); font-size: 23.4px; letter-spacing: .02em; }
.plusherotext { padding: 0 clamp(21.5px, 3.4vw, 39.5px) clamp(25px, 3.6vw, 39.5px); }
.plusfor { margin: 0 0 7px; color: rgba(255,255,255,.88); font-size: 12.6px; letter-spacing: .02em; }
.stage .plusphoto h2 { margin: 0; color: #fff; font-family: var(--display); font-weight: 400; font-size: clamp(41.4px, 5vw, 63px); line-height: 1.02; letter-spacing: -.025em; }
.pluspitch { margin: 12.5px 0 0; max-width: 28em; color: rgba(255,255,255,.95); font-size: 15.8px; line-height: 1.5; }
.plussheet, .plusagain { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.plussheet { justify-content: center; padding: clamp(25px, 3.6vw, 43px) clamp(21.5px, 3.4vw, 39.5px); }
.pluspill { display: inline-flex; align-items: center; gap: 5.5px; margin: 0; padding: 5.5px 12.5px; border-radius: 999px; background: var(--p-tint); color: var(--p); font-size: 12.2px; font-weight: 600; }
.plusprice { margin: 5.5px 0 0; font-family: var(--display); line-height: 1; }
.plusprice strong { font-weight: 400; font-size: 61.2px; letter-spacing: -.02em; }
.plusoffer .plusprice { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 12.5px; margin: 3.5px 0 0; line-height: 1.05; }
.plusoffer .plusprice s { color: var(--muted); font-size: 27px; }
.plusoffer .plusprice strong { color: var(--p); font-size: 64.8px; }
.plusonce { color: var(--muted); font-family: var(--text); font-size: 16.2px; font-weight: 500; }
.plusterms { margin: 0; color: var(--muted); font-size: 13.1px; line-height: 1.5; }
.plusoffer button.plusbuy, .plusthanks button.plusbuy { width: 100%; max-width: 396px; min-height: 50.5px; margin-top: 7px; border-color: var(--p); border-radius: 999px; background: var(--p); color: #fff; font-size: 15.3px; }
.plusoffer button.plusbuy:hover:not(:disabled), .plusthanks button.plusbuy:hover { background: #8F4224; }
.plussheet .error, .plussheet .goodnews { margin: 3.5px 0 0; }
.pluspromises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; width: 100%; max-width: 396px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 11.7px; line-height: 1.3; }
.pluspromises li { display: flex; flex-direction: column; align-items: center; gap: 7px; }
/* Icons stand alone, in a thin line of the terracotta: never on a pale circle. */
.pluspromises .plusglyph, .plusicon, .plusnow .plusglyph { color: var(--p); }
.pluspromises .plusglyph { width: 32.5px; height: 29px; font-size: 23.4px; }
.plusfree { width: 100%; max-width: 396px; margin: 7px 0 0; padding-top: 12.5px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.6px; }
.stage .plushead { margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: 28.8px; letter-spacing: -.015em; line-height: 1.12; }
.plusintro { margin: -5.5px 0 20px; color: var(--muted); font-size: 14.8px; }
.plusrows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.plusrow { border-bottom: 1px solid var(--line); }
.plusrow summary { display: flex; align-items: flex-start; gap: 16px; padding: 14.5px 0; cursor: pointer; list-style: none; }
.plusrow summary::-webkit-details-marker { display: none; }
.plusrow summary:focus-visible { outline: 2px solid var(--p); outline-offset: 3.5px; border-radius: 7px; }
.plusthumb { flex: none; width: 75.5px; height: 75.5px; overflow: hidden; border-radius: 16px; background: var(--p-tint); }
.plusthumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plusrowtext { display: grid; gap: 5.5px; flex: 1; min-width: 0; }
.plusrowtitle { display: flex; align-items: center; gap: 9px; }
.plusrowtitle strong { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.2; }
.plusicon { width: 21.5px; height: 21.5px; font-size: 17.1px; }
.plusrowline { color: var(--muted); font-size: 13.1px; line-height: 1.45; }
.pluschev { margin-top: 5.5px; color: var(--muted); font-size: 16.2px; transition: transform .2s; }
.plusrow[open] .pluschev { transform: rotate(180deg); }
.plusrow .pluspoints { display: grid; gap: 7px; margin: 0; padding: 0 0 16px 92px; list-style: none; font-size: 13.1px; line-height: 1.45; }
.pluspoints li { display: flex; gap: 7px; }
.pluspoints .plusglyph { margin-top: 2px; color: var(--p); }
.pluscomparing { display: grid; justify-items: stretch; }
table.pluscompare { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-size: 13.5px; }
table.pluscompare th, table.pluscompare td { padding: 12.5px 14.5px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
table.pluscompare tr:last-child > * { border-bottom: 0; }
table.pluscompare thead th { color: var(--muted); font-size: 12.6px; font-weight: 600; }
table.pluscompare th:first-child { text-align: left; padding-left: 18px; }
table.pluscompare tbody th { font-weight: 400; }
table.pluscompare thead th.plus { background: var(--p); color: #fff; }
table.pluscompare td.plus { background: var(--p-tint); font-weight: 600; }
.plusno { color: var(--muted); font-size: 12.2px; font-weight: 400; }
.plusyes { display: inline-grid; place-items: center; width: 21.5px; height: 21.5px; border-radius: 50%; background: var(--p); color: #fff; font-size: 11.7px; }
/* One-time purchase: a note on stationery, as the code's card on the Overview
   is (cream paper, a hairline frame inside its edge), words alone. */
.plusoncecard { position: relative; display: grid; justify-items: center; gap: 5px; margin-top: 22px; padding: 26px 24px; text-align: center; background: #fffdf8; border-radius: 4px; box-shadow: 0 1px 0 #e9e0d0, 0 22px 44px -32px rgba(31,27,22,.45); }
.plusoncecard::before { content: ''; position: absolute; inset: 9px; border: 1px solid #d9c9ae; pointer-events: none; }
.plusoncecard > * { position: relative; margin: 0; }
.plusoncelabel { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--p); }
.plusoncewords { font-family: var(--display); font-weight: 400; font-size: clamp(21px, 2.4vw, 25px); line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.plusonceline { color: var(--muted); font-size: 13.1px; }
.plusagain { margin-top: 27px; }
.plusfoot { margin: 23.5px 0 0; color: var(--muted); font-size: 12.6px; text-align: center; }
/* Just bought: the thank-you. */
.plusthanks { display: flex; flex-direction: column; align-items: center; margin: 20px 0 25px; padding-bottom: 29px; overflow: hidden; border-radius: 25px; background: var(--cream); box-shadow: 0 16px 45px rgba(20,16,12,.16); text-align: center; }
.plusthanksphoto { position: relative; width: 100%; height: clamp(198px, 30vw, 306px); }
.plusthanksphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.plusthanksphoto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(251,248,243,0) 35%, rgba(251,248,243,0) 65%, var(--cream)); }
.plusthankscheck { position: relative; display: grid; place-items: center; width: 83px; height: 83px; margin-top: -41.5px; border: 5.5px solid var(--cream); border-radius: 50%; background: var(--p); color: #fff; font-size: 36px; box-shadow: 0 7px 21.5px rgba(168,80,47,.25); }
.stage .plusthanks h2 { margin: 18px 18px 9px; font-family: var(--display); font-weight: 400; font-size: clamp(28.8px, 4vw, 39.6px); line-height: 1.12; letter-spacing: -.015em; }
.plusthanks h2 span { color: var(--p); }
.plusthanks .plusintro { margin: 0 18px 20px; }
.plusnow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; width: calc(100% - 36px); max-width: 684px; margin: 0 0 20px; padding: 5.5px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); list-style: none; text-align: left; }
.plusnow li { display: flex; align-items: center; gap: 12.5px; padding: 12.5px 0; border-bottom: 1px solid var(--line); }
.plusnow li:last-child { grid-column: 1 / -1; border-bottom: 0; }
.plusnow .plusglyph { width: 25px; height: 25px; font-size: 19.8px; }
.plusnow strong { display: block; font-size: 14.4px; }
.plusnow small { color: var(--muted); font-size: 12.6px; }
@media (max-width: 900px) {
  .plustop { grid-template-columns: 1fr; }
  .plusphoto { min-height: 450px; }
  .plussheet { position: relative; margin-top: -25px; border-radius: 25px 25px 0 0; background: var(--cream); }
  .plusrows { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plustop, .plusthanks { margin-inline: -14.5px; border-radius: 0; }
  .plusphoto { min-height: 414px; }
  .plusthumb { width: 65px; height: 65px; border-radius: 14.5px; }
  .plusrow .pluspoints { padding-left: 0; }
  .plusrow summary { gap: 12.5px; }
  .pluspromises { font-size: 11.2px; }
  table.pluscompare th, table.pluscompare td { padding: 11px 7px; }
  table.pluscompare th:first-child { padding-left: 12.5px; }
  .plusnow { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .plusherotext, .plussheet, .plusthankscheck { animation: plusrise .5s cubic-bezier(.2, .7, .2, 1) both; }
  .plussheet { animation-delay: .08s; }
}
@media (prefers-reduced-motion: reduce) { .pluschev { transition: none; } }
@keyframes plusrise { from { opacity: 0; transform: translateY(12.5px); } }
/* Jovvy Storage Plus for sale (home.js storageOffer), set as the Wedding Plus
   offer above is, with the same terracotta: what it adds on the sheet, the
   price on a pale card, three photographs, and the comparison. */
.storageoffer .storageeyebrow { margin: 0 0 7px; color: rgba(255,255,255,.9); font-size: 11.2px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.storageoffer .plusherotext { text-align: center; }
.storageoffer .pluspitch { margin-inline: auto; font-family: var(--display); font-size: 18.9px; }
.storagesheet { align-items: stretch; text-align: left; }
.storageadds { display: grid; margin: 0; padding: 0; list-style: none; }
.storageadds li { display: flex; align-items: flex-start; gap: 14.5px; padding: 12.5px 0; border-bottom: 1px solid var(--line); }
.storageadds li:last-child { border-bottom: 0; }
.storageadds .plusicon { width: 27px; height: 27px; margin-top: 2px; font-size: 21.6px; }
.storageadds strong { display: block; font-size: 14.4px; }
.storageadds small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.6px; line-height: 1.45; }
.storageprice { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 7px; padding: 20px 18px 16px; border-radius: 21.5px; background: var(--p-tint); text-align: center; }
.storageprice .plusprice strong { font-size: 54px; }
/* Why Storage Plus: what it keeps, a photograph of the day each, as an
   album's pages, with its words in the serif under it. */
.storagekeep { display: grid; justify-items: center; gap: 8px; text-align: center; }
.storagekicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--p); }
.storagekeep .plushead { margin: 0; }
.storagekeep .plusintro { margin: 0; }
.storagekept { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 14px; }
.storagekept figure { margin: 0; overflow: hidden; border-radius: 20px; background: var(--surface); box-shadow: 0 1px 2px rgba(31,27,22,.05), 0 16px 36px -20px rgba(31,27,22,.32); text-align: left; }
.storagekept img { display: block; width: 100%; height: clamp(170px, 18vw, 230px); object-fit: cover; }
.storagekept figcaption { display: grid; gap: 4px; padding: 16px 18px 18px; }
.storagekept strong { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: -.01em; }
.storagekept span { color: var(--muted); font-size: 13px; line-height: 1.45; }
/* Compared beside a photograph, as Planner Pro's is; its table has four columns, so the sheet is wider. */
.storagecompared { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); }
.storagecompared .protable .promark { top: 40px; transform: none; }
.storagecompared .storagecompare th:first-child { width: 31%; }
@media (max-width: 760px) {
  .storagekept { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
.storagecompare th:first-child { width: 34%; }
@media (max-width: 560px) {
  .storageprice .plusprice strong { font-size: 43.2px; }
  .storagecompare { font-size: 11.7px; }
  .storagecompare th, .storagecompare td { padding: 9px 4.5px; }
}
/* Jovvy Planner Pro for sale (plannerpro.js), on Plans, set out across the page
   as Wedding Plus's and Storage Plus's offers are: a ceremony terrace at sunset
   with the wordmark and what Pro is, beside the cream sheet with what it gives
   and the price (Storage Plus's card, with Monthly or Yearly); everything it
   gives in a grid; and free and Pro compared beside a candlelit table. */
.promark { margin: 0; display: grid; justify-items: center; line-height: 1; }
.promark span { color: var(--p); font-family: var(--display); font-size: 37.8px; }
.promark small { margin-top: 5.5px; color: var(--ink); font-size: 10.8px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.promark.light span, .promark.light small { color: #fff; }
.promark .procrown { color: var(--p); margin-bottom: 5.5px; }
.promark .procrown svg { width: 23.5px; height: 23.5px; }
.promark.light .procrown { color: #f2d49b; }
.promarktop { position: absolute; top: 22px; left: 0; right: 0; }
.prooffer .plusphoto img { object-position: 50% 55%; }
.prooffer .plusherotext { text-align: center; }
.proeyebrow { margin: 0 0 7px; color: rgba(255,255,255,.9); font-size: 11.2px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.prooffer .pluspitch { margin-inline: auto; font-family: var(--display); font-size: 18.9px; }
.prosheettop { align-items: stretch; text-align: left; }
.protoggle { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 324px; overflow: hidden; border: 1px solid var(--p); border-radius: 999px; background: var(--surface); }
.protoggle button { min-height: 39.5px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.protoggle button + button { border-left: 1px solid var(--p); }
.stage .protoggle button { min-height: 39.5px; margin: 0; padding: 0 11px; border: 0; border-radius: 0; box-shadow: none; }
.stage .protoggle button + button { border-left: 1px solid var(--p); }
/* The chosen one solid terracotta with white words: clear, in Jovvy's own colors. */
.stage .protoggle button[aria-pressed="true"] { background: var(--p); color: #fff; }
.protoggle button:focus-visible { outline: 2px solid var(--ink); outline-offset: -3.5px; }
.prosave { margin: -3.5px 0 0; color: var(--p); font-size: 12.2px; }
.prooffer .plusprice strong { font-size: 48.6px; }
/* Planner Pro's price as a printed card, as Wedding Plus's one-time note is:
   ivory paper inside a fine frame, not a tinted box; Monthly or Yearly set in
   small capitals, the chosen one in the terracotta over a fine rule; the
   price in ink. */
.storageprice.proprice { position: relative; gap: 10px; padding: 30px 30px 24px; border-radius: 4px; background: #fffdf8; box-shadow: 0 1px 0 #e9e0d0, 0 22px 44px -30px rgba(31,27,22,.45); }
.proprice::before { content: ''; position: absolute; inset: 9px; border: 1px solid #d9c9ae; pointer-events: none; }
.proprice > * { position: relative; }
.proprice .protoggle { display: flex; justify-content: center; gap: 28px; width: auto; max-width: none; overflow: visible; border: 0; border-radius: 0; background: none; }
.stage .proprice .protoggle button { min-height: 36px; padding: 0 2px; border: 0; border-bottom: 1.5px solid transparent; border-radius: 0; background: none; color: var(--muted); font-size: 11.7px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.stage .proprice .protoggle button + button { border-left: 0; }
.stage .proprice .protoggle button[aria-pressed="true"] { background: none; color: var(--p); border-bottom-color: var(--p); }
.stage .proprice .protoggle button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.proprice .plusprice { margin-top: 2px; }
.proprice .plusprice strong { color: var(--ink); }
.proprice .plusonce { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 18px; }
.proprice .prosave { font-family: var(--display); font-style: italic; font-size: 14.4px; }
.proprice .plusbuy { margin-top: 10px; }
@media (max-width: 560px) {
  .storageprice.proprice { padding: 26px 22px 20px; }
}
.termslinks { margin: 2px 0 0; color: var(--muted); font-size: 11.7px; }
.termslinks a { color: var(--muted); }
.profeatures { display: grid; gap: 11px; text-align: center; }
.profeatures .plushead { margin: 0; }
.profeatures .plusintro { margin: -4px 0 0; }
.profeatures ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; text-align: left; }
.profeatures li { display: flex; align-items: flex-start; gap: 13px; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: 0 1px 2px rgba(31,27,22,.05), 0 12px 28px -18px rgba(31,27,22,.25); }
.profeatures .plusicon { flex: none; width: 27px; height: 27px; font-size: 21.6px; }
.profeatures strong { display: block; font-family: var(--display); font-weight: 400; font-size: 17px; }
.profeatures small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.6px; line-height: 1.45; }
/* Free and Pro compared beside the candlelit table, in one rounded card. */
.procompare { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; border-radius: 25px; background: var(--cream); box-shadow: 0 16px 45px rgba(20,16,12,.12); }
.protable { position: relative; margin: 0; min-height: 360px; overflow: hidden; }
.protable img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.protable::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.3) 100%); }
.protable .promark { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.prosheet { display: grid; gap: 12.5px; align-content: start; padding: clamp(24px, 3.4vw, 40px); text-align: center; }
.prosheet .plushead { margin: 0; }
.prosheet .plusintro { margin: -4px 0 4px; }
.prosheet table.pluscompare th:first-child { width: 46%; }
.prosheet .storageprice { justify-self: center; width: 100%; max-width: 420px; }
.protick { display: inline-grid; place-items: center; color: var(--p); font-size: 16.2px; }
@media (max-width: 900px) {
  .procompare { grid-template-columns: minmax(0, 1fr); }
  .protable { min-height: 240px; }
}
@media (max-width: 560px) {
  .procompare { margin-inline: -14.5px; border-radius: 0; }
  .prooffer .plusprice strong { font-size: 41.4px; }
}
/* Unlocked: a panel beside the others, saying so. */
.plusseal { display: flex; align-items: center; gap: 9px; margin: 5.5px 0 0; font-family: var(--display); font-size: 19.8px; }
.plusseal span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--text); font-size: 13.5px; }
.plusownedlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5.5px 16px; margin: 12.5px 0; padding: 0; list-style: none; font-size: 13.5px; }
.plusownedlist li::before { content: '✓ '; color: var(--c); font-weight: 700; }

/* Deleting or leaving the wedding, below its settings. */
.endpanel { margin-top: 23.5px; max-width: 576px; }
.endpanel label input { display: block; width: 100%; max-width: 378px; margin-top: 5.5px; }

/* A password box with its eye button (reveal.js). */
.passwordbox { position: relative; display: block; }
.passwordbox input { padding-right: 43px; }
.passwordbox .reveal { position: absolute; right: 5.5px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32.5px; height: 32.5px; padding: 0; border: 0; border-radius: 7px; background: none; color: var(--muted); cursor: pointer; }
.passwordbox .reveal:hover { color: var(--ink); }
.passwordbox .reveal:focus-visible { outline: 2px solid var(--deep, currentColor); outline-offset: 1px; }
.row > .passwordbox { flex: 1 1 198px; max-width: 324px; }

/* Jovvy Registry and Honey Fund on the Registry page (givingscreens.js): where gifts
   are paid, the funds, and the gifts given, for thank-yous. */
.givingpayouts { margin: 11px 0 16px; padding: 14.5px 16px; background: #fffdf8; border: 1px solid #d9c9ae; }
.givingpayouts.ready { background: var(--tint); border-color: transparent; }
.givingpayouts .note { margin: 3.5px 0 9px; max-width: 46em; }
.givingseal { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--display); font-size: 18px; }
.givingseal span { display: grid; place-items: center; width: 23.5px; height: 23.5px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--text); font-size: 11.7px; }
.givingreceived { margin-top: 20px; }
.givingreceived h3 { margin: 0 0 7px; }
.givinglist li { padding: 9px 0; border-top: 1px solid var(--line); }
.givinglist li.refunded { color: var(--muted); }
.givinglist small { color: var(--muted); }
.givingmessage { margin: 5.5px 0 0; font-family: var(--display); font-size: 15.3px; }

/* Home: the code guests join with, under the date (home.js). */
.homecode { margin: 9px 0 0; font-size: 13.5px; }
.stage .homecode .code { font-family: var(--text); font-size: 13.5px; font-weight: 700; letter-spacing: .12em; line-height: inherit; }
.homecode a { color: var(--accent); font-weight: 600; }
/* An amount, with the wedding's currency symbol inside the field. */
.moneyin { position: relative; display: block; }
.moneyin .sym { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.moneyin input { padding-left: 2.6em; }
.givingcountry { display: block; margin: 0 0 11px; max-width: 324px; }
.givingcountry select { display: block; width: 100%; margin-top: 5.5px; }

/* The registry's items, for the couple: a grid of product cards to open and change. */
.stage .shopphoto { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 9px; background: var(--tint); margin-bottom: 5.5px; }
.stage .shopphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage .shopblank { position: absolute; inset: 0; display: grid; place-items: center; padding: 7px; text-align: center; font-family: var(--display); font-size: 15.3px; color: var(--accent); overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.itemphotofield { display: flex; gap: 14.5px; align-items: center; margin: 11px 0; }
.itemphotofield .shopphoto { width: 108px; flex: none; margin: 0; }
.moneyin.after .sym { left: auto; right: 11px; }
.moneyin.after input { padding-left: 11px; padding-right: 3.6em; }

/* Jovvy Planner Pro under Which wedding?: the crown and name in the accent, a line beneath. */
.proline { display: grid; gap: 3.5px; margin-top: 16px; }
.proline .plusbanner { max-width: 684px; }
.proline .railoffer { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 600; text-decoration: none; padding: 0; }
.proline .railoffer:hover { text-decoration: underline; }
.proline .plusglyph svg { width: 18px; height: 18px; }
/* Jovvy Planner Pro in the sidebar's foot: the crown beside the name, as the plan link above. */
.railfoot .railpro:empty { display: none; }
.railfoot .railpro .railoffer { display: inline-flex; align-items: center; gap: 5.5px; padding: 0; font-size: 12.2px; }
.railfoot .railpro .plusglyph svg { width: 15.5px; height: 15.5px; }

/* Uploading a finished design: a box to drop it on, or choose it from. */
.dropzone { min-height: 144px; padding: 25px 21.5px; border: 1.5px dashed #cfc4b3; border-radius: 18px; background: #fbf8f3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; text-align: center; transition: border-color .15s ease, background-color .15s ease; }
.dropzone.over { border-style: solid; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff); }
.dropzone .dropicon { color: var(--accent); line-height: 0; }
.dropzone .dropicon svg { width: 39.5px; height: 39.5px; }
.dropzone .droptitle { margin: 0; font-size: 15.3px; font-weight: 600; color: var(--ink); }
.dropzone .droprules { margin: 0; font-size: 11.7px; color: var(--muted); max-width: 378px; }
.dropzone .droperror { margin: 0; font-size: 13.5px; color: #a3321f; max-width: 396px; }
.dropzone .dropbar { width: min(324px, 100%); height: 7px; border-radius: 999px; background: #ece4d8; overflow: hidden; }
.dropzone .dropbar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .2s ease; }

/* ---- Stationery for the invitations' Send box, Check, and details ------------
   As the app's: cream place cards with a hairline inside the edge, numbers in
   the serif with their words in small capitals, a small ornament. */
.placecard { position: relative; background: #fffdf8; box-shadow: 0 1px 0 #e9e0d0, 0 20px 39.5px -29px rgba(31,27,22,.45); }
.placecard::before { content: ''; position: absolute; inset: 7px; border: 1px solid #d9c9ae; pointer-events: none; }
.placecard > * { position: relative; }
.overline { margin: 0; font-size: 10.8px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 3.5px 0; }
.ornament::before, .ornament::after { content: ''; width: 32.5px; height: 1px; background: #d9c9ae; }
.ornament span { width: 4.5px; height: 4.5px; background: var(--accent); transform: rotate(45deg); }
.statcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.statcard { padding: 20px 9px; text-align: center; display: grid; gap: 3.5px; }
.statcard strong { font-family: var(--display); font-weight: 400; font-size: 34.2px; line-height: 1; }
.statcard span { font-size: 9.9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statcard.accent strong, .statcard.accent span { color: var(--accent); }
.statcard.error strong, .statcard.error span { color: #a3312a; }
.statcard.warn strong, .statcard.warn span { color: #8a5a00; }

/* Send: the invitation guests see, the counts, the steps, the ways to send. */
.sendview { display: grid; gap: 21.5px; }
.sendshown { display: grid; justify-items: center; gap: 11px; text-align: center; }
.sendshown .paper { width: 151px; box-shadow: 0 9px 25px rgba(0,0,0,.14); border: 1px solid var(--line); background: #fff; }
.sendshown .paper img { display: block; width: 100%; height: auto; }
.sendshown .notyet { width: 151px; aspect-ratio: 5 / 7; display: grid; place-items: center; border: 1px solid #d9c9ae; background: #fbf8f3; color: var(--muted); font-size: 12.6px; }
.sendshown h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 19.8px; }
.sendsteps { padding: 23.5px 23.5px 12.5px; display: grid; gap: 3.5px; }
.sendsteps h2 { margin: 0 0 5.5px; }
.sendstep { display: grid; grid-template-columns: 32.5px 1fr auto; gap: 11px; align-items: start; padding: 9px 0; }
.sendstep .num { font-family: var(--display); font-size: 23.4px; line-height: 1; color: var(--muted); }
.sendstep.next .num { color: var(--accent); }
.sendstep .num.done { color: #2f6b4a; font-family: inherit; font-size: 19.8px; }
.sendstep strong { display: block; font-family: var(--display); font-weight: 400; font-size: 17.1px; }
.sendstep.done strong { color: var(--muted); }
.sendstep small { color: var(--muted); font-size: 12.6px; }
.sendgo { display: grid; justify-items: center; gap: 7px; text-align: center; }
.sendgo .note { margin: 0; }
.senddone { padding: 18px 21.5px; display: flex; gap: 11px; align-items: center; }
.senddone .tick { color: #2f6b4a; font-size: 19.8px; line-height: 1; }
.sendways { padding: 5.5px 20px; }
.sendways a, .sendways button.way { display: flex; justify-content: space-between; align-items: center; gap: 11px; padding: 12.5px 0; border: 0; border-bottom: 1px solid #e6dccb; border-radius: 0; background: none; width: 100%; text-align: left; color: inherit; text-decoration: none; font: inherit; cursor: pointer; }
.sendways > :last-child { border-bottom: 0; }
.sendways strong { display: block; font-family: var(--display); font-weight: 400; font-size: 17.1px; }
.sendways small { color: var(--muted); font-size: 12.6px; }
.sendways .chev { color: var(--muted); font-size: 18px; }

/* Check: each thing on its own card, a rule down its edge. */
.issuecard { display: grid; gap: 7px; padding: 12.5px 14.5px 9px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3.5px solid #8a5a00; }
.issuecard.mistake { border-left-color: #a3312a; }
.issuecard .on { margin: 0; font-size: 9.9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a5a00; }
.issuecard.mistake .on { color: #a3312a; }
.issuecard p.what { margin: 0; font-size: 14.4px; line-height: 1.45; }
.issuecard .acts { display: flex; justify-content: flex-end; gap: 3.5px; flex-wrap: wrap; }
.issuecard .acts button { padding: 7px 11px; }
.issues { display: grid; gap: 11px; }
.allclear { padding: 32.5px 25px; text-align: center; display: grid; justify-items: center; gap: 7px; }
.allclear .tick { color: #2f6b4a; font-size: 30.6px; line-height: 1; }
.allclear h2 { margin: 0; font-size: 28.8px; }
.allclear p { margin: 0; color: var(--muted); max-width: 396px; }
.spellnote { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 12.6px; margin: 0; }

/* Invitation details: how it will read, as a printed card. */
.howread { display: grid; justify-items: center; gap: 11px; }
.howread .placecard { width: 100%; max-width: 414px; padding: 36px 27px; text-align: center; display: grid; gap: 5.5px; }
.howread .host { font-size: 9.9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.howread .names { font-family: var(--display); font-size: 30.6px; line-height: 1.15; margin: 3.5px 0; }
.howread .serif { font-family: var(--display); font-size: 15.3px; }
.howread .request { font-style: italic; }
.howread .date { font-weight: 600; margin-top: 9px; }
.howread .time { font-size: 13.5px; }
.howread .place { margin: 9px 0 5.5px; }
.howread .reception { font-style: italic; color: var(--accent); margin-top: 5.5px; }
.howread .reply { font-size: 11.7px; color: var(--muted); margin-top: 12.5px; }
.howread .missing { font-style: italic; color: var(--muted); opacity: .75; font-family: inherit; font-size: 12.6px; font-weight: 400; letter-spacing: 0; text-transform: none; }
@media (max-width: 560px) { .statcard strong { font-size: 27px; } .sendstep { grid-template-columns: 27px 1fr; } .sendstep > button, .sendstep > a { grid-column: 2; justify-self: start; } }
/* Invitation details: the fields, and how it will read beside them, staying
   in view; on a narrow screen, how it will read first, as in the app. */
.stage[data-view="details"] .editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 360px); gap: 25px; align-items: start; }
.stage[data-view="details"] .editor > .controls { position: sticky; top: 18px; }
@media (max-width: 900px) {
  .stage[data-view="details"] .editor { grid-template-columns: minmax(0, 1fr); }
  .stage[data-view="details"] .editor > .controls { position: static; order: -1; }
}

/* ---- The guest list, as the app's (guestlist.js, fromguestsview.js) ----------
   Households as rows on a place card, each with its initials in a small
   frame and its name in the serif; the counts on place cards, picking out
   what they count; how guests reply, and sending, on a card of its own;
   what guests sent, each on a card, what would change struck through. */
img.avatar { object-fit: cover; }
.avatar { flex: none; width: 39.5px; height: 39.5px; display: grid; place-items: center; background: #fffdf8; border: 1px solid #d9c9ae; border-radius: 50%; font-family: var(--display); font-size: 15.3px; line-height: 1; color: var(--accent); }
.hlist { padding: 3.5px 21.5px; }
.hrows { list-style: none; margin: 0; padding: 0; }
.hrow { display: flex; align-items: flex-start; gap: 14.5px; padding: 14.5px 0; border-bottom: 1px solid #e6dccb; cursor: pointer; }
.hrow:last-child { border-bottom: 0; }
.hrow.fixed { cursor: default; }
.hrow:not(.fixed):hover .hwho strong { color: var(--accent); }
.hrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hrow.chosen { background: #f8efe6; margin: 0 -12.5px; padding-left: 12.5px; padding-right: 12.5px; }
.hwho { flex: 1.4 1 0; min-width: 0; display: grid; gap: 2.5px; justify-items: start; }
.hwho strong { font-family: var(--display); font-weight: 400; font-size: 17.1px; letter-spacing: -.01em; line-height: 1.2; }
.hwho small { color: var(--muted); font-size: 12.2px; }
.hwho .hnote { font-style: italic; }
.hmeta .warn, .hplace .warn { color: #8a5a00; }
.htags { display: flex; flex-wrap: wrap; gap: 5.5px; margin-top: 4.5px; }
.gtag { font-size: 10.8px; line-height: 1.5; padding: 1px 7px; border: 1px solid #d9c9ae; border-radius: 2.5px; color: #5a534a; background: #fffdf8; }
.hplace, .hcontact { flex: 1 1 0; min-width: 0; display: grid; gap: 2px; align-content: start; padding-top: 2.5px; font-size: 12.6px; color: #4a443c; overflow-wrap: anywhere; }
.hplace { flex-grow: 1.2; }
.hplace small, .hcontact small { color: var(--muted); font-size: 11.7px; }
.hlist .faint { color: #b3aa9c; }
.hlist.people .hmeta .where { display: none; }
.hacts { flex: 0 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5.5px; max-width: 342px; padding-top: 2px; }
.hacts button.small, .hacts a.button.small { margin: 0; background: transparent; border-color: #d9c9ae; }
.hacts small { color: var(--muted); }
.hcontact > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sendarea .quiet { justify-self: start; border: 1px solid #d9c9ae; background: transparent; }
.hrow > .chev { flex: none; align-self: center; }
.hrow > .pick { flex: none; width: 86.5px; padding-top: 9px; }
.hrow > .pick label.check { gap: 5.5px; }
.hrow > .pick small { font-size: 11.2px; }
button.statcard { border: 0; border-radius: 0; font: inherit; color: inherit; cursor: pointer; }
button.statcard:hover::before { border-color: var(--accent); }
button.statcard[aria-pressed=true] { box-shadow: 0 0 0 2px var(--accent), 0 20px 39.5px -29px rgba(31,27,22,.45); }
.statcard.good strong, .statcard.good span { color: #2f6b4a; }
.statcard.bad strong, .statcard.bad span { color: #a3312a; }
/* The Replies cards washed in their colors, as the Households cards (.gcard) and the app's. */
.statcard.tint.good { background: #e8f2ea; }
.statcard.tint.good::before { border-color: #bfd8c5; }
.statcard.tint.bad { background: #fbe8e6; }
.statcard.tint.bad::before { border-color: #ecc3be; }
.statcard.tint.warn { background: #fbf1dc; }
.statcard.tint.warn::before { border-color: #ead3a0; }
.statcards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips.filterchips { margin-left: 0; margin-top: -7px; }
/* The Households filters, as the inspiration's toolbar: pills that say what
   they are set to, a chevron on each, the accent where one narrows the list. */
.fsel { width: auto; min-height: 36px; padding: 7px 30.5px 7px 12.5px; border: 1px solid #d9c9ae; border-radius: 999px; background: #fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23645d54' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center no-repeat; -webkit-appearance: none; appearance: none; font: 600 12.6px/1.2 var(--text, 'Inter', sans-serif); color: var(--ink); cursor: pointer; }
.fsel.on { border-color: var(--accent); box-shadow: inset 0 0 0 0.5px var(--accent); color: var(--accent); }
.fbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 14.5px; border: 1px solid #d9c9ae; border-radius: 999px; background: #fffdf8; color: var(--ink); font-size: 12.6px; font-weight: 600; }
.fbtn.on, .fbtn[aria-expanded=true] { border-color: var(--accent); color: var(--accent); }
.fbtn .plusglyph { font-size: 16.2px; }
.filterrow { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; flex: 1 1 0; min-width: 0; }
.filterrow > * { flex: none; }
/* Rows or a grid: two icons on a pill, the one showing filled in the accent. */
.viewtoggle { order: 3; margin-left: auto; display: inline-flex; gap: 2px; padding: 2.5px; border: 1px solid #d9c9ae; border-radius: 999px; background: #fffdf8; }
.viewtoggle button { width: 38px; height: 30.5px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 999px; background: none; color: var(--muted); }
.viewtoggle button[aria-pressed=true] { background: var(--accent); color: #fff; }
.viewtoggle .plusglyph { font-size: 16.2px; }
.toolbar .filterrow { order: 2; }
/* The households as a grid of cards. */
.hlist.asgrid { padding: 0; background: none; box-shadow: none; }
.hlist.asgrid::before { display: none; }
.hlist.asgrid .hrows { display: grid; grid-template-columns: repeat(auto-fill, minmax(189px, 1fr)); gap: 14.5px; }
.htile { display: grid; justify-items: center; align-content: start; gap: 2.5px; padding: 20px 12.5px 18px; text-align: center; cursor: pointer; }
.htile:hover strong { color: var(--accent); }
.htile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.htile .avatar { width: 57.5px; height: 57.5px; font-size: 21.6px; margin-bottom: 5.5px; }
.htile strong { font-family: var(--display); font-weight: 400; font-size: 17.1px; line-height: 1.2; }
.htile small { color: var(--muted); font-size: 11.7px; }
.htile small.warn { color: #8a5a00; }
.htile .htags { justify-content: center; margin-top: 7px; }
.morefilters { display: flex; flex-wrap: wrap; gap: 12.5px 20px; padding: 16px 21.5px; margin-top: -7px; }
.morefilters label { gap: 5.5px; font-size: 11.7px; }
@media (max-width: 760px) {
  .toolbar .search { flex: 1 1 0; max-width: none; }
  .viewtoggle { order: 1; margin-left: 0; }
  .hlist.asgrid .hrows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  /* On a phone the filters sit in one row that scrolls sideways, as the app's. */
  .toolbar .filterrow { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; width: 100%; padding: 2px 0 3.5px; scrollbar-width: none; }
}
.chip .n { margin-left: 5.5px; font-weight: 400; opacity: .8; }
.listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 11px; margin-bottom: -7px; }
.overline.muted { color: var(--muted); }
.dupcard { display: flex; align-items: center; justify-content: space-between; gap: 11px; flex-wrap: wrap; padding: 18px 23.5px; }
.dupcard p { margin: 0; }
.dupcard .overline { color: #8a5a00; margin-bottom: 3.5px; }
.replyglance { display: grid; gap: 14.5px; }
.replyglance:empty { display: none; }
.replied .note { margin: 0 0 7px; }
.replybar { height: 2.5px; background: #e6dccb; }
.replybar span { display: block; height: 100%; background: var(--accent); }
.factlist { display: grid; padding: 9px 21.5px; }
.factlist .fact { display: grid; grid-template-columns: 75.5px minmax(0, 1fr); gap: 11px; padding: 10px 0; border-bottom: 1px solid #e6dccb; font-size: 13.1px; overflow-wrap: anywhere; }
.factlist .fact:last-child { border-bottom: 0; }
.factlist .fact .overline { font-size: 9.5px; padding-top: 2.5px; }
.cardtop { display: flex; align-items: center; justify-content: space-between; gap: 11px; }
.cardtop small { color: var(--muted); font-size: 11.7px; white-space: nowrap; }
.cardrule { height: 1px; background: #e6dccb; margin: 3.5px 0; }
.howreply { padding: 23.5px 27px; display: grid; gap: 9px; }
.howtop { display: grid; gap: 9px; }
.howreply h2, .howreply p { margin: 0; }
.howreply .row { flex-wrap: wrap; gap: 7px; }
.howreply.choosing .howtop { display: none; }
.howreply.choosing::before { border-color: var(--accent); }
.sendarea { display: grid; gap: 9px; }
.sendarea:empty { display: none; }
.howreply:not(.choosing) .sendarea { border-top: 1px solid #e6dccb; padding-top: 16px; margin-top: 7px; }
.sendline { font-family: var(--display); font-size: 17.1px; line-height: 1.35; }
.socialcard { padding: 21.5px 27px; display: grid; gap: 7px; }
.socialcard h2, .socialcard p { margin: 0; }
.linkcard { padding: 23.5px 27px; display: grid; gap: 11px; }
.linkcard h2, .linkcard p { margin: 0; }
.linkbox { padding: 11px 12.5px; background: #fbf8f3; border: 1px solid #e6dccb; font-size: 14.4px; overflow-wrap: anywhere; user-select: all; }
.linkcard .row { gap: 7px; }
.linkcard .row button { flex: 0 1 180px; }
.linkcard label.check { flex-direction: row; align-items: flex-start; gap: 11px; color: var(--ink); font-size: 13.5px; }
.linkcard label.check span { display: grid; gap: 2px; }
.linkcard label.check small { color: var(--muted); font-size: 12.2px; }
.sectionhead { display: grid; gap: 3.5px; margin-bottom: -5.5px; }
.sectionhead h2, .sectionhead p { margin: 0; }
.fromlist { grid-template-columns: repeat(auto-fill, minmax(342px, 1fr)); margin-bottom: 0; }
.fromcard { padding: 21.5px 25px; display: grid; gap: 11px; align-content: start; }
.fromwho { display: flex; align-items: center; gap: 12.5px; }
.fromcard .fromwho h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 21.6px; }
.fromcard .factlist { padding: 0; }
.fromcard p { margin: 0; }
.fromcard > button.primary { justify-self: start; }
.fromcard .row { margin-top: 0; gap: 3.5px 16px; align-items: center; }
.changed { display: grid; gap: 2px; }
.changed s { color: var(--muted); }
.newmark { margin-left: 7px; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
button.link.muted { color: var(--muted); }
/* A household's profile (guestlist.js showProfile), as the app's. */
.stage[data-view="guests-profile"] { gap: 20px; }
.profilehead { display: grid; justify-items: center; gap: 7px; text-align: center; }
.profilehead > .avatar, .photobtn .avatar { width: 119px; height: 119px; font-size: 43.2px; }
/* A household's picture on its profile, and as it is added, is round. */
.profilehead .avatar, .avatar.round { border-radius: 50%; }
.photobtn { border-radius: 50%; }
.newphoto { display: flex; align-items: center; gap: 12.5px; }
.newphoto .avatar { width: 65px; height: 65px; font-size: 23.4px; }
.photobtn { padding: 0; border: 0; background: none; cursor: pointer; }
.photobtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2.5px; }
.profilehead h1 { margin: 3.5px 0 0; }
.profilehead .htags { justify-content: center; align-items: center; gap: 7px; }
.profileacts { display: grid; grid-template-columns: repeat(4, minmax(0, 119px)); justify-content: center; gap: 5.5px; }
.pact { display: grid; justify-items: center; gap: 5.5px; padding: 9px 3.5px; border: 0; border-radius: 5.5px; background: none; color: var(--ink); font-size: 12.2px; font-weight: 500; cursor: pointer; }
.pact .plusglyph { color: var(--accent); font-size: 21.6px; }
.pact:hover span:last-child { color: var(--accent); }
.pact[aria-pressed=true] { background: #f3ebe0; }
.pact.danger, .pact.danger .plusglyph, .pact.danger:hover span:last-child { color: #a3312a; }
.profilegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.profilegrid .wide { grid-column: 1 / -1; }
.pcard { padding: 20px 25px 21.5px; display: grid; gap: 11px; align-content: start; }
.pcard p { margin: 0; }
.pcard .cardtop .link { padding: 0; }
.pcard .hacts { justify-content: flex-start; max-width: none; padding: 0; }
.standband { display: flex; align-items: center; gap: 12.5px; padding: 12.5px 14.5px; background: #f1ece4; color: #5a534a; }
.standband.yes { background: #e3f1e8; color: #23583b; }
.standband.no, .standband.bad { background: #fbe6e3; color: #94302a; }
.standband.opened { background: #e6eef8; color: #2f4f7a; }
.standband.unsent { background: #fdf3dc; color: #7a5200; }
.standband .mark { flex: none; width: 25px; text-align: center; font-size: 21.6px; line-height: 1; }
.standband strong { display: block; font-family: var(--display); font-weight: 400; font-size: 18.9px; }
.standband small { font-size: 12.2px; }
.pnums { display: grid; grid-template-columns: 1fr 1fr; gap: 0 21.5px; }
.pnums > div + div { border-left: 1px solid #e6dccb; padding-left: 21.5px; }
.pnums strong { display: block; margin-top: 3.5px; font-family: var(--display); font-weight: 400; font-size: 18.9px; }
.pnums small, .pextra p:not(.overline) { color: var(--muted); font-size: 12.2px; }
.pextra p:not(.overline) { color: var(--ink); font-size: 13.1px; margin-top: 2px; }
.factrows .frow { display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; border-bottom: 1px solid #e6dccb; font-size: 13.1px; overflow-wrap: anywhere; }
.factrows .frow:last-child { border-bottom: 0; }
.factrows .plusglyph { color: var(--accent); font-size: 17.1px; margin-top: 1px; }
.factrows small { display: block; color: var(--muted); font-size: 11.7px; }
.factrows .frow.faint span { color: var(--muted); }
.factrows .frow.warn span, .factrows .frow.warn small { color: #8a5a00; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 12.5px 23.5px; display: grid; gap: 1px; font-size: 13.1px; }
.timeline li::before { content: ''; position: absolute; left: 3.5px; top: 5.5px; width: 6.5px; height: 6.5px; background: var(--accent); transform: rotate(45deg); }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 6.5px; top: 14.5px; bottom: 2px; width: 1px; background: #d9c9ae; }
.timeline small { color: var(--muted); font-size: 11.7px; }
.groupspanel .row input { flex: 1 1 180px; max-width: 288px; }
@media (max-width: 760px) {
  .profilegrid { grid-template-columns: minmax(0, 1fr); }
  .pcard { padding: 18px 18px 20px; }
  .profilehead > .avatar, .photobtn .avatar { width: 101px; height: 101px; font-size: 36px; }
  .hlist, .factlist { padding: 2px 16px; }
  .hplace, .hcontact { display: none; }
  .hlist.people .hmeta .where { display: inline; }
  .hrow { flex-wrap: wrap; gap: 11px; }
  .hacts { order: 1; flex-basis: 100%; justify-content: flex-start; max-width: none; padding-left: 50.5px; }
  .hrow > .pick { width: 75.5px; }
  .howreply, .linkcard, .socialcard, .fromcard { padding: 20px 20px; }
  .fromlist { grid-template-columns: minmax(0, 1fr); }
  .statcards .statcard span { font-size: 9px; letter-spacing: .08em; white-space: normal; overflow: visible; }
}

/* ---- The wedding's sidebar and header band (editor.js drawRail, drawHead) ----
   As Aaron's inspiration: the wedding at the top with its picture, ten
   groups that open to their pages, and a picture of where they marry at
   the foot; over the pages, a band with the cover photo fading in from the
   right, the names, the day, and, on a narrow screen, tabs. Icons stand alone in their line;
   nothing sits on a pale circle. */
.sections { display: none !important; }
.weddinghead[hidden] { display: none; }
.weddinghead { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); padding: 23.5px 36px 0; display: grid; gap: 12.5px; }
.headphoto { position: absolute; inset: 0 0 0 auto; width: min(62%, 684px); pointer-events: none; }
.headphoto img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 38%, #000 75%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 38%, #000 75%); opacity: .9; }
.headtop { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 14.5px; }
.headwords { display: grid; gap: 5.5px; min-width: 0; }
.headnames { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(27px, 3.4vw, 41.4px); line-height: 1.05; letter-spacing: -.015em; color: var(--ink); }
.headline { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 3.5px 9px; font-size: 13.5px; color: #4a443c; }
.headline .dot { color: var(--muted); font-size: 9px; }
.headacts { display: flex; align-items: center; gap: 9px; flex: none; }
.headbell { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,253,248,.92); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 3.5px 12.5px -7px rgba(31,27,22,.35); }
.headbell:hover { color: var(--accent); }
.headaccount, .headmore { position: relative; }
.headnew { position: relative; }
.headnewbtn { position: relative; padding: 0; cursor: pointer; font: inherit; }
.headnewbtn[aria-expanded=true] { color: var(--accent); }
/* The count: the wedding's color, ringed with the page so it stands off the button. */
.newbadge { position: absolute; top: -6.5px; right: -6.5px; min-width: 18px; height: 18px; padding: 0 4.5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.3px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--paper); }
.newpanel { position: absolute; right: 0; top: calc(100% + 9px); z-index: 60; width: 342px; max-height: min(70vh, 576px); overflow-y: auto; padding: 14.5px 9px 9px; background: #fff; border-radius: 14.5px; box-shadow: 0 20px 43px -16px rgba(31,27,22,.4), 0 2px 5.5px rgba(31,27,22,.06); }
.newhead { margin: 0 9px 7px; font-family: var(--display); font-size: 19.8px; color: var(--ink); }
.newgroup { margin: 11px 9px 3.5px; font-size: 10.8px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.newrow { display: flex; align-items: center; gap: 11px; padding: 9px; border-radius: 9px; color: var(--ink); text-decoration: none; }
.newrow:hover { background: var(--paper); }
.newicon { flex: none; display: grid; color: var(--accent); }
.newicon svg { width: 18px; height: 18px; }
.newwords { flex: 1; min-width: 0; display: grid; gap: 1px; }
.newwords strong { font-weight: 500; font-size: 13.1px; line-height: 1.3; overflow-wrap: anywhere; }
.newrow.fresh .newwords strong { font-weight: 650; }
.newwords small { color: var(--muted); font-size: 11.2px; }
.newrow > svg { flex: none; width: 14.5px; height: 14.5px; color: var(--muted); transform: rotate(-90deg); }
.newdot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.newnone, .newmore { margin: 7px 9px; }
.newfoot { margin: 9px 9px 3.5px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12.2px; }
@media (max-width: 520px) {
  .newpanel { position: fixed; left: 14.5px; right: 14.5px; top: 68.5px; width: auto; } /* top: set under the button (whatsnewscreens.js) */
}
.headme { padding: 0; border: 2px solid #fffdf8; border-radius: 50%; background: none; box-shadow: 0 3.5px 12.5px -5.5px rgba(31,27,22,.45); }
.meface { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #fffdf8; font-family: var(--display); font-size: 14.4px; color: var(--accent); }
.headmenu { position: absolute; right: 0; top: calc(100% + 7px); z-index: 50; min-width: 198px; display: grid; gap: 2px; padding: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 16px 36px -14.5px rgba(31,27,22,.35); }
.headmore .headmenu { left: 0; right: auto; }
.headmenu a, .headmenu .link { display: block; padding: 8px 11px; border-radius: 7px; color: var(--ink); text-decoration: none; font-size: 13.1px; font-weight: 500; text-align: left; width: 100%; }
.headmenu a:hover, .headmenu .link:hover { background: var(--paper); }
.headmenu a[aria-current=page] { color: var(--accent); }
.headmenu .railpro:empty { display: none; }
.headmenu .railpro a { display: flex; align-items: center; gap: 7px; color: var(--accent); }
.headmenuwho { margin: 2px 11px 5.5px; font-size: 11.2px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The account at the top of its menu: the picture, the name and email, and a way to change the picture. */
.headmenume { display: flex; align-items: center; gap: 11px; padding: 7px 11px 9px; margin-bottom: 3.5px; border-bottom: 1px solid var(--line); }
.menuface { flex: none; width: 47px; height: 47px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #fffdf8; border: 1px solid var(--line); font-family: var(--display); font-size: 17.1px; color: var(--accent); }
.headmenuwords { display: grid; gap: 1px; min-width: 0; }
.headmenuwords strong { font-size: 13.1px; font-weight: 600; overflow-wrap: anywhere; }
.headmenume .headmenuwho { margin: 0; }
.headmenu .headmenume .link { width: auto; padding: 2px 0 0; font-size: 12.2px; font-weight: 600; color: var(--accent); }
.headmenu .headmenume .link:hover { background: none; text-decoration: underline; }
.headtabs { position: relative; display: flex; align-items: flex-end; gap: 27px; overflow-x: auto; scrollbar-width: none; }
.headtabs > a, .headmorebtn { flex: none; padding: 7px 0 11px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: #4a443c; font-size: 13.5px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 3.5px; }
.headtabs > a:hover, .headmorebtn:hover { color: var(--ink); }
.headtabs > a[aria-current=page], .headmorebtn.on { color: var(--ink); border-bottom-color: var(--accent); }
.headmorebtn svg { width: 13.5px; height: 13.5px; }
.headmore { flex: none; }
.headsub { display: none; }
body[data-view="editor"] .weddinghead { display: none; }

.rail .railgroup, .rail .railsub a { text-decoration: none; }
@media (min-width: 960px) {
  body.railed { padding-left: 241px; }
  .rail:not([hidden]) { width: 241px; padding: 21.5px 16px 16px; gap: 14.5px; background: #fbf6f2; border-right: 1px solid #efe4da; }
  .rail .brand { font-size: 25.2px; padding: 0 5.5px; }
  .rail .railwedding { display: flex; align-items: center; gap: 11px; padding: 7px 5.5px; border: 0; border-radius: 11px; background: none; width: 100%; }
  .rail .railwedding:has(.railweddingname:hover) { background: #f4ebe4; }
  /* The picture goes to Your account; the names to the wedding, or to another. */
  .rail .railfacelink { flex: none; display: grid; border-radius: 50%; }
  .rail .railfacelink:hover .railface { box-shadow: 0 0 0 2px var(--accent); }
  .rail .railweddingname { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; text-decoration: none; }
  .railface { flex: none; width: 47px; height: 47px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #fffdf8; border: 1px solid #e3d5c7; font-family: var(--display); font-size: 17.1px; color: var(--accent); }
  .railnames { display: grid; gap: 2px; min-width: 0; flex: 1; }
  .railnames strong { font-family: var(--text, 'Inter', sans-serif); font-weight: 600; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
  .railnames small { color: var(--muted); font-size: 11.7px; }
  .railweddingname > svg { flex: none; color: var(--muted); }
  .rail nav { display: grid; gap: 3.5px; }
  .rail .railgroup { display: flex; align-items: center; gap: 12.5px; width: 100%; padding: 10px 12.5px; border: 0; border-radius: 11px; background: none; color: #3d372f; font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; }
  .rail .railgroup span { flex: 1; }
  .rail .railgroup svg { flex: none; width: 18px; height: 18px; color: #5a534a; }
  .rail .railgroup svg:last-child:not(:first-child) { width: 14.5px; height: 14.5px; transition: transform .15s; }
  .rail .railgroup[aria-expanded=true] svg:last-child { transform: rotate(180deg); }
  .rail .railgroup:hover { background: #f4ebe4; }
  .rail a.railgroup[aria-current=page], .rail .railset.here > .railgroup { background: #f6e3dc; color: var(--accent); }
  .rail a.railgroup[aria-current=page] svg, .rail .railset.here > .railgroup svg { color: var(--accent); }
  .railsub { display: grid; gap: 1px; margin: 2px 0 5.5px 21.5px; padding-left: 18px; border-left: 1px solid #e8dace; }
  .railsub a { padding: 6.5px 11px; border-radius: 8px; color: #4a443c; font-size: 13.1px; }
  .railsub a:hover { background: #f4ebe4; color: var(--ink); }
  .railsub a[aria-current=page] { color: var(--accent); font-weight: 600; }
  .raildest { margin-top: auto; flex: none; border-radius: 14.5px; overflow: hidden; background: #f6e9e2; box-shadow: 0 9px 21.5px -14.5px rgba(31,27,22,.45); }
  .raildest img { display: block; width: 100%; height: 106px; object-fit: cover; }
  .raildestwords { display: grid; justify-items: center; gap: 2px; padding: 12.5px 11px 12.5px; text-align: center; }
  .raildestwords strong { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--ink); }
  .raildestwords small { color: var(--muted); font-size: 11.7px; }
  .raildestwords .link { font-size: 11.2px; padding: 2px 0 0; }
  .raildest.empty { background: none; border: 1.5px dashed #e0cfc2; box-shadow: none; }
}
@media (max-width: 959px) {
  .weddinghead { padding: 16px 16px 0; gap: 9px; }
  .headphoto { width: 75%; }
  .headline { font-size: 12.2px; }
  .headtabs { gap: 20px; }
  .headsub { display: flex; gap: 5.5px; overflow-x: auto; scrollbar-width: none; padding: 0 0 11px; }
  .headsub a { flex: none; padding: 5.5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,253,248,.9); color: #4a443c; font-size: 12.2px; font-weight: 500; text-decoration: none; }
  .headsub a[aria-current=page] { border-color: var(--accent); color: var(--accent); }
}
@media (min-width: 960px) {
  .rail a.railweddingname, .rail a.railweddingname:hover, .rail .railfacelink { text-decoration: none; }
  .rail .railgroup { gap: 11px; padding: 9px 11px; font-size: 13.5px; white-space: nowrap; }
  .rail .railsub a, .rail .railsub a:hover { background: none; }
  .rail .railsub a[aria-current=page] { background: none; color: var(--accent); }
  .rail .railsub a::before { content: none !important; }
}

/* ---- The guest list as a table (guestlist.js guestTable) ----
   Close rows for long lists, as the inspiration: a household to a row,
   columns that sort, a menu at the end of each. */
.stage[data-view="guests"] { max-width: 1240px; }
.pagelede { margin: 5.5px 0 0; }
.gcards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12.5px; }
.gcard { display: flex; align-items: center; gap: 12.5px; padding: 18px 16px; border: 0; border-radius: 0; font: inherit; color: inherit; text-align: left; }
button.gcard { cursor: pointer; }
button.gcard:hover::before { border-color: var(--accent); }
button.gcard[aria-pressed=true] { box-shadow: 0 0 0 2px var(--accent), 0 20px 39.5px -29px rgba(31,27,22,.45); }
.gcard .plusglyph { font-size: 23.4px; color: var(--accent); }
/* Each card washed in a light shade of its icon's color, its frame a deeper one. */
.gcard.all { background: #fbebe5; }
.gcard.all .plusglyph { color: #a8502f; }
.gcard.good { background: #e8f2ea; }
.gcard.good .plusglyph { color: #2f6b4a; }
.gcard.wait { background: #fbf1dc; }
.gcard.wait .plusglyph { color: #8a5a00; }
.gcard.bad { background: #fbe8e6; }
.gcard.bad .plusglyph { color: #a3312a; }
.gcard.homes { background: #f0eaf6; }
.gcard.homes .plusglyph { color: #5c4378; }
.gcard.sent { background: #e7eef7; }
.gcard.sent .plusglyph { color: #2f4f7a; }
.gcard.all::before { border-color: #ecc9bb; }
.gcard.good::before { border-color: #bfd8c5; }
.gcard.wait::before { border-color: #ead3a0; }
.gcard.bad::before { border-color: #ecc3be; }
.gcard.homes::before { border-color: #d6c8e4; }
.gcard.sent::before { border-color: #c3d3e8; }
/* No hairline frame inside the Households and Replies cards: just the wash.
   The one under the pointer gets a thin edge in the accent instead. */
.gcard::before, .statcard.tint::before { display: none; }
button.gcard:hover:not([aria-pressed=true]), button.statcard.tint:hover:not([aria-pressed=true]) { box-shadow: 0 0 0 1px var(--accent), 0 20px 39.5px -29px rgba(31,27,22,.45); }
.gfig { display: grid; gap: 1px; min-width: 0; }
.gfig strong { font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1; }
.gfig span { font-size: 12.2px; color: #4a443c; }
.gfig small { font-size: 11.2px; color: var(--muted); }
.hlist.astable { padding: 0; }
.hlist.astable::before { display: none; }
.gtablewrap { overflow-x: auto; }
.gtable { width: 100%; border-collapse: collapse; font-size: 12.6px; min-width: 810px; }
.gtable th { text-align: left; padding: 12.5px 11px; font-size: 11.7px; font-weight: 600; color: #4a443c; white-space: nowrap; border-bottom: 1px solid #e6dccb; background: #fffdf8; }
/* A wedding's page before its script has run (only the heart in it): on a wide screen the
   sidebar's place is there from the first paint, so nothing moves across when it arrives.
   Not the account page, which has no sidebar. */
@media (min-width: 960px) {
  body[data-section]:not([data-section="profile"]):not(.railed):has(> #app > .opening:only-child) { padding-left: 241px; }
  body[data-section]:not([data-section="profile"]):not(.railed):has(> #app > .opening:only-child) header.bar { display: none; }
  body[data-section]:not([data-section="profile"]):not(.railed):has(> #app > .opening:only-child)::before { content: ''; position: fixed; left: 0; top: 0; bottom: 0; width: 241px; background: #fbf6f2; border-right: 1px solid #efe4da; }
}

/* The guest list's search and filters, kept at the top of the window once scrolled to, on the page's paper so the list passes under them; More filters, when open, scrolls inside them. A hairline under them once stuck (guestlist.js, pinHead). */
.gstick { position: sticky; top: 0; z-index: 5; display: flex; flex-direction: column; gap: 11px; margin: -9px -7px; padding: 9px 7px; background: var(--paper, #fbf8f3); }
.gstick.stuck { box-shadow: 0 1px 0 #e6dccb; }
.gstick .morefilters { max-height: 55vh; overflow: auto; }
/* The header row, kept at the top of the window over the rows (guestlist.js, pinHead); a shadow under it once it is. */
.gtable thead { position: relative; z-index: 2; }
.gtable thead.stuck th { box-shadow: 0 1px 0 #e6dccb, 0 7px 12.5px -9px rgba(31,27,22,.4); }
.gtable td { padding: 8px 11px; border-bottom: 1px solid #efe6d8; vertical-align: middle; }
.gtable tbody tr:last-child td { border-bottom: 0; }
.gtable tbody tr { cursor: pointer; }
.gtable tbody tr:hover td { background: #fbf6f0; }
.gtable tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gtable tr.chosen td { background: #f8efe6; }
.sortbtn { display: inline-flex; align-items: center; gap: 5.5px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.sortbtn .sortmark { font-size: 9.9px; color: #b3aa9c; }
.sortbtn.on, .sortbtn.on .sortmark { color: var(--accent); }
.gname { min-width: 198px; }
.gname { display: flex; align-items: center; gap: 11px; }
td.gname { display: table-cell; }
td.gname > * { vertical-align: middle; }
td.gname .avatar { display: inline-grid; width: 32.5px; height: 32.5px; font-size: 12.6px; margin-right: 11px; }
td.gname .hwho { display: inline-grid; gap: 1px; }
.gtable .hwho strong { font-family: var(--text, 'Inter', sans-serif); font-weight: 600; font-size: 13.1px; }
.gtable .hwho small { font-size: 11.2px; color: var(--muted); }
.gtable .hwho small.warn { color: #8a5a00; }
.ggroups { white-space: nowrap; }
.ggroups .gtag { display: inline-block; margin-right: 5.5px; border: 0; border-radius: 999px; padding: 2.5px 9px; font-size: 11.2px; font-weight: 500; }
.gtag.hue-rose { background: #fbe9e4; color: #8f3b2a; }
.gtag.hue-sage { background: #e7efe5; color: #3d6343; }
.gtag.hue-sky { background: #e5edf6; color: #2f4f7a; }
.gtag.hue-sand { background: #f7eedb; color: #7a5a1c; }
.gtag.hue-lilac { background: #eee7f3; color: #5c4378; }
.ginvite { white-space: nowrap; color: #3d372f; }
.ginvite .plusglyph { font-size: 14.4px; margin-right: 5.5px; vertical-align: -2.5px; color: #5a534a; }
.ginvite.unsent { color: var(--muted); }
.ginvite.unsent .plusglyph { color: #b3aa9c; }
.ginvite.bounced, .ginvite.bounced .plusglyph { color: #a3312a; }
.grsvp { white-space: nowrap; }
.grsvp small { display: block; margin-top: 2.5px; font-size: 10.8px; color: var(--muted); white-space: normal; }
.gparty { text-align: center; font-variant-numeric: tabular-nums; }
.gdiet, .gnotes { color: #4a443c; }
.gnotes { max-width: 198px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gtable .faint { color: #b3aa9c; }
.gmenu { position: relative; width: 39.5px; text-align: right; }
.gmenu .dots { padding: 2px 7px; border: 0; border-radius: 7px; background: none; font-size: 18px; line-height: 1; color: #4a443c; letter-spacing: 1px; }
.gmenu .dots:hover, .gmenu .dots[aria-expanded=true] { background: #f1e7dc; }
.rowmenu { position: fixed; z-index: 70; display: grid; gap: 2px; min-width: 189px; padding: 7px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 16px 36px -14.5px rgba(31,27,22,.35); cursor: default; }
.rowmenu > button { display: block; width: 100%; padding: 8px 11px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: 12.6px; font-weight: 500; }
.rowmenu > button:hover { background: var(--paper); }
.rowmenu .rowsend { display: grid; gap: 5.5px; padding: 7px 11px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 3.5px 0; }
.rowmenu .rowsend .hacts { justify-content: flex-start; max-width: 234px; padding: 0; }
.gtable td.gpick, .gtable th.gpick { width: 1%; white-space: nowrap; }
.gtable td.gsel, .gtable th.gsel { width: 1%; padding-right: 0; cursor: default; }
.gtable .gsel input { display: block; width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }
/* The bar over the table while households are ticked: how many, and what to do to them all. */
.bulkwrap[hidden] { display: none; }
.gmore { display: flex; justify-content: center; padding: 12.5px; }
.gmore button { font-size: 12.6px; }
.bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14.5px; padding: 11px 14.5px; margin-bottom: 11px; border: 1px solid var(--accent); border-radius: 11px; background: #fbf3ec; }
.bulkbar > strong { font-size: 13.1px; font-weight: 600; }
.bulkacts { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-left: auto; }
.bulkacts > button:not(.link) { display: inline-flex; align-items: center; gap: 5.5px; padding: 6.5px 11px; font-size: 12.6px; }
.bulkacts .plusglyph { font-size: 15.3px; }
.bulkacts .danger { color: #a3312a; }
.bulkgroup { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.bulkgroup input { flex: 1 1 180px; max-width: 288px; font: inherit; font-size: 13.5px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; }
@media (max-width: 760px) { .bulkacts { margin-left: 0; } }
.gtable .gpick .pick { width: auto; padding: 0; }
@media (max-width: 1180px) { .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Six across on a laptop leaves the label no room beside the icon, so the icon
   goes up beside the number and the label runs under both, no taller. */
@media (min-width: 1181px) and (max-width: 1500px) {
  .gcard { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; gap: 1px 9px; padding: 16px 12.5px; }
  .gfig { display: contents; }
  .gfig span, .gfig small { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .gcard { padding: 14.5px 12.5px; gap: 9px; }
  .gfig strong { font-size: 21.6px; }
  /* The names stay in view as the table scrolls sideways, and their
     header with them (the second column: the tick boxes come first). */
  .gtable td.gname, .gtable th:nth-child(2) { position: sticky; left: 0; z-index: 1; background: #fffdf8; }
  .gname { min-width: 171px; }
}
.gtable tr.hrow { display: table-row; padding: 0; margin: 0; border: 0; gap: 0; }
.gtable tr.hrow.chosen { margin: 0; padding: 0; }
@media (min-width: 761px) {
  .toolbar .search { flex: 1 1 144px; max-width: 306px; }
  .toolbar .filterrow { flex: 0 1 auto; }
}
td.gname { white-space: nowrap; }
.gtable .hwho small { white-space: normal; max-width: 252px; }
.weddinghead { overflow: visible; z-index: 30; }
.headphoto { overflow: hidden; }
@media (min-width: 960px) {
  /* The sidebar is the way around here; the band's tabs are for narrow screens. */
  .headtabs { display: none; }
  .weddinghead { padding-bottom: 21.5px; }
  .rail:not([hidden]) { gap: 11px; padding-top: 18px; }
  .rail .railgroup { padding: 8px 11px; }
  .raildest img { height: 93.5px; }
  .raildestwords { padding: 9px 11px 11px; }
}
/* The sidebar keeps its bar's room too, out of its own margin, so opening a
   group that makes it scroll doesn't nudge everything in it across. */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  @supports selector(::-webkit-scrollbar) {
    .rail:not([hidden]) { scrollbar-gutter: stable; padding-right: 7px; }
  }
}
@media (max-width: 959px) {
  /* The account and help are in the band's menu; the bar keeps the logo. */
  body.railed header.bar #who, body.railed header.bar #signout, body.railed header.bar .barhelp { display: none; }
  body.railed header.bar { border-bottom: 0; padding-bottom: 3.5px; }
  .headphoto img { opacity: .5; }
}
@media (max-width: 760px) {
  .gtable .hwho small { max-width: 135px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
}
.dietfield { display: flex; flex-direction: column; gap: 5.5px; font-size: 12.6px; color: var(--muted); }

/* Venues and vendors as cards: a search with filters, results beside a map,
   and each one opening on a page of its own, its pictures and what the couple
   found out on the left, and how to book it on the right. */
.stage[data-view="vendors"] .vsearch { display: grid; gap: 9px; }
.stage[data-view="vendors"] .vsearch .search { width: 100%; max-width: none; padding-left: 32.5px; background: #fffdfa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23857c70' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center no-repeat; }
.stage[data-view="vendors"] .vcount { display: flex; align-items: baseline; justify-content: space-between; gap: 11px; }
.stage[data-view="vendors"] .vcount h2, .stage[data-view="vendors"] .vcount h3 { margin: 0; }
.stage[data-view="vendors"] .vcount small { color: var(--muted); white-space: nowrap; }
.stage[data-view="vendors"] .vfindgrid { display: grid; gap: 14.5px; align-items: start; }
.stage[data-view="vendors"] ul.vcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.stage[data-view="vendors"] .vcard > .vheart { order: 3; }
.stage[data-view="vendors"] .vcard { display: flex; gap: 12.5px; min-width: 0; padding: 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14.5px; box-shadow: 0 1px 2px rgba(31,27,22,.04); transition: border-color .12s; }
.stage[data-view="vendors"] .vcard.chosen { border-color: var(--accent); }
.stage[data-view="vendors"] .vcard.passed { opacity: .6; }
.stage[data-view="vendors"] .vpicture { flex: none; width: 93.5px; height: 93.5px; object-fit: cover; border-radius: 11px; }
.stage[data-view="vendors"] .vwords { display: grid; gap: 3.5px; min-width: 0; flex: 1; align-content: start; }
.stage[data-view="vendors"] .vwords small { color: var(--muted); }
.stage[data-view="vendors"] .vtitle { display: flex; justify-content: space-between; gap: 9px; align-items: baseline; }
.stage[data-view="vendors"] button.vname { all: unset; cursor: pointer; font-family: var(--display); font-size: 17.1px; line-height: 1.25; overflow-wrap: anywhere; }
.stage[data-view="vendors"] button.vname:hover { color: var(--accent); }
.stage[data-view="vendors"] button.vname:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stage[data-view="vendors"] .vtitle small { flex: none; }
.stage[data-view="vendors"] .vlabels { display: flex; flex-wrap: wrap; align-items: center; gap: 5.5px; margin-top: 3.5px; }
.stage[data-view="vendors"] .vlabels select { padding: 3.5px 7px; max-width: 153px; font-size: 12.2px; }
.stage[data-view="vendors"] .vwords .row { margin-top: 5.5px; gap: 7px; align-items: center; }
.stage[data-view="vendors"] .vwords .plusglyph svg, .stage[data-view="vendors"] .vside .plusglyph svg, .stage[data-view="vendors"] .vbody a .plusglyph svg { width: 13.5px; height: 13.5px; }
.stage[data-view="vendors"] .vwords .small, .stage[data-view="vendors"] .vside .small { display: inline-flex; align-items: center; gap: 5.5px; }
.vheart { flex: none; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--accent); }
.vheart svg { width: 18px; height: 18px; }
.vheart.on svg { fill: currentColor; }
.stage[data-view="vendors"] .vgroup { display: grid; gap: 11px; }
.stage[data-view="vendors"] .vcompare { justify-self: start; }
.stage[data-view="vendors"] .placesmap { width: 100%; height: 270px; border-radius: 14.5px; overflow: hidden; border: 1px solid var(--line); }
.stage[data-view="vendors"] .vtotals { display: flex; gap: 29px; flex-wrap: wrap; }
.stage[data-view="vendors"] .vtotals div { display: grid; gap: 2px; }
.stage[data-view="vendors"] .vtotals strong { font-family: var(--display); font-weight: 400; font-size: 21.6px; }
.stage[data-view="vendors"] .vtotals small { color: var(--muted); }
.stage[data-view="vendors"]:has(.vpage) { gap: 12.5px; }
.vcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 5.5px; font-size: 12.2px; color: var(--muted); }
.vcrumb svg { width: 12.5px; height: 12.5px; transform: rotate(-90deg); }
.vcrumb button.link { padding: 0; color: var(--muted); }
.vcrumb [aria-current] { color: var(--ink); }
.vpage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14.5px; }
.vpage .vtop, .vpage .vparts, .vpage .vaside { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.vpage .vtop { gap: 9px; }
.vpage .vnamerow { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14.5px; }
.vpage .vnamerow h1 { margin: 0; min-width: 0; overflow-wrap: anywhere; font-family: var(--display); font-weight: 400; }
.vpage .vsaved { display: inline-flex; align-items: center; gap: 5.5px; }
.vpage .vsaved svg { width: 15.5px; height: 15.5px; color: var(--accent); }
.vpage .vsaved.on { border-color: var(--tint); background: var(--tint); color: var(--deep); }
.vpage .vsaved.on svg { fill: currentColor; }
.vpage .vmeta { display: flex; flex-wrap: wrap; gap: 3.5px 12.5px; margin: 0; color: var(--muted); }
.vpage .vmeta span { display: inline-flex; align-items: center; gap: 3.5px; }
.vpage .vmeta svg { width: 13.5px; height: 13.5px; }
.vpage .vapplelink { align-self: flex-start; padding: 0; font-size: 12.2px; }
.vpage .vlabels { display: flex; flex-wrap: wrap; gap: 5.5px; }
.vpage .vactions { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0; }
.vpage .vaction { flex: 1 1 79px; max-width: 135px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5.5px; min-height: 61px; padding: 9px 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; color: var(--muted); font-size: 11.2px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none; }
.vpage a.vaction:hover, .vpage button.vaction:hover:not(:disabled) { border-color: var(--accent); background: var(--surface) !important; }
.vpage .vaction svg { width: 18px; height: 18px; color: var(--accent); }
.vpage .vaction.on, .vpage button.vaction.on:hover:not(:disabled) { background: var(--accent) !important; border-color: var(--accent); color: #fff; }
.vpage .vaction.on svg { color: #fff; fill: currentColor; }
.vgallery { display: grid; gap: 7px; grid-template-columns: minmax(0, 1fr); }
.vgallery .vlarge { position: relative; overflow: hidden; height: 270px; border-radius: 11px; background: #f3efe9; }
.vgallery .vlarge > img, .vgallery .vaerial { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vgallery .vaerial canvas { pointer-events: none; }
.vgallery .vtile { display: grid; place-items: center; align-content: center; gap: 3.5px; width: 100%; background: #f3efe9; color: var(--accent); }
.vgallery .vthumb .vtile { height: 100%; }
.vgallery .vlarge.vtile svg { width: 25px; height: 25px; }
.vgallery .vthumb .vtile svg { width: 18px; height: 18px; }
.vgallery .vtile small { color: var(--muted); font-size: 9.9px; }
.vgallery .vapple { position: absolute; left: 9px; bottom: 7px; color: #fff; font-size: 9.9px; text-shadow: 0 0 3.5px rgba(0,0,0,.7); pointer-events: none; }
.vgallery .vcounter { position: absolute; right: 9px; bottom: 9px; padding: 2.5px 8px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 10.8px; font-weight: 500; }
.vgallery button.vgo { position: absolute; top: 50%; right: 9px; width: 32.5px; height: 32.5px; padding: 0; display: grid; place-items: center; transform: translateY(-50%); background: var(--surface); border: 0; box-shadow: 0 2px 7px rgba(31,27,22,.2); color: var(--ink); }
.vgallery button.vgo.back { right: auto; left: 9px; }
.vgallery button.vgo:hover:not(:disabled) { background: var(--surface) !important; }
.vgallery button.vgo svg { width: 14.5px; height: 14.5px; transform: rotate(-90deg); }
.vgallery button.vgo.back svg { transform: rotate(90deg); }
.vgallery .vsmall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.vgallery button.vthumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 9px; background: #f3efe9; }
.vgallery button.vthumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vgallery .vmore { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; background: rgba(31,27,22,.62); color: #fff; }
.vgallery .vmore strong { font-size: 18px; font-weight: 600; }
.vgallery .vmore small { font-size: 10.8px; }
.vpage .vside { display: flex; flex-direction: column; gap: 9px; padding: 14.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14.5px; }
.vpage .vside > p { margin: 0; }
.vpage .vside .vcount { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.vpage .vside h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 18px; }
.vpage .vside h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 16.2px; }
.vpage .vside .vcount small { color: var(--muted); }
.vpage .vside .vcount .link { padding: 0; font-size: 12.2px; }
.vpage .vside select { width: 100%; }
.vpage .vside > button, .vpage .vside > .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.vpage .vside > button svg { width: 14.5px; height: 14.5px; }
.vpage .vside > small { color: var(--muted); text-align: center; }
.vpage .vside > .tag { align-self: flex-start; }
.vpage .vprivate { display: flex; gap: 5.5px; text-align: left !important; }
.vpage .vprivate .plusglyph { flex: none; margin-top: 1px; }
.vpage dl { margin: 0; display: grid; gap: 6.5px; }
.vpage .vfact { display: grid; grid-template-columns: 113.5px minmax(0, 1fr); gap: 9px; font-size: 12.6px; }
.vpage .vfact dt { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.vpage .vfact dt .plusglyph { flex: none; }
.vpage .vfact dd { margin: 0; overflow-wrap: anywhere; }
.vpage .vfact a { color: var(--accent); }
.vpage ol.vchecks { list-style: none; counter-reset: ask; margin: 0; padding: 0; display: grid; }
.vpage .vchecks li { counter-increment: ask; border-top: 1px solid var(--line); }
.vpage .vchecks li:first-child { border-top: 0; }
.vpage .vchecks form { padding: 7px 0; display: flex; gap: 7px; }
.vpage .vchecks input { flex: 1; min-width: 0; }
.vpage button.vcheck { all: unset; box-sizing: border-box; display: flex; gap: 9px; align-items: center; width: 100%; padding: 7px 0; cursor: pointer; font-size: 12.6px; }
.vpage button.vcheck > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.vpage button.vcheck > span:nth-child(2)::before { content: counter(ask) ". "; }
.vpage button.vcheck > .plusglyph { flex: none; color: var(--muted); transform: rotate(-90deg); }
.vpage button.vcheck:disabled { cursor: default; }
.vpage button.vcheck:focus-visible { outline: 2px solid var(--accent); }
.vpage button.vcheck small { display: block; color: var(--muted); }
.vpage .vring { flex: none; width: 18px; height: 18px; display: grid; place-items: center; border: 1.5px solid #c9beb0; border-radius: 50%; }
.vpage .vring.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.vpage .vring svg { width: 11.5px; height: 11.5px; }
.vpage textarea { width: 100%; box-sizing: border-box; resize: vertical; }
.vpage .vtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12.5px; }
.vpage .vtiles > div { display: flex; gap: 9px; min-width: 0; }
.vpage .vtiles .plusglyph { flex: none; color: var(--accent); }
.stage[data-view="vendors"] .vpage .vtiles .plusglyph svg { width: 20px; height: 20px; }
.vpage .vtiles strong { display: block; font-size: 12.2px; font-weight: 600; }
.vpage .vtiles small { display: block; color: var(--muted); font-size: 11.7px; overflow-wrap: anywhere; }
.vpage ul.vhighlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 5.5px; font-size: 12.6px; }
.vpage .vhighlights li { display: flex; gap: 7px; }
.vpage .vhighlights .plusglyph { flex: none; margin-top: 2px; color: var(--accent); }
.vpage .vstrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 7px; }
.vpage .vstrip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.vpage .vphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 7px; }
.vpage .vphotos figure { position: relative; margin: 0; }
.vpage .vphotos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.vpage .vphotos .vclose { position: absolute; top: 5.5px; right: 5.5px; width: 29px; height: 29px; padding: 0; display: grid; place-items: center; background: var(--surface); border: 0; }
.vpage .vphotos .vclose svg { width: 12.5px; height: 12.5px; }
/* Below two columns, the checklist and notes are reached by their tabs. */
@media (max-width: 1179px) {
  .vpage .vaside > :not(:first-child) { display: none; }
}
@media (min-width: 620px) {
  .vgallery { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .vgallery.one { grid-template-columns: minmax(0, 1fr); }
  .vgallery .vsmall { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
  .vgallery button.vthumb { aspect-ratio: auto; height: 131.5px; }
  .vgallery .vsmall:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
  .vgallery .vsmall:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
  .vgallery .vsmall:has(> :only-child) button.vthumb { height: 270px; }
  .vpage .vtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .vpage { grid-template-columns: minmax(0, 1fr) 306px; grid-template-rows: auto 1fr; align-items: start; gap: 14.5px 18px; }
  .vpage .vtop { grid-column: 1; grid-row: 1; }
  .vpage .vparts { grid-column: 1; grid-row: 2; }
  .vpage .vaside { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 560px) { .stage[data-view="vendors"] ul.vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .stage[data-view="vendors"] .vfindgrid.mapped { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stage[data-view="vendors"] .vmapside { position: sticky; top: 14.5px; }
  .stage[data-view="vendors"] .placesmap { height: min(70vh, 576px); }
}

/* The schedule: a day at a time, each thing with its picture, when and where,
   and who it's for, and its editor beside the list on a wide screen. */
.splan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.splan.editing .sedit { order: -1; }
.sdays { display: flex; flex-direction: column; gap: 14.5px; min-width: 0; }
.sdayhead { display: flex; align-items: center; justify-content: space-between; gap: 11px; padding: 11px 14.5px; background: var(--tint); border: 1px solid var(--line); border-bottom: 0; border-radius: 12.5px 12.5px 0 0; }
.sdayhead h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 11px; margin: 0; font-size: 17.1px; }
.sdayhead h2 span { font-family: var(--text, 'Inter', sans-serif); font-size: 12.2px; font-weight: 500; color: var(--muted); }
.sdayhead .small { flex: none; white-space: nowrap; margin: 0; }
.sdayhead h2 span.named { color: var(--accent); font-weight: 600; }
.sdayacts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.sdayacts button.small.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.sdayname { align-items: flex-end; flex-wrap: wrap; }
.sdaynamebox { flex: 1 1 260px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sdaynamebox label { display: flex; flex-direction: column; gap: 4.5px; margin: 0; }
.sdaynamebox label span { font-size: 12.2px; font-weight: 600; color: var(--muted); }
.sdaynamebox .chips { margin-left: 0; }
.sdaynamebox .note { margin: 0; }
.sday .slist { overflow: hidden; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 12.5px 12.5px; }
.srow.sitem { display: grid; grid-template-columns: 86.5px minmax(0, 1fr) auto auto; align-items: center; gap: 12.5px; padding: 11px 12.5px; }
.srow.sitem.open { background: var(--paper); }
.sthumb { display: block; width: 86.5px; height: 65px; object-fit: cover; border-radius: 9px; }
.sthumb.empty { display: grid; place-items: center; background: #f3efe9; color: var(--accent); }
.sthumb.empty svg { width: 20px; height: 20px; }
.srow.sitem .stime { width: auto; padding: 0; font: 400 11.7px/1.3 var(--text, 'Inter', sans-serif); color: var(--muted); }
.srow.sitem .splace { display: inline-flex; align-items: center; gap: 3.5px; }
.srow.sitem .splace svg { width: 12.5px; height: 12.5px; color: var(--accent); }
.sbadges { display: flex; flex-direction: column; align-items: flex-end; gap: 5.5px; }
.sbadge { display: inline-flex; align-items: center; gap: 4.5px; padding: 2.5px 9px; border-radius: 999px; background: var(--tint); color: var(--deep); font-size: 11.2px; font-weight: 500; }
.sbadge svg { width: 11.5px; height: 11.5px; }
.sacts { display: flex; gap: 2px; }
button.iconbtn { width: 32.5px; height: 32.5px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: var(--muted); }
button.iconbtn:hover:not(:disabled) { color: var(--ink); background: #f3efe9 !important; }
button.iconbtn.danger { color: var(--danger, #a3312a); }
button.iconbtn svg { width: 16px; height: 16px; }
.saddday { width: 100%; padding: 12.5px; border: 1px dashed var(--accent); border-radius: 11px; background: none; color: var(--ink); }
.stage .panel.sedit { gap: 9px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14.5px; }
.sedit input[type=radio], .sedit input[type=checkbox] { accent-color: var(--accent); }
.sedit input[type=date], .sedit input[type=time] { width: 100%; box-sizing: border-box; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: none; font-size: 13.5px; }
.sedit .spread { display: flex; justify-content: space-between; align-items: center; }
.sedit h2 { margin: 0; }
.sedit .stimes { display: flex; gap: 9px; }
.sedit .stimes label { flex: 1; min-width: 0; }
.sedit .scount { display: block; text-align: right; color: var(--muted); }
.sphoto { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.sphoto img { width: 65px; height: 48.5px; object-fit: cover; border-radius: 9px; }
.sedit .swhohead { margin: 5.5px 0 0; font-weight: 600; font-size: 13.1px; }
.sedit label.swho { display: flex; flex-direction: row; gap: 9px; align-items: flex-start; cursor: pointer; }
.sedit label.swho input { flex: none; width: auto; margin: 2.5px 0 0; }
.swho strong { display: block; font-size: 12.6px; font-weight: 500; }
.swho small { display: block; color: var(--muted); }
.sedit label.sswitch { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 11px; margin-top: 3.5px; cursor: pointer; }
.sedit label.sswitch input { flex: none; width: 18px; height: 18px; margin: 0; }
.sswitch strong { display: block; font-size: 12.6px; font-weight: 600; }
.sswitch small { display: block; color: var(--muted); }
@media (max-width: 719px) {
  .srow.sitem { grid-template-columns: 65px minmax(0, 1fr); }
  .sthumb { width: 65px; height: 65px; }
  .sbadges { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .sacts { grid-column: 2; }
}
@media (min-width: 1180px) {
  .splan.editing { grid-template-columns: minmax(0, 1fr) 297px; }
  .splan.editing .sedit { order: 0; }
}

/* Deadlines: how long is left, the RSVP date, ideas to add, and a timeline that
   ends at the wedding, with its editor beside them as on the Schedule. */
.dcount { display: flex; align-items: center; justify-content: center; gap: 12.5px; padding: 16px; border-radius: 14.5px; background: var(--tint); text-align: center; }
.dcount .plusglyph { color: var(--accent); }
.dcount svg { width: 23.5px; height: 23.5px; }
.dwords { display: grid; gap: 2px; min-width: 0; flex: 1; }
.dwords small { color: var(--muted); font-size: 12.2px; }
.dcount .dwords { flex: none; }
.dcount strong { font-family: var(--display); font-weight: 400; font-size: 18.9px; }
.dcount em { color: var(--accent); font-style: normal; font-size: 25.2px; }
.dcard { display: flex; flex-direction: column; gap: 11px; padding: 14.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14.5px; }
.dreply, .dremind { display: flex; align-items: center; gap: 12.5px; }
.dreply > .plusglyph, .dremind > .plusglyph { flex: none; color: var(--accent); }
.dreply svg, .dremind svg { width: 20px; height: 20px; }
.dreply strong { font-family: var(--display); font-weight: 400; font-size: 16.2px; }
label.dremind { flex-direction: row; padding-top: 11px; border-top: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.dremind strong { font-weight: 500; font-size: 12.6px; }
.dremind input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
label.dchange { flex: none; display: flex; flex-direction: column; gap: 2px; font-size: 11.2px; color: var(--muted); }
.dchange input { padding: 5.5px 7px; border: 1px solid var(--line); border-radius: 9px; font-size: 12.6px; }
.dhead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 12.5px; margin-bottom: 9px; }
.dhead h2 { margin: 0; font-size: 17.1px; }
.dhead .link { padding: 0; font-size: 12.2px; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(171px, 1fr)); gap: 7px; }
button.didea { display: flex; align-items: center; gap: 9px; min-height: 59.5px; padding: 9px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; text-align: left; font-weight: 400; color: var(--ink); }
button.didea:hover:not(:disabled) { border-color: var(--accent); background: var(--surface) !important; }
.didea > .plusglyph { flex: none; color: var(--accent); }
.didea svg { width: 20px; height: 20px; }
.didea strong { font-weight: 500; font-size: 12.2px; line-height: 1.3; }
.didea small { font-size: 11.2px; }
.dplus { flex: none; color: var(--muted); font-size: 16.2px; }
.dfilters { display: flex; gap: 5.5px; }
.dfilters button { padding: 5.5px 11px; font-size: 12.2px; }
.dfilters button[aria-pressed=true] { background: var(--tint); border-color: var(--accent); color: var(--deep); }
ol.dlist { position: relative; list-style: none; margin: 0; padding: 0; }
ol.dlist::before { content: ''; position: absolute; top: 16px; bottom: 16px; left: 17px; width: 2px; background: var(--tint); }
.drow { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto; align-items: center; gap: 11px; padding: 7px 7px; border-radius: 11px; }
.drow.next, .drow.open { background: var(--tint); }
.drow .dwords strong { font-family: var(--display); font-weight: 400; font-size: 15.3px; }
.drow.done .dwords strong { color: var(--muted); }
.drow.late .dwords > small:first-child { color: #a3312a; }
.dmark { position: relative; display: grid; place-items: center; width: 20px; height: 20px; }
.drow .dmark::before { content: ''; width: 12.5px; height: 12.5px; box-sizing: border-box; border: 2px solid var(--accent); border-radius: 50%; background: var(--paper); }
.drow.late .dmark::before { border-color: #a3312a; }
.drow.next .dmark::before { background: var(--accent); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--accent); }
.drow.done .dmark::before, .drow.wedding .dmark::before { display: none; }
.drow.done .dmark { border-radius: 50%; background: var(--good, #2f6b4a); color: #fff; }
.drow.done .dmark svg { width: 12.5px; height: 12.5px; }
.drow.wedding .dmark { color: var(--accent); }
.drow.wedding .dmark svg { width: 18px; height: 18px; fill: currentColor; }
.dtoday { margin-left: 7px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.8px; font-weight: 500; }
@media (max-width: 719px) {
  .drow { grid-template-columns: 20px minmax(0, 1fr); }
  .drow .sbadge, .drow .sacts { grid-column: 2; justify-self: start; }
  .dreply { flex-wrap: wrap; }
  .dcount strong { font-size: 17.1px; }
}

/* Shuttles */
.shfilters { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 14.5px; }
.shtabs { display: flex; gap: 2px; max-width: 100%; overflow-x: auto; border-bottom: 1px solid var(--line); }
.shtabs button { flex: none; padding: 8px 12.5px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 7px 7px 0 0; color: var(--muted); font-size: 12.6px; }
.shtabs button[aria-pressed=true] { background: var(--tint); border-bottom-color: var(--accent); color: var(--deep); font-weight: 500; }
label.shdaypick { flex: none; }
.shdaypick select { width: auto; }
.shday h2 { margin: 12.5px 0 7px; font-size: 16.2px; }
ul.shrows { display: flex; flex-direction: column; gap: 7px; list-style: none; margin: 0; padding: 0; }
.shrow { display: flex; align-items: center; gap: 5.5px; padding: 7px 9px 7px 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 12.5px; }
button.shopen { flex: 1; min-width: 0; display: grid; grid-template-columns: 86.5px minmax(0, 1fr) 83px 79px 135px minmax(83px, auto); align-items: center; gap: 11px; padding: 0; background: none; border: 0; border-radius: 9px; text-align: left; color: inherit; font: inherit; font-weight: 400; }
button.shopen:hover:not(:disabled) { background: none !important; }
button.shopen:hover .shwords strong { color: var(--accent); }
.shthumb { display: block; width: 86.5px; height: 57.5px; object-fit: cover; border-radius: 9px; }
.shthumb.empty { display: grid; place-items: center; color: var(--accent); }
.shthumb.empty svg { width: 27px; height: 27px; }
.shwords { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.shwords strong { font-family: var(--display); font-weight: 400; font-size: 15.3px; }
.shwords small, .shfull small { color: var(--muted); font-size: 11.7px; }
.shfact { display: inline-flex; align-items: center; gap: 4.5px; font-size: 12.2px; white-space: nowrap; }
.shfact > .plusglyph { color: var(--accent); }
.shfact svg { width: 13.5px; height: 13.5px; }
.shfull { display: flex; align-items: center; gap: 7px; min-width: 0; }
.shbar { flex: 1; height: 5.5px; overflow: hidden; border-radius: 999px; background: var(--line); }
.shbar > span { display: block; height: 100%; background: var(--accent); }
.shpill { display: inline-flex; align-items: center; justify-self: start; gap: 3.5px; padding: 2.5px 8px; border-radius: 999px; font-size: 11.2px; }
.shpill svg { width: 11.5px; height: 11.5px; }
.shpill.ontrack { background: #2f6b4a1a; color: #2f6b4a; }
.shpill.late { background: #8a5a001a; color: #8a5a00; }
.shpill.boarding { background: var(--tint); color: var(--deep); }
.shpill.departed { background: var(--line); color: var(--muted); }
.shtitle { display: flex; align-items: center; flex-wrap: wrap; gap: 5.5px 11px; }
.shtitle h1 { margin: 0; }
.shwhen { display: flex; flex-wrap: wrap; gap: 3.5px 14.5px; margin: 3.5px 0 0; }
.shtop { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14.5px; }
.shphoto { flex: 1 1 216px; min-width: 0; max-width: 288px; height: 153px; object-fit: cover; border-radius: 12.5px; }
.shends { flex: 1 1 198px; display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.shend { display: flex; gap: 7px; }
.shend > .plusglyph { flex: none; color: var(--accent); }
.shend svg { width: 16px; height: 16px; }
.shend > span { display: flex; flex-direction: column; min-width: 0; }
.shend strong { font-weight: 500; font-size: 13.1px; }
.shend small { color: var(--muted); font-size: 11.7px; }
.routemap { width: 100%; height: 100%; overflow: hidden; border-radius: 12.5px; }
button.shmapopen { flex: 1 1 216px; min-width: 0; max-width: 288px; height: 153px; padding: 0; overflow: hidden; background: none; border: 0; border-radius: 12.5px; cursor: pointer; }
.shmapopen:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shmapopen:has(.routemap[hidden]) { display: none; }
.shmapopen .routemap { pointer-events: none; }
dialog.shmapdialog { width: min(94vw, 864px); height: min(88vh, 648px); max-height: none; padding: 12.5px; }
dialog.shmapdialog[open] { display: flex; flex-direction: column; gap: 9px; }
.shmapdialog h2 { margin: 0; font-size: 17.1px; }
.routemap.large { flex: 1; min-height: 0; height: auto; }
.shmapdialog .shends { flex: none; flex-direction: row; flex-wrap: wrap; gap: 7px 25px; }
.shletter { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10.8px; font-weight: 600; }
.shstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(99px, 1fr)); gap: 7px; }
.shstat { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 9px; padding: 11px 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12.5px; }
.shstat > .plusglyph { grid-row: span 2; color: var(--accent); }
.shstat svg { width: 20px; height: 20px; }
.shstat strong { font-size: 18px; font-weight: 500; line-height: 1.2; }
.shstat small { color: var(--muted); font-size: 11.2px; }
.shtab { display: flex; flex-direction: column; gap: 9px; }
.shfind { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; }
.shfind input { flex: 1 1 198px; max-width: 288px; }
form.shhold { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 7px 11px; }
.shhold input { width: 81px; }
.shhold .note { flex-basis: 100%; margin: 0; }
table.shriders { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12.5px; }
.shriders th, .shriders td { padding: 8px 12.5px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12.6px; }
.shriders th { color: var(--muted); font-weight: 400; font-size: 11.7px; }
.shriders th .link { padding: 0; color: inherit; font-size: inherit; }
.shriders tbody tr:last-child td { border-bottom: 0; }
.shriders td:last-child, .shriders th:last-child { text-align: right; }
.shlines { display: flex; flex-direction: column; gap: 11px; }
.shline { display: flex; flex-direction: column; }
.shline small { color: var(--muted); font-size: 11.2px; }
.shform { max-width: 684px; }
.shpair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.shphotopick { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
ul.shsays { margin: 0; padding-left: 18px; }
@media (max-width: 1139px) {
  button.shopen { grid-template-columns: 68.5px minmax(0, 1fr) auto; gap: 3.5px 9px; align-items: start; }
  .shopen > .shthumb { grid-row: span 4; width: 68.5px; height: 68.5px; }
  .shopen > .shwords { grid-column: 2 / -1; }
  .shopen > .shfull { grid-column: 2 / -1; }
  .shopen > .shpill { grid-column: 2 / -1; }
}
@media (max-width: 559px) {
  .shrow { flex-wrap: wrap; }
  button.shopen { flex-basis: 100%; }
  .shrow .sacts { margin-left: auto; }
  .shpair { grid-template-columns: minmax(0, 1fr); }
  .shphoto, button.shmapopen { max-width: none; }
}

/* ---- Lifted: the sidebar and the page as sheets on the paper ---- */
:root {
  --edge: #f0eae1;
  --lift: 0 1px 2px rgba(31, 27, 22, .04), 0 7px 21.5px -9px rgba(31, 27, 22, .12);
}
/* The page comes up over the band in a rounded sheet. It's drawn in the band
   rather than by moving the page, so the band's menus still open over it. */
.weddinghead { border-bottom: 0; padding-bottom: 30.5px; background: var(--paper); }
.weddinghead::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 21.5px; border-radius: 21.5px 21.5px 0 0; background: var(--paper); box-shadow: 0 -5.5px 16px -5.5px rgba(31, 27, 22, .16), 0 -1px 2px rgba(31, 27, 22, .04); clip-path: inset(-36px 0 0 0); pointer-events: none; }
body:not([data-view="editor"]) .weddinghead:not([hidden]) + .stage { padding-top: 7px; }
@media (min-width: 960px) {
  .weddinghead { padding-bottom: 45px; }
  /* The browser's bounce would leave a gap of plain color above the photo, so
     the page stays where it is when pulled. */
  html:has(.rail:not([hidden])) { overscroll-behavior-y: none; }
  body.railed { padding-left: 263px; }
  .rail:not([hidden]) { top: 11px; bottom: 11px; left: 11px; width: 241px; border: 0; border-radius: 20px; background: var(--surface); box-shadow: 0 1px 2px rgba(31, 27, 22, .05), 0 11px 29px -11px rgba(31, 27, 22, .18); }
}
.shrow, .shstat, table.shriders, .dcard, button.didea, .stage[data-view="vendors"] .vcard, .sday .slist, .stage .panel.sedit, .vpage .vside, .bulkbar { border-color: var(--edge); box-shadow: var(--lift); }
table.shriders { border-collapse: separate; border-spacing: 0; overflow: hidden; }
/* Wedding party */
/* Tabs between the parts of one page (Program, Key information, Wedding
   party, Registry, and the rest): words on a hairline that runs the width,
   the chosen one in ink over a line of the accent, how many in a small
   badge. No box around them, no fill behind the chosen one. Too many for
   the width, they scroll sideways. */
.partytabs { display: flex; flex-wrap: nowrap; gap: 26px; align-self: stretch; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--line); overflow-x: auto; scrollbar-width: none; }
.partytabs::-webkit-scrollbar { display: none; }
.partytabs [role=tab] { flex: none; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 10px 1px 11px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); font-weight: 600; white-space: nowrap; box-shadow: none; }
.partytabs [role=tab]:hover:not(:disabled) { background: none !important; color: var(--ink); }
.partytabs [role=tab][aria-selected=true], .partytabs [role=tab][aria-selected=true]:hover:not(:disabled) { background: none !important; color: var(--ink); border-bottom-color: var(--accent); box-shadow: none; }
.partytabs [role=tab]:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 6px; }
.partytabs svg { width: 16px; height: 16px; }
.partytabs [role=tab][aria-selected=true] svg { color: var(--accent); }
.partytabs .count { min-width: 19px; margin: 0; padding: 1.5px 6.5px; border-radius: 999px; background: #efe9df; color: var(--muted); font-size: 10.8px; font-weight: 600; line-height: 1.4; text-align: center; }
.partytabs [aria-selected=true] .count, .cisegs [aria-pressed=true] .count { background: var(--tint); color: var(--deep); }
.pagehead .row > button, .pagehead .row > a.button { display: inline-flex; align-items: center; gap: 7px; }
.pagehead .row svg { width: 15.5px; height: 15.5px; }
.stage .pttable { container-type: inline-size; gap: 5.5px; }
.pttools { display: flex; gap: 11px; align-items: center; margin-bottom: 5.5px; }
.toolbar.pttools .search { flex: 1 1 234px; max-width: none; }
.pttools select { flex: none; width: auto; min-width: 135px; }
ol.ptrows { display: grid; margin: 0; padding: 0; list-style: none; }
.ptrow { display: grid; grid-template-columns: 23.5px minmax(153px, 1.4fr) 178px minmax(90px, 1.2fr) minmax(149.5px, 1fr) 83px 30.5px; gap: 11px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
ol.ptrows > .ptrow:last-child { border-bottom: 0; }
.ptrow.over { box-shadow: inset 0 2px 0 var(--accent); }
.pthead { padding: 5.5px 0; color: var(--ink); font-size: 11.7px; font-weight: 600; }
button.pthandle { display: grid; place-items: center; width: 23.5px; height: 32.5px; padding: 0; background: none; border: 0; border-radius: 7px; color: var(--muted); cursor: grab; }
.pthandle svg { width: 16px; height: 16px; }
.ptperson { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 2px; background: none; border: 0; border-radius: 9px; color: inherit; font: inherit; text-align: left; }
button.ptperson:hover:not(:disabled) { background: none !important; }
button.ptperson:hover strong { color: var(--accent); }
.ptperson strong { font-weight: 600; overflow-wrap: anywhere; }
.pttitle select { width: 100%; padding-right: 21.5px; font-size: 12.6px; }
.ptroles { display: flex; flex-wrap: wrap; gap: 5.5px; min-width: 0; }
.ptrole { padding: 2.5px 9px; border-radius: 999px; background: #efe9df; color: var(--ink); font-size: 11.7px; }
.ptrole.first { background: var(--tint); color: var(--deep); }
.ptroles small, .ptjoined small { color: var(--muted); }
.ptwho { display: inline-flex; align-items: center; gap: 7px; padding: 3.5px; background: none; border: 0; border-radius: 7px; color: var(--ink); font: inherit; font-size: 12.6px; font-weight: 400; text-align: left; }
button.ptwho:hover:not(:disabled) { background: none !important; color: var(--accent); }
.ptwho svg, .ptjoined svg { flex: none; width: 17px; height: 17px; }
.ptwho small { color: var(--muted); font-size: 11.7px; }
.ptwho span { white-space: nowrap; }
.ptjoined { display: inline-flex; align-items: center; gap: 6.5px; font-size: 12.6px; }
.ptjoined.joined svg { color: #2f7a4a; }
.ptjoined.waiting { color: var(--muted); }
.ptmenu .dots { padding: 2px 7px; border: 0; border-radius: 7px; background: none; font-size: 18px; line-height: 1; color: #4a443c; letter-spacing: 1px; }
.ptmenu .dots:hover:not(:disabled), .ptmenu .dots[aria-expanded=true] { background: #f1e7dc !important; }
@container (max-width: 860px) {
  .ptrow { grid-template-columns: 23.5px minmax(0, 1fr) minmax(0, 1fr) 30.5px; gap: 5.5px 11px; padding: 9px 0; }
  .pthead { display: none; }
  .ptrow > .ptperson { grid-column: 2 / 4; grid-row: 1; }
  .ptrow > :last-child { grid-column: 4; grid-row: 1; }
  .ptrow > .pttitle { grid-column: 2; grid-row: 2; }
  .ptrow > .ptroles { grid-column: 3; grid-row: 2; }
  .ptrow > .ptwho { grid-column: 2; grid-row: 3; justify-self: start; }
  .ptrow > .ptjoined { grid-column: 3; grid-row: 3; }
}
@container (max-width: 480px) {
  .ptrow { grid-template-columns: 23.5px minmax(0, 1fr) 30.5px; }
  .ptrow > .ptperson { grid-column: 2; }
  .ptrow > :last-child { grid-column: 3; }
  .ptrow > .pttitle, .ptrow > .ptroles, .ptrow > .ptwho, .ptrow > .ptjoined { grid-column: 2 / -1; grid-row: auto; }
}
ul.ptnotes { display: grid; gap: 12.5px; margin: 0; padding: 0; list-style: none; }
.stage .ptnote { display: grid; grid-template-columns: 21.5px minmax(153px, 234px) minmax(0, 1fr) 30.5px; gap: 5.5px 14.5px; align-items: start; padding: 16px 18px; }
.ptnote > .plusglyph { color: var(--accent); }
.ptnote > .plusglyph svg { width: 20px; height: 20px; }
.ptnotehead { display: grid; gap: 2.5px; min-width: 0; }
.ptnotehead h2 { margin: 0 0 2.5px; font-size: 16.2px; }
.ptnotehead h2 button { padding: 0; font: inherit; color: inherit; text-align: left; }
.ptnotehead small { color: var(--muted); }
.ptnotebody { margin: 0; color: var(--ink); font-size: 12.6px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
ul.outfitrows { display: grid; gap: 12.5px; margin: 0; padding: 0; list-style: none; }
.stage button.outfitrow { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; width: 100%; padding: 11px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 400; text-align: left; }
.stage button.outfitrow:hover:not(:disabled) { background: var(--surface) !important; }
.stage button.outfitrow:hover strong { color: var(--accent); }
.outfitthumb { flex: none; display: grid; place-items: center; width: 97px; height: 97px; border-radius: 11px; object-fit: cover; background: #efe7db; color: var(--muted); }
.outfitthumb svg { width: 30.5px; height: 30.5px; }
.outfitrowwords { flex: 1; min-width: 0; display: grid; gap: 3.5px; }
.outfitrowwords { text-align: left; }
.outfitrowwords strong { font-family: var(--display); font-weight: 400; font-size: 18px; }
.outfitfor { display: inline-flex; align-items: center; gap: 5.5px; color: var(--muted); }
.outfitfor svg { width: 14.5px; height: 14.5px; }
.outfitpill { flex: none; display: inline-flex; align-items: center; gap: 5.5px; padding: 3.5px 11px; border-radius: 999px; background: #efe9df; color: var(--ink); font-size: 11.7px; font-weight: 600; }
.outfitpill svg { width: 13.5px; height: 13.5px; }
.outfitpill.all { background: #e4f1e6; color: #2f6b43; }
.outfitrow .chev { flex: none; color: var(--muted); font-size: 18px; }
@media (max-width: 479px) {
  .partytabs { gap: 8px; }
  .partytabs [role=tab] { flex: 1 0 auto; justify-content: center; gap: 4.5px; padding: 9px 2px 10px; font-size: 11.7px; }
  .partytabs svg { width: 13.5px; height: 13.5px; }
}
@media (max-width: 719px) {
  .stage .ptnote { grid-template-columns: 21.5px minmax(0, 1fr) 30.5px; }
  .ptnotebody { grid-column: 2 / -1; grid-row: 2; }
  .ptnote > .ptmenu, .ptnote > span:last-child { grid-column: 3; grid-row: 1; }
  .stage button.outfitrow { flex-wrap: wrap; gap: 11px; }
  .outfitthumb { width: 65px; height: 65px; }
  .outfitrowwords { flex: 1 1 60%; }
  .pagehead .row { flex-wrap: wrap; }
}

/* Program */
.pgshow { position: relative; display: inline-flex; flex-direction: row; align-items: center; gap: 12.5px; padding: 9px 12.5px 9px 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13.1px; cursor: pointer; }
.pgshow, .previewbtn { border-radius: 11px; }
/* Side by side, Preview and Show to guests are one size. */
.pagehead .row:has(> .pgshow) { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; align-items: stretch; }
.pagehead .row:has(> .pgshow) > .previewbtn { justify-content: center; }
.pagehead .row:has(> .pgshow) > .pgshow { justify-content: space-between; }
@media (max-width: 480px) {
  .pagehead .row:has(> .pgshow) { grid-template-columns: 1fr; }
}
.pgshow.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.pgshow.off { cursor: default; opacity: .7; }
.pgshow input, .pgfield input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pgknob { position: relative; flex: none; width: 32.5px; height: 19px; border-radius: 999px; background: #d9d2c7; transition: background .15s; }
.pgknob::after { content: ''; position: absolute; left: 2px; top: 2px; width: 15.5px; height: 15.5px; border-radius: 50%; background: #fff; transition: transform .15s; }
input:checked + .pgknob { background: var(--accent); }
input:checked + .pgknob::after { transform: translateX(13.5px); }
.pgshow.on .pgknob { background: rgba(255, 255, 255, .34); }
input:focus-visible + .pgknob { outline: 2.5px solid #2f7cf6; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pgknob, .pgknob::after { transition: none; } }
.pgmain { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(252px, 1fr); gap: 16px; align-items: start; }
.pgbelow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.stage .pgorder, .stage .pgside, .stage .pgpreview { display: grid; gap: 12.5px; min-width: 0; padding: 18px 20px; }
.pgtop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12.5px; flex-wrap: wrap; }
.pghead { display: flex; align-items: flex-start; gap: 12.5px; min-width: 0; }
.pghead > .plusglyph { flex: none; color: var(--accent); }
.pghead > .plusglyph svg { width: 27px; height: 27px; }
.pghead h2 { font-size: 18.9px; }
.pghead .note { margin: 2.5px 0 0; }
ol.pgrows { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pgrow { display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 3.5px 9px 3.5px 5.5px; border: 1px solid var(--edge); border-radius: 11px; background: var(--surface); box-shadow: 0 1px 2px rgba(31, 27, 22, .04); }
.pgrow.over { box-shadow: inset 0 2px 0 var(--accent); }
.pgnum { flex: none; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--tint); color: var(--deep); font-weight: 600; font-size: 13.1px; }
.pgwords, .stage button.pgwords { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(108px, 34%) minmax(0, 1fr); align-items: center; gap: 2px 12.5px; padding: 5.5px 0; border: 0; border-radius: 7px; background: none; color: var(--ink); text-align: left; font-weight: 400; }
.stage button.pgwords:hover:not(:disabled) { background: none !important; }
.stage button.pgwords:hover strong { color: var(--accent); }
.pgwords strong { font-family: var(--display); font-weight: 500; font-size: 14.8px; }
.pgwords span { color: var(--muted); font-size: 12.2px; }
.pgrow.hidden .pgwords strong, .pgsec.hidden strong, .pgsec.hidden .pgsecname { color: var(--muted); }
.pgoff, .pgedit, .pgeye { flex: none; display: grid; place-items: center; width: 30.5px; height: 30.5px; padding: 0; border: 0; border-radius: 7px; background: none; color: #4a443c; }
.pgoff { color: var(--muted); }
.pgoff svg, .pgedit svg, .pgeye svg { width: 17px; height: 17px; }
.pgedit:hover:not(:disabled), .pgeye:hover:not(:disabled) { background: #f1e7dc !important; }
ul.pgsecs { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pgsec { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 3.5px 7px 3.5px 12.5px; border: 1px solid var(--edge); border-radius: 11px; background: var(--surface); box-shadow: 0 1px 2px rgba(31, 27, 22, .04); }
.pgsecicon { flex: none; color: var(--accent); }
.pgsecicon svg { width: 19px; height: 19px; }
.pgsec > strong, .stage button.pgsecname { flex: 1; min-width: 0; padding: 5.5px 0; border: 0; background: none; color: var(--ink); text-align: left; font-family: var(--display); font-weight: 500; font-size: 14px; }
.stage button.pgsecname:hover:not(:disabled) { background: none !important; color: var(--accent); }
.stage .pgside > .ptmenu { display: grid; }
.stage button.pgadd { width: 100%; padding: 11px; border: 1px solid var(--tint); border-radius: 11px; background: var(--tint); color: var(--deep); font-weight: 600; }
.stage button.pgadd:hover:not(:disabled) { border-color: var(--accent); background: var(--tint) !important; }
.pgtrad { display: grid; gap: 5.5px; padding-top: 12.5px; border-top: 1px solid var(--line); }
.pgtrad .pglabel, .pgtrad .note { margin: 0; }
.stage .pgtrad button.pgoutline { margin: 4.5px 0 0; }
.stage button.pgoutline { justify-self: start; margin-left: 39.5px; padding: 9px 23.5px; border: 1px solid var(--accent); border-radius: 11px; background: var(--surface); color: var(--deep); font-weight: 600; }
.stage button.pgoutline:hover:not(:disabled) { background: var(--tint) !important; }
.pgnarrow { display: none; }
.pgsettings label { display: grid; gap: 4.5px; font-weight: 600; font-size: 12.2px; color: var(--ink); }
.pglabel { margin: 0 0 5.5px; font-weight: 600; font-size: 12.2px; color: var(--ink); }
.pgaccents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.stage button.pgaccent { position: relative; aspect-ratio: 1.45; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background-color: #fbf7f2 !important; background-repeat: no-repeat; }
.stage button.pgaccent[aria-checked=true] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pgaccent.leaves { background-image: url(/invitations/art/program/leaves-top.webp), url(/invitations/art/program/leaves-bottom.webp); background-position: left top, right bottom; background-size: 62%, 62%; }
.pgaccent.blush { background-image: url(/invitations/art/program/blush-top.webp), url(/invitations/art/program/blush-bottom.webp); background-position: left top, right bottom; background-size: 62%, 62%; }
.pgaccent.gold::after { content: ''; position: absolute; inset: 2px; border: 27px solid transparent; border-image: url(/invitations/art/program/gold-frame.webp) 200 / 30px stretch; }
.pgsays { margin: -7px 0 0; }
.pgpreview .pcard { margin: 0; }
.pgdialog { overflow-y: auto; align-items: flex-start; }
.pgdialogbox { width: min(504px, 100%); display: grid; gap: 12.5px; padding: 18px; border-radius: 18px; background: var(--paper); }
.pgdialogbox .pcard { margin-bottom: 16px; }
.stage .pgform { display: grid; gap: 12.5px; max-width: 576px; }
.pgform > label { display: grid; gap: 4.5px; }
.pgneeded { color: var(--accent); }
.pgfield { position: relative; display: flex !important; flex-direction: row; align-items: center; justify-content: space-between; gap: 11px; padding: 11px 12.5px; border: 1px solid var(--edge); border-radius: 11px; background: var(--surface); color: var(--ink); cursor: pointer; }
.pgfield > span:first-child { display: inline-flex; align-items: center; gap: 11px; }
.pgfield svg { width: 17px; height: 17px; }
@media (max-width: 1100px) {
  .pgmain, .pgbelow { grid-template-columns: minmax(0, 1fr); }
  .pgpreview { max-width: 468px; }
}
@media (max-width: 719px) {
  .pgwords, .stage button.pgwords { grid-template-columns: minmax(0, 1fr); }
  .stage button.pgoutline { margin-left: 0; justify-self: stretch; }
}
@media (max-width: 479px) {
  .pgwide { display: none; }
  .pgnarrow { display: inline; }
}

/* Registry */
.rgtop { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr); gap: 16px; align-items: stretch; }
.stage .rgnotecard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: start; padding: 18px 20px; }
.rgnoteheart { color: var(--accent); }
.rgnoteheart svg { display: block; width: 23.5px; height: 23.5px; }
.rgnotecard h2 { font-size: 18.9px; margin-bottom: 7px; }
.rgnotecard p { margin: 0; line-height: 1.55; white-space: pre-wrap; }
.stage .rgover { padding: 16px 20px; }
.rgover h2 { font-size: 18.9px; margin-bottom: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--edge); }
.rgstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rgstat, .stage button.rgstat { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2.5px; min-width: 0; padding: 2px 5.5px; border: 0; border-left: 1px solid var(--edge); border-radius: 0; background: none; color: var(--ink); text-align: center; font-weight: 400; }
.rgstat:first-child { border-left: 0; }
.stage button.rgstat:hover:not(:disabled) { background: none !important; }
.stage button.rgstat:hover strong { color: var(--accent); }
.rgstat .plusglyph { color: var(--accent); }
.rgstat.amber .plusglyph { color: #d9902f; }
.rgstat.green .plusglyph { color: #2f6b43; }
.rgstat svg { display: block; width: 20px; height: 20px; }
.rgstat strong { font-size: 18.9px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.rgstat small { color: var(--muted); font-size: 11.2px; line-height: 1.5; }
.stage .rgtable { container-type: inline-size; padding: 14.5px 18px 7px; }
.rgtools { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 0 0 7px; }
.rgtools .search { flex: 1 1 198px; min-width: 0; max-width: 306px; }
.rgtools select { flex: 0 0 auto; width: auto; }
.rgadd { display: flex; gap: 9px; margin-left: auto; }
.rgrow { display: grid; grid-template-columns: 23.5px minmax(180px, 2.3fr) minmax(68.5px, .8fr) minmax(144px, 1.7fr) minmax(101px, .95fr) 30.5px; align-items: center; gap: 11px; padding: 9px 2px; border-top: 1px solid var(--edge); }
.hfrow { grid-template-columns: 23.5px minmax(171px, 2.3fr) minmax(75.5px, .85fr) minmax(68.5px, .7fr) minmax(117px, 1.25fr) minmax(101px, .9fr) 30.5px; }
.rgrow.over { box-shadow: inset 0 2px 0 var(--accent); }
.rghead { padding: 7px 2px; border-top: 0; font-weight: 600; font-size: 12.2px; }
ol.rgrows { margin: 0; padding: 0; list-style: none; }
.rggift, .stage button.rggift { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--ink); text-align: left; font-weight: 400; }
.stage button.rggift:hover:not(:disabled) { background: none !important; }
.stage button.rggift:hover strong { color: var(--accent); }
.rgthumb { flex: none; width: 56px; height: 45px; border-radius: 9px; object-fit: cover; background: var(--tint); }
.rgthumb.blank { display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; box-shadow: none; color: var(--accent); }
.rgthumb.blank svg { width: 20px; height: 20px; }
.rgnames { display: grid; gap: 1px; min-width: 0; }
.rgnames strong { font-family: var(--display); font-weight: 500; font-size: 14.4px; overflow-wrap: anywhere; }
.rgnames small { color: var(--muted); font-size: 11.7px; overflow-wrap: anywhere; }
.rgfar { display: grid; gap: 2.5px; min-width: 0; }
.rgfar > small { color: var(--muted); }
.rgsum { font-size: 12.2px; }
.rgbar { display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 7px; }
.rgbar .shopbar { display: block; height: 7px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.rgbar .shopbar span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.rgbar small { color: var(--ink); font-size: 11.7px; }
.rgstatus { display: inline-flex; align-items: center; gap: 4.5px; padding: 3.5px 10px; border-radius: 999px; font-size: 11.7px; font-weight: 500; white-space: nowrap; }
.rgstatus svg { width: 12.5px; height: 12.5px; }
.rgstatus.going { background: var(--tint); color: var(--deep); }
.rgstatus.full { background: #e4f1e6; color: #2f6b43; }
.rgstatus.open { background: #efe9df; color: var(--muted); }
.rgstatus.hfopen { background: #e4f1e6; color: #2f6b43; }
.hfprivate { display: inline-flex; margin-left: 5.5px; color: var(--muted); vertical-align: -2px; }
.hfprivate svg { width: 12.5px; height: 12.5px; }
.stage .hfnotecard.photo, .stage .hfnotecard:has(> .hfnotephoto) { grid-template-columns: 111.5px auto minmax(0, 1fr) auto; }
.hfnotephoto { width: 111.5px; height: 100%; min-height: 99px; max-height: 135px; border-radius: 11px; object-fit: cover; }
.stage button.hfnotephoto.add { display: grid; place-items: center; padding: 7px; border: 1px dashed var(--line); background: var(--tint); color: var(--deep); font-size: 12.2px; }
.hfgoalbar { margin-top: 12.5px; }
.hfchoice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-self: end; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--surface); }
.stage .hfchoice button { display: flex; align-items: center; justify-content: center; gap: 6.5px; padding: 10px 7px; border: 0; border-radius: 0; background: none; color: var(--ink); font-size: 12.6px; font-weight: 600; }
.stage .hfchoice button[aria-pressed=true] { background: var(--tint) !important; color: var(--deep); }
.hfchoice svg { flex: none; width: 14.5px; height: 14.5px; }
.rgempty { padding: 12.5px 2px; }
.stage button.rgcardbtn { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: auto; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); font-weight: 600; }
.rgcardbtn svg { width: 16px; height: 16px; }
.stage .pgbelow > .pgside { align-self: stretch; }
.stage .rgwide { max-width: 774px; }
.rghost { flex: 0 1 auto; min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
.rgmore summary { cursor: pointer; font-weight: 600; font-size: 12.6px; padding: 3.5px 0; }
.rgmore[open] { display: grid; gap: 11px; }
@container (max-width: 760px) {
  .rgrow { grid-template-columns: 23.5px minmax(0, 1fr) 30.5px; gap: 5.5px 9px; }
  .rghead { display: none; }
  .rgrow > .rggift { grid-column: 2; }
  .rgrow > :last-child { grid-column: 3; grid-row: 1; }
  .rgrow > .rgprice, .rgrow > .rgfar, .rgrow > .rgstate, .rgrow > .hfcell { grid-column: 2 / -1; }
  .hfcell::before { content: attr(data-label) ': '; color: var(--muted); }
}
@media (max-width: 1100px) {
  .rgtop { grid-template-columns: minmax(0, 1fr); }
  .stage .hfnotecard.photo, .stage .hfnotecard:has(> .hfnotephoto) { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hfnotephoto { grid-column: 1 / -1; width: 100%; height: 162px; max-height: none; }
}
@media (max-width: 719px) {
  .rgstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12.5px 0; }
  .rgstat:nth-child(3) { border-left: 0; }
  .rgadd { width: 100%; margin-left: 0; }
  .rgadd button { flex: 1 1 0; }
  .rgtools .search { max-width: none; flex-basis: 100%; }
}

/* Map pins */
.pingrid { display: grid; grid-template-columns: minmax(252px, 306px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.stage .pinlist { min-width: 0; gap: 9px; padding: 14.5px 12.5px; }
.pinlist h2, .pinedit h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 17.1px; }
.pinedit h2 svg { width: 18px; height: 18px; color: var(--accent); }
ol.pinrows { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pinrow { display: flex; align-items: center; gap: 2px; padding: 2px 3.5px; border-radius: 11px; }
.pinrow.on { background: var(--tint); }
.pinrow.over { box-shadow: inset 0 2px 0 var(--accent); }
button.pinhandle { flex: none; display: grid; place-items: center; width: 23.5px; height: 36px; padding: 0; background: none; border: 0; border-radius: 7px; color: var(--muted); cursor: grab; }
.pinhandle svg { width: 16px; height: 16px; }
.pinopen { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 6.5px 5.5px; background: none; border: 0; border-radius: 9px; text-align: left; color: inherit; font: inherit; font-weight: 400; }
button.pinopen:hover:not(:disabled) { background: none !important; }
button.pinopen:hover .pinwords strong { color: var(--accent); }
.pinopen > .plusglyph { flex: none; color: var(--accent); }
.pinopen svg { width: 20px; height: 20px; }
.pinwords { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pinwords strong { font-family: var(--display); font-weight: 400; font-size: 14.4px; overflow-wrap: anywhere; }
.pinwords small { color: var(--muted); font-size: 11.2px; }
.pinopen .chev { color: var(--muted); }
.pinboard { position: relative; min-height: 414px; overflow: hidden; border-radius: 16px; background: #e8e4dc; box-shadow: var(--lift); }
.pinboard-view { position: absolute; inset: 0; }
.boardpin { position: relative; display: block; width: 39.5px; height: 47.5px; color: var(--accent); }
.boardpin::before { content: ''; position: absolute; inset: 0 0 auto; height: 39.5px; box-sizing: border-box; border: 2px solid #fff; border-radius: 50% 50% 50% 3.5px; background: #fff; box-shadow: 0 3.5px 11px rgba(31, 27, 22, .35); transform: rotate(-45deg); }
.boardpin > * { position: absolute; top: 10px; left: 10px; display: grid; }
.boardpin svg { width: 20px; height: 20px; }
.boardpin.on { color: #fff; }
.boardpin.on::before { background: var(--accent); }
.pingrid > .pinmap, .pingrid > .applemap { align-self: stretch; }
.pinlower { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(252px, 1fr); gap: 16px; align-items: start; }
.stage .pinedit { gap: 11px; }
form.setname { display: grid; gap: 7px; }
.setdialog { width: min(92vw, 432px); padding: 14.5px; }
.setdialog h2 { margin: 0; font-size: 18px; }
.setdialog h3 { margin: 14.5px 0 0; font-size: 13.5px; }
/* Saving this wedding's pins as a set, above the sets already saved. */
.setsave { display: grid; gap: 5.5px; padding-bottom: 12.5px; border-bottom: 1px solid var(--line); }
.setsave .note, .setsave [role=status] { margin: 0; }
.setsave [role=status]:empty { display: none; }
.setsaverow { display: flex; gap: 7px; }
.setsaverow input { flex: 1; min-width: 0; }
ul.setrows { display: grid; gap: 3.5px; margin: 11px 0 0; padding: 0; list-style: none; }
.setrows li { display: flex; align-items: center; gap: 7px; padding: 7px 0; border-top: 1px solid var(--line); }
.setrows li:first-child { border-top: 0; }
.pinhow { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); align-items: center; gap: 11px 18px; padding: 12.5px 16px; border: 1px solid var(--edge); border-radius: 16px; background: var(--surface); box-shadow: var(--lift); }
.pinhow h2 { margin: 0; font-size: 14.4px; white-space: nowrap; }
.pinhow p { display: flex; align-items: flex-start; gap: 7px; margin: 0; color: var(--muted); font-size: 11.2px; line-height: 1.35; }
.pinhow p > .plusglyph { flex: none; color: var(--accent); }
.pinhow svg { width: 16px; height: 16px; }
/* Beside the pin being edited (where the sets card was): the steps one under another. */
.pinhow.side { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12.5px; padding: 18px 20px; }
.pinhow.side h2 { font-size: 17.1px; white-space: normal; }
.pinhow.side p { font-size: 12.6px; line-height: 1.45; }
@media (max-width: 1139px) {
  .pingrid, .pinlower { grid-template-columns: minmax(0, 1fr); }
  .pingrid { grid-template-rows: auto; }
  .pingrid > .pinboard, .pingrid > .pinmap { order: -1; }
  .pinboard { min-height: 306px; }
  .pinhow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pinhow h2 { grid-column: 1 / -1; }
}
@media (max-width: 559px) { .pinhow { grid-template-columns: minmax(0, 1fr); } }

/* Addresses suggested as they're typed. */
.addrfield { position: relative; }
.addrfield input { width: 100%; }
ul.addrlist { position: absolute; z-index: 20; top: calc(100% + 5.5px); left: 0; right: 0; display: grid; gap: 2px; max-height: 270px; margin: 0; padding: 5.5px; overflow-y: auto; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12.5px; box-shadow: 0 11px 25px -11px rgba(31, 27, 22, .25); }
ul.addrlist[hidden] { display: none; }
.addrlist li { display: grid; gap: 1px; padding: 7px 11px; border-radius: 9px; color: var(--ink); cursor: pointer; }
.addrlist li.on { background: var(--tint); }
.addrlist strong { font-weight: 500; font-size: 13.1px; }
.addrlist small { color: var(--muted); font-size: 11.2px; }
/* A page's buttons wrap on a phone, and its filters stay within it. */
@media (max-width: 719px) {
  .pagehead > .row { flex: 0 1 auto; flex-wrap: wrap; min-width: 0; max-width: 100%; }
  select.fsel { max-width: 100%; }
  .setupcols { grid-template-columns: minmax(0, 1fr); }
  .stage:not([data-view="editor"]):not([data-view="seating"]) .panel { min-width: 0; padding: 14.5px; }
  .stage:not([data-view="editor"]):not([data-view="seating"]) .panel .panel { padding: 12.5px 0 3.5px; }
}

/* Key information: what guests see, a card at a time. */
.kibar { display: flex; align-items: center; justify-content: space-between; gap: 12.5px; flex-wrap: wrap; }
.stage .kibar .partytabs { flex: 1 1 auto; margin: 0; }
.kiedit { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14.5px; }
.kiedit svg { width: 15.5px; height: 15.5px; }
.kigrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 16px; align-items: stretch; }
.stage .kicard { display: grid; gap: 9px; align-content: start; min-width: 0; padding: 20px 21.5px; }
.kicard h2 { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 19.8px; }
.kicard h2 svg { flex: none; width: 25px; height: 25px; color: var(--accent); }
.kicard p { margin: 0; line-height: 1.55; white-space: pre-wrap; }
.stage .kicard.photo { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; }
.kiwords { display: grid; gap: 9px; min-width: 0; }
.kimore { grid-column: 1 / -1; }
.kifield { display: grid; gap: 4.5px; font-weight: 600; font-size: 12.6px; }
.kicopy { display: flex; align-items: center; gap: 7px; min-height: 39.5px; padding: 3.5px 5.5px 3.5px 12.5px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-weight: 400; font-size: 14px; }
.kicopy > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.stage button.kicopybtn { flex: none; display: grid; place-items: center; width: 30.5px; height: 30.5px; padding: 0; border: 0; border-radius: 7px; background: none; color: var(--ink); }
.kicopybtn svg { width: 17px; height: 17px; }
.kicard .kichip { justify-self: start; padding: 6.5px 14.5px; border-radius: 9px; background: var(--tint); color: var(--deep); font-weight: 600; }
.kilink { justify-self: start; color: var(--accent); font-weight: 600; text-decoration: none; }
.kilink:hover { text-decoration: underline; }
.kioutfits { display: grid; grid-template-columns: repeat(2, 75.5px); gap: 7px; }
.kioutfits img { display: block; width: 100%; height: 100%; min-height: 75.5px; border-radius: 9px; object-fit: cover; }
.kioutfits.n1 { grid-template-columns: 153px; }
.kioutfits.n1 img { height: 171px; }
.kioutfits.n2 img { height: 171px; }
.kioutfits.n3 { grid-template-rows: 111.5px 75.5px; }
.kioutfits.n3 img:first-child { grid-column: 1 / -1; }
.kifoodpic { display: block; width: 108px; height: 144px; border-radius: 9px; object-fit: cover; }
.kicard .kitimes { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); align-items: center; gap: 7px; padding: 8px 11px; border-radius: 9px; background: var(--tint); font-size: 13.1px; }
.kitimes svg { width: 15.5px; height: 15.5px; color: var(--accent); }
.kitimes span { text-align: right; }
.kilinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); gap: 11px; }
.kilinkcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 11px 12.5px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.kilinkcard:hover { border-color: var(--accent); }
.kilinkcard svg { display: block; width: 17px; height: 17px; color: var(--ink); }
.kilinkcard > :first-child svg { width: 21.5px; height: 21.5px; color: var(--accent); }
.kicontacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 14.5px; }
.stage .kicontact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12.5px; align-items: start; padding: 16px 18px; }
.kiface { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--tint); color: var(--deep); font-family: var(--display); font-size: 17.1px; }
.kiwho { display: grid; gap: 2.5px; min-width: 0; }
.kiwho a { display: inline-flex; align-items: center; gap: 6.5px; margin-top: 2.5px; color: var(--ink); text-decoration: none; }
.kiwho a svg { width: 14.5px; height: 14.5px; color: var(--accent); }
.kiwho p { margin: 3.5px 0 0; }
.stage .kifaqs { padding: 5.5px 20px; }
.kifaqs details { border-top: 1px solid var(--edge); }
.kifaqs details:first-child { border-top: 0; }
.kifaqs summary { display: flex; align-items: center; justify-content: space-between; gap: 12.5px; padding: 13.5px 0; font-weight: 600; cursor: pointer; list-style: none; }
.kifaqs summary::-webkit-details-marker { display: none; }
.kifaqs summary svg { flex: none; width: 16px; height: 16px; transition: transform .15s; }
.kifaqs details[open] summary svg { transform: rotate(180deg); }
.kifaqs p { margin: 0 0 13.5px; line-height: 1.55; white-space: pre-wrap; }
.kipicks { display: flex; flex-wrap: wrap; gap: 11px; }
.kipick { display: grid; gap: 5.5px; justify-items: start; }
.kipick .coverpic { width: 108px; height: 108px; object-fit: cover; }
.kipickrow { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.kipreview .kigrid { grid-template-columns: minmax(0, 1fr); }
.kipreview .kicontacts { grid-template-columns: minmax(0, 1fr); }
.kipreview h3 { margin: 5.5px 0 0; font-family: var(--display); font-weight: 500; font-size: 18px; }
.kipreview .panel { box-shadow: none; }
@media (max-width: 1100px) {
  .kigrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .stage .kicard.photo { grid-template-columns: minmax(0, 1fr); }
  .kioutfits, .kioutfits.n1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kioutfits.n1 img { grid-column: 1 / -1; }
  .kifoodpic { width: 100%; height: 162px; }
  .kicontacts { grid-template-columns: minmax(0, 1fr); }
  .kiedit { width: 100%; justify-content: center; }
}

/* The Website page: its settings beside a preview of the website itself. */
.wsslot { display: contents; }
.stage .wstabs { overflow-x: auto; max-width: 100%; }
.wstabs .count { margin-left: 0; }
.wsgrid { display: grid; grid-template-columns: minmax(270px, 342px) minmax(0, 1fr); gap: 18px; }
.wsleft { min-width: 0; }
.stage .wscard { display: grid; gap: 12.5px; min-width: 0; padding: 16px 18px; }
.wscard h2 { margin: 0; font-size: 18.9px; }
.wsrow { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 11px; align-items: start; }
.wsrow > .plusglyph svg, .wsrow > svg { width: 19px; height: 19px; margin-top: 1px; }
.wsbody { display: grid; gap: 6.5px; min-width: 0; }
.wsbetween { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.wslabel { display: flex; align-items: center; gap: 4.5px; margin: 0; font-weight: 600; font-size: 13.1px; }
.wslabel small { font-weight: 400; color: var(--muted); }
.wsbody small { color: var(--muted); font-size: 11.2px; }
.wstip { display: inline-flex; color: var(--muted); cursor: help; }
.wstip svg { width: 12.5px; height: 12.5px; }
.wsaddress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3.5px; }
.stage .wsaddress .siteinput { display: flex; align-items: center; min-width: 0; margin: 0; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; font-size: 13.1px; color: var(--muted); }
.stage .wsaddress .siteinput span { flex: none; font: inherit; }
.stage .wsaddress .siteinput input { flex: 1; min-width: 0; padding: 8px 0; border: 0; border-radius: 0; background: none; font-family: inherit; font-size: 13.1px; color: var(--ink); box-shadow: none; }
.stage button.wsopen { display: flex; flex-wrap: wrap; align-items: center; gap: 5.5px 7px; width: 100%; padding: 5.5px 0; border: 0; border-radius: 0; background: none; color: var(--ink); font-weight: 400; font-size: 13.1px; text-align: left; }
.stage button.wsopen:hover:not(:disabled) { background: none !important; }
.wsopen > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.wsopen > .plusglyph:last-child { margin-left: auto; }
.wsopen svg { width: 14.5px; height: 14.5px; }
.wsopen > .plusglyph:last-child svg { transition: transform .15s; transform: rotate(-90deg); }
.wsopen[aria-expanded=true] > .plusglyph:last-child svg { transform: none; }
.wsdomain { display: grid; gap: 7px; font-size: 12.6px; }
.wsdomain p { margin: 0; }
.wstoggle { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.wstoggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
ul.wsparts { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.wspart { display: grid; grid-template-columns: 20px 20px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 6.5px 0; border-top: 1px solid var(--edge); }
.wspart:first-child { border-top: 0; }
.wspart > .plusglyph svg { width: 17px; height: 17px; }
.wspart a { color: var(--ink); font-size: 13.1px; font-weight: 500; text-decoration: none; }
.wspart a:hover { color: var(--accent); }
.wsright { display: flex; flex-direction: column; gap: 12.5px; min-width: 0; }
.wsbrowser { display: flex; flex: 1; flex-direction: column; overflow: hidden; border-radius: 14.5px; background: var(--surface); box-shadow: var(--lift); border: 1px solid var(--edge); }
.wschrome { display: flex; align-items: center; gap: 6.5px; padding: 9px 12.5px; border-bottom: 1px solid var(--edge); }
.wschrome i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #d9d2c7; }
.wschrome i:first-child { background: #e8695c; }
.wschrome i:nth-child(2) { background: #e9b949; }
.wschrome i:nth-child(3) { background: #62b86c; }
.wsurl { display: flex; align-items: center; gap: 6.5px; flex: 1; min-width: 0; margin-left: 9px; padding: 4.5px 11px; border: 1px solid var(--edge); border-radius: 7px; background: var(--paper, #fbf8f3); font-size: 12.2px; color: var(--ink); overflow-wrap: anywhere; }
.wsurl svg { flex: none; width: 11.5px; height: 11.5px; }
.wsscreen { position: relative; flex: 1; min-height: 378px; overflow: hidden; background: var(--paper, #fbf8f3); }
.wsframe { position: absolute; top: 0; left: 0; width: 1280px; height: 792px; border: 0; transform-origin: 0 0; pointer-events: none; }
.wsactions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.wsactions .wsaction { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14.5px; border-radius: 11px; font-size: 13.1px; }
.wsaction svg { width: 15.5px; height: 15.5px; }
.wsmore { position: relative; }
.wsmore .rowmenu { position: absolute; right: 0; bottom: calc(100% + 5.5px); z-index: 20; min-width: 207px; }
.wsstanding { margin: 0; text-align: center; }
.wscards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14.5px; }
.stage .wsedit { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 14.5px 16px; }
.wsedit h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; }
.wsedit h2 svg { width: 20px; height: 20px; color: var(--accent); }
.wsedit .note { margin: 0; }
.wslook, .wsphotos, .wsnone { flex: none; height: 83px; margin-top: auto; }
.wslook { display: flex; align-items: center; justify-content: center; gap: 5.5px; border-radius: 9px; background: #f6f1ea; }
.wsswatch { width: 27px; height: 50.5px; border-radius: 5.5px; }
.wsswatch.a { background: var(--accent); }
.wsswatch.b { background: var(--tint); }
.wsswatch.c { background: var(--line); }
.wsaa { margin-left: 7px; font-size: 36px; line-height: 1; color: var(--ink); }
.wsphotos { display: grid; gap: 3.5px; overflow: hidden; border-radius: 9px; }
.wsphotos.n2 { grid-template-columns: 1fr 1fr; }
.wsphotos.n3 { grid-template-columns: 1fr 1fr 1fr; }
.wsphotos img { display: block; width: 100%; height: 83px; object-fit: cover; }
.wsnone { display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 9px; color: var(--muted); font-size: 12.2px; }
@media (max-width: 1180px) {
  .wscards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .wsgrid { grid-template-columns: minmax(0, 1fr); }
  .wsright { order: -1; }
  .wsscreen { flex: none; min-height: 0; aspect-ratio: 16 / 11; }
}
@media (max-width: 520px) {
  .wscards { grid-template-columns: minmax(0, 1fr); }
  .wsactions .wsaction { flex: 1 1 auto; justify-content: center; }
}
.stage .wsedit .rgcardbtn { margin-top: 0; }
.stage button.wslockedfield { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; width: 100%; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: none; color: var(--muted); font-weight: 400; font-size: 13.1px; text-align: left; cursor: pointer; }
.stage button.wslockedfield:hover:not(:disabled) { background: none !important; border-color: var(--accent); }
.wslockedfield > span:nth-child(2) { overflow-wrap: anywhere; }
.wslockedfield svg { width: 14.5px; height: 14.5px; }
.wslockedfield > .plusglyph:last-child { color: var(--accent); }

/* Check-in: how the day stands, the ways to check in, and the households in a table. */
.cihead { align-items: center; gap: 9px; flex-wrap: nowrap; }
.cievent { position: relative; display: inline-flex; align-items: center; }
.cievent > .plusglyph { position: absolute; left: 12.5px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; color: var(--ink); }
.cievent svg { width: 15.5px; height: 15.5px; }
.stage .cievent select { min-width: 198px; padding: 10px 32.5px 10px 36px; border: 1px solid var(--edge); border-radius: 12.5px; background-color: var(--surface); box-shadow: var(--lift); font-weight: 600; font-size: 13.5px; }
.cimenu { position: relative; }
.stage button.cimore { display: inline-grid; place-items: center; width: 41.5px; height: 41.5px; padding: 0; border: 1px solid var(--edge); border-radius: 12.5px; background: var(--surface); box-shadow: var(--lift); color: var(--ink); }
.cilist .cimore, .stage .cilist button.cimore, .stage .cplist button.cimore { width: 32.5px; height: 32.5px; border: 0; box-shadow: none; background: none; }
.cimore svg { width: 18px; height: 18px; }
.stage .cistats { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 21.5px; padding: 20px 23.5px; }
.cimain { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14.5px; align-items: start; }
.cimain > .plusglyph svg { width: 41.5px; height: 41.5px; color: var(--accent); }
.cilabel { margin: 0; font-family: var(--display); font-size: 17.1px; }
.cibig { margin: 2px 0 9px; font-family: var(--display); font-size: 19.8px; }
.cibig strong { font-size: 36px; font-weight: 500; }
.cibar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14.5px; }
.cibar progress { width: 100%; height: 9px; border: 0; border-radius: 999px; overflow: hidden; background: var(--tint); appearance: none; }
.cibar progress::-webkit-progress-bar { background: var(--tint); border-radius: 999px; }
.cibar progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.cibar progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.cibar span { font-weight: 700; color: var(--accent); font-size: 16.2px; }
.cinums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cinums > div { display: grid; justify-items: center; gap: 3.5px; padding: 3.5px 7px; border-left: 1px solid var(--line); text-align: center; }
.cinums svg { width: 23.5px; height: 23.5px; color: var(--accent); }
.cinums .here svg { color: #2f8a4a; }
.cinums .wait svg { color: #d98a1c; }
.cinums strong { font-size: 23.4px; font-weight: 600; }
.cinums span { color: var(--muted); font-size: 12.6px; }
.ciactions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14.5px; align-items: stretch; }
.stage button.ciscan { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14.5px; border-radius: 12.5px; font-size: 14.4px; }
.ciscan svg, .cisettings svg { width: 20px; height: 20px; }
.ciself { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 11px 14.5px; border: 1px solid var(--edge); border-radius: 12.5px; background: var(--surface); box-shadow: var(--lift); cursor: pointer; }
.ciself svg { width: 21.5px; height: 21.5px; }
.ciself strong { display: block; font-size: 13.5px; }
.ciself small { color: var(--muted); font-size: 12.2px; }
.stage button.cisettings { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12.5px; border: 1px solid var(--edge); border-radius: 12.5px; background: var(--surface); box-shadow: var(--lift); color: var(--ink); font-size: 13.5px; }
.citools { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto; gap: 12.5px; align-items: center; }
.cisearch { position: relative; display: block; margin: 0; }
.cisearch > .plusglyph { position: absolute; left: 12.5px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cisearch svg { width: 16px; height: 16px; }
.stage .cisearch input { width: 100%; padding: 11px 12.5px 11px 38px; border-radius: 12.5px; }
.cisegs { align-self: center; }
.cisegs { gap: 22px; }
.stage .cisegs button { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 10px 1px 11px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); font-weight: 600; box-shadow: none; }
.stage .cisegs button:hover:not(:disabled) { background: none !important; color: var(--ink); }
.stage .cisegs button[aria-pressed=true] { background: none !important; color: var(--ink); border-bottom-color: var(--accent); }
.stage select.cisort { min-width: 171px; padding: 10px 12.5px; border-radius: 12.5px; }
.stage .citable { padding: 7px 18px; }
.cirow { display: grid; grid-template-columns: 25px minmax(198px, 2.4fr) minmax(63px, .8fr) 72px 119px minmax(135px, 1.2fr) 36px; align-items: center; gap: 11px; padding: 11px 0; }
.cihd { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 13.1px; }
.cihd > span:nth-child(4), .ciexpected { text-align: center; }
ul.cilist { margin: 0; padding: 0; list-style: none; }
.cilist .cirow { border-bottom: 1px solid var(--line); }
.cilist .cirow:last-child { border-bottom: 0; }
.stage button.ciopen { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; background: none; color: var(--ink); }
.ciopen svg { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .15s; }
.ciopen[aria-expanded=true] svg { transform: none; }
.ciwho { display: grid; grid-template-columns: 39.5px minmax(0, 1fr); gap: 12.5px; align-items: center; min-width: 0; }
.ciinitials { display: grid; place-items: center; width: 39.5px; height: 39.5px; border-radius: 50%; background: var(--tint); color: var(--deep); font-family: var(--display); font-size: 15.3px; }
.ciwho strong { display: block; font-family: var(--display); font-size: 16.2px; font-weight: 500; }
.ciwho small { display: block; color: var(--muted); font-size: 12.2px; overflow-wrap: anywhere; }
.cistep { display: inline-grid; grid-template-columns: 30.5px 36px 30.5px; align-items: center; justify-self: start; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.stage .cistep button { height: 30.5px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: 16.2px; box-shadow: none; }
.cistep output { text-align: center; font-weight: 600; }
.cistatus { display: inline-flex; align-items: center; gap: 5.5px; padding: 4.5px 11px; border-radius: 999px; font-size: 12.6px; font-weight: 500; white-space: nowrap; }
.cistatus svg { width: 13.5px; height: 13.5px; }
.cistatus.in { background: #e4f1e6; color: #2f6b43; }
.cistatus.partial { background: #fbefd7; color: #8a5a10; }
.cistatus.out { background: #fbe6e3; color: #a3322a; }
.cistatus.no { background: #efe9df; color: var(--muted); }
.cimore-info { grid-column: 2 / -1; padding: 0 0 3.5px 52px; color: var(--muted); font-size: 12.6px; }
.cimore-info p { margin: 0 0 2px; }
.ciempty { padding: 21.5px 0; text-align: center; }
.ciwalkins h2 { margin: 0 0 3.5px; font-size: 17.1px; }
.cicards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14.5px; }
.stage .cicard { display: flex; flex-direction: column; gap: 5.5px; padding: 16px 18px; border: 1px solid var(--edge); text-align: left; color: var(--ink); font-weight: 400; }
.stage button.cicard:hover:not(:disabled) { background: var(--surface) !important; border-color: var(--accent); }
.citop { display: flex; align-items: center; justify-content: space-between; min-height: 27px; }
.citop svg { width: 23.5px; height: 23.5px; color: var(--accent); }
.cicard strong { font-family: var(--display); font-size: 17.1px; font-weight: 500; }
.cicard small { color: var(--muted); font-size: 12.2px; line-height: 1.45; }
.cidialog { width: min(558px, 100%); max-height: calc(100vh - 36px); overflow: auto; }
.cidialoghead { display: flex; align-items: center; justify-content: space-between; gap: 11px; }
.cidialoghead h2 { margin: 0; }
.cisetting { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14.5px; align-items: center; }
.cisetting strong { display: block; }
.cisetting small { color: var(--muted); }
.stage button.ciprint { display: inline-flex; align-items: center; gap: 7px; }
.ciprint svg { width: 15.5px; height: 15.5px; }
.cireport h3 { margin: 12.5px 0 5.5px; font-size: 14.4px; }
.cireport ul { margin: 0; padding: 0; list-style: none; }
.cireport li { display: grid; gap: 1px; padding: 6.5px 0; border-bottom: 1px solid var(--line); }
.cireport small { color: var(--muted); }
.ciframe { position: relative; overflow: hidden; border-radius: 14.5px; background: #1f1b16; aspect-ratio: 4 / 3; }
.civideo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cicorners { position: absolute; inset: 22% 28%; border: 2.5px solid transparent; border-radius: 12.5px; background:
  linear-gradient(var(--accent), var(--accent)) top left / 30.5px 2.5px no-repeat, linear-gradient(var(--accent), var(--accent)) top left / 2.5px 30.5px no-repeat,
  linear-gradient(var(--accent), var(--accent)) top right / 30.5px 2.5px no-repeat, linear-gradient(var(--accent), var(--accent)) top right / 2.5px 30.5px no-repeat,
  linear-gradient(var(--accent), var(--accent)) bottom left / 30.5px 2.5px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom left / 2.5px 30.5px no-repeat,
  linear-gradient(var(--accent), var(--accent)) bottom right / 30.5px 2.5px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom right / 2.5px 30.5px no-repeat; }
.stage .cilocked { display: grid; justify-items: center; gap: 9px; max-width: 504px; margin: 0 auto; padding: 29px; text-align: center; }
.cilocked > .plusglyph svg { width: 48.5px; height: 48.5px; color: var(--accent); }
.cilocked h2 { margin: 0; font-size: 27px; }
.cilocked p { margin: 0; color: var(--muted); }
.cilocked ul { display: grid; gap: 7px; margin: 5.5px 0; padding: 0; list-style: none; text-align: left; }
.cilocked li { display: flex; gap: 9px; align-items: center; }
.cilocked li svg { width: 16px; height: 16px; color: var(--accent); }
.cilocked .row { display: grid; width: 100%; gap: 9px; }
@media (max-width: 1180px) {
  .cicards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cirow { grid-template-columns: 25px minmax(162px, 2fr) 63px 57.5px 108px minmax(117px, 1fr) 32.5px; }
}
@media (max-width: 980px) {
  .stage .cistats { grid-template-columns: minmax(0, 1fr); }
  .ciactions { grid-template-columns: minmax(0, 1fr); }
}
/* With the sidebar beside it, the table needs more room than a small laptop has: each household stacks. */
@media (max-width: 1100px) {
  .citools { grid-template-columns: minmax(0, 1fr) auto; }
  .citools .cisearch { grid-column: 1 / -1; }
  .cisegs { justify-self: start; }
  .cihd { display: none; }
  .cirow { grid-template-columns: 25px minmax(0, 1fr) auto; grid-template-areas: 'open who menu' '. stat tbl' '. step step'; row-gap: 7px; }
  .cirow > .ciopen { grid-area: open; }
  .cirow > .ciwho { grid-area: who; }
  .cirow > .cimenu { grid-area: menu; }
  .cirow > .ciexpected { display: none; }
  .cirow > .citable-name { grid-area: tbl; color: var(--muted); font-size: 12.6px; }
  .cirow > .citable-name.none { visibility: hidden; }
  .cirow > .cistep { grid-area: step; }
  .cirow > span:has(> .cistatus) { grid-area: stat; }
  .cimore-info { grid-column: 2 / -1; padding-left: 0; }
}
@media (max-width: 560px) {
  .cicards { grid-template-columns: minmax(0, 1fr); }
  .cinums > div { padding: 3.5px; }
  .cihead { flex-wrap: wrap; }
  .stage .cievent select { min-width: 0; }
}

/* Capture the day: how it is going, the requests in order, their photos, and the settings. */
.cptitle { display: flex; align-items: center; gap: 12.5px; flex-wrap: wrap; }
.cpplus { display: inline-flex; align-items: center; gap: 5.5px; padding: 4.5px 11px; border-radius: 999px; background: var(--tint); color: var(--deep); font-size: 12.6px; font-weight: 600; white-space: nowrap; }
.cpplus svg { width: 14.5px; height: 14.5px; }
.cpstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14.5px; }
.stage .cpstat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12.5px; align-items: center; padding: 16px 18px; }
.cpstat > .plusglyph svg { width: 30.5px; height: 30.5px; color: var(--accent); }
.cpstat strong { display: block; font-family: var(--display); font-size: 27px; font-weight: 500; line-height: 1.1; }
.cpstat span { color: var(--muted); font-size: 13.1px; }
.cpstat progress { display: block; width: 100%; height: 5.5px; margin-top: 5.5px; border: 0; border-radius: 999px; overflow: hidden; background: var(--tint); appearance: none; }
.cpstat progress::-webkit-progress-bar { background: var(--tint); border-radius: 999px; }
.cpstat progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.cpstat progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.cptop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14.5px; align-items: stretch; }
.stage .cphow { display: grid; align-content: start; gap: 9px; padding: 18px 20px; }
.cphow h2, .cpmix h2 { margin: 0; font-size: 18px; }
.cphow ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.cphow li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; font-size: 13.1px; }
.cphow li svg { width: 16px; height: 16px; color: var(--accent); }
.cphow .cpplus { justify-self: start; }
.cpside { display: grid; gap: 12.5px; align-content: start; }
.stage .cpmix { display: grid; gap: 9px; padding: 16px 20px; }
.cpmixtop { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; align-items: center; }
.cpmixtop svg { width: 21.5px; height: 21.5px; color: var(--accent); }
.cpmixtop p { margin: 0; }
.cpmixrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14.5px; align-items: center; }
.cpmixrow > p { margin: 0; }
.cpmixrow small { display: block; margin-top: 5.5px; color: var(--muted); font-size: 11.7px; text-align: center; }
.cpseg { display: inline-flex; padding: 2.5px; border: 1px solid var(--edge); border-radius: 11px; background: var(--surface); }
.stage .cpseg button { min-width: 43px; padding: 7px 12.5px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-weight: 500; box-shadow: none; }
.stage .cpseg button[aria-checked=true] { background: var(--accent); color: #fff; }
.cpadd { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.stage .cpadd button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11.5px; border-radius: 12.5px; font-size: 13.5px; }
.cpadd svg { width: 16px; height: 16px; }
.stage .cptable { padding: 5.5px 18px; }
.cprow { display: grid; grid-template-columns: 23.5px minmax(0, 1fr) 117px 57.5px 36px; align-items: center; gap: 12.5px; padding: 9px 0; }
.cphd { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 13.1px; }
ul.cplist { margin: 0; padding: 0; list-style: none; }
.cplist .cprow { border-bottom: 1px solid var(--line); }
.cplist .cprow:last-child { border-bottom: 0; }
.cplist .cprow.off .cpwhat { opacity: .55; }
.cpwhat { display: grid; grid-template-columns: 86.5px minmax(0, 1fr); gap: 12.5px; align-items: center; min-width: 0; }
.cpwhat img, .cpblank { width: 86.5px; height: 50.5px; border-radius: 7px; object-fit: cover; }
.cpblank { display: grid; place-items: center; background: var(--tint); color: var(--accent); }
.cpblank svg { width: 20px; height: 20px; }
.cpwhat strong { display: block; font-family: var(--display); font-size: 16.2px; font-weight: 500; }
.cpwhat small { display: block; color: var(--muted); font-size: 12.2px; }
.stage button.cpcount { display: inline-flex; align-items: center; gap: 7px; justify-self: start; padding: 3.5px 5.5px; border: 0; background: none; color: var(--ink); font-weight: 400; box-shadow: none; }
.cpcount svg { width: 16px; height: 16px; }
.stage .cpphotos { display: grid; gap: 12.5px; padding: 16px 18px; }
.cpphotoshead { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.stage .cpphotoshead select { min-width: 216px; width: auto; }
.cpphotoshead .note { flex: 1; }
ul.cpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; }
.cpgrid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.cpgrid small { display: block; margin-top: 2.5px; color: var(--muted); font-size: 11.2px; }
.stage .cpsettings { padding: 16px 20px; }
.cpcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage .cpcard { display: grid; gap: 12.5px; align-content: space-between; padding: 16px 18px; }
.cpcardtop { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; }
.cpcardtop > .plusglyph svg { width: 23.5px; height: 23.5px; color: var(--accent); }
.cpcardtop strong { display: block; font-family: var(--display); font-size: 17.1px; font-weight: 500; }
.cpcardtop small { color: var(--muted); font-size: 12.2px; }
.stage .cpcard button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 10px; border-radius: 11px; }
.cpcard button svg { width: 15.5px; height: 15.5px; }
ul.cpideas, ul.cppreview { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cpideas li, .cppreview li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.cpideas label { display: flex; gap: 9px; align-items: center; margin: 0; font-weight: 400; cursor: pointer; }
.cppreview li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 11px; align-items: start; }
.cppreview strong { display: block; font-weight: 600; }
.cppreview small { color: var(--muted); }
.cpcircle { width: 18px; height: 18px; margin-top: 2px; border: 2px solid var(--line); border-radius: 50%; }
@media (max-width: 1180px) {
  .cpstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cptop { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .cpcards { grid-template-columns: minmax(0, 1fr); }
  .cprow { grid-template-columns: 23.5px minmax(0, 1fr) auto 32.5px; grid-template-areas: 'grip what what menu' '. count show .'; row-gap: 5.5px; }
  .cphd { display: none; }
  .cprow > .pthandle, .cprow > span:first-child { grid-area: grip; }
  .cprow > .cpwhat { grid-area: what; }
  .cprow > .cpcount { grid-area: count; }
  .cprow > .wstoggle { grid-area: show; justify-self: end; }
  .cprow > .cimenu { grid-area: menu; }
}
@media (max-width: 560px) {
  .cpstats { grid-template-columns: minmax(0, 1fr); }
  .cpmixrow, .cpadd { grid-template-columns: minmax(0, 1fr); }
  .cpwhat { grid-template-columns: 65px minmax(0, 1fr); }
  .cpwhat img, .cpblank { width: 65px; height: 43px; }
}

/* The live slideshow: whether it runs, how it looks, a preview of the screen, and its photos. */
.stage .ssstatus { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 21.5px; }
.ssstatus > .plusglyph svg { width: 36px; height: 36px; color: var(--accent); }
.ssstatus p { margin: 0; }
.sslabel { display: flex; flex-wrap: wrap; align-items: center; gap: 12.5px; font-family: var(--display); font-size: 18px; }
.ssdot { display: inline-flex; align-items: center; gap: 6.5px; font-family: var(--sans, inherit); font-size: 13.5px; font-weight: 600; }
.ssdot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ssdot.ready { color: #2f8a4a; }
.ssdot.on { color: var(--accent); }
.ssdot.on::before { animation: sslive 1.6s ease-in-out infinite; }
@keyframes sslive { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ssdot.on::before { animation: none; } }
.stage button.ssstart, .stage button.ssstop { display: inline-flex; align-items: center; gap: 9px; padding: 12.5px 25px; border-radius: 12.5px; font-size: 14.4px; }
.ssstart svg, .ssstop svg { width: 16px; height: 16px; }
.stage button.ssstop { background: var(--surface); border: 1px solid var(--accent); color: var(--accent); }
.ssgrid { display: grid; grid-template-columns: minmax(270px, 360px) minmax(0, 1fr); gap: 18px; }
.stage .sssettings { display: grid; gap: 11px; align-content: start; padding: 18px 20px; }
.sssettings h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 18.9px; }
.sssettings h2 svg { width: 20px; height: 20px; color: var(--accent); }
.sssettings .field { display: grid; gap: 5.5px; margin: 0; }
.sssettings .wslabel { margin: 3.5px 0 0; }
.ssstyles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.stage .ssstyles button { display: grid; justify-items: center; gap: 7px; padding: 12.5px 5.5px; border: 1px solid var(--edge); border-radius: 12.5px; background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: none; }
.ssstyles svg { width: 30.5px; height: 30.5px; }
.stage .ssstyles button[aria-checked=true] { border: 2px solid var(--accent); background: var(--tint); color: var(--accent); }
.ssheading { display: grid; justify-items: center; gap: 3.5px; padding: 16px 11px; border-radius: 11px; background: var(--tint); font-family: var(--display); font-style: italic; font-size: 25.2px; color: var(--ink); text-align: center; overflow-wrap: anywhere; }
.ssflourish svg { width: 16px; height: 16px; color: var(--accent); }
.ssrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 11px; align-items: center; margin: 0; font-size: 13.1px; font-weight: 500; }
.ssrow > span { display: inline-flex; align-items: center; gap: 5.5px; }
.stage select.sssmall { width: auto; min-width: 108px; }
.ssbox { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--lift); background: #14110e; }
.ssscreen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.ssframe { position: absolute; top: 0; left: 0; width: 1280px; height: 648px; border: 0; transform-origin: 0 0; pointer-events: none; }
.sschip { position: absolute; top: 12.5px; right: 12.5px; padding: 4.5px 11px; border-radius: 999px; background: rgba(251,248,243,.92); color: var(--ink); font-size: 12.2px; font-weight: 600; }
.stage .ssnumbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14.5px 9px; }
.ssnumbers > div { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 11px; align-items: center; padding: 0 12.5px; border-left: 1px solid var(--line); }
.ssnumbers > div:first-child { border-left: 0; }
.ssnumbers > div > .plusglyph { grid-row: 1 / 3; }
.ssnumbers svg { width: 29px; height: 29px; color: var(--accent); }
.ssnumbers strong { font-size: 23.4px; font-weight: 600; line-height: 1.1; }
.ssnumbers span { color: var(--muted); font-size: 12.6px; }
@media (max-width: 1100px) {
  .ssgrid { grid-template-columns: minmax(0, 1fr); }
  .ssgrid .wsright { order: -1; }
}
@media (max-width: 760px) {
  .stage .ssstatus { grid-template-columns: auto minmax(0, 1fr); }
  .ssstatus > button { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 520px) {
  .stage .ssnumbers { grid-template-columns: minmax(0, 1fr); row-gap: 11px; }
  .ssnumbers > div { border-left: 0; }
}


/* ---- Photos (/photos): the piles as cards, the pile open with its photos to tick, and what to do with them ---- */
.stage .pppiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 5.5px; }
.stage button.pppile { display: grid; justify-items: center; gap: 7px; padding: 14.5px 9px 12.5px; border: 0; border-radius: 12.5px; background: none; color: var(--ink); font-weight: 600; box-shadow: none; }
.stage button.pppile + button.pppile { border-left: 1px solid var(--edge); border-radius: 0; }
.stage button.pppile[aria-selected=true], .stage button.pppile[aria-selected=true]:hover:not(:disabled) { background: var(--tint) !important; color: var(--deep); border-radius: 12.5px; box-shadow: inset 0 -2.5px 0 var(--accent); }
.stage button.pppile[aria-selected=true] + button.pppile { border-left-color: transparent; }
.pppilename { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.pppilename svg { width: 19px; height: 19px; }
.pppilecount { font-family: var(--display); font-size: 18.9px; font-weight: 500; line-height: 1; }
.pppile.alarm .pppilecount, .pppile.due .pppilecount, .pppile.soft .pppilecount { display: inline-grid; place-items: center; min-width: 25px; height: 25px; padding: 0 7px; border-radius: 999px; font-family: inherit; font-size: 12.6px; font-weight: 700; }
.pppile.alarm .pppilecount { background: #a3312a; color: #fff; }
.pppile.due .pppilecount { background: var(--accent); color: #fff; }
.pppile.soft .pppilecount { background: var(--tint); color: var(--deep); }
.stage .pppanel { display: grid; gap: 14.5px; padding: 18px 20px; }
.pppanelhead { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12.5px; }
.pppanelhead h2 { margin: 0 0 2px; font-size: 19.8px; }
.pppanelhead .note { margin: 0; }
.ppapproval { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--edge); border-radius: 11px; background: var(--surface); font-weight: 600; font-size: 13.1px; }
.pppanelhead .cimenu > button { display: inline-flex; align-items: center; gap: 7px; min-width: 108px; justify-content: space-between; border-radius: 11px; }
.pppanelhead .cimenu > button svg, .ppbar svg { width: 15.5px; height: 15.5px; }
.ppgrid { grid-template-columns: repeat(auto-fill, minmax(162px, 1fr)); }
.pptile { position: relative; }
.pptile .ptile { width: 100%; }
.pptile.on .ptile { outline: 2.5px solid var(--accent); outline-offset: -2.5px; }
.pptile.flagged .ptile { outline: 2.5px solid #a3312a; outline-offset: -2.5px; }
.pptick { position: absolute; top: 7px; left: 7px; display: grid; place-items: center; width: 30.5px; height: 30.5px; margin: 0; cursor: pointer; }
.pptick input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.pptile .pclip { left: auto; right: 7px; top: auto; bottom: 27px; }
.ppbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-top: 12.5px; border-top: 1px solid var(--line); }
.ppbar > button, .ppbar .cimenu > button { display: inline-flex; align-items: center; gap: 7px; border-radius: 11px; }
.ppall { display: inline-flex; align-items: center; gap: 7px; margin: 0 5.5px 0 0; font-weight: 600; }
.ppall input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.stage .ppbar button.ppmain:not(:disabled) { background: #e4f1e6; border-color: #cfe5d3; color: #2f6b43; }
.ppsort { margin: 0 0 0 auto; }
.stage .ppsort select { width: auto; min-width: 135px; border-radius: 11px; }
.pppanel .cimenu .rowmenu { position: absolute; top: calc(100% + 5.5px); left: 0; z-index: 20; min-width: 198px; }
.pppanelhead .cimenu .rowmenu { left: auto; right: 0; }
.ppcards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage .ppcards .cpcard { align-content: space-between; }
@media (max-width: 1100px) {
  .stage .pppiles { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 5.5px; }
  .stage button.pppile:nth-child(4) { border-left: 0; }
  .ppcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  /* A list, as in the app: each pile a row, its count at the end. */
  .stage .pppiles { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .stage button.pppile, .stage button.pppile + button.pppile { display: flex; align-items: center; justify-content: space-between; padding: 11.5px 12.5px; border-left: 0; border-radius: 11px; }
  .stage button.pppile + button.pppile { border-top: 1px solid var(--edge); border-radius: 0; }
  .stage button.pppile[aria-selected=true] { box-shadow: inset 2.5px 0 0 var(--accent); }
  .ppgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ppsort { margin-left: 0; }
  .ppcards { grid-template-columns: minmax(0, 1fr); }
}
.ppcards .cpcardtop { align-items: start; }
.ppcards .cpcardtop > .plusglyph { margin-top: 2px; }
.cidialog fieldset { display: grid; gap: 9px; margin: 3.5px 0 0; padding: 0; border: 0; }
.cidialog legend { margin-bottom: 7px; padding: 0; }

/* ---- Guestbook (/guestbook): how it stands, the tabs, each message as a row, and keeping it ---- */
.gbstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14.5px; }
.stage button.gbstat { display: flex; align-items: center; justify-content: center; gap: 12.5px; padding: 16px 14.5px; border: 1px solid var(--edge); color: var(--ink); text-align: left; font-weight: 600; }
.stage button.gbstat:hover:not(:disabled) { background: var(--surface) !important; border-color: var(--accent); }
.stage button.gbstat.due, .stage button.gbstat.due:hover:not(:disabled) { background: var(--tint) !important; color: var(--deep); }
.stage button.gbstat.on { box-shadow: inset 0 -2.5px 0 var(--accent), var(--lift); }
.gbstat > .plusglyph svg { width: 27px; height: 27px; }
.gbstat.due > .plusglyph svg { color: var(--accent); }
.gbstat > span { display: grid; gap: 3.5px; }
.gbstatname { font-size: 14px; }
.gbstat strong { font-family: var(--display); font-size: 22.5px; font-weight: 500; line-height: 1; }
.gbbadge { display: inline-grid; place-items: center; justify-self: start; min-width: 27px; height: 27px; padding: 0 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 700; }
.stage .gbpanel { display: grid; gap: 12.5px; padding: 14.5px 16px; }
.gbtabs { gap: 0; }
.gbtabs [role=tab] { flex: 1 1 0; }
.gbtabs [role=tab] { justify-content: center; }
.gbtabs svg { width: 17px; height: 17px; }
.gbtools { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.gbsearch { position: relative; flex: 1 1 252px; margin: 0; }
.gbsearch > .plusglyph { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.gbsearch svg { width: 16px; height: 16px; }
.stage .gbsearch input { width: 100%; padding-left: 36px; border-radius: 11px; }
.gbtools .ppsort { margin-left: auto; }
/* The Activity log's search and order, and what's said at its foot. */
.acttools { margin: 3.5px 0 14.5px; }
.actfoot { text-align: center; margin: 16px 0; }
.actfoot .note { margin: 0 0 7px; }
.gblist { display: grid; }
.gbrow { display: grid; grid-template-columns: 68.5px minmax(0, 1fr) auto auto; gap: 14.5px; align-items: center; padding: 12.5px 3.5px; border-top: 1px solid var(--line); }
.gbrow:first-child { border-top: 0; }
/* Sealing the guestbook, on the page itself between the counts and the messages. */
.stage .panel.cisetting.gbseal { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
/* A row with no video has no picture to start it. */
.gbrow.bare { grid-template-columns: minmax(0, 1fr) auto auto; }
.gbthumb { position: relative; display: grid; place-items: center; width: 68.5px; height: 57.5px; overflow: hidden; border: 0; padding: 0; border-radius: 9px; background: var(--tint); color: var(--deep); font-family: var(--display); font-size: 19.8px; }
.stage button.gbthumb.video { background: #14110e; color: #fff; }
.gbthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gbplayover { position: relative; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.35); }
.gbplayover svg { width: 11.5px; height: 11.5px; fill: #fff; }
.gbdur { position: absolute; right: 3.5px; bottom: 2.5px; padding: 0 4.5px; border-radius: 5.5px; background: rgba(0,0,0,.6); color: #fff; font: 600 9.9px/1.5 system-ui, sans-serif; }
.gbmain h3 { margin: 0; font-family: var(--display); font-size: 16.2px; font-weight: 500; }
.gbwhen { margin: 0 0 3.5px; color: var(--muted); font-size: 11.7px; }
.gbtext { margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gbtext.big { display: block; font-size: 15.3px; white-space: pre-wrap; }
.gbvoice { display: flex; align-items: center; gap: 11px; max-width: 324px; margin-top: 3.5px; }
.stage button.gbplay { display: grid; place-items: center; width: 30.5px; height: 30.5px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #fff; flex: none; }
.gbplay svg { width: 12.5px; height: 12.5px; fill: currentColor; }
.gbbar { position: relative; flex: 1; height: 3.5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.gbfill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.gbtime { color: var(--muted); font-size: 11.7px; font-variant-numeric: tabular-nums; }
.gbpill { display: inline-flex; align-items: center; gap: 5.5px; padding: 4.5px 11px; border-radius: 999px; font-size: 12.2px; font-weight: 600; white-space: nowrap; }
.gbpill svg { width: 13.5px; height: 13.5px; }
.gbpill.due { background: #fbefd7; color: #8a5a10; }
.gbpill.ok { background: #e4f1e6; color: #2f6b43; }
.gbpill.off { background: #efe9df; color: var(--muted); }
.gbacts { display: flex; align-items: center; gap: 7px; }
.gbacts > button, .gbacts .cimenu > button { display: inline-flex; align-items: center; gap: 6.5px; border-radius: 11px; }
.gbacts svg { width: 15.5px; height: 15.5px; }
.stage .gbacts button.gbapprove { background: #e4f1e6; border-color: #cfe5d3; color: #2f6b43; }
.stage .gbacts button.gbmore { width: 38px; justify-content: center; padding-left: 0; padding-right: 0; }
.gbacts .cimenu .rowmenu { position: absolute; top: calc(100% + 5.5px); right: 0; z-index: 20; }
.pagehead .cimenu .rowmenu { position: absolute; top: calc(100% + 5.5px); left: 0; z-index: 20; }
.gbfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.gbfoot .note { margin: 0; }
.gbfoot button { display: inline-flex; align-items: center; gap: 5.5px; border-radius: 11px; }
.gbfoot svg { width: 14.5px; height: 14.5px; }
.gbvideo { width: 100%; max-height: 60vh; border-radius: 12.5px; background: #000; }
.gbsummary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.gbsummary > div { display: grid; gap: 2px; padding: 11px; border: 1px solid var(--edge); border-radius: 11px; background: var(--surface); }
.gbsummary strong { font-family: var(--display); font-size: 21.6px; font-weight: 500; }
.gbsummary span { color: var(--muted); font-size: 11.7px; }
@media (max-width: 1100px) {
  .gbrow { grid-template-columns: 68.5px minmax(0, 1fr); }
  .gbrow > .gbpill { grid-column: 2; justify-self: start; }
  .gbrow > .gbacts { grid-column: 2; }
  .gbrow.bare { grid-template-columns: minmax(0, 1fr); }
  .gbrow.bare > .gbpill, .gbrow.bare > .gbacts { grid-column: 1; }
}
@media (max-width: 760px) {
  .gbstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gbtabs [role=tab] { flex: 1 0 auto; padding-inline: 8px; }
  .gbsummary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .gbrow { grid-template-columns: 50.5px minmax(0, 1fr); gap: 11px; }
  .gbrow.bare { grid-template-columns: minmax(0, 1fr); }
  .gbthumb { width: 50.5px; height: 50.5px; font-size: 16.2px; }
  .gbacts { flex-wrap: wrap; }
}
.stage button.gbstat { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 12.5px; }
.gbstat > span { justify-items: start; }
.pagehead .cimenu > .previewbtn { display: inline-flex; align-items: center; gap: 7px; }
.pagehead .cimenu > .previewbtn svg { width: 15.5px; height: 15.5px; }
.ppcards .cpcardtop strong { font-size: 15.3px; }

/* ---- Wedding Plus as a button (plusbanner.js): a paywall photograph under the wedding's color, Jovvy's heart cut out ---- */
.stage a.plusbanner { position: relative; display: flex; align-items: center; gap: 12.5px; width: 100%; min-height: 79px; margin: 5.5px 0; padding: 12.5px 18px 12.5px 88px; overflow: hidden; border-radius: 20px; background: #b06a3c url(/media/plus/button.jpg) center top / cover; color: #fff; text-align: left; text-decoration: none; box-shadow: 0 5.5px 16px -5.5px rgba(31, 27, 22, .45); transition: transform .15s, box-shadow .15s; }
.stage a.plusbanner:hover { transform: translateY(-1px); box-shadow: 0 9px 21.5px -7px rgba(31, 27, 22, .5); }
.stage a.plusbanner:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2.5px; }
.plusbannercut { position: absolute; inset: 0; background: var(--accent); opacity: .9;
  -webkit-mask: url(/logo.png) 18px 50% / 60px 60px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: url(/logo.png) 18px 50% / 60px 60px no-repeat, linear-gradient(#000 0 0); mask-composite: exclude; }
/* Planner Pro's button: its own photograph and terracotta. */
.stage a.plusbanner.planner { background: #a8502f url(/media/planner/button.jpg) center / cover; }
.plusbanner.planner .plusbannercut { background: #a8502f; }
.stage a.plusbanner.planner:focus-visible { outline-color: #a8502f; }
.plusbannerwords { position: relative; display: grid; gap: 2px; flex: 1; }
.plusbannerwords strong { font-size: 15.3px; font-weight: 700; }
.plusbannerwords span { font-size: 12.2px; opacity: .92; }
.plusbanner > .plusbannerarrow { position: relative; flex: none; }
.plusbanner > .plusbannerarrow svg { width: 21.5px; height: 21.5px; color: #fff; }
@media (max-width: 520px) {
  .stage .cilocked { padding: 21.5px 14.5px; }
  .stage a.plusbanner { min-height: 68.5px; padding: 11px 12.5px 11px 66.5px; }
  .plusbannercut { -webkit-mask-position: 12.5px 50%, 0 0; -webkit-mask-size: 41.5px 41.5px, auto; mask-position: 12.5px 50%, 0 0; mask-size: 41.5px 41.5px, auto; }
  .plusbannerwords strong { font-size: 14.4px; }
  .plusbannerwords span { font-size: 11.7px; }
}
/* In a narrow column (Website settings), the smaller button, as on a phone. */
.wsbody a.plusbanner { min-height: 68.5px; padding: 11px 12.5px 11px 65px; border-radius: 16px; }
.wsbody .plusbannercut { -webkit-mask-position: 11px 50%, 0 0; -webkit-mask-size: 41.5px 41.5px, auto; mask-position: 11px 50%, 0 0; mask-size: 41.5px 41.5px, auto; }
.wsbody .plusbannerwords strong { font-size: 14.4px; }
.wsbody .plusbannerwords span { font-size: 11.7px; }


/* ---- Who's joined (/joined): how it stands, the tabs, the table, and what to do ---- */
.wjstats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.stage button.wjstat { display: grid; justify-items: center; gap: 3.5px; padding: 14.5px 9px; border: 1px solid var(--edge); color: var(--ink); font-weight: 500; text-align: center; }
.stage button.wjstat:hover:not(:disabled) { background: var(--surface) !important; border-color: var(--accent); }
.stage button.wjstat.fresh, .stage button.wjstat.fresh:hover:not(:disabled) { background: var(--tint) !important; color: var(--deep); }
.wjstatnum { display: inline-flex; align-items: center; gap: 7px; }
.wjstatnum svg { width: 21.5px; height: 21.5px; color: var(--accent); }
.wjstat.warn .wjstatnum svg { color: #b7791f; }
.wjstatnum strong { font-family: var(--display); font-size: 23.4px; font-weight: 500; line-height: 1; }
.wjstat > span:last-child { font-size: 12.6px; }
.stage .wjpanel { display: grid; gap: 12.5px; padding: 14.5px 16px; }
.wjtabs { gap: 0; }
.wjtabs [role=tab] { flex: 1 0 auto; justify-content: center; padding-inline: 10px; }
.wjtabs svg { width: 16px; height: 16px; }
.wjtable { display: grid; }
.wjrow { display: grid; grid-template-columns: 30.5px minmax(0, 2.2fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr) 63px; gap: 11px; align-items: center; padding: 9px 3.5px; border-top: 1px solid var(--line); }
.wjtable.nolist .wjrow { grid-template-columns: 30.5px minmax(0, 2.2fr) minmax(0, 1.1fr) 0 minmax(0, 1.2fr) 63px; }
.wjrow:first-child { border-top: 0; }
.wjheadrow { font-size: 12.2px; font-weight: 600; color: var(--muted); }
.wjactshead { text-align: right; }
.wjtick { display: grid; place-items: center; margin: 0; }
.wjtick input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.wjguest { display: flex; align-items: center; gap: 11px; min-width: 0; }
.wjguest > div { display: grid; min-width: 0; }
.wjguest strong { font-family: var(--display); font-size: 15.3px; font-weight: 500; }
.wjguest small { color: var(--muted); font-size: 11.7px; overflow-wrap: anywhere; }
.wjavatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--deep); font-family: var(--display); font-size: 14.4px; }
.wjwhen { font-size: 12.6px; }
.gbpill.role { background: #f3e3ea; color: #8a3a5c; white-space: normal; }
.wjacts { justify-self: end; }
.wjacts .rowmenu { position: absolute; top: calc(100% + 5.5px); right: 0; z-index: 20; }
.wjrequest, .wjleft { grid-template-columns: 30.5px minmax(0, 1fr) auto; }
.wjroles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5.5px 12.5px; }
.wjroles .check { margin: 0; }
@media (max-width: 1100px) {
  .wjstats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wjrow { grid-template-columns: 30.5px minmax(0, 1fr) auto; }
  .wjrow > .wjwhen, .wjrow > .gbpill, .wjrow > .wjroleslist { grid-column: 2; }
  .wjrow > .wjacts { grid-column: 3; grid-row: 1; }
  .wjheadrow { display: none; }
  .wjtable.nolist .wjrow { grid-template-columns: 30.5px minmax(0, 1fr) auto; }
}
@media (max-width: 520px) {
  .wjstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wjroles { grid-template-columns: minmax(0, 1fr); }
}
.wjrow > .gbpill, .wjroleslist > .gbpill { justify-self: start; }
.stage .cpcard a.button { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 10px; border-radius: 11px; }

/* Your account's picture (accountscreens.js). */
.acctphoto { display: flex; align-items: center; gap: 16px; margin: 3.5px 0 16px; }
.acctface { flex: none; width: 68.5px; height: 68.5px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #fffdf8; border: 1px solid var(--line); font-family: var(--display); font-size: 23.4px; color: var(--accent); }
.acctphotowords { display: grid; gap: 3.5px; min-width: 0; }
.acctphotowords .row { margin: 0; }
.acctphotowords .note { margin: 0; }
/* A host's picture, or their initials, in Your team (reviewscreens.js drawTeam). */
.teamface { flex: none; width: 39.5px; height: 39.5px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #fffdf8; border: 1px solid var(--line); font-family: var(--display); font-size: 14.4px; color: var(--accent); }
.srow:has(.teamface) { align-items: center; }
.teamface.small { width: 32.5px; height: 32.5px; font-size: 12.6px; }

/* ---- Overview (home.js), redesigned 6 November 2026 -----------------------------------
   A welcome card with the couple's photo in an arch; the next step with a
   picture and how far along; each part of the wedding at a glance; what is
   coming up; and the code on a stationery card. The band above keeps its
   buttons here but not the names, the day, or the photo, which the welcome
   shows. Sizes as drawn at 90% (tools/dev/scalecss.py). */
body[data-section="home"] .weddinghead .headwords,
body[data-section="home"] .weddinghead .headphoto { display: none; }
body[data-section="home"] .weddinghead .headtop { justify-content: flex-end; }
.stage[data-view="home"] { gap: 16px; }
.ovlabel { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.ovhero, .ovnext, .ovtile, .ovsoon, .ovphone { background: var(--surface); border-radius: 22px; box-shadow: 0 1px 2px rgba(31,27,22,.05), 0 14px 34px -18px rgba(31,27,22,.22); }
.ovhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 290px); gap: 26px; padding: 32px 32px 30px 38px; background: linear-gradient(120deg, var(--surface) 55%, #f5ebe5); overflow: hidden; }
.ovherowords { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ovwhen { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ovwhen a { color: var(--accent); }
.stage .ovhero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.025em; margin: 10px 0 6px; overflow-wrap: anywhere; }
.ovhero h1 em { font-style: italic; font-weight: 300; color: var(--accent); padding: 0 .06em; }
.ovhello { margin: 0; color: var(--muted); font-size: 14.5px; }
.ovcount { display: flex; gap: 26px; margin: 22px 0 20px; }
.ovcount > span { display: flex; flex-direction: column; }
.ovcount b { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 44px; line-height: 1; color: #5e2b18; font-variant-numeric: tabular-nums; }
.ovcount small { margin-top: 6px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ovcode { display: inline-flex; align-items: center; gap: 11px; margin: 18px 0 0; padding: 6px 6px 6px 15px; border: 1px solid #ead9cc; border-radius: 999px; background: #fffaf6; color: var(--muted); font-size: 13px; }
.ovcount + .ovcode { margin-top: 0; }
.ovcode strong { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: .18em; color: var(--ink); }
.stage .ovcode button.small { margin: 0; border-radius: 999px; padding: 5px 13px; }
.ovcode.quiet { padding: 8px 15px; }
.ovcode.quiet a { color: var(--accent); font-weight: 600; text-decoration: none; }
.ovarch { align-self: stretch; min-height: 270px; border-radius: 150px 150px 18px 18px; overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 0 0 1px #e7d6c7, 0 18px 40px -20px rgba(94,43,24,.45); background: var(--tint); }
.ovarch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ovarch.blank { display: grid; place-items: center; }
.ovarch.blank span { font-family: var(--display); font-size: 56px; font-style: italic; font-weight: 300; color: var(--accent); letter-spacing: .04em; }

.ovnext { display: grid; grid-template-columns: minmax(0, 1fr) 270px; overflow: hidden; }
.ovnextmain { display: flex; align-items: center; gap: 22px; padding: 24px 28px; }
.ovnextart { flex: none; width: 118px; height: 96px; border-radius: 16px; object-fit: cover; background: #f5ebe5; }
.stage .ovnext h2 { font-size: 24px; margin: 4px 0 3px; letter-spacing: -.01em; }
.ovnext .note { margin: 0 0 13px; }
.stage .ovnext a.button.primary { display: inline-flex; padding: 9px 20px; font-size: 13.5px; }
.ovnextside { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px 24px; background: var(--tint); }
.ovring { display: flex; align-items: center; gap: 14px; }
.ovring::before { content: ''; flex: none; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(closest-side, var(--tint) 76%, transparent 78%), conic-gradient(var(--accent) var(--done), #e8cfc2 0); }
.ovring span { display: grid; }
.ovring b { font-family: var(--display); font-weight: 500; font-size: 21px; }
.ovring small { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ovdots { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; }
.ovdots i { height: 6px; border-radius: 99px; background: #e8cfc2; }
.ovdots i.done { background: var(--accent); }
.stage .ovnextside button.link { align-self: flex-start; padding: 0; font-size: 13px; color: #5e2b18; }
.ovsteps { grid-column: 1 / -1; padding: 6px 28px 18px; border-top: 1px solid var(--line); }

.ovsect { margin: 14px 4px 0; }
.stage .ovsect h2 { font-size: 22px; letter-spacing: -.01em; }
.ovglance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ovtile { position: relative; display: flex; gap: 18px; min-height: 140px; padding: 18px 20px; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.ovtile:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgba(31,27,22,.06), 0 18px 38px -18px rgba(31,27,22,.3); }
@media (prefers-reduced-motion: reduce) { .ovtile, .ovtile:hover { transition: none; transform: none; } }
.ovtile.wide { grid-column: span 2; }
.ovtilewords { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ovtiletop { display: flex; align-items: center; gap: 8px; padding-right: 22px; }
.ovtiletop .plusglyph { color: var(--accent); display: inline-flex; }
.ovtiletop .plusglyph svg { width: 18px; height: 18px; }
.ovtiletop .ovlabel { color: var(--ink); letter-spacing: .12em; }
.ovfigure { margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.05; letter-spacing: -.02em; }
.ovfigure.words { font-size: 27px; }
.ovfigure small { margin-left: 5px; font-family: inherit; font-family: Inter, system-ui, sans-serif; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.ovbar { display: block; height: 6px; margin-top: 4px; border-radius: 99px; background: #f0e4dc; overflow: hidden; }
.ovbar span { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.ovline { margin-top: auto; padding-top: 4px; color: var(--muted); font-size: 12.6px; }
.ovtile.alert .ovline { color: var(--accent); font-weight: 600; }
.ovtile .tilego { right: 18px; top: 16px; }
.ovtile:hover .tilego { color: var(--accent); }
.ovthumbs { display: grid; grid-template-columns: repeat(4, 86px); gap: 8px; align-self: center; margin-right: 18px; }
.ovthumbs img { width: 86px; height: 86px; border-radius: 12px; object-fit: cover; display: block; background: var(--tint); }
.ovfaces { display: flex; margin-top: 8px; }
.ovfaces i { width: 28px; height: 28px; margin-left: -7px; border: 2px solid var(--surface); border-radius: 50%; background: var(--tint); color: #5e2b18; font: 600 10px/24px Inter, system-ui, sans-serif; text-align: center; font-style: normal; }
.ovfaces i:first-child { margin-left: 0; }

.ovpair { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ovpair.single { grid-template-columns: minmax(0, 1fr); }
.ovsoon { padding: 22px 24px; }
.ovsoonhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stage .ovsoon h2 { font-size: 22px; }
.ovsoonhead .ovlabel { color: var(--accent); }
.ovsoon ol { list-style: none; margin: 16px 0 0 5px; padding: 0 0 0 18px; border-left: 1.5px solid #ecd9cc; display: grid; gap: 15px; }
.ovsoon li { position: relative; display: grid; gap: 1px; }
.ovsoon li::before { content: ''; position: absolute; left: -24.5px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.ovsoon li.passed::before { background: var(--accent); }
.ovdue { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ovsoon li strong { font-family: var(--display); font-weight: 400; font-size: 17px; }
.ovsoon li .note, .ovsoon > .note { margin: 0; font-size: 12.6px; }
.ovsoon > .note { margin-top: 14px; }
.ovshare { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 26px 28px; text-align: center; background: #fffdf8; border-radius: 4px; box-shadow: 0 1px 0 #e9e0d0, 0 26px 50px -34px rgba(31,27,22,.45); }
.ovshare::before { content: ''; position: absolute; inset: 10px; border: 1px solid #d9c9ae; pointer-events: none; }
.ovshare > * { position: relative; }
.stage .ovshare h2 { margin-top: 7px; font-size: 22px; }
.ovshare .note { margin: 8px 0 14px; max-width: 30em; }
.ovbigcode { margin: 14px 0 3px; padding-left: .3em; font-family: var(--display); font-size: 38px; letter-spacing: .3em; }
.ovlink { margin: 0 0 15px; color: var(--muted); font-size: 12.6px; }
.ovshareacts { justify-content: center; gap: 9px; }

.ovphone { display: flex; align-items: center; gap: 13px; padding: 14px 20px; color: var(--muted); font-size: 12.6px; border-radius: 16px; }
.ovphone .plusglyph { color: var(--accent); display: inline-flex; }
.ovphone .plusglyph svg { width: 18px; height: 18px; }
.ovphone p { margin: 0; }
.ovphone a { color: var(--accent); font-weight: 600; }

/* Narrower: two to a row, the photos across; then one column. */
@media (max-width: 1100px) {
  .ovglance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ovtile.wide { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ovhero { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .ovarch { order: -1; min-height: 0; height: 220px; border-radius: 120px 120px 16px 16px; }
  .ovcount { gap: 20px; }
  .ovcount b { font-size: 38px; }
  .ovnext { grid-template-columns: minmax(0, 1fr); }
  .ovnextmain { padding: 20px; gap: 16px; align-items: flex-start; }
  .ovnextart { width: 84px; height: 72px; }
  .ovsteps { padding: 6px 20px 16px; }
  .ovglance { grid-template-columns: minmax(0, 1fr); }
  .ovtile.wide { flex-direction: column; }
  .ovthumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; margin-right: 0; }
  .ovthumbs img { width: 100%; height: auto; aspect-ratio: 1; }
  .ovpair { grid-template-columns: minmax(0, 1fr); }
  .ovbigcode { font-size: 30px; }
  /* The code's pill on one line: a little smaller, nothing wrapping. */
  .ovcode { gap: 8px; padding-left: 12px; font-size: 12px; white-space: nowrap; max-width: 100%; }
  .ovcode strong { font-size: 14.5px; letter-spacing: .12em; }
  .stage .ovcode button.small { padding: 5px 11px; white-space: nowrap; }
}

/* ---- Plans (/plans/, home.js drawPlans), 6 November 2026 -------------------------------
   A pricing page: a photograph under a deep warm wash with "Make the day
   unforgettable"; three plan cards rising over its foot, each with its own
   photograph, the crown and its name, a large price, who it is for, four
   things it gives, and what to do; and the chosen plan's details below. In
   Jovvy's terracotta, as its paid plans are, whatever the wedding's color. */
.stage[data-view="plans"] { max-width: 1180px; gap: 18px; }
.planshero { position: relative; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; padding: 44px 46px 104px; border-radius: 26px; background: #2a1b14; color: #fff; }
.plansheroimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.planshero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(31,18,12,.88) 0%, rgba(42,24,16,.72) 42%, rgba(60,32,20,.25) 100%); }
.plansherowords { position: relative; z-index: 1; max-width: 560px; }
.planseyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #f2d49b; }
.planseyebrow .plusglyph { display: inline-flex; }
.planseyebrow .plusglyph svg { width: 18px; height: 18px; }
.stage .planshero h1 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.025em; color: #fff; }
.planshero h1 em { font-style: italic; font-weight: 300; color: #f2d49b; }
.plansherowords > p:last-child { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.86); }

.plancards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: -86px 22px 0; }
.plancard { cursor: pointer; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--surface); box-shadow: 0 1px 2px rgba(31,27,22,.06), 0 22px 44px -22px rgba(31,27,22,.4); transition: box-shadow .15s, transform .15s; }
.plancard.on { box-shadow: 0 0 0 2px #a8502f, 0 24px 48px -22px rgba(94,43,24,.55); }
.plancard:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .plancard, .plancard:hover { transition: none; transform: none; } }
.plancardphoto { position: relative; height: 128px; background: #f5ebe5; }
.plancardphoto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plancardphoto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(255,255,255,.95)); }
.planstate { position: absolute; z-index: 1; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: #e4f1e6; color: #2f6b43; font-size: 12px; font-weight: 600; }
.planstate .plusglyph { display: inline-flex; }
.planstate .plusglyph svg { width: 13px; height: 13px; }
.plancardbody { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 4px 24px 22px; }
.planname { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.planname .plusglyph { display: inline-flex; color: #a8502f; }
.planname .plusglyph svg { width: 20px; height: 20px; }
.planprice { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 0; }
.planprice strong { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -.02em; color: #a8502f; }
.planprice span { color: var(--muted); font-size: 13.5px; }
.planwho { margin: 2px 0 6px; color: var(--muted); font-size: 13px; min-height: 2.8em; }
.planpoints { list-style: none; display: grid; gap: 9px; margin: 6px 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.planpoints li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.4; }
.planpoints .plusglyph { flex: none; display: inline-flex; margin-top: 1px; color: #a8502f; }
.planpoints .plusglyph svg { width: 16px; height: 16px; }
.planact { margin-top: auto; }
.stage .planact button.primary { width: 100%; padding: 12px 18px; font-size: 14.5px; background: #a8502f; border-color: #a8502f; }
.stage .planact button.primary:hover:not(:disabled) { background: #8f4327 !important; border-color: #8f4327; }
.plannote { margin: 0; padding: 11px 14px; border-radius: 14px; background: #fbf3ee; color: #5e2b18; font-size: 13px; text-align: center; }
.stage .plancard button.planmore { align-self: center; margin-top: 10px; padding: 2px 0; font-size: 12.6px; color: var(--muted); }
.stage .plancard.on button.planmore { color: #a8502f; }
.planpanel { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; scroll-margin-top: 16px; }
/* Planner Pro's offer is a column, as the app's screen is: centered here. */
.planpanel .prooffer { align-self: center; width: 100%; }
.planfoot { margin: 6px 0 0; text-align: center; color: var(--muted); font-size: 12.2px; }
@media (max-width: 980px) {
  .plancards { grid-template-columns: minmax(0, 1fr); margin: -70px 14px 0; }
  .plancardphoto { height: 110px; }
  .planwho { min-height: 0; }
}
@media (max-width: 760px) {
  .planshero { min-height: 260px; padding: 30px 24px 92px; border-radius: 20px; }
  .plancards { margin: -72px 10px 0; gap: 12px; }
  .plancardbody { padding: 2px 20px 20px; }
}

/* The Overview's small card for Jovvy's plans, at its foot: the crown, the
   plan to unlock next (or how they stand), and See plans, to Plans. */
.ovplans { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--surface); border-radius: 18px; box-shadow: 0 1px 2px rgba(31,27,22,.05), 0 14px 34px -18px rgba(31,27,22,.22); }
.ovplans > .plusglyph { flex: none; display: inline-flex; color: var(--accent); }
.ovplans > .plusglyph svg { width: 24px; height: 24px; }
.ovplans > div { flex: 1; min-width: 0; }
.ovplans strong { display: block; font-family: var(--display); font-weight: 500; font-size: 18px; }
.ovplans p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.stage .ovplans a.button.primary { flex: none; display: inline-flex; padding: 9px 20px; font-size: 13.5px; }
/* In Jovvy's terracotta, as its paid plans are whatever the wedding's color:
   white words, the crown in gold, and See plans in white. */
.ovplans { background: linear-gradient(120deg, #b25a37 0%, #a8502f 45%, #7d3a22 100%); color: #fff; box-shadow: 0 1px 2px rgba(94,43,24,.12), 0 18px 38px -18px rgba(94,43,24,.55); }
.ovplans > .plusglyph { color: #f2d49b; }
.ovplans strong { color: #fff; }
.ovplans p { color: rgba(255,255,255,.84); }
.stage .ovplans a.button.primary { background: #fff; border-color: #fff; color: #7d3a22; }
.stage .ovplans a.button.primary:hover { background: #fff6ef !important; }
@media (max-width: 760px) {
  .ovplans { flex-wrap: wrap; }
  .ovplans > div { flex-basis: calc(100% - 40px); }
  .stage .ovplans a.button.primary { width: 100%; justify-content: center; }
}

/* The seating chart's list of tables: the chart in four numbers across the top, who has no table
   down the left, and the tables filling the rest as cards of a size, each with how full it is. */
.stage[data-view="seating"] .seating:not(.plan) { grid-template-columns: minmax(240px, 280px) minmax(0, 1fr); gap: 18px; }
.stage .panel.seatstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; }
.seatstat { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 16px 20px; }
.seatstat + .seatstat { border-left: 1px solid var(--line); }
.seatstat p { margin: 0; }
.seatstat .big { font-family: 'Fraunces', Georgia, serif; font-size: 27px; font-weight: 500; line-height: 1.15; color: var(--ink); }
.seatstat .note { font-size: 12.2px; }
.seatstat.warn .big, .seatstat.warn .note { color: #94302a; }
.fill { height: 4px; border-radius: 999px; background: #efe9df; overflow: hidden; }
.fill span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.seatstat .fill { margin: 6px 0 3px; }
.seating .panel h2 .count { margin-left: 2px; vertical-align: 2px; }
.seating:not(.plan) .tables { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; align-items: stretch; }
.seating .panel.table { display: flex; flex-direction: column; }
.seating .tablehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.seating .tablehead > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.seating .tablehead h2 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.seating .tablehead small { color: var(--muted); font-size: 11.7px; }
.seating .table > .fill { margin: 3px 0 4px; }
.seating .table.full > .fill span { background: #3f8a5f; }
.seating .table.over > .fill span { background: #b23a30; }
.seating .dropzone { margin: 2px 0; padding: 18px 12px; border: 1.5px dashed #d9d0c2; border-radius: 11px; text-align: center; }
.seating .tablefoot { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line); }
.seating .tablefoot .row { justify-content: flex-end; gap: 16px; }
.seating .tablefoot .row .small { padding-right: 0; }
/* With no tables yet: the layouts to start from as cards with a drawing of each floor, then a table at a time. */
.seating .tables.start { display: flex; flex-direction: column; gap: 16px; }
.layouts .layoutgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.layouts button.layout { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; height: auto; padding: 14px 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: none; text-align: left; white-space: normal; }
.layouts button.layout:hover, .layouts button.layout:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--surface); }
.layouts .layout svg { box-sizing: border-box; width: 100%; height: 92px; margin-bottom: 9px; padding: 10px; border-radius: 9px; background: #fbf8f3; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.layouts .layout strong { font-size: 14.4px; color: var(--ink); }
.layouts .layout small { color: var(--muted); font-size: 12.2px; font-weight: 400; }
.layouts .layout .makes { margin-top: 7px; color: var(--deep); font-size: 11.7px; font-weight: 600; }
.seating .panel.ownway { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.seating .ownway h2, .seating .ownway p { margin: 0; }
@media (max-width: 760px) {
  .stage[data-view="seating"] .seating:not(.plan) { grid-template-columns: 1fr; }
  .stage .panel.seatstats { grid-template-columns: 1fr 1fr; }
  .seatstat { padding: 13px 15px; }
  .seatstat:nth-child(3) { border-left: 0; }
  .seatstat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .seatstat .big { font-size: 23px; }
  .layouts .layoutgrid { grid-template-columns: 1fr; }
  .layouts .layout svg { height: 66px; padding: 6px; }
  /* Room for the whole of “Seat at…” in the larger type a phone gets. */
  .seating .seat select.seatmove { width: 112px; }
  /* The way to start comes before the long list of names. */
  .seating .tables.start { order: -1; }
}

/* The keepsake book's preview, before Wedding Plus: the book's own pages in a frame, then the way to it. */
.cidialog .bookpreview { display: block; width: 100%; height: min(70vh, 820px); border: 0; border-radius: 11px; background: #efeae2; }
.cidialog .bookbuy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.cidialog .bookbuy .note { margin: 0; }
.cidialog .bookbuy a.button { display: inline-flex; align-items: center; gap: 7px; }
/* The keepsake book's window: wider, for the book; its looks to choose from, four across (two on a phone). */
.cidialog:has(.bookpreview) { width: min(780px, 100%); }
.cidialog .booklooks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cidialog .booklook { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; height: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); text-align: left; white-space: normal; box-shadow: none; }
.cidialog .booklook strong { font-size: 13.5px; color: var(--ink); }
.cidialog .booklook small { font-size: 11.2px; line-height: 1.35; color: var(--muted); font-weight: 400; }
.cidialog .booklook[aria-checked=true] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cidialog .bookbuy button { display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 640px) { .cidialog .booklooks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Who's joined: its header's buttons and links, each with its icon. */
.pagehead .row > .previewbtn { display: inline-flex; align-items: center; gap: 7px; }
.pagehead .row > .previewbtn svg { width: 15.5px; height: 15.5px; }

/* ---- Invitations: the list -----------------------------------------------------------
   The cards across the page in a panel for each suite and one for cards on their own,
   each card on a stage of its own so every shape sits level; sending them in a compact
   panel beside (above, on a narrower screen); with nothing made, the two ways to start. */
.invhead .row button { display: inline-flex; align-items: center; gap: 6px; }
.invhead .row button svg { width: 15px; height: 15px; }
.invlayout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: 'main side'; gap: 20px; align-items: start; }
.invlayout.alone { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'main'; }
.invmain { grid-area: main; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.invside { grid-area: side; position: sticky; top: 14px; min-width: 0; }
.stage .panel.invgroup { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px 22px; }
.invgrouphead { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.invgrouphead h2 { margin: 0; font-size: 20px; }
.invgrouphead small { color: var(--muted); font-size: 12px; }
.invgrouphead button { display: inline-flex; align-items: center; gap: 6px; }
.invgrouphead button svg { width: 14px; height: 14px; }
.invgroup > .note { margin: 0; }
.invgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 16px; }
.stage button.tile.invtile { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 0; border: 0; border-radius: 12px; background: none; box-shadow: none; transform: none; text-align: left; }
.invstage { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; margin-bottom: 6px; padding: 12px; border-radius: 12px; background: #f1ebe2; overflow: hidden; transition: background .15s; }
.stage .invtile .invstage .paper { width: 74%; box-shadow: 0 6px 16px rgba(40, 28, 16, .16); border: 1px solid rgba(0, 0, 0, .06); transition: box-shadow .15s, transform .15s; }
.invtile:hover .invstage { background: #ebe2d5; }
.invtile:hover .invstage .paper { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(40, 28, 16, .2); }
.invtile:focus-visible { outline: 2.5px solid #2f7cf6; outline-offset: 3px; }
.invtile strong { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.invmeta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 18px; }
.invmeta small { color: var(--muted); font-size: 11.5px; }
.invbadge { padding: 1.5px 7px; border-radius: 999px; background: #efe9df; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.invbadge.guests { background: var(--tint); color: var(--deep); }
/* Send to your guests, as a compact panel. */
.stage .panel.sendview { display: flex; flex-direction: column; gap: 16px; padding: 18px 18px 12px; }
.sendview h2 { margin: 0; font-size: 19px; }
.sendview .overline { margin: 0 0 4px; }
.sendcard { display: flex; align-items: center; gap: 12px; }
.sendthumb { flex: none; width: 52px; }
.sendthumb .paper { width: 100%; border: 1px solid var(--line); background: #fff; box-shadow: 0 4px 10px rgba(40, 28, 16, .16); }
.sendthumb .paper img { display: block; width: 100%; height: auto; }
.sendthumb.notyet { height: 72px; border: 1px dashed #d9c9ae; border-radius: 3px; background: #fbf8f3; }
.sendcard strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.sendcard small { color: var(--muted); font-size: 12px; }
.sendcounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sendcount { display: grid; gap: 2px; padding: 10px 6px; text-align: center; }
.sendcount + .sendcount { border-left: 1px solid var(--line); }
.sendcount strong { font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1.1; }
.sendcount span { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sendcount.accent strong, .sendcount.accent span { color: var(--accent); }
.sendview .sendsteps { display: grid; gap: 0; padding: 0; }
.sendview .sendstep { grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.sendview .sendstep .num { font-size: 17px; text-align: center; }
.sendview .sendstep .num.done { display: grid; place-items: center; color: #2f6b4a; }
.sendview .sendstep .num.done svg { width: 16px; height: 16px; }
.sendview .sendstep strong { font-family: inherit; font-size: 13px; font-weight: 600; }
.sendview .sendstep small { display: block; font-size: 11.5px; }
.sendview .sendstep .button.small { margin: 0; }
.sendview .sendgo { display: grid; justify-items: stretch; gap: 6px; text-align: center; }
.sendview .sendgo button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; }
.sendview .sendgo svg { width: 15px; height: 15px; }
.sendview .senddone { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: #f3f8f4; color: #23583b; font-size: 12.5px; }
.sendview .senddone svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.sendview .sendways { padding: 0; }
.sendview .sendways a { padding: 9px 0; border-bottom: 0; border-top: 1px solid var(--line); }
.sendview .sendways strong { font-family: inherit; font-size: 13px; font-weight: 600; }
.sendview .sendways small { display: block; color: var(--muted); font-size: 11.5px; }
.sendview .sendways svg { flex: none; width: 14px; height: 14px; color: var(--muted); }
.sendview .sendways a:hover svg { color: var(--accent); }
/* With nothing made: the two ways to start. */
.stage .panel.invstart { display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.invstarthead h2 { margin: 0; font-size: 22px; }
.invstarthead p { margin: 4px 0 0; }
.invchoices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.invchoice { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.invchoice h3 { margin: 6px 0 0; font-family: var(--display); font-size: 19px; font-weight: 400; }
.invchoice p { flex: 1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.invchoice button { margin-top: 8px; }
.invart { position: relative; width: 100%; height: 124px; border-radius: 10px; background: #f1ebe2; overflow: hidden; }
.invart i { position: absolute; display: block; border: 1px solid #ddd0bd; background: #fffdf8; box-shadow: 0 4px 10px rgba(40, 28, 16, .1); }
.invart i::after { content: ''; position: absolute; inset: 4px; border: .6px solid var(--accent); opacity: .45; }
.suiteart i:nth-child(1) { left: calc(50% - 104px); top: 30px; width: 50px; height: 70px; transform: rotate(-6deg); }
.suiteart i:nth-child(2) { left: calc(50% - 46px); top: 18px; width: 62px; height: 87px; }
.suiteart i:nth-child(3) { left: calc(50% + 30px); top: 24px; width: 54px; height: 39px; transform: rotate(3deg); }
.suiteart i:nth-child(4) { left: calc(50% + 34px); top: 72px; width: 54px; height: 34px; transform: rotate(-2deg); }
.singleart i:nth-child(1) { left: calc(50% - 46px); top: 18px; width: 62px; height: 86px; transform: rotate(-3deg); }
.singleart i:nth-child(2) { left: calc(50% + 10px); top: 70px; width: 52px; height: 30px; transform: rotate(3deg); }
.invtip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.invtip p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 13px; }
.invtip strong { color: var(--ink); }
.invtip button { display: inline-flex; align-items: center; gap: 6px; }
.invtip button svg { width: 14px; height: 14px; }
@media (max-width: 1100px) {
  .invlayout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'side' 'main'; }
  .invside { position: static; }
}
@media (max-width: 640px) {
  .invchoices { grid-template-columns: 1fr; }
  .invgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .stage .panel.invgroup { padding: 16px; }
}
/* The cards sit straight on their panel, with no wash behind them. */
.invstage { background: transparent; padding: 6px 4px 10px; }
.invtile:hover .invstage { background: transparent; }
/* Making more: a heading row over the card panels. */
.invmainhead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; }
.invmainhead h2 { margin: 0; font-size: 22px; }
/* Guest list: the count cards lie flat on the page, with no shadow; chosen or under the pointer, an accent edge. */
.stage .gcards .gcard, .stage .statcards .statcard.tint { box-shadow: none; }
.stage .gcards button.gcard[aria-pressed=true], .stage .statcards button.statcard.tint[aria-pressed=true] { box-shadow: 0 0 0 2px var(--accent); }
.stage .gcards button.gcard:hover:not([aria-pressed=true]), .stage .statcards button.statcard.tint:hover:not([aria-pressed=true]) { box-shadow: 0 0 0 1px var(--accent); }
/* Guest list › Replies: meal choices and song requests, side by side under the list (one over the other on a phone). */
.songsslot:empty { display: none; }
.songsslot { scroll-margin-top: 16px; }
.replyextras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; margin-top: 18px; }
.replyextras .panel.extrapanel { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 18px 20px 20px; }
.extrahead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.extrahead h2 { margin: 0; font-size: 20px; }
.extrahead small { color: var(--muted); font-size: 12px; }
.extrahead button { display: inline-flex; align-items: center; gap: 7px; }
.extrahead button svg { width: 15px; height: 15px; }
.extrapanel > .note { margin: 0; }
.songlist { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: song; }
.songlist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); counter-increment: song; }
.songlist li::before { content: counter(song); grid-row: span 2; color: var(--accent); font-family: var(--display); font-size: 16px; line-height: 1.2; }
.songlist strong { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.songlist small { color: var(--muted); font-size: 12px; }
.meallist { margin: 0; padding: 0; list-style: none; }
.meallist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; row-gap: 7px; padding: 10px 0; border-top: 1px solid var(--line); }
.mealname { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.meallist strong { font-family: var(--display); font-size: 19px; font-weight: 400; }
.mealbar { grid-column: 1 / -1; height: 4px; border-radius: 999px; background: #efe9df; overflow: hidden; }
.mealbar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
@media (max-width: 760px) { .replyextras { grid-template-columns: minmax(0, 1fr); } }
/* Website settings: a switch that comes with Wedding Plus, before it is bought. */
/* A label that wraps as a line of words (Hide “Made with Jovvy” (Wedding Plus)), not as two columns. */
.wslabel.wsflow { display: block; }
.wslabel.wsflow small { white-space: nowrap; }

/* Deadlines: how long is left, set like the head of a printed program. The
   number large, the day and the place beside it, then what is due next and how
   many are done, each part ruled off from the last. */
.dcount.dcard { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(190px, 250px); align-items: stretch; justify-content: stretch; gap: 0; padding: 0; background: var(--surface); text-align: left; }
.dcount > div { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 18px 22px; }
.dcount > div + div { border-left: 1px solid var(--edge); }
.dcount small { font-size: 10.4px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dcnum { align-items: flex-start; }
.dcount .dcnum strong { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: .95; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums; }
.dcount .dcnum strong.dctoday { font-size: 38px; color: var(--accent); }
.dcnum span { font-size: 12.6px; color: var(--muted); }
.dcount .dcwhen strong { font-family: var(--display); font-weight: 400; font-size: 19.8px; line-height: 1.2; }
.dcwhen span, .dcnext span { font-size: 12.2px; color: var(--muted); }
.dcount .dcnext strong { font-size: 13.5px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcbar { height: 4px; margin-top: 7px; border-radius: 2px; background: var(--edge); overflow: hidden; }
.dcbar i { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.dcount .dcdone { font-size: 11.2px; }
@media (max-width: 760px) {
  .dcount.dcard { grid-template-columns: auto minmax(0, 1fr); }
  .dcount > div { padding: 15px 16px; }
  .dcount .dcnum strong { font-size: 44px; }
  .dcount .dcnext { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--edge); }
}

/* Deadlines: when to remind, as a small grid of days, each its number over
   "days before", the chosen ones washed in the accent with a tick. */
.dpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.stage button.dday { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 52px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-align: left; font-weight: 400; }
.stage button.dday:hover:not(:disabled) { border-color: var(--accent); background: var(--surface) !important; }
.stage button.dday[aria-pressed=true], .stage button.dday[aria-pressed=true]:hover:not(:disabled) { border-color: var(--accent); background: var(--tint) !important; }
.dday strong { font-family: var(--display); font-weight: 400; font-size: 19.8px; line-height: 1; }
.dday[aria-pressed=true] strong { color: var(--deep); }
.dday small { font-size: 10.8px; line-height: 1.2; color: var(--muted); }
.dtick { position: absolute; top: 6px; right: 6px; display: flex; color: var(--accent); }
.dtick svg { width: 12.5px; height: 12.5px; }

/* An item's form on the Registry and Honey fund pages: the fields on the left,
   and on the right the card as guests will see it, kept up as it's typed, with
   the photo's buttons under it. One column on a narrow screen. */
.stage form.rgsplit { max-width: none; }
.rgsplitgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: 32px; align-items: start; }
.rgfields { display: grid; gap: 12.5px; min-width: 0; }
.rgfields > label { display: grid; gap: 4.5px; }
.rgside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 11px; padding: 16px; border: 1px solid var(--edge); border-radius: 14.5px; background: var(--paper); }
.rgsidehead { font-size: 10.4px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rgpreviewcard { pointer-events: none; }
.rgpreviewcard .shopcard, .rgpreviewcard .xpcard { width: 100%; margin: 0; }
.rgphotobtns { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.rgside .note { margin: 0; font-size: 11.7px; }
@media (max-width: 900px) {
  .rgsplitgrid { grid-template-columns: minmax(0, 1fr); }
  .rgside { position: static; order: -1; }
}

/* Updates: the form on the left and what has been sent on the right, across
   the page; one above the other on a narrow screen. */
.uplayout { display: grid; gap: 18px; align-items: start; }
.uplayout > .panel { margin: 0; min-width: 0; }
.upsend { display: grid; gap: 11px; }
.upsend > label:not(.check) { display: grid; gap: 4.5px; }
@media (min-width: 1000px) {
  .uplayout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .upsent { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
}

/* A shuttle's form (Add shuttle, Edit shuttle) across the page, as the
   registry's: the tabs and fields on the left; on the right, on every tab, the
   shuttle at a glance, kept up as it's typed, with its photo. */
.shside .shsidephoto { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 11px; }
.stage button.shsidephoto.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; border: 1px dashed var(--line); background: var(--surface); color: var(--muted); font-weight: 400; font-size: 12.2px; }
.stage button.shsidephoto.empty:hover:not(:disabled) { border-color: var(--accent); background: var(--surface) !important; }
.shsidephoto.empty svg { width: 24px; height: 24px; color: var(--accent); }
dl.shglance { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 14px; margin: 0; padding: 12px 14px; border-radius: 11px; background: var(--surface); border: 1px solid var(--edge); }
.shglancename { grid-column: 1 / -1; font-family: var(--display); font-weight: 400; font-size: 17.1px; line-height: 1.25; overflow-wrap: anywhere; }
.shglance dt { font-size: 11.2px; color: var(--muted); }
.shglance dd { margin: 0; font-size: 12.6px; overflow-wrap: anywhere; }

/* A page that comes with Jovvy Wedding Plus, before it (lockedpage.js): a lock
   after its name in the sidebar and the tabs; on the page, the page itself
   greyed and still, its foot fading, with the Wedding Plus notice over it,
   centred near its top: a paywall photograph under the wedding's color. */
.navlock { position: relative; display: inline-flex; margin-left: 6px; vertical-align: -2px; color: var(--muted); }
.navlock svg { width: 13px; height: 13px; }
a[aria-current=page] .navlock { color: inherit; }
.lockpage { position: relative; min-height: 640px; }
.lockpreview { display: grid; gap: 14.5px; filter: grayscale(.75); opacity: .5; user-select: none; pointer-events: none; max-height: 1180px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.lockpreview > * { margin-top: 0; margin-bottom: 0; }
.locknotice { position: absolute; z-index: 6; top: 110px; left: 50%; width: min(600px, calc(100% - 24px)); transform: translateX(-50%); overflow: hidden; padding: 34px 36px 32px; border-radius: 22px; background: #b06a3c url(/media/plus/button.jpg) center / cover; color: #fff; text-align: center; box-shadow: 0 30px 70px -22px rgba(31, 27, 22, .55); }
.lockcut { position: absolute; inset: 0; background: var(--accent); opacity: .88; }
.lockwords { position: relative; display: grid; justify-items: center; gap: 10px; }
.lockwords small { display: inline-flex; align-items: center; gap: 6px; font-size: 10.8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .95; }
.lockwords small svg { width: 13px; height: 13px; }
.locknotice h2 { margin: 0; color: #fff; font-size: 28px; line-height: 1.15; }
.locknotice p { max-width: 440px; margin: 0; font-size: 13.5px; line-height: 1.55; opacity: .95; }
.stage a.button.lockgo { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 11px 22px; border: 0; border-radius: 999px; background: #fff; color: var(--deep); font-weight: 600; text-decoration: none; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.stage a.button.lockgo:hover { background: #fff !important; transform: translateY(-1px); }
.lockgo svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 640px) {
  .locknotice { top: 48px; padding: 26px 20px 24px; }
  .locknotice h2 { font-size: 23px; }
}

/* Check-in: a household's ⋯ menu opens at its button (below it, or above it
   near the foot of the window), not placed by the window; and Walk-ins, with
   its button to add one. */
.stage .cimenu .rowmenu.cirowmenu { position: absolute; top: calc(100% + 5px); right: 0; bottom: auto; z-index: 40; }
.stage .cimenu .rowmenu.cirowmenu.up { top: auto; bottom: calc(100% + 5px); }
.ciwalkinwrap { display: grid; }
.stage .ciwalkin { display: grid; gap: 14px; margin: 0; }
.ciwalkintop { display: flex; gap: 14px; align-items: flex-start; }
.ciwalkintop > .plusglyph { flex: none; color: var(--accent); }
.ciwalkintop svg { width: 24px; height: 24px; }
.ciwalkintop h2 { margin: 0 0 4px; }
.ciwalkintop .note { margin: 0; }
.ciwalkin .row { align-items: center; gap: 14px; }
.ciwalkin .row .primary { display: inline-flex; align-items: center; gap: 7px; }
.ciwalkin .row svg { width: 16px; height: 16px; }
.ciwalkinform { display: grid; gap: 12px; }
.ciwalkinform > label { display: grid; gap: 4.5px; }
/* Check-in row menu: every item is the same icon-and-label row. */
.stage .cirowmenu { min-width: 218px; padding: 6px; gap: 1px; }
.stage .cirowmenu button.cimitem { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9.5px 11px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: 13.1px; font-weight: 500; text-align: left; cursor: pointer; }
.stage .cirowmenu button.cimitem:hover:not(:disabled), .stage .cirowmenu button.cimitem:focus-visible { background: var(--paper) !important; }
.stage .cirowmenu button.cimitem svg { flex: none; width: 16px; height: 16px; color: var(--accent); }
.stage .cirowmenu button.cimitem.danger, .stage .cirowmenu button.cimitem.danger svg { color: #a3312a; }
/* Capture the day > Settings: the switch row is only as tall as its words (.switchrow's 288px basis is for rows side by side). */
.stage .cpsettings .switchrow { flex: none; align-items: center; }
/* Live slideshow: "here" in the status line starts it and opens its screen. */
.stage .ssstatus button.link.sshere { display: inline; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; }
.stage .ssstatus button.link.sshere:hover:not(:disabled) { color: var(--deep); }
/* Guestbook: the keepsake book, a premium keepsake, shown as a book bound in the wedding's color
   (--book) beside what it is; the overview, a slim row under it. */
.gbkeep { display: grid; gap: 14.5px; }
.stage[data-view] .panel.gbbook { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; box-shadow: var(--lift); border-color: var(--edge); }
.stage button.gbbookart { position: relative; display: grid; place-items: center; min-height: 300px; padding: 34px 0; border: 0; border-right: 1px solid var(--edge); border-radius: 0; background: #f3ece2; cursor: pointer; }
.stage button.gbbookart:hover:not(:disabled) { background: #f3ece2 !important; }
.gbbookcover, .gbbookpages { grid-area: 1 / 1; width: 168px; aspect-ratio: 5.5 / 8.5; transition: transform .25s ease; }
.gbbookpages { transform: translate(7px, 5px) rotate(-3deg); border-radius: 2px 5px 5px 2px; background: repeating-linear-gradient(90deg, #fbf8f3 0 2px, #e8e0d4 2px 3px); box-shadow: 0 16px 28px -14px rgba(31,27,22,.5); }
.gbbookcover { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 16px; transform: rotate(-3deg); border-radius: 3px 6px 6px 3px; background: var(--book, var(--accent)); color: #fbf6ea; text-align: center; box-shadow: inset 7px 0 0 rgba(0,0,0,.16), inset 8px 0 0 rgba(255,255,255,.12), 0 20px 34px -16px rgba(31,27,22,.6); }
.gbbookcover::before { content: ''; position: absolute; inset: 11px 10px 11px 16px; border: .75px solid rgba(251,246,234,.5); pointer-events: none; }
.gbbookart:hover .gbbookcover { transform: translateY(-4px) rotate(-1.5deg); }
.gbbookart:hover .gbbookpages { transform: translate(8px, 2px) rotate(-1.5deg); }
.gbbookmono { font-family: var(--display); font-size: 11.5px; letter-spacing: 4px; }
.gbbookrule { width: 26px; height: 1px; margin: 12px 0; background: rgba(251,246,234,.7); }
.gbbooktitle { font-family: var(--display); font-style: italic; font-size: 20px; line-height: 1.15; }
.gbbookkicker { margin-top: 12px; font-size: 8px; letter-spacing: 3.5px; text-transform: uppercase; }
.gbbookday { position: absolute; bottom: 20px; left: 0; right: 0; font-family: var(--display); font-style: italic; font-size: 9.5px; opacity: .85; }
.gbbookwords { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 30px 34px; }
.gbbookwords .gbbookeyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--accent); font-size: 11.2px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.gbbookeyebrow svg { width: 15px; height: 15px; }
.gbbookwords h2 { margin: 0; font-family: var(--display); font-size: 29px; font-weight: 400; line-height: 1.1; }
.gbbookwords > p:not(.gbbookeyebrow) { max-width: 54ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.gbbookfacts { display: grid; grid-template-columns: repeat(3, max-content); margin: 6px 0 4px; padding: 0; list-style: none; }
.gbbookfacts li { display: grid; align-content: start; gap: 2px; padding: 0 18px; border-left: 1px solid var(--edge); }
.gbbookfacts li:first-child { padding-left: 0; border-left: 0; }
.gbbookfacts strong { font-family: var(--display); font-size: 17.5px; font-weight: 500; }
.gbbookfacts span { color: var(--muted); font-size: 12.2px; }
.gbbookgo { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.gbbookgo > .button, .gbbookgo > button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 12.5px; font-size: 13.5px; }
.gbbookgo svg { width: 16px; height: 16px; }
.stage .gbkeep > .cpcard { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.stage .gbkeep > .cpcard > button { width: auto; padding: 9px 18px; }
@media (max-width: 760px) {
  .stage[data-view] .panel.gbbook { grid-template-columns: minmax(0, 1fr); }
  .stage button.gbbookart { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--edge); }
  .gbbookwords { padding: 22px 20px; }
  .gbbookfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gbbookfacts li { padding: 0 10px; }
  .gbbookfacts strong { font-size: 15px; white-space: nowrap; }
  .gbbookfacts span { font-size: 11.5px; }
  .gbbookgo > .button, .gbbookgo > button { flex: 1 1 100%; justify-content: center; }
  .stage .gbkeep > .cpcard { flex-direction: column; align-items: stretch; }
}
/* Settings: one column of groups; every setting the same row, its words on the left and its control on the right. */
.setlist { display: grid; gap: 18px; }
.stage[data-view] .panel.setgroup { display: block; max-width: none; margin: 0; padding: 4px 24px; }
.setgrouphead { padding: 18px 0 14px; border-bottom: 1px solid var(--edge); }
.setgrouphead h2 { margin: 0; font-size: 19px; }
.setgrouphead .note { margin: 3px 0 0; font-size: 12.8px; }
.setrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 17px 0; border-top: 1px solid var(--edge); }
.setgrouphead + .setrow { border-top: 0; }
.setwords { display: grid; gap: 3px; max-width: 640px; }
.setwords strong { font-size: 14px; font-weight: 600; }
.setwords small { color: var(--muted); font-size: 12.8px; line-height: 1.5; }
.setcontrol { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.setcontrol select { min-width: 250px; }
.setcontrol .button, .setcontrol button:not(.setswatch) { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 11px; font-size: 13px; white-space: nowrap; }
.setcover { display: flex; align-items: center; gap: 10px; }
.setcoverpic { display: block; width: 116px; height: 66px; object-fit: cover; border-radius: 9px; border: 1px solid var(--edge); }
.setcoverpic.none { background: var(--tint); }
.setswatches { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; max-width: 380px; }
.stage button.setswatch, .setswatch { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(31,27,22,.1); cursor: pointer; transition: transform .12s; }
.stage button.setswatch:hover:not(:disabled) { background: var(--swatch) !important; transform: scale(1.08); }
.stage .setswatch[aria-checked=true], .stage button.setswatch[aria-checked=true] { box-shadow: 0 0 0 2.5px var(--surface), 0 0 0 4.5px var(--ink); }
.setswatch.own { border: 1.5px dashed #b9b0a2; background: var(--surface); color: var(--muted); box-shadow: none; }
.setswatch.own.set { border: 0; background: var(--swatch); }
.stage .setswatch.own.set[aria-checked=true] { box-shadow: 0 0 0 2.5px var(--surface), 0 0 0 4.5px var(--ink); }
.setswatch.own input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.setswatch.own svg { width: 14px; height: 14px; }
.setgroup.endpanel { border-color: #efd9d5; }
.setgroup.endpanel .setgrouphead h2 { color: #a3312a; }
.setconfirm { display: grid; gap: 12px; max-width: 420px; padding: 0 0 20px; }
.setconfirm label input { display: block; width: 100%; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .setswatch { transition: none; } }
@media (max-width: 760px) {
  .stage[data-view] .panel.setgroup { padding: 2px 18px; }
  .setrow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .setrow.toggle { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .setcontrol { justify-content: flex-start; flex-wrap: wrap; }
  .setcontrol select { width: 100%; min-width: 0; }
  .setswatches { justify-content: flex-start; max-width: none; }
}
/* Your account, in Settings' rows: the name typed in its row, the address shown in it, and the forms that open under a row. */
.setinline { display: flex; align-items: center; gap: 10px; }
.setinline input { width: 240px; }
.setwords .setvalue { color: var(--ink); font-size: 13.5px; font-weight: 500; overflow-wrap: anywhere; }
.setwords small button.link { padding: 0; font-size: inherit; font-weight: 600; }
.setwords small a.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.setwords small a.link:hover { text-decoration: underline; }
.setform { display: grid; gap: 12px; max-width: 460px; padding: 2px 0 20px; }
.setform p { margin: 0; }
.setform .row { margin: 0; }
.goodnews.setsaid, .setgroup > .error.setsaid, .setgroup > .note.setsaid { margin: 0 0 14px; }
.setcontrol .acctphoto { margin: 0; gap: 10px; }
.setcontrol .acctface { width: 46px; height: 46px; font-size: 16px; }
@media (max-width: 760px) {
  .setinline { width: 100%; }
  .setinline input { flex: 1; width: auto; min-width: 0; }
}

/* The seating editor: what is chosen is framed, with a handle at each corner to make it bigger or smaller and one above to turn it */
.room .handles { z-index: 5; pointer-events: none; }
.room .handles .frame { position: absolute; box-sizing: border-box; border: calc(1.5px / var(--zoom, 1)) solid #2f7cf6; border-radius: 2px; transform-origin: 50% 50%; }
.room .handles .grip, .room .handles .spin { position: absolute; box-sizing: border-box; width: calc(12px / var(--zoom, 1)); height: calc(12px / var(--zoom, 1)); background: #fff; border: calc(1.5px / var(--zoom, 1)) solid #2f7cf6; border-radius: calc(2px / var(--zoom, 1)); pointer-events: auto; touch-action: none; }
/* A larger place to press than the handle shows, for a finger. */
.room .handles .grip::before, .room .handles .spin::before { content: ''; position: absolute; inset: calc(-8px / var(--zoom, 1)); }
.room .handles .grip.nw { left: 0; top: 0; transform: translate(-50%, -50%); cursor: nwse-resize; }
.room .handles .grip.ne { right: 0; top: 0; transform: translate(50%, -50%); cursor: nesw-resize; }
.room .handles .grip.sw { left: 0; bottom: 0; transform: translate(-50%, 50%); cursor: nesw-resize; }
.room .handles .grip.se { right: 0; bottom: 0; transform: translate(50%, 50%); cursor: nwse-resize; }
.room .handles .spin { left: 50%; top: calc(-26px / var(--zoom, 1)); transform: translate(-50%, -50%); border-radius: 50%; cursor: grab; }
.room .handles .spin::after { content: ''; position: absolute; left: 50%; top: 100%; width: calc(1.5px / var(--zoom, 1)); height: calc(14px / var(--zoom, 1)); background: #2f7cf6; transform: translateX(-50%); }
.room .handles.busy .spin { cursor: grabbing; }
.room .handles .readout { position: absolute; left: 0; transform: translate(-50%, calc(10px / var(--zoom, 1))); white-space: nowrap; font: 600 calc(12px / var(--zoom, 1)) / 1.3 system-ui, sans-serif; color: #fff; background: #2f7cf6; border-radius: calc(4px / var(--zoom, 1)); padding: calc(2px / var(--zoom, 1)) calc(6px / var(--zoom, 1)); font-variant-numeric: tabular-nums; }
/* A piece of the room given a color of its own. */
.room .thing.colored { background: var(--fill); border-style: solid; border-color: color-mix(in srgb, var(--fill) 55%, #645d54); }

/* The library: every table and piece of the room, in groups, with a search */
dialog.library { width: min(94vw, 720px); max-height: 86vh; display: flex; flex-direction: column; gap: 8px; }
dialog.library:not([open]) { display: none; }
dialog.library h2 { margin: 0; font-size: 22px; }
dialog.library input[type=search] { width: 100%; box-sizing: border-box; }
dialog.library .libchips { display: flex; gap: 5px; flex-wrap: wrap; }
dialog.library .libchips button { padding: 4px 10px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); background: none; }
dialog.library .libchips button[aria-pressed=true] { background: var(--ink, #2a251f); border-color: var(--ink, #2a251f); color: #fff; }
dialog.library .libbody { overflow-y: auto; min-height: 200px; padding-right: 4px; }
dialog.library h3 { margin: 14px 0 6px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #6f685e); font-family: inherit; }
dialog.library .libgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 6px; }
dialog.library .libitem { display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: none; min-height: 52px; }
dialog.library .libitem:hover:not(:disabled) { border-color: var(--accent, #4e6b58); background: var(--tint, #f6f1e9); }
dialog.library .libitem strong { display: block; font-size: 14px; font-weight: 600; }
dialog.library .libitem small { display: block; font-size: 12px; color: var(--muted, #6f685e); font-variant-numeric: tabular-nums; }
/* Each drawn small, the way it is drawn on the floor. */
dialog.library .glyph { flex: none; width: 30px; height: 22px; box-sizing: border-box; border: 1.5px dashed #8a8378; border-radius: 3px; background: #ece5d8; }
dialog.library .glyph.round { width: 24px; height: 24px; border-radius: 50%; }
dialog.library .glyph.wide { height: 10px; }
dialog.library .glyph.tall { width: 16px; height: 28px; }
dialog.library .glyph.table { border: 1.5px solid #645d54; background: #f6f1e9; }
dialog.library .glyph.table.round, dialog.library .glyph.table.oval { border-radius: 50%; }
dialog.library .glyph.table.round, dialog.library .glyph.table.square { width: 24px; height: 24px; }
dialog.library .glyph.table.long { height: 14px; }
dialog.library .glyph.table.sweetheart { height: 18px; border-radius: 3px 3px 50% 50% / 3px 3px 60% 60%; }
dialog.library .glyph.table.half { height: 14px; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
dialog.library .glyph.look-dance { background: repeating-conic-gradient(#ece5d8 0% 25%, #f6f1e9 0% 50%) 50% / 8px 8px; border-style: solid; }
dialog.library .glyph.look-door { background: #f6f1e9; border-style: solid; border-width: 0 0 2.5px; border-radius: 0; height: 12px; }
dialog.library .glyph.look-line { background: #6f685e; border: 0; height: 5px; }
dialog.library .glyph.look-window { background: #eef4f8; border: 1.5px solid #8fb3c9; border-radius: 0; height: 6px; }
dialog.library .glyph.look-solid { background: #8a8378; border: 1.5px solid #6f685e; }
dialog.library .glyph.look-stairs { background: repeating-linear-gradient(180deg, #f6f1e9 0 3px, #b9b0a2 3px 4.5px); border-style: solid; }
dialog.library .glyph.look-zone { background: rgba(122,110,95,.07); border-color: #b9b0a2; }
dialog.library .glyph.look-mark { width: 12px; height: 12px; border-radius: 50%; border-style: solid; margin: 0 9px; }
dialog.library .glyph.look-outline { background: none; border: 2px solid #8a8378; border-radius: 1px; }

/* The seating editor: spacing problems on the floor, layers, and details */
.room .shape.tight:not(.picked), .room .thing.tight:not(.picked) { box-shadow: 0 0 0 2px #fbf8f3, 0 0 0 4px #c77d14; }
.room .shape.u.tight:not(.picked) { box-shadow: none; }
.room .shape.u.tight:not(.picked) path { stroke: #c77d14; }
.room .clearzone { position: absolute; box-sizing: border-box; border: 1.5px dashed #c77d14; border-radius: 6px; background: rgba(199,125,20,.05); pointer-events: none; transform-origin: 50% 50%; z-index: 0; }
.room .clearzone.round { border-radius: 50%; }
.room .gapline { position: absolute; height: 0; border-top: 2px dashed #c77d14; transform-origin: 0 0; pointer-events: none; z-index: 4; }
.room .gaplabel { position: absolute; translate: -50% -50%; background: #c77d14; color: #fff; font: 600 11px/1.4 system-ui, sans-serif; padding: 0 5px; border-radius: 4px; white-space: nowrap; pointer-events: none; z-index: 4; font-variant-numeric: tabular-nums; }
.spacingpanel .spacinglist { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.spacingpanel .spacinglist li { padding-left: 16px; position: relative; }
.spacingpanel .spacinglist li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #c77d14; }
.spacingpanel .spacinglist button.linkish { background: none; border: 0; padding: 0; text-align: left; font: inherit; font-size: 13.5px; line-height: 1.45; color: inherit; cursor: pointer; }
.spacingpanel .spacinglist button.linkish:hover { text-decoration: underline; }
.layerlist { display: grid; gap: 6px; min-width: 240px; padding: 4px 2px; }
.layerlist .note { margin: 0 0 4px; font-size: 12.5px; }
.layerlist label.check { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.panel.details textarea { width: 100%; box-sizing: border-box; resize: vertical; font: inherit; }
.panel.details label.check { display: flex; gap: 8px; align-items: center; margin: 6px 0; }

/* Plan my seating: laying out the floor too */
dialog.seatplan { max-height: 88vh; overflow-y: auto; }
dialog.seatplan .floorchoices { display: grid; gap: 6px; margin: 2px 0 10px 26px; }
dialog.seatplan .floorhead { margin: 6px 0 0; font-weight: 600; font-size: 13.5px; }
dialog.seatplan .piecechips { display: flex; flex-wrap: wrap; gap: 6px; }
dialog.seatplan .piecechips .chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 7px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; }
dialog.seatplan .piecechips .chip:has(input:checked) { border-color: var(--accent, #4e6b58); background: var(--tint, #eef3ee); }

/* The wedding's own colors: the switch over the templates, and the rows that set them */
label.check.ourcolors { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 14px; font-weight: 600; cursor: pointer; }
label.check.ourcolors .chips { display: inline-flex; gap: 3px; margin-left: 0; flex-wrap: nowrap; }
label.check.ourcolors .chips i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.row.weddingcolor { align-items: center; gap: 8px; margin: 6px 0; }
.row.weddingcolor input[type=color] { width: 44px; height: 36px; padding: 2px; border-radius: 8px; border: 1px solid var(--line); background: none; }

/* The seating chart's room in 3D (seatingchart.js view3d, room3dview.js), over the whole page. */
.room3dshade { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: #F4F1EB; }
.room3dhead { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line, #E8E2D8); background: #FFFFFF; }
.room3dhead h2 { margin: 0; font-size: 19px; }
.room3dhead .note { margin: 0; flex: 1; }
.room3dbox { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; color: var(--muted, #645D54); }
.room3dbox > .r3d { position: absolute; inset: 0; }
@media (max-width: 640px) { .room3dhead .note { display: none; } .room3dhead h2 { flex: 1; } }
/* Sharing the room in 3D at a link, under the header. */
.room3dshare { padding: 12px 16px; background: #FFFFFF; border-bottom: 1px solid var(--line, #E8E2D8); display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.room3dshare[hidden] { display: none; }
.room3dshare .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.room3dshare input { flex: 1; min-width: 220px; font: inherit; padding: 9px 12px; border: 1px solid var(--line, #E8E2D8); border-radius: 10px; background: #FBF8F3; }
.room3dshare p { margin: 0; }
