body { background: #f4f6f8; font-size: 0.925rem; }

.explorer-header { background: #1f2d3d; color: #fff; padding: 0.6rem 1.25rem; }
.explorer-header a { color: #cfe3f5; text-decoration: none; }
.explorer-source { color: #aebccb; font-size: 0.8rem; }

.explorer-tree { background: #fff; border: 1px solid #dee2e6; border-radius: 0.375rem; padding: 0.5rem 0; max-height: 75vh; overflow: auto; }
.explorer-tree ul { list-style: none; margin: 0; padding-left: 1.1rem; }
.explorer-tree > ul { padding-left: 0.5rem; }
.explorer-node { display: inline-flex; align-items: center; gap: 0.35rem; padding: 1px 6px; border-radius: 4px; cursor: pointer; }
.explorer-node:hover { background: #eef4fa; }
.explorer-node.selected { background: #d7e8f8; }
.explorer-key, .explorer-path { font-family: SFMono-Regular, Menlo, Consolas, monospace; }
.explorer-key { font-size: 0.85rem; }
.explorer-type { color: #6c757d; font-size: 0.75rem; }
.explorer-required { color: #b02a37; font-size: 0.7rem; font-weight: 600; }
.explorer-caret { width: 0.9rem; color: #6c757d; display: inline-block; }
.explorer-group { border-left: 2px dotted #9ec5fe; margin: 2px 0 2px 0.2rem; padding-left: 0.4rem; }
.explorer-group-label { color: #0a58ca; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* The ticks build a skeleton, so they show only on the Build tab. */
.explorer-tick, .explorer-build-only { display: none; }
body.explorer-building .explorer-tick { display: inline-block; margin: 0; }
body.explorer-building .explorer-build-only { display: inline-block; }

.explorer-panel { background: #fff; border: 1px solid #dee2e6; border-top: 0; border-radius: 0 0 0.375rem 0.375rem; padding: 1rem 1.25rem; }
.explorer-path { font-size: 0.95rem; }
.explorer-facts dt { font-weight: 500; color: #495057; }
.explorer-facts dd { margin-bottom: 0.4rem; }
.explorer-json { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 0.375rem; padding: 0.6rem 0.8rem; font-size: 0.82rem; margin: 0; white-space: pre-wrap; }
.explorer-chip { display: inline-block; border: 1px solid #ced4da; border-radius: 1rem; padding: 0 0.55rem; margin: 0 0.2rem 0.3rem 0; font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; text-decoration: none; }
.explorer-result { border-bottom: 1px solid #eef0f2; padding: 0.45rem 0; }
.explorer-result:last-child { border-bottom: 0; }
.explorer-problem { border-left: 4px solid #dc3545; padding: 0.4rem 0.7rem; margin-bottom: 0.45rem; background: #fff5f5; border-radius: 0 0.25rem 0.25rem 0; }
.explorer-problem.warning { border-left-color: #ffc107; background: #fffbea; }
.explorer-mapping { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; }
