/* Native dialog, matching the approved messenger layouts. */
dialog.fav-share { box-sizing: border-box; width: 520px; max-width: calc(100vw - 40px); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: #fff; color: #000; overflow-y: auto; overscroll-behavior: contain; font-family: 'Jost', sans-serif; -webkit-font-smoothing: antialiased; }
dialog.fav-share::backdrop { background: rgba(0, 0, 0, .38); }
.fav-share .fav-share__inner { display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.fav-share p, .fav-share h2 { margin: 0; }
.fav-share [hidden] { display: none !important; }
.fav-share .fav-share__heading { display: flex; flex-direction: column; gap: 4px; }
.fav-share .fav-share__title-row { display: flex; align-items: center; gap: 12px; }
.fav-share .fav-share__title { flex: 1; min-width: 0; font-size: 26px; line-height: 32px; font-weight: 600; overflow-wrap: anywhere; }
.fav-share .fav-share__close { display: flex; flex: 0 0 44px; align-items: center; justify-content: center; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.fav-share .fav-share__close img { display: block; width: 36px; height: 36px; }
.fav-share .fav-share__description { font-size: 16px; line-height: 22px; color: #676a68; }
.fav-share .fav-share__channels { display: flex; flex-direction: column; gap: 8px; }
.fav-share .fav-share__channel { box-sizing: border-box; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px solid #dce0d6; border-radius: 12px; background: #fff; color: #000; text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 500; }
.fav-share .fav-share__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; background: #edf3ee; border-radius: 12px; }
.fav-share .fav-share__icon img { display: block; width: 24px; height: 24px; }
.fav-share .fav-share__channel-name { flex: 1; min-width: 0; }
.fav-share .fav-share__chevron { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
.fav-share .fav-share__selection { padding: 16px; border-radius: 12px; background: #edf3ee; display: flex; flex-direction: column; gap: 8px; }
.fav-share .fav-share__selection-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.fav-share .fav-share__label { font-size: 14px; line-height: 20px; font-weight: 500; }
.fav-share .fav-share__copy { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 136px; min-height: 44px; padding: 0; border: 0; border-radius: 12px; color: #00862c; background: none; font-family: inherit; font-size: 14px; line-height: 20px; font-weight: 500; cursor: pointer; }
.fav-share .fav-share__copy img { display: block; width: 16px; height: 16px; }
.fav-share .fav-share__summary, .fav-share .fav-share__hint, .fav-share .fav-share__status { font-size: 14px; line-height: 20px; color: #676a68; font-weight: 400; overflow-wrap: anywhere; }
.fav-share .fav-share__summary { white-space: pre-line; }
.fav-share .fav-share__status:empty { display: none; }
.fav-share .fav-share__manual { box-sizing: border-box; width: 100%; min-height: 120px; padding: 12px; border: 1px solid #dce0d6; border-radius: 12px; background: #fff; color: #000; font: 14px/20px 'Jost', sans-serif; resize: vertical; }
.fav-share button:focus-visible, .fav-share a:focus-visible, .fav-share textarea:focus-visible { outline: 2px solid #00862c; outline-offset: 3px; }
.fav-share .fav-share__channel:hover, .fav-share .fav-share__close:hover { background: #edf3ee; }
.fav-share .fav-share__copy:hover { background: #dce0d6; }
@media (max-width: 767px) {
    dialog.fav-share { width: 350px; }
    .fav-share .fav-share__inner { padding: 20px; }
    .fav-share .fav-share__title { font-size: 22px; line-height: 28px; }
    .fav-share .fav-share__channel { min-height: 60px; padding-block: 10px; }
}
