* { box-sizing: border-box; }
body {
  margin: 0; background: #0a0a0a; color: #eee;
  font-family: "Avenir Next", "Avenir", -apple-system, "Segoe UI", Roboto, sans-serif;
}
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.4rem; background: rgba(16,16,16,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo { height: 2.2rem; }
nav { display: flex; gap: 1.2rem; align-items: center; }
nav a { color: #eee; text-decoration: none; font-weight: 500; }
nav a:hover { color: #ff6b35; }
.user { color: #888; }
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }
h1, h2, h3 { font-family: "Futura", "Futura PT", "Avenir Next", sans-serif; font-weight: 500; }
h2 { margin-top: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 0.4rem; }
.muted { color: #888; font-size: 0.9em; }
.error { color: #ff5252; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.6rem; padding: 0.9rem 1.1rem;
}
.card h3 { margin: 0 0 0.5rem; }
.card.ok { border-color: rgba(70,200,120,0.5); }
.card.ko { border-color: rgba(255,80,80,0.7); background: rgba(255,80,80,0.08); }
.card.review { margin-bottom: 1rem; }

table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
th { text-align: left; color: #888; font-weight: 500; padding: 0.4rem 0.6rem; }
td { padding: 0.4rem 0.6rem; border-top: 1px solid rgba(255,255,255,0.06); }
.tname { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tr.st-error td:nth-child(4) { color: #ff5252; }
tr.st-review td:nth-child(4) { color: #ffb74d; }
tr.st-ok td:nth-child(4) { color: #69db7c; }

.row { display: flex; gap: 0.6rem; margin: 0.6rem 0; flex-wrap: wrap; }
input, select, button {
  background: rgba(255,255,255,0.06); color: #eee;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 0.6rem;
  padding: 0.55rem 0.9rem; font-family: inherit; font-size: 0.95rem;
}
input::placeholder { color: #777; }
input:focus { outline: none; border-color: rgba(255,255,255,0.35); }
input[name="magnet"] { flex: 1; min-width: 260px; }
button {
  background: linear-gradient(90deg, #e50914, #ff6b35); border: none;
  font-weight: 600; cursor: pointer; border-radius: 2rem; padding: 0.55rem 1.4rem;
}
button:hover { filter: brightness(1.15); }

.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { width: 320px; text-align: center; }
.login-logo { width: 220px; margin-bottom: 0.5rem; }
.login-box form { display: flex; flex-direction: column; gap: 0.7rem; }
