/* System status bar (header) – clear at-a-glance indicator */
.system-status-wrap {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #21262d;
}

.system-status-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.system-status-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid #30363d;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.system-status-item:hover {
    background: #161b22;
    border-color: #484f58;
}

.system-status-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-size: 11px;
    color: #8b949e;
}

.system-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.system-status-dot.status-running {
    background: #3fb950;
    box-shadow: 0 0 0 2px rgba(63, 185, 80, 0.25), 0 0 10px rgba(63, 185, 80, 0.4);
}

.system-status-dot.status-running::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid rgba(63, 185, 80, 0.5);
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0; transform: scale(1.4); }
}

.system-status-dot.status-stopped {
    background: #6e7681;
}

.system-status-dot.status-not-started {
    background: transparent;
    border: 2px solid #6e7681;
}

.system-status-dot.status-degraded {
    background: #d29922;
    box-shadow: 0 0 0 2px rgba(210, 153, 34, 0.2), 0 0 8px rgba(210, 153, 34, 0.35);
}

.system-status-value {
    color: #e6edf3;
    font-weight: 600;
    font-size: 13px;
}

/* Dark theme CSS for MCP Network Diagnostics Dashboard */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: #0d1117;
    color: #c9d1d9;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #f0f6fc;
}

.card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}

.btn {
    background-color: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn:hover {
    background-color: #30363d;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #30363d;
}

th {
    font-weight: 600;
    color: #f0f6fc;
}

.status-healthy {
    color: #3fb950;
}

.status-warning {
    color: #d29922;
}

.status-critical {
    color: #f85149;
}

/* Connection context note (e.g. running in Docker) */
.connection-context-note {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.35);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #c9d1d9;
    line-height: 1.5;
}

.connection-context-note code {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Connection overview */
.overview-intro {
    color: #8b949e;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.connection-card-outer {
    margin-top: 8px;
    padding: 24px;
}

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

.connection-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.connection-subtitle {
    font-size: 14px;
    color: #8b949e;
}

.connection-meta {
    font-size: 13px;
    color: #8b949e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.dot-live {
    background: #3fb950;
    box-shadow: 0 0 8px rgba(63, 185, 80, 0.7);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pill-healthy {
    background: rgba(63, 185, 80, 0.16);
    color: #3fb950;
    border: 1px solid rgba(63, 185, 80, 0.6);
}

.status-pill-degraded {
    background: rgba(210, 153, 34, 0.16);
    color: #d29922;
    border: 1px solid rgba(210, 153, 34, 0.6);
}

.connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.connection-card {
    background-color: #0d1117;
    border-radius: 8px;
    border: 1px solid #30363d;
    padding: 14px 16px;
    box-shadow: 0 10px 30px rgba(1, 4, 9, 0.5);
}

.card-label {
    font-size: 13px;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 12px;
    color: #6e7681;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.card-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.card-value {
    font-size: 20px;
    font-weight: 600;
    color: #f0f6fc;
}

.card-sub {
    font-size: 13px;
    color: #8b949e;
}

.card-sub-hint {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #6e7681;
    font-style: italic;
}

.issues-card {
    margin-top: 4px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #30363d;
    background: radial-gradient(circle at top left, rgba(248, 81, 73, 0.12), #161b22);
}

.issues-card-healthy {
    background: radial-gradient(circle at top left, rgba(63, 185, 80, 0.12), #161b22);
}

.issues-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b949e;
    margin-bottom: 6px;
}

.issues-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 4px 0 0 0;
}

.issues-card li {
    font-size: 14px;
    color: #e6edf3;
}

.badge-soft {
    background-color: rgba(88, 166, 255, 0.16);
    color: #58a6ff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.badge-healthy {
    background: rgba(63, 185, 80, 0.2);
    color: #3fb950;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.badge-degraded {
    background: rgba(210, 153, 34, 0.2);
    color: #d29922;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.badge-unreachable {
    background: rgba(248, 81, 73, 0.2);
    color: #f85149;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

/* Tools page */
.tools-page {
    padding-bottom: 2rem;
}

.tools-page-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tools-page-desc {
    color: #8b949e;
    font-size: 14px;
    margin-bottom: 8px;
}

.tools-page-tip {
    color: #8b949e;
    font-size: 13px;
    margin-bottom: 24px;
    padding: 10px 14px;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
}

.tools-category {
    margin-bottom: 32px;
}

.tools-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #30363d;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.tool-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    /* Grid items default to min-width:auto which can cause overflow/overlap
       when inner content has a large min-content width (e.g. 3-column results). */
    min-width: 0;
}

/* Clear "tool is running" state: card gets accent border and soft glow */
.tool-card.htmx-request {
    border-color: rgba(88, 166, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(88, 166, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tool-card-header {
    margin-bottom: 4px;
    position: relative;
}

.tool-label {
    font-weight: 600;
    font-size: 16px;
    color: #f0f6fc;
    display: block;
    margin-bottom: 4px;
}

.tool-desc {
    font-size: 13px;
    color: #8b949e;
    margin: 0;
    line-height: 1.4;
}

.tool-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
}

.tool-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    flex: 1;
}

.tool-form-field label {
    font-size: 12px;
    color: #8b949e;
    font-weight: 500;
}

.tool-form-field input {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #e6edf3;
    padding: 8px 10px;
    font-size: 14px;
}

.tool-form-field input::placeholder {
    color: #6e7681;
}

.tool-form-field input:focus {
    outline: none;
    border-color: #58a6ff;
}

.tool-form-actions {
    flex-shrink: 0;
}

/* Running badge next to tool name (visible when tool is running) */
.tool-running-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.12);
    border: 1px solid rgba(88, 166, 255, 0.3);
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-width 0.25s ease;
}

.tool-running-badge.htmx-request {
    opacity: 1;
    max-width: 120px;
}

.tool-running-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(88, 166, 255, 0.3);
    border-top-color: #58a6ff;
    border-radius: 50%;
    animation: tool-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes tool-spin {
    to { transform: rotate(360deg); }
}

.btn-run {
    background: #238636;
    color: #fff;
    border: 1px solid #2ea043;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 100px;
    transition: opacity 0.2s ease, background 0.15s ease;
}

.btn-run:hover {
    background: #2ea043;
}

/* Button loading state: show spinner + "Running…", hide "Run" */
.tool-form.htmx-request .btn-run {
    pointer-events: none;
    opacity: 0.9;
}

.tool-form.htmx-request .btn-run .btn-run-text {
    display: none;
}

.btn-run-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.tool-form.htmx-request .btn-run-loading {
    display: inline-flex;
}

.btn-run-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tool-spin 0.6s linear infinite;
    flex-shrink: 0;
}

.htmx-indicator {
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.htmx-indicator.htmx-request {
    opacity: 1;
}

.tool-result-wrap {
    margin-top: 8px;
    border-top: 1px solid #21262d;
    padding-top: 12px;
}

.tool-result {
    min-height: 40px;
}

.tool-result-placeholder {
    font-size: 13px;
    color: #6e7681;
    font-style: italic;
}

.tool-output,
.tool-output-error {
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 400px;
    overflow: auto;
    padding: 12px;
    border-radius: 6px;
    margin: 0;
    background: #0d1117;
    border: 1px solid #30363d;
}

.tool-output-error {
    border-color: rgba(248, 81, 73, 0.5);
    background: rgba(248, 81, 73, 0.08);
    color: #f85149;
}

/* Developer page */
.developer-page { padding-bottom: 2rem; }
.developer-title { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.developer-intro { color: #8b949e; margin-bottom: 24px; }
.dev-section { margin-bottom: 28px; }
.dev-section h3 { font-size: 18px; margin-bottom: 12px; }
.dev-section h4 { font-size: 15px; margin: 16px 0 8px; color: #8b949e; }
.dev-code {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    overflow-x: auto;
    margin: 8px 0 16px;
}
.role-list { margin: 8px 0 16px; padding-left: 20px; }
.role-list li { margin-bottom: 4px; }
.tools-by-role { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.role-block { background: #161b22; border: 1px solid #30363d; border-radius: 8px; padding: 12px 16px; }
.role-name { font-weight: 600; margin-bottom: 8px; text-transform: capitalize; }
.tool-list { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.tool-list li { margin-bottom: 2px; }
.tool-list code { font-size: 11px; }

/* ============================================================================
   Human-friendly tool output styles
   ============================================================================ */

.tool-result-friendly {
    padding: 4px 0;
}

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

.result-title {
    font-size: 16px;
    font-weight: 600;
    color: #f0f6fc;
}

.result-note {
    font-size: 12px;
    color: #8b949e;
    margin: 0 0 12px 0;
    font-style: italic;
}

.result-hint {
    font-size: 13px;
    color: #8b949e;
    margin-top: 8px;
}

/* Diagnosis summary */
.diagnosis-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
}

.diagnosis-summary-text {
    margin: 0;
    font-size: 14px;
    color: #e6edf3;
    flex: 1;
}

.confidence-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(88, 166, 255, 0.16);
    color: #58a6ff;
    white-space: nowrap;
}

.baseline-samples-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(139, 148, 158, 0.16);
    color: #8b949e;
    white-space: nowrap;
}

.baseline-samples-note {
    margin: 8px 0 0 0;
    font-size: 13px;
}

/* Suggestions card */
.suggestions-card {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #30363d;
    background: radial-gradient(circle at top left, rgba(88, 166, 255, 0.08), #161b22);
}

.suggestions-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #58a6ff;
    margin-bottom: 8px;
}

.suggestions-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions-card li {
    font-size: 13px;
    color: #c9d1d9;
    padding: 4px 0 4px 20px;
    position: relative;
}

.suggestions-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #58a6ff;
}

/* Path analysis grid */
.path-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.path-analysis-item {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 10px 12px;
}

.path-analysis-label {
    display: block;
    font-size: 11px;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.path-analysis-value {
    font-size: 14px;
    color: #e6edf3;
    font-weight: 500;
}

/* Context notes */
.context-notes {
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(88, 166, 255, 0.08);
    border: 1px solid rgba(88, 166, 255, 0.25);
    border-radius: 6px;
}

.context-note {
    margin: 0;
    font-size: 13px;
    color: #8b949e;
}

.context-note + .context-note {
    margin-top: 6px;
}

/* Hop list (trace_path) */
.hop-list {
    margin-top: 16px;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.hop-list-header,
.hop-row {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 80px 60px;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
}

.hop-list-header {
    background: #0d1117;
    border-bottom: 1px solid #30363d;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.hop-row {
    background: #161b22;
    color: #c9d1d9;
    border-bottom: 1px solid #21262d;
}

.hop-row:last-child {
    border-bottom: none;
}

.hop-row.hop-bottleneck {
    background: rgba(248, 81, 73, 0.12);
    border-left: 3px solid #f85149;
}

.hop-col-num {
    font-weight: 600;
    color: #8b949e;
}

.hop-col-ip {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-size: 12px;
}

.hop-col-host {
    color: #8b949e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hop-col-latency {
    text-align: right;
}

.hop-col-loss {
    text-align: right;
    color: #8b949e;
}

/* Comparison table (baseline_compare) */
.comparison-table {
    margin-top: 16px;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 80px 120px 80px;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
}

.comparison-header {
    background: #0d1117;
    border-bottom: 1px solid #30363d;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.comparison-row {
    background: #161b22;
    color: #c9d1d9;
    border-bottom: 1px solid #21262d;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.comp-critical {
    background: rgba(248, 81, 73, 0.12);
    border-left: 3px solid #f85149;
}

.comparison-row.comp-warning {
    background: rgba(210, 153, 34, 0.12);
    border-left: 3px solid #d29922;
}

.comp-col-current,
.comp-col-baseline,
.comp-col-deviation {
    text-align: right;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-size: 12px;
}

/* Anomaly severity badges */
.anomaly-severity {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.anomaly-critical {
    background: rgba(248, 81, 73, 0.2);
    color: #f85149;
}

.anomaly-warning {
    background: rgba(210, 153, 34, 0.2);
    color: #d29922;
}

.anomaly-normal {
    background: rgba(63, 185, 80, 0.2);
    color: #3fb950;
}

/* Metrics grid (baseline_record) */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.metric-item {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 10px 12px;
}

.metric-label {
    display: block;
    font-size: 11px;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 16px;
    color: #e6edf3;
    font-weight: 600;
}

/* Device table (scan_network) */
.device-table {
    margin-top: 12px;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.device-header,
.device-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
}

.device-header {
    background: #0d1117;
    border-bottom: 1px solid #30363d;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.device-row {
    background: #161b22;
    color: #c9d1d9;
    border-bottom: 1px solid #21262d;
}

.device-row:last-child {
    border-bottom: none;
}

.device-col-ip,
.device-col-mac {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-size: 12px;
}

.device-col-host {
    color: #8b949e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Speedtest results */
.speedtest-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 520px) {
    .speedtest-results {
        grid-template-columns: 1fr;
    }
}

.speedtest-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.speedtest-download {
    border-color: rgba(63, 185, 80, 0.4);
}

.speedtest-upload {
    border-color: rgba(88, 166, 255, 0.4);
}

.speedtest-ping {
    border-color: rgba(210, 153, 34, 0.4);
}

.speedtest-label {
    font-size: 12px;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.speedtest-value {
    font-size: 28px;
    font-weight: 600;
    color: #f0f6fc;
}

.speedtest-unit {
    font-size: 14px;
    font-weight: 400;
    color: #8b949e;
}

.speedtest-server {
    font-size: 12px;
    color: #8b949e;
    text-align: center;
}

.speedtest-server-label {
    color: #6e7681;
}

/* Install instructions */
.install-instructions {
    margin-top: 12px;
    padding: 12px 16px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
}

.install-instructions p {
    margin: 0 0 8px 0;
    font-size: 13px;
}

.install-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.install-instructions li {
    font-size: 13px;
    margin-bottom: 4px;
}

.install-instructions code {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Collapsible JSON details */
.json-details {
    margin-top: 16px;
    border-top: 1px solid #21262d;
    padding-top: 12px;
}

.json-summary {
    font-size: 12px;
    color: #8b949e;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
}

.json-summary:hover {
    color: #58a6ff;
}

.json-details[open] .json-summary {
    margin-bottom: 8px;
}

.json-details .tool-output {
    margin-top: 8px;
}
