.trust-doc__body .terms-card:has(.terms-share-button) { padding-bottom: 52px; scroll-margin-top: 100px; }
.terms-share-button {
    position: absolute; right: 12px; bottom: 10px;
    display: grid; place-items: center; width: 40px; height: 40px;
    border: 0; border-radius: 50%; color: var(--tc, #4070b0);
    background: transparent; cursor: pointer;
}
.terms-share-button:hover, .terms-share-button:focus-visible { background: rgb(64 112 176 / 12%); }
.terms-share-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.terms-share[hidden], .terms-share [hidden] { display: none !important; }
.terms-share {
    position: fixed; inset: 0; z-index: 12000; display: flex; align-items: center;
    justify-content: center; padding: 20px; background: rgb(0 0 0 / 52%);
    backdrop-filter: blur(4px);
}
.terms-share__panel {
    box-sizing: border-box; width: 100%; max-width: 440px; max-height: calc(100dvh - 40px); overflow-y: auto;
    overscroll-behavior: contain; border-radius: 24px; padding: 24px;
    background: var(--surface, #fff); color: var(--white, #20242b);
    box-shadow: 0 18px 64px rgb(0 0 0 / 22%);
}
.terms-share__header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.terms-share__header h2 { margin: 0; font-size: 1.2rem; line-height: 1.4; flex: 1; }
.terms-share__close {
    width: 40px; height: 40px; border: 0; border-radius: 50%; flex-shrink: 0;
    background: var(--surface-2, #f2f3f6); color: inherit; font-size: 26px; cursor: pointer;
}
.terms-share__subtitle { margin: 0 0 16px; color: var(--text-2, #6b7280); font-size: 0.9rem; }
.terms-share__preview { margin: 0 auto 18px; max-width: 290px; }
.terms-share__preview canvas { display: block; width: 100%; height: auto; border-radius: 16px; }
.terms-share__destinations { display: grid; gap: 10px; }
.terms-share__destination {
    display: flex; align-items: center; gap: 14px; text-align: left;
    padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border, #e1e4eb);
    background: var(--surface-2, #f3f4f7); color: inherit; cursor: pointer; width: 100%;
}
.terms-share__destination svg { flex-shrink: 0; color: #4b7fc1; }
.terms-share__destination strong { display: block; font-size: 1rem; }
.terms-share__destination small { display: block; color: var(--text-2, #6b7280); margin-top: 3px; font-size: 0.83rem; }
.terms-share button:disabled { opacity: 0.55; cursor: wait; }
.terms-share__status { color: var(--text-2, #6b7280); font-size: 0.88rem; margin: 12px 0 0; }
.terms-share__status:empty { display: none; }
.terms-share__back {
    padding: 8px 0; margin-bottom: 8px; border: 0; background: transparent; color: #4b7fc1;
    font: inherit; font-weight: 600; cursor: pointer;
}
.terms-share__search {
    width: 100%; box-sizing: border-box; padding: 12px 14px; margin-bottom: 12px;
    border-radius: 12px; border: 1px solid var(--border, #e1e4eb);
    background: var(--surface-2, #f3f4f7); color: inherit; font: inherit;
}
.terms-share__people { display: grid; gap: 6px; min-height: 80px; }
.terms-share__person {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
    border: 0; border-radius: 12px; padding: 10px; color: inherit; background: transparent; cursor: pointer;
}
.terms-share__person:hover { background: var(--surface-2, #f3f4f7); }
.terms-share__avatar { width: 44px; height: 44px; flex-shrink: 0; object-fit: cover; border-radius: 50%; background: #edf2fb; color: #4070b0; display: grid; place-items: center; }
.terms-share__person strong, .terms-share__person small { display: block; }
.terms-share__person small { color: var(--text-2, #6b7280); }
.terms-share__login { display: block; padding: 14px; border-radius: 14px; text-align: center; background: #4070b0; color: #fff; text-decoration: none; font-weight: 700; }
@media (max-width: 600px) {
    .terms-share { padding: 12px; align-items: flex-end; }
    .terms-share__panel { padding: 20px; max-height: calc(100dvh - 24px); }
    .terms-share__preview { max-width: min(270px, 58dvh); }
}
