.fhs-document-library { margin: 1.25rem 0; }
.fhs-document-category { border: 1px solid #d8e0e8; border-radius: 6px; margin-bottom: 1rem; overflow: hidden; }
.fhs-document-category summary { padding: 1rem 1.25rem; background: #f1f5f9; color: #174e83; font-weight: 700; cursor: pointer; }
.fhs-document-count { font-weight: 400; }
.fhs-document-library .fhs-document-list { list-style: none; margin: 0; padding: 0; }
.fhs-document-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid #e4e9ef; }
.fhs-document-title { font-weight: 600; }
.fhs-document-links { display: flex; flex-shrink: 0; gap: 1.25rem; }
.fhs-document-links a, .fhs-document-dialog-tools a { color: #174e83; text-decoration: underline; font-weight: 600; }
.fhs-document-library a:focus-visible, .fhs-document-category summary:focus-visible, .fhs-document-dialog a:focus-visible, .fhs-document-dialog button:focus-visible { outline: 3px solid #174e83; outline-offset: 4px; }
.fhs-document-dialog { width: min(1200px, calc(100vw - 32px)); max-width: none; height: calc(100vh - 64px); height: calc(100dvh - 64px); max-height: none; padding: 0; border: 0; border-radius: 8px; color: #172b4d; background: #fff; }
.fhs-document-dialog[open] { display: flex; flex-direction: column; }
.fhs-document-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.fhs-document-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 16px; }
.fhs-document-dialog-header h2 { margin: 0; font-size: 20px; color: #172b4d; }
.fhs-document-dialog-header button { flex-shrink: 0; border: 0; border-radius: 4px; background: #174e83; color: #fff; padding: 9px 14px; cursor: pointer; }
.fhs-document-dialog-tools { padding: 12px 16px; background: #f1f5f9; font: 15px/1.4 Arial, sans-serif; }
.fhs-document-dialog-tools p { margin: 0 0 8px; }
.fhs-document-dialog-tools a { display: inline-block; margin-right: 20px; }
.fhs-document-dialog-tools .fhs-document-preview-note { margin: 8px 0 0; font-size: 13px; }
.fhs-document-dialog iframe { flex: 1 1 0; width: 100%; min-height: 0; border: 0; }
@media (max-width: 600px) {
    .fhs-document-row { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .fhs-document-dialog { width: calc(100vw - 16px); height: calc(100dvh - 32px); }
    .fhs-document-dialog-header { align-items: flex-start; }
    .fhs-document-dialog-header h2 { font-size: 17px; }
    .fhs-document-dialog-tools { font-size: 13px; }
}
