.ag-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 40px;
  padding: .45rem .75rem;
  border: 1px solid #cce2e7;
  border-radius: 999px;
  background: #edf7f8;
  color: #075b72;
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}
.ag-share-button:hover { background: #daeff2; border-color: #8dc7d3; }
.ag-share-button:focus-visible,
.ag-share-dialog :is(button,input):focus-visible { outline: 2px solid #007b92; outline-offset: 3px; }
.ag-share-button svg,
.ag-share-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-linecap: round;
  flex: none;
}
.ag-share-detail { margin-block: .25rem .75rem; }
.saved-card { position: relative; }
.ag-share-card {
  position: absolute;
  z-index: 6;
  top: 12px;
  right: 12px;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border-color: transparent;
  background: #fffffff2;
  color: #092f57;
  box-shadow: 0 2px 8px #0a22352e;
}
.photo:has(>.heart) > .ag-share-card { right: 53px; }
.photo:has(>.ag-share-card) > .listing-vip,
.stay-tile-media:has(>.ag-share-card) > .listing-vip { right: 55px; }
.photo:has(>.heart):has(>.ag-share-card) > .listing-vip { right: 96px; }
.ag-share-dialog {
  width: min(29rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #dbe6eb;
  border-radius: 20px;
  background: #fff;
  color: #092f57;
  box-shadow: 0 22px 80px #092f5740;
}
.ag-share-dialog::backdrop { background: #102d50a6; }
.ag-share-panel { display: grid; gap: .65rem; padding: 1.25rem; }
.ag-share-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ag-share-heading h2 { margin: 0; font-size: 1.25rem; }
.ag-share-close {
  display: grid;
  flex: none;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #092f57;
  background: #eff4f7;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.ag-share-panel label { font-size: .875rem; }
.ag-share-panel input {
  width: 100%;
  box-sizing: border-box;
  padding: .65rem .75rem;
  font: inherit;
  border: 1px solid #cce2e7;
  border-radius: 10px;
  background: #f7fafc;
  color: #092f57;
}
.ag-share-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ag-share-actions button {
  min-height: 42px;
  border: 1px solid #092f57;
  border-radius: 999px;
  padding: .45rem .85rem;
  background: #092f57;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.ag-share-actions button:hover { background: #174569; }
.ag-share-actions [data-share-native] { background: #fff; color: #092f57; }
.ag-share-actions [data-share-native]:hover { background: #edf7f8; }
.ag-share-actions [hidden] { display: none; }
.ag-share-status { min-height: 1.3em; margin: 0; color: #086276; font-size: .875rem; }
