/* ========================================================================== DESKTOP INSPECTOR PANEL ========================================================================== */ .inspector-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; position: sticky; top: 150px; } .inspector-badge-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .sector-tag { font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; } .tier-tag { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); } .inspector-title { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); } .inspector-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; margin-top: 4px; } .inspector-metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--bg-surface-sub); padding: 10px; border-radius: var(--radius-md); } .metric-box { display: flex; flex-direction: column; } .metric-label { font-size: 0.68rem; color: var(--text-muted); } .metric-val { font-size: 0.88rem; color: var(--text-primary); } .inspector-section { display: flex; flex-direction: column; gap: 8px; } .section-heading { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 6px; } .section-subtext { font-size: 0.72rem; color: var(--text-muted); } .liquidation-buttons { display: flex; flex-direction: column; gap: 8px; } .liquidation-buttons button { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; padding: 8px 12px; white-space: nowrap; } .liquidation-btn-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; } .liquidation-btn-val { font-family: var(--font-mono); font-weight: 700; } .chain-box { display: flex; flex-direction: column; gap: 6px; background: #f8fafc; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 10px; } .chain-title { font-size: 0.7rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; } .chain-empty { font-size: 0.75rem; color: var(--text-muted); font-style: italic; } .chain-items { display: flex; flex-direction: column; gap: 6px; } .chain-item-row { display: flex; justify-content: space-between; align-items: center; background: var(--bg-surface); border: 1px solid var(--border-color); padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.15s; gap: 10px; } .chain-item-row:hover { background: var(--primary-blue-light); } .chain-item-row.chain-item-two-lines { flex-direction: column; align-items: stretch; gap: 4px; } .chain-item-header-line { display: flex; justify-content: space-between; align-items: center; width: 100%; } .chain-item-sub-line { display: flex; align-items: center; padding-left: 20px; } .chain-item-left { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .chain-item-ratio { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; } .chain-badge { font-size: 0.68rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; } .badge-open { background: var(--emerald-light); color: var(--emerald-dark); } .badge-locked { background: var(--bg-surface-sub); color: var(--text-muted); }