:root {
  --bg: #f4f5f7;
  --panel: #fff;
  --line: #e5e7eb;
  --text: #0f172a;
  --muted: #64748b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Segoe UI, system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(#fafafa, #f0f0f0);
}
.app {
  display: flex;
  height: 100vh;
}
.sidebar {
  width: 240px;
  border-right: 1px solid var(--line);
  background: #f7f7f8;
  padding: 10px;
}
.side-head {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 8px 6px;
}
.side-item {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.side-item:hover {
  background: #eceff3;
}
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.btn {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.btn:hover {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
.path {
  flex: 1;
  display: flex;
  gap: 6px;
  align-items: center;
  overflow: auto;
}
.crumb {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
}
.search {
  display: flex;
  gap: 6px;
}
.input {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 220px;
}
.table-wrap {
  flex: 1;
  overflow: auto;
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
thead th {
  position: sticky;
  top: 0;
  background: #f3f4f6;
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px;
  font-weight: 600;
  color: #334155;
}
tbody td {
  border-bottom: 1px solid #f2f2f2;
  padding: 10px;
}
tr:hover {
  background: #fafafa;
}
.name {
  display: flex;
  gap: 10px;
  align-items: center;
}
.icon {
  width: 18px;
  text-align: center;
}
.muted {
  color: var(--muted);
}
.right {
  text-align: right;
}
.empty {
  padding: 30px;
  color: var(--muted);
}
.warning {
  padding: 10px 12px;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  margin: 10px;
}
