/* Compatibility for the current document API; page layout comes from Obeil's site.css. */
[hidden] { display: none !important; }
.skip-link { position: fixed; inset: 8px auto auto 12px; z-index: 10000; transform: translateY(-150%); padding: 9px 15px; border-radius: 5px; background: #fff; color: #111; }
.skip-link:focus { transform: translateY(0); }
.aespdf-document-card { padding: 18px; overflow-wrap: anywhere; }
.aespdf-document-card h2 { margin: 14px 0 12px; font-size: 1.4rem; }
.aespdf-document-card p { font-size: .9rem; }
.aespdf-document-card .viewer-meta { padding: 10px 0; border-bottom: 0; font-size: .78rem; }
.viewer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.viewer-actions .btn { font-size: .82rem; }
.aespdf-document-card small { display: block; color: var(--muted); font-size: .72rem; }
.field-note { margin: 3px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.page-shell .window-chrome h1.auth-title { display: inline; margin: 0 0 0 8px; font-size: 1rem !important; font-weight: 700; line-height: inherit !important; letter-spacing: normal !important; }
.form-grid select { min-width: 0; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font: inherit; }
.list-item .btn { justify-self: start; width: auto; font-size: .78rem; padding: 7px 12px; }
.access-result-panel.show { margin-top: 18px; }
html[dir="rtl"] .site-header nav a { text-align: start; }
html[dir="rtl"] .brand small { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 10px; }
@media (prefers-reduced-motion: reduce) { .aespdf-loader-ring, .aespdf-loader-core, .aespdf-loader-orbit, .aespdf-loader-spark, .art-lock-ring, .art-beam, .art-document-stack, .sheet { animation: none !important; } }
