.explorer-layout {
display: grid;
grid-template-columns: 460px 1fr;
gap: 20px;
height: calc(100vh - 170px);
min-height: 600px;
}
@media (max-width: 1024px) {
.explorer-layout { grid-template-columns: 1fr; height: auto; }
}
.explorer-pane {
background: var(--card);
border: 1px solid var(--border);
border-radius: 8px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.pane-header {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
background: var(--card-subtle);
display: flex;
flex-direction: column;
gap: 10px;
}
.filter-chips {
display: flex;
align-items: center;
gap: 6px;
overflow-x: auto;
padding-bottom: 2px;
}
.chip {
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border);
color: var(--text-dim);
font-size: 12.5px;
padding: 3px 8px;
border-radius: 4px;
cursor: pointer;
white-space: nowrap;
transition: all 0.15s ease;
}
.chip:hover, .chip.active {
color: var(--text);
background: var(--border);
border-color: var(--text-dim);
}
.chip.active { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); font-weight: 700; }
.pane-sort-bar {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12.5px;
color: var(--text-muted);
}
.select-sm {
background: var(--card);
border: 1px solid var(--border);
color: var(--text);
padding: 3px 6px;
border-radius: 4px;
font-size: 12.5px;
outline: none;
}
.pane-list {
flex: 1;
overflow-y: auto;
}
.item-card {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
cursor: pointer;
transition: all 0.12s ease;
display: flex;
flex-direction: column;
gap: 5px;
text-decoration: none;
color: inherit;
}
a.item-card, a.task-card, a.activity-card {
text-decoration: none;
color: inherit;
display: flex;
}
a.item-card:hover, a.activity-card:hover {
text-decoration: none;
color: inherit;
}
@keyframes targetGlow {
0% { box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3); }
50% { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4); }
100% { box-shadow: 0 0 0 1px var(--border); }
}
.target-highlight {
animation: targetGlow 2.5s ease-out !important;
border-color: var(--accent) !important;
}
.item-card:hover { background: var(--card-hover); }
.item-card.selected {
background: var(--card-hover);
border-left: 3px solid var(--accent);
}
.card-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.item-title {
font-weight: 600;
font-size: 14px;
color: var(--text);
line-height: 1.3;
}
.item-key {
font-family: var(--font-mono);
font-size: 13px;
color: var(--accent);
}
.item-meta {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
font-size: 12.5px;
color: var(--text-muted);
}
.detail-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
color: var(--text-muted);
gap: 12px;
text-align: center;
padding: 40px;
}
.detail-header { padding: 18px 24px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.dh-kind { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.dh-key { color: var(--text-dim); }
.detail-header h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--text); margin: 2px 0 4px; text-wrap: pretty; }
.dh-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.detail-tabs { display: flex; gap: 2px; }
.detail-tab { background: transparent; border: none; border-bottom: 2px solid transparent; color: var(--text-dim); font-size: 14px; padding: 8px 12px 10px; cursor: pointer; margin-bottom: -1px; }
.detail-tab:hover { color: var(--text); }
.detail-tab.active { color: var(--text); border-bottom-color: var(--accent); }
.dh-acts { display: flex; align-items: center; gap: 6px; padding-bottom: 6px; }
.dh-acts .btn kbd { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px; margin-left: 4px; }
.btn.ghost { border-color: transparent; color: var(--text-dim); }
.more { position: relative; }
.more .menu { display: none; position: absolute; right: 0; top: calc(100% + 4px); min-width: 200px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 6px; box-shadow: 0 12px 32px rgba(0,0,0,.5); z-index: 30; flex-direction: column; }
.more.open .menu { display: flex; }
.more .menu button, .more .menu a { background: none; border: none; text-align: left; color: var(--text); font-size: 14px; padding: 8px 10px; border-radius: 6px; cursor: pointer; text-decoration: none; }
.more .menu button:hover, .more .menu a:hover { background: var(--card-hover); }
.pill { display: inline-flex; align-items: center; font-size: 13px; line-height: 1.4; padding: 2px 9px; border-radius: 6px; border: 1px solid var(--border); color: var(--text-dim); white-space: nowrap; }
.pill.amber { color: var(--amber); border-color: rgba(217,164,65,.4); }
.pill.crit { color: var(--red); border-color: rgba(224,108,111,.4); background: var(--red-dim); }
.pill.ok { color: var(--green); border-color: rgba(95,184,143,.4); }
.pill.acc { color: var(--accent); border-color: rgba(133,144,217,.4); }
.dh-state { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; padding: 12px 0 14px; margin-bottom: 8px; border-bottom: 1px solid var(--card-subtle); font-size: 14px; }
.dh-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.dh-words { color: var(--text-dim); } .dh-words a { color: var(--accent); text-decoration: none; } .dh-words .mono { color: var(--text); }
.dh-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; font-size: 13.5px; color: var(--text-muted); }
.callout { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(217,164,65,.35); background: rgba(217,164,65,.07); font-size: 14px; line-height: 1.5; }
.callout b { color: var(--amber); font-weight: 600; white-space: nowrap; } .callout span { flex: 1; } .callout .btn { align-self: center; }
.callout.good { border-color: rgba(95,184,143,.35); background: rgba(95,184,143,.07); } .callout.good b { color: var(--green); }
.detect { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 12px 14px; border-radius: 8px; background: var(--card-subtle); border: 1px solid var(--border); font-size: 14px; }
.detect .l { color: var(--text-muted); } .detect code { font-family: var(--font-mono); font-size: 13.5px; color: var(--text); word-break: break-all; }
.detail-body {
flex: 1;
overflow-y: auto;
padding: 24px;
}
.prose {
font-size: 15px;
line-height: 1.65;
color: var(--text);
max-width: 900px;
}
.prose h1, .prose h2, .prose h3 {
color: #fff;
font-weight: 700;
margin: 24px 0 12px 0;
letter-spacing: -0.3px;
}
.prose h1:first-child { margin-top: 0; }
.prose h1 { font-size: 20px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.prose h2 { font-size: 17px; }
.prose h3 { font-size: 15px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 24px; }
.prose li { margin-bottom: 4px; }
.prose pre {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 6px;
padding: 14px;
overflow-x: auto;
font-family: var(--font-mono);
font-size: 13.5px;
line-height: 1.5;
margin-bottom: 16px;
}
.prose code {
background: rgba(255, 255, 255, 0.06);
padding: 2px 5px;
border-radius: 4px;
font-family: var(--font-mono);
font-size: 13.5px;
color: var(--accent);
}
.prose pre code { background: transparent; padding: 0; color: #fff; }
.prose blockquote {
border-left: 3px solid var(--accent);
padding-left: 14px;
color: var(--text-dim);
margin-bottom: 14px;
}
.prose table {
width: 100%;
border-collapse: collapse;
margin-bottom: 16px;
font-size: 14px;
}
.prose th, .prose td {
border: 1px solid var(--border);
padding: 8px 12px;
text-align: left;
}
.prose th { background: rgba(255, 255, 255, 0.03); color: var(--text); font-weight: 600; }