html { scroll-behavior: smooth; scroll-padding-top: 110px; }
[id] { scroll-margin-top: 110px; }
:focus-visible { outline: 3px solid #bb0112; outline-offset: 4px; }
dialog.site-search { border: 0; border-radius: 20px; width: min(640px, calc(100% - 32px)); max-height: 80vh; padding: 24px; color: #0b1c30; background: #fff; box-shadow: 0 20px 60px #0004; }
dialog.site-search::backdrop { background: #0b1c3088; }
.search-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.search-heading h2 { font-size: 22px; font-weight: 700; }
.search-heading button { padding: 8px 12px; border-radius: 8px; background: #eff4ff; }
.site-search input { width: 100%; border: 1px solid #76777d; border-radius: 10px; padding: 12px; margin: 8px 0 16px; }
.site-search ul { list-style: none; padding: 0; }
.site-search li { border-top: 1px solid #e5eeff; padding: 14px 0; }
.site-search a { color: #bb0112; font-weight: 600; text-decoration: underline; }
.site-search p { font-size: 14px; margin-top: 8px; }
.document-info { padding: 28px; margin-top: 32px; border: 1px solid #c6c6cd; border-radius: 16px; }
.document-info h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.document-info p { margin: 12px 0; }
.document-info a { color: #bb0112; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

[dir="rtl"] svg { direction: ltr; }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"], a[href^="tel:"], a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
