* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f8f9fa;
    --surface: #ffffff;
    --text: #212529;
    --text-secondary: #6c757d;
    --primary: #4361ee;
    --primary-hover: #3a56d4;
    --border: #dee2e6;
    --q-color: #9ecae1;
    --m-color: #74c476;
    --f-color: #fcbba1;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* Header */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

header h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

nav {
    display: flex;
    gap: 4px;
}

.nav-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: all 0.15s;
}

.nav-btn:hover {
    background: var(--bg);
    color: var(--text);
}

.nav-btn.active {
    background: var(--primary);
    color: white;
}

/* Main */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

/* Upload */
.upload-section {
    max-width: 600px;
    margin: 60px auto;
}

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    background: var(--surface);
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease,
                margin 0.4s ease, border-color 0.2s;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--primary);
    background: #f0f4ff;
}

.drop-zone.processing {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    pointer-events: none;
}

.drop-zone-content svg {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.drop-zone-content p {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 4px;
}

.drop-zone-content .small {
    font-size: 13px;
    color: var(--text-secondary);
}

.progress-section {
    margin-top: 24px;
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Cards */
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: var(--shadow);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.15);
}

.card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-meta {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-completed { background: #d4edda; color: #155724; }
.status-failed { background: #f8d7da; color: #721c24; }
.status-pending,
.status-extracting_text,
.status-calling_llm { background: #fff3cd; color: #856404; }

.empty-state {
    text-align: center;
    color: var(--text-secondary);
    padding: 60px 20px;
    font-size: 15px;
}

/* Graph View */
.graph-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.graph-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    min-width: 200px;
}

.graph-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    padding: 8px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    background: var(--surface);
    color: var(--text);
}

.btn:hover {
    background: var(--bg);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: var(--surface);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
    padding: 0 4px;
}

.btn-link:hover {
    color: var(--primary-hover);
}

.btn-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0 4px;
    line-height: 1;
}

.btn-close:hover {
    color: var(--text);
}

.select {
    padding: 8px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 13px;
    background: var(--surface);
    cursor: pointer;
}

/* Re-extract banner */
.re-extract-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    padding: 8px 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search & Filter bar */
.graph-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.filter-input {
    flex: 1;
    max-width: 300px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    outline: none;
}

.filter-input:focus {
    border-color: var(--primary);
}

.filter-label {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.filter-label input[type="checkbox"] {
    cursor: pointer;
}

.filter-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 4px;
}

.filter-group-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-clear-sel {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    background: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
    cursor: pointer;
    margin-left: 4px;
}

.btn-clear-sel:hover {
    background: #f1aeb5;
}

/* Graph container */
.graph-container {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: visible;
}

.cy-container {
    width: 100%;
    height: calc(100vh - 300px);
    min-height: 500px;
}

.node-info {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
}

.node-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.node-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.type-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.type-Q { background: var(--q-color); }
.type-M { background: var(--m-color); }
.type-F { background: var(--f-color); }

.legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.1);
}

.legend-hint {
    font-size: 11px;
    font-style: italic;
    opacity: 0.7;
}

.graph-stats {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px;
}

/* ====================== */
/* Chat Panel              */
/* ====================== */

.chat-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 15;
    transition: transform 0.3s ease;
}

.chat-panel.collapsed {
    transform: translateX(calc(100% - 44px));
}

.chat-toggle {
    position: absolute;
    left: -44px;
    top: 12px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    color: var(--text-secondary);
    z-index: 16;
}

.chat-toggle:hover {
    background: var(--bg);
    color: var(--primary);
}

.chat-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-disclaimer {
    font-size: 11px;
    color: var(--text-secondary);
    background: #fff3cd;
    padding: 8px 12px;
    border-radius: var(--radius);
    text-align: center;
    line-height: 1.4;
}

.chat-bubble {
    max-width: 90%;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.5;
}

.chat-bubble-user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
}

.chat-bubble-assistant {
    align-self: flex-start;
    background: var(--bg);
    color: var(--text);
}

.chat-bubble-label {
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 2px;
    opacity: 0.7;
}

.chat-bubble-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Markdown-rendered content overrides pre-wrap */
.chat-bubble-content.markdown-body {
    white-space: normal;
}

/* Streaming cursor for chat and summary */
.streaming::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--border);
}

.chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    white-space: nowrap;
}

.chat-send-btn:hover {
    background: var(--primary-hover);
}

.chat-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ====================== */
/* Validation Panel        */
/* ====================== */

.validation-panel {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    max-width: 400px;
    max-height: 60%;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
}

.validation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.validation-header h3 {
    font-size: 14px;
    font-weight: 600;
}

.validation-item {
    padding: 10px;
    border-radius: var(--radius);
    margin-bottom: 8px;
    border-left: 3px solid;
}

.validation-supported { border-left-color: #28a745; background: #f0fff0; }
.validation-partially_supported { border-left-color: #ffc107; background: #fffde7; }
.validation-not_supported { border-left-color: #dc3545; background: #fff5f5; }

.validation-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.v-icon { font-weight: bold; font-size: 14px; }
.v-supported { color: #28a745; }
.v-partial { color: #ffc107; }
.v-unsupported { color: #dc3545; }

.validation-status-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: auto;
}

.validation-explanation {
    font-size: 12px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 4px;
}

.validation-excerpt {
    font-size: 11px;
    color: var(--text-secondary);
    border-left: 2px solid var(--border);
    padding-left: 8px;
    margin: 4px 0 0 0;
    font-style: italic;
}

/* ====================== */
/* Summary Modal           */
/* ====================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal-card {
    background: var(--surface);
    border-radius: 12px;
    width: 90%;
    max-width: 640px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    white-space: pre-wrap;
}

/* Override pre-wrap when markdown is rendered */
.modal-body.markdown-body {
    white-space: normal;
}

/* ====================== */
/* Markdown Body Styles    */
/* ====================== */

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

.markdown-body h1:first-child,
.markdown-body h2:first-child,
.markdown-body h3:first-child {
    margin-top: 0;
}

.markdown-body h1 { font-size: 1.3em; }
.markdown-body h2 { font-size: 1.15em; }
.markdown-body h3 { font-size: 1.05em; }
.markdown-body h4 { font-size: 1em; }

.markdown-body p {
    margin: 0.4em 0;
    line-height: 1.6;
}

.markdown-body strong {
    font-weight: 600;
    color: var(--text);
}

.markdown-body em {
    font-style: italic;
}

.markdown-body ul,
.markdown-body ol {
    margin: 0.4em 0;
    padding-left: 1.5em;
}

.markdown-body li {
    margin: 0.2em 0;
    line-height: 1.5;
}

.markdown-body li > p {
    margin: 0;
}

.markdown-body code {
    font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, monospace;
    font-size: 0.88em;
    background: rgba(0, 0, 0, 0.06);
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

.markdown-body pre {
    margin: 0.6em 0;
    padding: 10px 14px;
    background: #f6f8fa;
    border-radius: var(--radius);
    overflow-x: auto;
    border: 1px solid var(--border);
}

.markdown-body pre code {
    background: none;
    padding: 0;
    font-size: 0.85em;
    line-height: 1.5;
}

.markdown-body blockquote {
    margin: 0.5em 0;
    padding: 0.4em 1em;
    border-left: 3px solid var(--primary);
    background: rgba(67, 97, 238, 0.04);
    color: var(--text-secondary);
    font-style: italic;
}

.markdown-body blockquote p {
    margin: 0.2em 0;
}

.markdown-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.8em 0;
}

.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.6em 0;
    font-size: 0.92em;
}

.markdown-body th,
.markdown-body td {
    border: 1px solid var(--border);
    padding: 6px 10px;
    text-align: left;
}

.markdown-body th {
    background: var(--bg);
    font-weight: 600;
}

.markdown-body a {
    color: var(--primary);
    text-decoration: none;
}

.markdown-body a:hover {
    text-decoration: underline;
}

/* Smaller text for chat bubbles */
.chat-bubble .markdown-body h1 { font-size: 1.1em; }
.chat-bubble .markdown-body h2 { font-size: 1.05em; }
.chat-bubble .markdown-body h3 { font-size: 1em; }

/* Node ID references highlighted */
.markdown-body strong:where(:has(+ :empty)) {
    color: var(--primary);
}

/* ====================== */
/* Responsive              */
/* ====================== */

/* ====================== */
/* Documentation Page      */
/* ====================== */

.docs-container {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.docs-hero {
    text-align: center;
    padding: 40px 0 32px;
}

.docs-hero h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.docs-hero-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.docs-section {
    margin-bottom: 36px;
}

.docs-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.docs-section p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 10px;
}

/* Quick-start steps */
.docs-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.docs-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
}

.docs-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.docs-step strong {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.docs-step p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Node types cards */
.docs-node-types {
    display: flex;
    gap: 16px;
    margin: 14px 0;
}

.docs-node-card {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.docs-node-badge {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.docs-node-card strong {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.docs-node-card p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Features grid */
.docs-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.docs-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
}

.docs-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: #eef1ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.docs-feature strong {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.docs-feature p {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.docs-feature ul {
    margin: 4px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tips table */
.docs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.docs-table th,
.docs-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.docs-table th {
    background: var(--bg);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.docs-table td:first-child {
    font-weight: 500;
    white-space: nowrap;
}

.docs-table kbd {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-family: inherit;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 1px 0 var(--border);
}

/* FAQ */
.docs-faq {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
}

.docs-faq summary {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.docs-faq summary::before {
    content: '+ ';
    font-weight: 700;
    color: var(--primary);
    margin-right: 6px;
}

.docs-faq[open] summary::before {
    content: '- ';
}

.docs-faq p {
    padding: 0 16px 14px;
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ====================== */
/* Site Footer             */
/* ====================== */

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    z-index: 100;
}

.site-footer a {
    color: var(--primary);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-sep {
    opacity: 0.4;
}

/* Add bottom padding to main so content isn't hidden behind footer */
main {
    padding-bottom: 60px;
}

/* ====================== */
/* Responsive              */
/* ====================== */

@media (max-width: 768px) {
    main { padding: 16px; padding-bottom: 60px; }
    .graph-header { flex-direction: column; align-items: flex-start; }
    .graph-actions { width: 100%; flex-wrap: wrap; }
    .card-list { grid-template-columns: 1fr; }
    .chat-panel { width: 280px; }
    .graph-filter-bar { flex-wrap: wrap; }
    .filter-input { max-width: 100%; }
    .docs-node-types { flex-direction: column; }
    .docs-table td:first-child { white-space: normal; }
    .site-footer { font-size: 11px; gap: 4px; flex-wrap: wrap; height: auto; padding: 6px 12px; }
}
