.terms-share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.terms-share-button { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid #fff; border-radius: 8px; background: #fff; color: #0c4386; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.terms-share-button.secondary { background: transparent; color: #fff; border-color: #b9d2ef; }
.terms-share-button:disabled, .term-share:disabled { opacity: .65; cursor: default; }
.terms-share-button:focus-visible, .term-share:focus-visible, .term-permalink:focus-visible { outline: 3px solid #d49600; outline-offset: 3px; }
.terms-share-status { display: block; min-height: 24px; margin-top: 8px; color: #fff; font-size: 14px; }
.term-card-tools { display: flex; flex-shrink: 0; gap: 6px; align-items: center; }
.term-share { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d5e1ef; border-radius: 8px; color: #285078; background: #f7faff; font: inherit; font-size: 12px; cursor: pointer; }
.term-card { scroll-margin-top: 150px; }
.term-permalink { color: inherit; text-decoration: none; }
.term-permalink:hover { text-decoration: underline; text-underline-offset: 4px; }
.term-card:target { border-color: #1769d2; box-shadow: 0 0 0 2px #1769d2; }
.terms-page [hidden] { display: none !important; }
html:not(.terms-enhanced) .terms-page .term-details { display: block; }
html:not(.terms-enhanced) .terms-page .term-more { display: none; }
.terms-share-dialog { width: min(480px, calc(100% - 32px)); max-height: 85vh; padding: 24px; border: 1px solid #cddced; border-radius: 8px; background: #fff; color: #15263b; }
.terms-share-dialog::backdrop { background: #15263b66; }
.terms-share-dialog h2 { font-size: 20px; margin: 0 0 16px; }
.terms-share-dialog textarea { width: 100%; box-sizing: border-box; padding: 12px; font: inherit; font-size: 16px; line-height: 1.5; border: 1px solid #cddced; border-radius: 4px; resize: vertical; margin-bottom: 16px; }
@media (max-width: 640px) {
  .terms-share-actions { gap: 8px; margin-top: 18px; }
  .terms-share-button { flex: 1; justify-content: center; padding: 10px; white-space: nowrap; }
  .term-card { scroll-margin-top: 100px; }
}
