.qb-trigger, .qb-close, .qb-next {
  touch-action: manipulation;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}
.qb-trigger[hidden], #qb-dialog[hidden], #qb-dialog [hidden] { display: none !important; }
.qb-inline {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 3px 2px;
  border: 0;
  background: transparent;
  text-align: left;
}
.qb-invite-text {
  font: italic 1.13rem/1.38 var(--serif);
  text-decoration: underline;
  text-decoration-color: #b69980;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
  text-wrap: balance;
}
.qb-icon { width: 38px; height: 36px; flex: none; stroke-width: 1.4; color: var(--accent); }
.qb-leaf { fill: var(--paper); transform-origin: 19px 27px; }
@media (prefers-reduced-motion: no-preference) {
  .qb-inline .qb-leaf { animation: qb-page 3.6s ease-in-out 3; }
  @keyframes qb-page { 0%, 65%, 100% { transform: skewX(0); } 35% { transform: skewX(9deg); } }
}
.qb-inline:hover .qb-invite-text, .qb-inline:active .qb-invite-text,
.qb-inline[aria-expanded=true] .qb-invite-text { color: var(--accent); text-decoration-color: currentColor; }
.qb-dock {
  position: fixed;
  z-index: 24;
  right: 15px;
  bottom: calc(12px + max(var(--qb-offset,0px),env(safe-area-inset-bottom)));
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #c8c2b5;
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 4px 12px #203b3814;
}
.qb-dock .qb-icon { width: 32px; }
#qb-dialog {
  position: fixed;
  z-index: 32;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  width: min(364px, calc(100vw - 24px));
  height: min(292px, calc(100dvh - 100px));
  padding: 12px 24px 10px;
  overflow: auto;
  border: 1px solid #c6beb0;
  border-left: 4px solid #94664d;
  border-radius: 2px;
  background: #fffcf5;
  box-shadow: 0 9px 26px -10px #35312c42;
  color: var(--ink);
}
.qb-head, .qb-foot { display: flex; align-items: center; }
.qb-head { justify-content: space-between; gap: 8px; }
.qb-head h2 { margin: 0; font: italic 1rem/1.35 var(--serif); letter-spacing: 0; color: #805438; }
.qb-close {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -4px -12px -4px 0;
  border: 0;
  background: transparent;
  font: 24px/1 var(--serif);
}
.qb-sheet {
  display: flex;
  flex-flow: column;
  justify-content: safe center;
  align-items: flex-start;
  min-height: 0;
  overflow: auto;
  padding: 6px 0;
}
.qb-sheet p { margin: 0; font: 400 clamp(1.32rem, 5.6vw, 1.63rem)/1.22 var(--serif); letter-spacing: -.028em; text-wrap: pretty; }
.qb-sheet a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 10px;
  font: 400 .875rem/1.35 var(--sans);
  color: #78543d;
  text-decoration: underline;
  text-decoration-color: #ad9180;
  text-underline-offset: 4px;
}
.qb-foot { justify-content: flex-end; border-top: 1px solid #d8cfc0; }
.qb-next { min-height: 44px; padding: 0 4px; margin: 1px -4px -4px 0; border: 0; background: transparent; font: 500 .92rem/1.4 var(--sans); }
.qb-close:hover, .qb-next:hover { color: var(--accent); }
.qb-trigger:focus-visible, #qb-dialog :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) {
  .home-compact .hero .intro { max-width: 32ch; line-height: 1.55; text-wrap: pretty; }
  .qb-inline { max-width: min(100%, 310px); min-height: 54px; }
  .home-compact .qb-inline + .hero-location { margin-top: 22px; }
  #qb-dialog { padding-inline: 19px; }
}
@media print { #qb-dialog, .qb-trigger { display: none !important; } }
