.staff-main {
  max-width:1300px;
  margin:auto;
  padding:24px;
}
.panel {
  padding:21px;
  background:white;
  border:1px solid var(--line);
  border-radius:14px;
  min-width:0;
}
.signin {
  max-width:460px;
  margin:25px auto;
}
.staff-heading,.category-form {
  display:flex;
  gap:10px;
  justify-content:space-between;
  align-items:center;
}
.staff-tabs {
  display:flex;
  gap:8px;
  overflow:auto;
  margin:12px 0;
}
.staff-tabs:empty {
  display:none;
}
.staff-tabs a {
  padding:12px 15px;
  white-space:nowrap;
  border-radius:8px;
  background:#fff;
  text-decoration:none;
  font-weight:700;
}
.staff-tabs a[aria-current] {
  color:white;
  background:var(--ink);
}
.staff-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(290px,35%);
  gap:16px;
  align-items:start;
}
.fields {
  display:grid;
  gap:11px;
  margin-top:15px;
}
.field-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
label {
  display:grid;
  gap:4px;
  font-weight:650;
  min-width:0;
}
label small,td small {
  display:block;
  font-weight:500;
  color:var(--muted);
}
input:not([type=checkbox]),select {
  width:100%;
  min-height:44px;
  border:1px solid #a5aab1;
  border-radius:7px;
  padding:7px 9px;
  background:white;
  color:var(--ink);
}
.check {
  display:flex;
  align-items:center;
  gap:7px;
  min-height:36px;
}
.check input {
  width:20px;
  height:20px;
}
.table-wrap {
  overflow:auto;
  margin-top:10px;
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
}
th,td {
  border-bottom:1px solid var(--line);
  padding:8px;
}
td a {
  display:inline-grid;
  place-items:center;
  min-height:44px;
  margin-right:7px;
}
td .warning {
  color:#9b261b;
  font-weight:700;
}
.category-form {
  justify-content:flex-start;
  align-items:end;
  margin:12px 0;
}
.category-form label {
  max-width:290px;
  flex:1;
}
.alert,.notice {
  padding:12px;
  border-radius:8px;
  background:#fff0e8;
}
.notice {
  background:#ebf6eb;
}
.thumb {
  width:100px;
  border-radius:8px;
}
@media(max-width:760px) {
  .staff-main {
    padding:12px;
  }
  .staff-grid {
    grid-template-columns:1fr;
  }
  .panel {
    padding:14px;
  }
}
