.running-item {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 10px;
}

.running-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.employee-running-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.employee-running-head > div {
  display: flex;
  flex-direction: column;
}

.employee-running-head small {
  color: #9298a9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.employee-running-head strong {
  font: 800 17px Manrope;
}

.employee-avatar,
.employee-color {
  background: #e9f2ff;
  color: var(--blue);
}

.employee-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 800 15px Manrope;
}

.new-timer-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed #d9dce5;
}

.new-timer-block > .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.no-running {
  padding: 18px;
  margin-bottom: 12px;
  border-radius: 10px;
  color: #858c9c;
  background: #f7f7fa;
  font-size: 12px;
  text-align: center;
}

.rfid-scanner {
  grid-template-columns: auto minmax(170px, .8fr) minmax(170px, .8fr) minmax(220px, 1fr) auto;
}

.rfid-scanner select {
  background: #fff;
  border: 0;
}

@media (max-width: 950px) {
  .rfid-scanner {
    grid-template-columns: auto 1fr 1fr;
  }

  .rfid-scanner input {
    grid-column: 1 / 3;
  }
}

@media (max-width: 780px) {
  .sidebar nav {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 600px) {
  .rfid-scanner {
    grid-template-columns: auto 1fr;
  }

  .rfid-scanner select,
  .rfid-scanner input,
  .rfid-scanner .btn {
    grid-column: 1 / -1;
  }
}

.topbar-actions { display: flex; align-items: center; gap: 9px; }
.topbar-actions form { margin: 0; }
.logout-btn { border: 0; background: #ece9fc; color: var(--purple); border-radius: 10px; padding: 12px 14px; font: 700 11px "DM Sans"; cursor: pointer; }
.rfid-employee { background: #ffffff18; border: 1px solid #ffffff20; border-radius: 9px; padding: 11px 13px; font-size: 12px; font-weight: 700; }
.other-workers { border-bottom: 1px solid var(--line); margin-bottom: 18px; padding-bottom: 14px; }
.other-workers > p { color: var(--muted); font-size: 11px; margin: 9px 0 0; }
.other-worker { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-top: 10px; }
.other-worker > div { display: flex; flex-direction: column; min-width: 0; }
.other-worker strong { font-size: 11px; }
.other-worker small { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-timer { font: 700 11px Manrope; color: var(--purple); }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at top, #eeeafd, #f7f7fb 55%); }
.login-card { width: min(430px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 25px 70px #29234f20; padding: 34px; }
.login-brand { color: var(--ink); margin: 0 0 28px; }
.login-card h1 { font: 800 27px Manrope; margin: 5px 0; }
.login-card > p { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.login-note { color: #9299a8; text-align: center; font-size: 10px; }
.first-setup { background: #f0eefc; color: #5f53b9; padding: 11px; border-radius: 9px; font-size: 12px; }
@media (max-width: 780px) { .topbar-actions .date-pill { display: none; } .logout-btn { padding: 9px; } }

.entry-filters {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(145px, .7fr) minmax(150px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  margin: 0 0 10px;
  background: #f7f7fa;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.entry-filters input,
.entry-filters select { background: #fff; padding: 10px 11px; }
.filter-reset { align-self: center; color: var(--purple); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }

@media (max-width: 900px) {
  .entry-filters { grid-template-columns: 1fr 1fr; }
  .entry-filters .btn { align-self: end; }
}

@media (max-width: 560px) {
  .entry-filters { grid-template-columns: 1fr; }
}
