:root {
--bg-deep: #08080c;
--bg-surface: #0e0e14;
--bg-card: #14141c;
--bg-elevated: #1a1a24;
--bg-hover: #22222e;
--bg-primary: var(--bg-deep);
--bg-secondary: var(--bg-surface);
--bg-tertiary: var(--bg-elevated);
--bg-input: var(--bg-card);
--accent: #f59e0b;
--accent-dim: #d97706;
--accent-bright: #fbbf24;
--accent-primary: var(--accent);
--accent-secondary: #8b5cf6;
--accent-success: #22c55e;
--accent-warning: #f59e0b;
--accent-danger: #ef4444;
--text-primary: #fafafa;
--text-secondary: #a1a1aa;
--text-muted: #71717a;
--text-dim: #52525b;
--text-accent: var(--accent);
--sev-error: #e74c3c;
--sev-blocked: #ff6b6b;
--sev-critical: #f39c12;
--sev-warning: #f1c40f;
--sev-help: #2ecc71;
--sev-success: #58d68d;
--sev-completed: #1abc9c;
--sev-info: #5dade2;
--sev-trace: #bdc3c7;
--severity-critical: var(--sev-critical);
--severity-error: var(--sev-error);
--severity-warning: var(--sev-warning);
--severity-info: var(--sev-info);
--severity-debug: #7c3aed;
--severity-trace: var(--sev-trace);
--severity-blocked: var(--sev-blocked);
--severity-success: var(--sev-success);
--severity-completed: var(--sev-completed);
--severity-help: var(--sev-help);
--severity-critical-bg: rgba(249, 115, 22, 0.15);
--severity-error-bg: rgba(239, 68, 68, 0.15);
--severity-warning-bg: rgba(245, 158, 11, 0.15);
--severity-info-bg: rgba(59, 130, 246, 0.15);
--severity-debug-bg: rgba(124, 58, 237, 0.15);
--severity-trace-bg: rgba(100, 116, 139, 0.15);
--part-severity: #fca5a5;
--part-component: #93c5fd;
--part-primary: #c4b5fd;
--part-sequence: #86efac;
--part-hash: #fbbf24;
--border: #27272a;
--border-light: #3f3f46;
--border-color: var(--border);
--role-internal: #fca5a5;
--role-developer: #93c5fd;
--role-public: #86efac;
--role-internal-bg: rgba(239, 68, 68, 0.15);
--role-developer-bg: rgba(59, 130, 246, 0.15);
--role-public-bg: rgba(34, 197, 94, 0.15);
--code-bg: var(--bg-deep);
--code-text: #fafafa;
--code-keyword: #c4b5fd;
--code-string: #86efac;
--code-number: #fbbf24;
--code-function: #93c5fd;
--code-comment: #71717a;
--code-operator: #06b6d4;
--font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
--header-height: 56px;
--sidebar-width: 380px;
--border-radius-sm: 4px;
--border-radius-md: 8px;
--border-radius-lg: 12px;
--border-radius-full: 9999px;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
--transition-fast: 150ms ease;
--transition-normal: 200ms ease;
--transition-slow: 300ms ease;
--z-dropdown: 60;
--z-sidebar: 90;
--z-header: 100;
--z-modal: 300;
--z-toast: 1000;
}
[data-theme="light"] {
--bg-deep: #ffffff;
--bg-surface: #f8fafc;
--bg-card: #ffffff;
--bg-elevated: #f1f5f9;
--bg-hover: #e2e8f0;
--text-primary: #0f172a;
--text-secondary: #475569;
--text-muted: #64748b;
--text-dim: #94a3b8;
--border: #e2e8f0;
--border-light: #cbd5e1;
--accent: #d97706;
--accent-dim: #b45309;
--accent-bright: #f59e0b;
--code-bg: #f1f5f9;
--code-text: #0f172a;
--part-severity: #dc2626;
--part-component: #2563eb;
--part-primary: #7c3aed;
--part-sequence: #16a34a;
--part-hash: #d97706;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-family: var(--font-sans);
background: var(--bg-deep);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
}
body::before {
content: '';
position: fixed;
inset: 0;
background: radial-gradient(ellipse at 0% 0%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
radial-gradient(ellipse at 100% 100%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
pointer-events: none;
z-index: -1;
}
*:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
::selection {
background: rgba(245, 158, 11, 0.3);
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
background: var(--border-light);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
a {
color: var(--accent);
text-decoration: none;
transition: color var(--transition-fast);
}
a:hover {
color: var(--accent-bright);
}
code,
pre {
font-family: var(--font-mono);
}
code {
background: var(--bg-elevated);
padding: 0.125rem 0.375rem;
border-radius: var(--border-radius-sm);
font-size: 0.875em;
}
pre {
background: var(--bg-deep);
color: var(--code-text);
padding: 0.5rem 0.75rem;
border-radius: var(--border-radius-md);
border: 1px solid var(--border);
overflow-x: auto;
font-size: 0.6875rem;
line-height: 1.6;
}
pre code {
background: transparent;
padding: 0;
border-radius: 0;
font-size: inherit;
}
button {
font-family: inherit;
font-size: inherit;
cursor: pointer;
border: none;
background: transparent;
color: inherit;
transition: all var(--transition-fast);
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
input,
select,
textarea {
font-family: inherit;
font-size: inherit;
color: inherit;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--border-radius-md);
padding: 0.5rem 0.75rem;
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
input:focus,
select:focus,
textarea:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.app {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.main {
flex: 1;
margin-top: var(--header-height);
margin-right: var(--sidebar-width);
display: flex;
flex-direction: column;
}
.results-section {
flex: 1;
padding: 1rem 1.5rem;
}
.results-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1rem;
}
.result-count {
font-size: 0.875rem;
color: var(--text-muted);
}
.results-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.filter-label {
font-size: 0.6875rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
margin-right: 0.5rem;
}
.hint-chips {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: 0.5rem;
}
.hint-chip {
padding: 0.25rem 0.625rem;
background: var(--bg-tertiary);
border-radius: var(--border-radius-full);
font-size: 0.75rem;
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.hint-chip:hover {
background: var(--accent-primary);
color: var(--bg-primary);
}
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 4rem 2rem;
text-align: center;
color: var(--text-muted);
}
.empty-state svg {
width: 64px;
height: 64px;
margin-bottom: 1rem;
opacity: 0.5;
}
.empty-state h3 {
font-size: 1.25rem;
margin-bottom: 0.5rem;
color: var(--text-secondary);
}
.empty-state p {
font-size: 0.875rem;
}
.loading {
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
.loading-spinner {
width: 40px;
height: 40px;
border: 3px solid var(--border-color);
border-top-color: var(--accent-primary);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.section-divider {
height: 1px;
background: var(--border-color);
margin: 1rem 0;
}
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: var(--header-height);
background: var(--bg-secondary);
border-bottom: 1px solid var(--border-color);
z-index: var(--z-sidebar);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 1.5rem;
}
.header-left {
display: flex;
align-items: center;
gap: 1rem;
}
.header-right {
display: flex;
align-items: center;
gap: 0.75rem;
}
.header-brand {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1rem;
}
.brand-name {
color: var(--text-muted);
}
.brand-divider {
color: var(--border-light);
}
.project-name {
font-weight: 600;
color: var(--text-primary);
}
.header-logo {
width: 32px;
height: 32px;
border-radius: var(--border-radius-sm);
object-fit: contain;
}
.version {
font-size: 0.75rem;
color: var(--text-muted);
padding: 0.25rem 0.5rem;
background: var(--bg-tertiary);
border-radius: var(--border-radius-sm);
}
.format-toggle {
padding: 0.375rem 0.625rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
font-size: 0.75rem;
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.format-toggle:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.role-badge {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.25rem 0.75rem;
border-radius: var(--border-radius-full);
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.role-badge.internal {
background: var(--role-internal-bg);
color: var(--role-internal);
border: 1px solid var(--role-internal);
}
.role-badge.developer {
background: var(--role-developer-bg);
color: var(--role-developer);
border: 1px solid var(--role-developer);
}
.role-badge.public {
background: var(--role-public-bg);
color: var(--role-public);
border: 1px solid var(--role-public);
}
.theme-toggle {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: var(--border-radius-md);
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.theme-toggle:hover {
background: var(--bg-hover);
color: var(--accent-primary);
}
.theme-toggle svg {
width: 18px;
height: 18px;
}
.stats-counter {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.75rem;
background: var(--bg-tertiary);
border-radius: var(--border-radius-md);
font-size: 0.875rem;
color: var(--text-secondary);
}
.stats-counter strong {
color: var(--text-primary);
font-weight: 600;
}
.search-section {
padding: 1rem;
background: var(--bg-secondary);
border-bottom: 1px solid var(--border-color);
}
.search-input-row {
display: flex;
gap: 0.5rem;
align-items: center;
margin-bottom: 0.75rem;
}
.search-box {
flex: 1;
position: relative;
}
.search-icon {
position: absolute;
left: 0.75rem;
top: 50%;
transform: translateY(-50%);
font-size: 1rem;
pointer-events: none;
}
.search-input {
width: 100%;
padding: 0.75rem 1rem 0.75rem 2.5rem;
background: var(--bg-input);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
color: var(--text-primary);
font-size: 0.9375rem;
}
.search-input:focus {
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
outline: none;
}
.search-input::placeholder {
color: var(--text-muted);
}
.query-builder-toggle {
padding: 0.625rem 1rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
color: var(--text-secondary);
display: flex;
align-items: center;
gap: 0.5rem;
white-space: nowrap;
cursor: pointer;
}
.query-builder-toggle:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.query-builder-toggle.active {
background: var(--accent-primary);
color: var(--bg-primary);
border-color: var(--accent-primary);
}
.autocomplete-dropdown {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
box-shadow: var(--shadow-lg);
z-index: var(--z-dropdown);
max-height: 300px;
overflow-y: auto;
}
.autocomplete-dropdown.open {
display: block;
}
.autocomplete-item {
padding: 0.5rem 0.75rem;
cursor: pointer;
transition: background var(--transition-fast);
}
.autocomplete-item:hover,
.autocomplete-item.selected {
background: var(--bg-hover);
}
.severity-filter-bar {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0;
flex-wrap: wrap;
}
.severity-filter-item {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.375rem 0.5rem;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-fast);
border: none;
background: var(--bg-secondary);
color: var(--text-secondary);
opacity: 0.5;
}
.severity-filter-item:hover {
opacity: 0.8;
background: var(--bg-hover);
}
.severity-filter-item.active {
opacity: 1;
}
.severity-filter-item .sev-emoji {
font-size: 0.875rem;
line-height: 1;
}
.severity-filter-item .sev-char {
font-weight: 700;
font-size: 0.75rem;
text-transform: uppercase;
}
.severity-filter-item .sev-name {
font-weight: 500;
font-size: 0.75rem;
}
.severity-filter-item .sev-count {
font-size: 0.625rem;
font-weight: 600;
padding: 0.125rem 0.3rem;
border-radius: var(--border-radius-full);
background: rgba(0, 0, 0, 0.15);
min-width: 1.25rem;
text-align: center;
line-height: 1;
}
.severity-filter-item.critical.active,
.severity-filter-item.severity-critical.active {
background: var(--severity-critical);
color: #fff;
}
.severity-filter-item.error.active,
.severity-filter-item.severity-error.active {
background: var(--severity-error);
color: #fff;
}
.severity-filter-item.warning.active,
.severity-filter-item.severity-warning.active {
background: var(--severity-warning);
color: #000;
}
.severity-filter-item.info.active,
.severity-filter-item.severity-info.active {
background: var(--severity-info);
color: #fff;
}
.severity-filter-item.debug.active,
.severity-filter-item.severity-debug.active {
background: var(--severity-debug);
color: #fff;
}
.severity-filter-item.trace.active,
.severity-filter-item.severity-trace.active {
background: var(--severity-trace);
color: #fff;
}
.severity-filter-item.blocked.active,
.severity-filter-item.severity-blocked.active {
background: var(--severity-blocked);
color: #fff;
}
.severity-filter-item.success.active,
.severity-filter-item.severity-success.active {
background: var(--severity-success);
color: #fff;
}
.severity-filter-item.completed.active,
.severity-filter-item.severity-completed.active {
background: var(--severity-completed);
color: #fff;
}
.severity-filter-item.help.active,
.severity-filter-item.severity-help.active {
background: var(--severity-help);
color: #fff;
}
.severity-pill {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.375rem 0.75rem;
border-radius: var(--border-radius-full);
font-size: 0.8125rem;
font-weight: 500;
cursor: pointer;
transition: all var(--transition-fast);
border: 1px solid transparent;
opacity: 0.5;
}
.severity-pill:hover {
opacity: 0.8;
}
.severity-pill.active {
opacity: 1;
border-color: currentColor;
}
.severity-pill .count {
font-size: 0.75rem;
padding: 0.125rem 0.375rem;
border-radius: var(--border-radius-full);
background: rgba(255, 255, 255, 0.2);
min-width: 1.5rem;
text-align: center;
}
.severity-pill.critical {
background: var(--severity-critical-bg);
color: var(--severity-critical);
}
.severity-pill.error {
background: var(--severity-error-bg);
color: var(--severity-error);
}
.severity-pill.warning {
background: var(--severity-warning-bg);
color: var(--severity-warning);
}
.severity-pill.info {
background: var(--severity-info-bg);
color: var(--severity-info);
}
.severity-pill.debug {
background: var(--severity-debug-bg);
color: var(--severity-debug);
}
.severity-pill.trace {
background: var(--severity-trace-bg);
color: var(--severity-trace);
}
.visibility-row {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem 0;
border-top: 1px solid var(--border-color);
}
.visibility-switcher {
position: relative;
display: inline-flex;
}
.visibility-current {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.375rem 0.75rem;
border-radius: var(--border-radius-full);
font-size: 0.8125rem;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-fast);
}
.visibility-current.internal {
background: var(--role-internal-bg);
color: var(--role-internal);
border: 1px solid var(--role-internal);
}
.visibility-current.developer {
background: var(--role-developer-bg);
color: var(--role-developer);
border: 1px solid var(--role-developer);
}
.visibility-current.public {
background: var(--role-public-bg);
color: var(--role-public);
border: 1px solid var(--role-public);
}
.visibility-current::after {
content: '';
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid currentColor;
margin-left: 0.25rem;
}
.visibility-dropdown {
position: absolute;
top: calc(100% + 4px);
left: 0;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
box-shadow: var(--shadow-lg);
overflow: hidden;
z-index: var(--z-dropdown);
min-width: 160px;
display: none;
}
.visibility-switcher.open .visibility-dropdown {
display: block;
}
.visibility-option {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.625rem 0.875rem;
width: 100%;
text-align: left;
font-size: 0.8125rem;
font-weight: 500;
transition: background var(--transition-fast);
}
.visibility-option:hover {
background: var(--bg-hover);
}
.visibility-option.internal { color: var(--role-internal); }
.visibility-option.developer { color: var(--role-developer); }
.visibility-option.public { color: var(--role-public); }
.visibility-option .dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: currentColor;
}
.visibility-option.selected::after {
content: '✓';
margin-left: auto;
font-size: 0.75rem;
}
.viewing-counter {
font-size: 0.8125rem;
color: var(--text-secondary);
}
.viewing-counter strong {
color: var(--text-primary);
}
.visibility-reset {
padding: 0.25rem 0.625rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm);
font-size: 0.75rem;
color: var(--text-secondary);
}
.visibility-reset:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.error-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-lg);
margin-bottom: 1rem;
overflow: hidden;
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.error-card:hover {
border-color: var(--border-light);
box-shadow: var(--shadow-md);
}
.error-card[data-severity="critical"] { border-left: 3px solid var(--severity-critical); }
.error-card[data-severity="error"] { border-left: 3px solid var(--severity-error); }
.error-card[data-severity="warning"] { border-left: 3px solid var(--severity-warning); }
.error-card[data-severity="info"] { border-left: 3px solid var(--severity-info); }
.error-card[data-severity="debug"] { border-left: 3px solid var(--severity-debug); }
.error-card[data-severity="trace"] { border-left: 3px solid var(--severity-trace); }
.error-header {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1rem 1.25rem;
cursor: pointer;
}
.error-header:hover {
background: var(--bg-hover);
}
.severity-indicator {
display: flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: var(--border-radius-md);
font-size: 1.25rem;
flex-shrink: 0;
}
.severity-indicator.critical { background: var(--severity-critical-bg); color: var(--severity-critical); }
.severity-indicator.error { background: var(--severity-error-bg); color: var(--severity-error); }
.severity-indicator.warning { background: var(--severity-warning-bg); color: var(--severity-warning); }
.severity-indicator.info { background: var(--severity-info-bg); color: var(--severity-info); }
.severity-indicator.debug { background: var(--severity-debug-bg); color: var(--severity-debug); }
.severity-indicator.trace { background: var(--severity-trace-bg); color: var(--severity-trace); }
.error-info {
flex: 1;
min-width: 0;
}
.error-title-row {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.375rem;
}
.error-code {
font-family: 'Fira Code', 'JetBrains Mono', monospace;
font-size: 1rem;
font-weight: 600;
color: var(--text-primary);
}
.error-hash {
font-family: 'Fira Code', monospace;
font-size: 0.6875rem;
padding: 0.125rem 0.5rem;
background: var(--bg-tertiary);
color: var(--text-muted);
border-radius: var(--border-radius-sm);
letter-spacing: 0.05em;
}
.copy-btn {
position: relative;
padding: 0.125rem 0.25rem;
font-size: 0.625rem;
color: var(--text-muted);
opacity: 0;
transition: opacity var(--transition-fast);
vertical-align: super;
}
.error-title-row:hover .copy-btn {
opacity: 1;
}
.copy-btn:hover {
color: var(--accent-primary);
}
.copy-btn.copied {
color: var(--accent-success);
}
.copy-btn.copied::after {
content: 'Copied!';
position: absolute;
top: -1.5rem;
left: 50%;
transform: translateX(-50%);
padding: 0.25rem 0.5rem;
background: var(--accent-success);
color: white;
font-size: 0.625rem;
border-radius: var(--border-radius-sm);
white-space: nowrap;
}
.error-message {
font-size: 0.9375rem;
color: var(--text-secondary);
line-height: 1.5;
}
.error-meta {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.5rem;
flex-wrap: wrap;
}
.meta-item {
display: inline-flex;
align-items: center;
gap: 0.25rem;
font-size: 0.75rem;
color: var(--text-muted);
padding: 0.125rem 0.5rem;
background: var(--bg-tertiary);
border-radius: var(--border-radius-sm);
}
.expand-icon {
width: 1.5rem;
height: 1.5rem;
color: var(--text-muted);
transition: transform var(--transition-fast);
flex-shrink: 0;
}
.error-card.expanded .expand-icon {
transform: rotate(180deg);
}
.error-body {
display: none;
border-top: 1px solid var(--border-color);
}
.error-card.expanded .error-body {
display: block;
}
.section {
border-bottom: 1px solid var(--border-color);
}
.section:last-child {
border-bottom: none;
}
.section-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.25rem;
background: var(--bg-secondary);
cursor: pointer;
user-select: none;
}
.section-header:hover {
background: var(--bg-hover);
}
.section-toggle {
width: 16px;
height: 16px;
color: var(--text-muted);
transition: transform var(--transition-fast);
}
.section.open .section-toggle {
transform: rotate(90deg);
}
.section-title {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-secondary);
}
.section-count {
font-size: 0.6875rem;
padding: 0.125rem 0.375rem;
background: var(--bg-tertiary);
color: var(--text-muted);
border-radius: var(--border-radius-sm);
margin-left: auto;
}
.section-content {
display: none;
padding: 1rem 1.25rem;
}
.section.open .section-content {
display: block;
}
.code-section .section-content {
padding: 0;
}
.code-block {
position: relative;
margin: 0;
border-radius: 0;
}
.code-block pre {
margin: 0;
border-radius: 0;
max-height: 400px;
overflow: auto;
}
.code-copy-btn {
position: absolute;
top: 0.5rem;
right: 0.5rem;
padding: 0.375rem 0.625rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm);
font-size: 0.75rem;
color: var(--text-muted);
opacity: 0;
transition: opacity var(--transition-fast);
}
.code-block:hover .code-copy-btn {
opacity: 1;
}
.code-copy-btn:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.hints-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.hint-item {
display: flex;
gap: 0.75rem;
padding: 0.75rem;
background: var(--bg-tertiary);
border-radius: var(--border-radius-md);
border-left: 3px solid var(--accent-primary);
}
.hint-icon {
font-size: 1.25rem;
flex-shrink: 0;
}
.hint-content {
flex: 1;
}
.hint-title {
font-weight: 600;
font-size: 0.9375rem;
color: var(--text-primary);
margin-bottom: 0.25rem;
}
.hint-text {
font-size: 0.875rem;
color: var(--text-secondary);
line-height: 1.5;
}
.hint-code {
margin-top: 0.5rem;
padding: 0.5rem;
background: var(--code-bg);
border-radius: var(--border-radius-sm);
font-family: monospace;
font-size: 0.8125rem;
color: var(--code-text);
overflow-x: auto;
}
.related-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.related-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.625rem 0.75rem;
background: var(--bg-tertiary);
border-radius: var(--border-radius-md);
cursor: pointer;
transition: background var(--transition-fast);
}
.related-item:hover {
background: var(--bg-hover);
}
.related-code {
font-family: monospace;
font-weight: 600;
font-size: 0.875rem;
color: var(--text-primary);
}
.related-message {
flex: 1;
font-size: 0.8125rem;
color: var(--text-secondary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.related-arrow {
color: var(--text-muted);
}
.tags-list {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.tag-item {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.375rem 0.75rem;
background: var(--bg-tertiary);
border-radius: var(--border-radius-full);
font-size: 0.8125rem;
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.tag-item:hover {
background: var(--accent-primary);
color: var(--bg-primary);
}
.tag-item .tag-icon {
font-size: 0.875rem;
}
.no-content {
padding: 1rem;
text-align: center;
color: var(--text-muted);
font-size: 0.875rem;
font-style: italic;
}
.sidebar {
width: var(--sidebar-width);
flex-shrink: 0;
position: fixed;
top: var(--header-height);
right: 0;
height: calc(100vh - var(--header-height));
background: var(--bg-secondary);
border-left: 1px solid var(--border-color);
display: flex;
flex-direction: column;
z-index: 50;
}
.sidebar-header {
padding: 1rem;
font-weight: 600;
font-size: 0.875rem;
border-bottom: 1px solid var(--border-color);
background: var(--bg-tertiary);
}
.browse-tabs {
display: flex;
border-bottom: 1px solid var(--border-color);
}
.browse-tab {
flex: 1;
padding: 0.625rem 0.5rem;
text-align: center;
font-size: 0.75rem;
font-weight: 500;
color: var(--text-muted);
background: transparent;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
transition: all var(--transition-fast);
}
.browse-tab:hover {
color: var(--text-secondary);
background: var(--bg-hover);
}
.browse-tab.active {
color: var(--accent-primary);
border-bottom-color: var(--accent-primary);
}
.browse-list {
flex: 1;
overflow-y: auto;
padding: 0.5rem;
}
.browse-empty {
padding: 2rem 1rem;
text-align: center;
color: var(--text-muted);
font-size: 0.875rem;
}
.browse-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
border-radius: var(--border-radius-md);
cursor: pointer;
transition: background var(--transition-fast);
margin-bottom: 0.25rem;
}
.browse-item:hover {
background: var(--bg-hover);
}
.browse-item.active {
background: var(--accent-primary);
color: var(--bg-primary);
}
.browse-icon {
font-size: 1rem;
flex-shrink: 0;
}
.browse-name {
flex: 1;
font-size: 0.8125rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.browse-count {
font-size: 0.75rem;
padding: 0.125rem 0.375rem;
background: var(--bg-tertiary);
color: var(--text-muted);
border-radius: var(--border-radius-sm);
}
flex-shrink: 0;
}
.tree-label {
flex: 1;
font-size: 0.875rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tree-count {
font-size: 0.75rem;
padding: 0.125rem 0.375rem;
background: var(--bg-tertiary);
color: var(--text-muted);
border-radius: var(--border-radius-sm);
}
.tree-children {
display: none;
padding-left: 1.5rem;
}
.tree-node.expanded > .tree-children {
display: flex;
flex-direction: column;
gap: 0.125rem;
}
.tree-item[data-type="category"] .tree-icon {
color: var(--accent-secondary);
}
.tree-item[data-type="severity"] .tree-icon {
color: var(--accent-warning);
}
.tree-item[data-type="tag"] .tree-icon {
color: var(--accent-primary);
}
.detail-panel {
display: flex;
flex-direction: column;
height: 100%;
}
.detail-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex: 1;
text-align: center;
color: var(--text-muted);
padding: 2rem;
}
.detail-empty svg {
width: 48px;
height: 48px;
margin-bottom: 1rem;
opacity: 0.5;
}
.detail-empty p {
font-size: 0.875rem;
}
.detail-header {
padding: 1rem;
border-bottom: 1px solid var(--border-color);
}
.detail-code {
font-family: monospace;
font-size: 1.125rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 0.25rem;
}
.detail-severity {
display: inline-flex;
align-items: center;
gap: 0.25rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
padding: 0.25rem 0.5rem;
border-radius: var(--border-radius-sm);
}
.detail-severity.critical { background: var(--severity-critical-bg); color: var(--severity-critical); }
.detail-severity.error { background: var(--severity-error-bg); color: var(--severity-error); }
.detail-severity.warning { background: var(--severity-warning-bg); color: var(--severity-warning); }
.detail-severity.info { background: var(--severity-info-bg); color: var(--severity-info); }
.detail-severity.debug { background: var(--severity-debug-bg); color: var(--severity-debug); }
.detail-severity.trace { background: var(--severity-trace-bg); color: var(--severity-trace); }
.detail-body {
flex: 1;
overflow: auto;
padding: 1rem;
}
.detail-section {
margin-bottom: 1.5rem;
}
.detail-section:last-child {
margin-bottom: 0;
}
.detail-section-title {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
.detail-message {
font-size: 0.9375rem;
color: var(--text-secondary);
line-height: 1.6;
}
.detail-actions {
display: flex;
gap: 0.5rem;
padding: 1rem;
border-top: 1px solid var(--border-color);
}
.detail-action {
flex: 1;
padding: 0.5rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
font-size: 0.8125rem;
color: var(--text-secondary);
display: flex;
align-items: center;
justify-content: center;
gap: 0.375rem;
}
.detail-action:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.detail-action svg {
width: 14px;
height: 14px;
}
.query-builder-dropdown {
display: none;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
margin-top: 0.75rem;
overflow: hidden;
}
.query-builder-dropdown.open {
display: block;
}
.builder-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 1rem;
background: var(--bg-tertiary);
border-bottom: 1px solid var(--border-color);
}
.builder-preview {
display: flex;
align-items: center;
gap: 0.5rem;
}
.builder-preview-label {
font-size: 0.75rem;
color: var(--text-muted);
}
.builder-preview-value {
font-family: 'Fira Code', monospace;
font-size: 0.875rem;
font-weight: 600;
color: var(--accent-primary);
}
.builder-close-btn {
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
color: var(--text-muted);
cursor: pointer;
border-radius: var(--border-radius-sm);
}
.builder-close-btn:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.builder-tabs {
display: none;
border-bottom: 1px solid var(--border-color);
}
.builder-tab {
flex: 1;
padding: 0.5rem;
font-size: 0.75rem;
color: var(--text-muted);
background: transparent;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
}
.builder-tab.active {
color: var(--accent-primary);
border-bottom-color: var(--accent-primary);
}
.builder-columns {
display: grid;
grid-template-columns: repeat(4, 1fr);
border-bottom: 1px solid var(--border-color);
}
.builder-column {
border-right: 1px solid var(--border-color);
max-height: 300px;
overflow-y: auto;
}
.builder-column:last-child {
border-right: none;
}
.column-title {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem 0.75rem;
font-size: 0.6875rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
background: var(--bg-tertiary);
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
}
.title-severity { color: var(--severity-error); }
.title-component { color: var(--accent-secondary); }
.title-primary { color: var(--accent-primary); }
.title-sequence { color: var(--accent-success); }
.column-current {
font-family: monospace;
font-size: 0.625rem;
color: var(--text-muted);
}
.column-options {
padding: 0.25rem;
}
.column-option {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.625rem;
border-radius: var(--border-radius-sm);
cursor: pointer;
transition: background var(--transition-fast);
}
.column-option:hover {
background: var(--bg-hover);
}
.column-option.selected {
background: var(--accent-primary);
color: var(--bg-primary);
}
.option-indicator {
width: 6px;
height: 6px;
border-radius: 50%;
background: currentColor;
opacity: 0.3;
flex-shrink: 0;
}
.column-option.selected .option-indicator {
opacity: 1;
}
.option-emoji {
font-size: 0.875rem;
}
.option-label {
font-size: 0.8125rem;
}
.builder-actions {
display: flex;
gap: 0.5rem;
padding: 0.75rem 1rem;
justify-content: flex-end;
}
.btn-clear {
padding: 0.5rem 1rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
font-size: 0.8125rem;
color: var(--text-secondary);
cursor: pointer;
}
.btn-clear:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.btn-search {
padding: 0.5rem 1rem;
background: var(--accent-primary);
border: none;
border-radius: var(--border-radius-md);
font-size: 0.8125rem;
font-weight: 500;
color: var(--bg-primary);
cursor: pointer;
}
.btn-search:hover {
opacity: 0.9;
}
@media (max-width: 768px) {
.builder-tabs {
display: flex;
}
.builder-columns {
display: block;
}
.builder-column {
display: none;
border-right: none;
max-height: 250px;
}
.builder-column.active {
display: block;
}
}
.toast-container {
position: fixed;
bottom: 1.5rem;
right: 1.5rem;
z-index: var(--z-toast);
display: flex;
flex-direction: column;
gap: 0.5rem;
pointer-events: none;
}
.toast {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--border-radius-md);
box-shadow: var(--shadow-lg);
pointer-events: auto;
animation: slideIn 0.25s ease;
max-width: 360px;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(100%);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.toast.hiding {
animation: slideOut 0.25s ease forwards;
}
@keyframes slideOut {
to {
opacity: 0;
transform: translateX(100%);
}
}
.toast-icon {
width: 20px;
height: 20px;
flex-shrink: 0;
}
.toast-content {
flex: 1;
min-width: 0;
}
.toast-title {
font-size: 0.875rem;
font-weight: 600;
color: var(--text-primary);
}
.toast-message {
font-size: 0.8125rem;
color: var(--text-secondary);
margin-top: 0.125rem;
}
.toast-close {
width: 20px;
height: 20px;
color: var(--text-muted);
flex-shrink: 0;
}
.toast-close:hover {
color: var(--text-primary);
}
.toast.success {
border-left: 3px solid var(--accent-success);
}
.toast.success .toast-icon {
color: var(--accent-success);
}
.toast.error {
border-left: 3px solid var(--accent-danger);
}
.toast.error .toast-icon {
color: var(--accent-danger);
}
.toast.warning {
border-left: 3px solid var(--accent-warning);
}
.toast.warning .toast-icon {
color: var(--accent-warning);
}
.toast.info {
border-left: 3px solid var(--accent-primary);
}
.toast.info .toast-icon {
color: var(--accent-primary);
}
@media (max-width: 1023px) {
:root {
--sidebar-width: 260px;
}
.main {
margin-right: var(--sidebar-width);
}
}
@media (max-width: 767px) {
:root {
--header-height: 56px;
--sidebar-width: 0;
}
.header {
padding: 0 1rem;
}
.brand-name {
display: none;
}
.brand-divider {
display: none;
}
.version {
display: none;
}
.main {
margin-right: 0;
}
.sidebar {
display: none;
}
.sidebar.mobile-open {
display: flex;
position: fixed;
top: var(--header-height);
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: auto;
z-index: var(--z-sidebar);
}
.search-section {
padding: 0.75rem 1rem;
}
.search-input-row {
flex-direction: column;
}
.query-builder-toggle {
width: 100%;
justify-content: center;
}
.severity-filter-bar {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
padding-bottom: 0.25rem;
}
.severity-filter-bar::-webkit-scrollbar {
display: none;
}
.severity-pill {
flex-shrink: 0;
}
.visibility-row {
flex-wrap: wrap;
}
.error-header {
padding: 0.875rem 1rem;
}
.severity-indicator {
width: 2rem;
height: 2rem;
font-size: 1rem;
}
.error-code {
font-size: 0.9375rem;
}
.error-message {
font-size: 0.875rem;
}
.section-content {
padding: 0.875rem 1rem;
}
}
@media (max-width: 479px) {
.filter-label {
display: none;
}
.format-toggle {
display: none;
}
.error-meta {
display: none;
}
.error-hash {
display: none;
}
.copy-btn {
display: none;
}
}
@media print {
.header,
.search-section,
.sidebar,
.toast-container,
.copy-btn,
.theme-toggle {
display: none !important;
}
body {
background: white;
color: black;
}
.main {
margin-right: 0;
}
.error-card {
break-inside: avoid;
page-break-inside: avoid;
border: 1px solid #ddd;
margin-bottom: 1rem;
}
.error-body {
display: block !important;
}
.section.open .section-content,
.section-content {
display: block !important;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media (prefers-contrast: high) {
:root {
--border-color: currentColor;
}
.error-card,
.sidebar,
.toast {
border-width: 2px;
}
}