.docs-header-link { color: white; font-weight: 650; }
.docs-page { min-height: 66vh; padding-block: clamp(28px, 5vw, 64px); }
.docs-page h1 { font-size: clamp(2rem, 5vw, 3.65rem); margin-bottom: 20px; }
.docs-page h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 10px; }
.docs-filters, .docs-actions, .docs-session, .docs-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; }
.docs-filters { margin-block: 14px 24px; }
.docs-filters a, .docs-button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; font: inherit; font-weight: 700; }
.docs-filters a { text-decoration: none; }
.docs-filters a:hover, .docs-button:hover { text-decoration: underline; }
.docs-filters a[aria-current], .docs-button { background: var(--blue); color: white; border-color: var(--blue); }
.docs-button-secondary { background: white; color: var(--blue); border-color: var(--line); }
.docs-list, .docs-form { display: grid; gap: 14px; }
.docs-card, .docs-message { border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: clamp(16px, 3vw, 22px); overflow-wrap: anywhere; }
.docs-error { border-left: 4px solid #b02929; background: #fff3f3; }
.docs-meta { color: var(--muted); margin-bottom: 6px; font-size: .9rem; }
.docs-note { margin-bottom: 12px; white-space: pre-wrap; }
.docs-files { list-style: none; margin: 0; padding: 0; }
.docs-files li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; }
.docs-files a { padding-block: 6px; min-width: 0; font-weight: 700; }
.docs-files span { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.docs-form { max-width: 660px; margin-block: 15px 30px; }
.docs-form h2 { margin-bottom: 0; }
.docs-form > .docs-button { justify-self: start; }
.docs-form label { display: grid; gap: 5px; font-weight: 650; min-width: 0; }
.docs-form input, .docs-form select, .docs-form textarea { max-width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; background: white; color: var(--ink); border: 1px solid #637999; border-radius: 4px; font: inherit; }
.docs-form input[type="file"] { border-style: dashed; }
.docs-form select:focus-visible, .docs-form textarea:focus-visible { outline: 3px solid #2876da; outline-offset: 4px; }
.docs-footer { justify-content: space-between; padding-block: 20px; }
#activation-qr svg { display: block; width: min(100%, 240px); height: auto; margin-bottom: 8px; background: white; }
.docs-form .docs-check { display: flex; align-items: center; }
.docs-check input { min-height: 0; min-width: 18px; height: 18px; }
.docs-fields { border: 0; margin: 0; min-width: 0; padding: 0; display: grid; gap: 12px; }
.docs-fields legend { margin-bottom: 10px; padding: 0; font-weight: 750; }
.docs-fields + .docs-fields { padding-top: 5px; }
.docs-attachments { max-width: 660px; margin-bottom: 30px; }
.docs-attachments .docs-form { margin: 0; }
.docs-attachment-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.docs-attachment-actions input[type=file] { display: block; }

.docs-delete { margin-top: 12px; }
.docs-delete summary { cursor: pointer; }
.docs-button-danger { background: #a32121; border-color: #a32121; color: white; }
