* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 32px 16px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
}

.card {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 28px 32px 36px;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 2px solid #4a90e2;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.count { color: #6e6e73; margin: 0 0 14px; }

table { width: 100%; border-collapse: collapse; }

thead th {
  background: #4a90e2;
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 12px 16px;
}
thead th:first-child { border-top-left-radius: 6px; }
thead th:last-child { border-top-right-radius: 6px; }

tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid #ededed;
  white-space: nowrap;
}
tbody tr:hover { background: #f7f7f9; }

.col-size { width: 140px; color: #1d1d1f; }
.col-mod { width: 220px; color: #1d1d1f; }

td.col-name a {
  color: #2e9b3f;
  text-decoration: none;
  word-break: break-all;
  white-space: normal;
}
td.col-name a:hover { text-decoration: underline; }

.empty { text-align: center; color: #8a8a8e; padding: 40px 0; }

.error {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c6c2;
  border-radius: 6px;
  padding: 14px 16px;
}
