:root {
  --staff-bg: #ebece7;
  --staff-surface: #f8f8f5;
  --staff-dark: #172019;
  --staff-text: #19201b;
  --staff-muted: #737b74;
  --staff-line: #d8dcd5;
  --staff-green: #227449;
  --staff-green-soft: #dff1e5;
  --staff-amber: #a85d22;
  --staff-amber-soft: #f8e9dc;
  --staff-blue: #315e8a;
  --staff-blue-soft: #e2ecf6;
}

* { box-sizing: border-box; }

html { background: var(--staff-bg); }

body.staff-page {
  min-height: 100svh;
  margin: 0;
  color: var(--staff-text);
  background: var(--staff-bg);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.login-locked .staff-sidebar,
body.login-locked .staff-workspace {
  display: none;
}

button,
input { font: inherit; }

a {
  color: inherit;
  text-decoration: none;
}

svg { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.staff-login {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  background: #f2f3ee;
  overflow-y: auto;
}

body.login-locked .staff-login {
  display: grid;
}

.staff-login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  padding: 40px 48px;
  color: #fff;
  background: #0d1613;
  isolation: isolate;
}

.staff-login-visual::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(117, 223, 174, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 223, 174, 0.075) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 20%, transparent 96%);
}

.staff-login-visual::after {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: -20%;
  width: 68%;
  height: 74%;
  border: 1px solid rgba(117, 223, 174, 0.16);
  background:
    linear-gradient(135deg, rgba(117, 223, 174, 0.12), transparent 48%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 44px);
  content: "";
  transform: rotate(-8deg);
}

.staff-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.staff-login-brand img {
  width: 138px;
  height: auto;
}

.staff-login-brand span {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.staff-login-copy {
  width: min(610px, 92%);
  margin: auto 0;
  padding: 80px 0;
}

.staff-login-copy > span,
.staff-login-heading > span {
  color: #83dcaa;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.staff-login-copy h1 {
  margin: 22px 0 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.staff-login-copy p {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.8;
}

.staff-login-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
}

.staff-login-status span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.staff-login-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79db9f;
  box-shadow: 0 0 0 4px rgba(121, 219, 159, 0.08);
}

.staff-login-status b {
  font-weight: 400;
  letter-spacing: 0.12em;
}

.staff-login-panel {
  display: grid;
  min-height: 100svh;
  padding: 54px;
  place-items: center;
}

.staff-login-card {
  width: min(390px, 100%);
}

.staff-login-heading h2 {
  margin: 13px 0 0;
  color: #172019;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

.staff-login-heading p {
  margin: 12px 0 0;
  color: #7a827b;
  font-size: 11px;
}

.staff-login-form {
  display: grid;
  gap: 19px;
  margin-top: 36px;
}

.staff-login-field {
  display: grid;
  gap: 8px;
}

.staff-login-field > span {
  color: #4d574f;
  font-size: 10px;
}

.staff-login-input {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d5dad3;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.staff-login-input:focus-within {
  border-color: #6eb58b;
  box-shadow: 0 0 0 3px rgba(88, 168, 124, 0.1);
}

.staff-login-input > svg,
.staff-password-toggle svg,
.staff-login-submit svg,
.staff-logout svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.staff-login-input > svg {
  color: #89918a;
}

.staff-login-input input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: #172019;
  background: transparent;
  font-size: 12px;
}

.staff-login-input input::placeholder {
  color: #a5aba6;
}

.staff-password-toggle {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  color: #89918a;
  background: transparent;
  place-items: center;
}

.staff-password-toggle .eye-closed {
  display: none;
}

.staff-password-toggle[aria-pressed="true"] .eye-open {
  display: none;
}

.staff-password-toggle[aria-pressed="true"] .eye-closed {
  display: block;
}

.staff-login-error {
  margin: -5px 0 0;
  color: #b84738;
  font-size: 10px;
}

.staff-login-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 17px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #172019;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.staff-login-submit:hover {
  background: #227449;
  transform: translateY(-1px);
}

.staff-login-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.staff-login-submit svg {
  width: 16px;
}

.staff-login-footer {
  margin: 28px 0 0;
  color: #a1a7a2;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.staff-login-card.login-shake {
  animation: login-shake 0.4s ease;
}

@keyframes login-shake {
  0%,
  100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.staff-sidebar {
  position: fixed;
  z-index: 40;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 244px;
  padding: 24px 18px 18px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--staff-dark);
}

.staff-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.staff-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.staff-brand img {
  width: 122px;
  height: auto;
}

.staff-brand span {
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.36);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.staff-sidebar-close {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.staff-sidebar-close svg,
.staff-menu-button svg,
.staff-notice svg,
.staff-search svg,
.staff-nav svg,
.staff-sidebar-bottom svg,
.quick-grid svg,
.staff-primary-action svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.staff-nav {
  position: relative;
  display: grid;
  gap: 5px;
  margin-top: 54px;
}

.staff-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}

.staff-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.staff-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.staff-nav a.is-active::before {
  position: absolute;
  left: -18px;
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: #8bd49f;
  content: "";
}

.staff-nav a > span {
  min-width: 22px;
  padding: 1px 5px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  font-size: 9px;
  text-align: center;
}

.staff-sidebar-bottom {
  display: grid;
  gap: 18px;
  margin-top: auto;
}

.staff-sidebar-bottom > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}

.staff-user {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: center;
  padding: 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.staff-user > span,
.staff-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--staff-dark);
  background: #8bd49f;
  font-size: 11px;
  font-weight: 700;
  place-items: center;
}

.staff-user strong,
.staff-user small { display: block; }

.staff-user strong {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.staff-user small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
}

.staff-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  color: rgba(255, 255, 255, 0.48);
  background: transparent;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.staff-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.staff-workspace {
  min-height: 100svh;
  margin-left: 244px;
}

.staff-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: minmax(260px, 520px) 1fr auto;
  gap: 26px;
  align-items: center;
  height: 72px;
  padding: 0 34px;
  border-bottom: 1px solid var(--staff-line);
  background: rgba(248, 248, 245, 0.92);
  backdrop-filter: blur(15px);
}

.staff-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--staff-line);
  border-radius: 6px;
  color: var(--staff-text);
  background: #fff;
}

.staff-search {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 11px;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--staff-line);
  border-radius: 6px;
  color: #8c938d;
  background: #fff;
}

.staff-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--staff-text);
  background: transparent;
  font-size: 11px;
}

.staff-search input::placeholder { color: #a1a7a2; }

.staff-search kbd {
  padding: 2px 6px;
  border: 1px solid #dde0dc;
  border-radius: 4px;
  color: #8c938d;
  background: #f5f6f3;
  font-family: inherit;
  font-size: 8px;
}

.staff-top-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  grid-column: 3;
}

.staff-env {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 12px;
  color: #7f5b28;
  background: #f6ebd8;
  font-size: 9px;
}

.staff-env i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d58a32;
}

.staff-notice {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--staff-line);
  border-radius: 6px;
  color: #6b736c;
  background: #fff;
  place-items: center;
}

.staff-notice i {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d35a42;
}

.staff-avatar {
  width: 38px;
  height: 38px;
}

.staff-main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 34px 34px 54px;
}

.staff-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.staff-welcome p {
  margin: 0 0 10px;
  color: var(--staff-muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.staff-welcome h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.staff-welcome h1 span { color: var(--staff-green); }

.staff-welcome small {
  display: block;
  margin-top: 12px;
  color: var(--staff-muted);
  font-size: 10px;
}

.staff-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  color: #fff;
  background: var(--staff-dark);
  font-size: 11px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.staff-primary-action:hover {
  background: var(--staff-green);
  transform: translateY(-2px);
}

.staff-primary-action svg {
  width: 15px;
  stroke-width: 1.6;
}

.staff-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.staff-kpis article,
.staff-panel {
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: var(--staff-surface);
}

.staff-kpis article { padding: 19px; }

.kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--staff-muted);
  font-size: 10px;
}

.kpi-head svg {
  width: 16px;
  fill: none;
  stroke: #8f968f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.staff-kpis strong {
  display: block;
  margin-top: 15px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.staff-kpis p {
  margin: 7px 0 0;
  color: #969d97;
  font-size: 9px;
}

.staff-kpis p b {
  color: var(--staff-green);
  font-weight: 500;
}

.staff-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 14px;
  margin-top: 14px;
}

.staff-content-grid > *,
.staff-lower-grid > * {
  min-width: 0;
}

.staff-panel { padding: 22px; }

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.panel-head span {
  color: var(--staff-muted);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.panel-head h2 {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.panel-head a {
  color: var(--staff-green);
  font-size: 10px;
}

.project-table {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.project-table-head,
.project-table-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) 90px minmax(130px, 1fr) 82px 64px;
  gap: 18px;
  align-items: center;
}

.project-table-head {
  min-height: 34px;
  color: #989e99;
  font-size: 9px;
}

.project-table-row {
  min-height: 66px;
  border-top: 1px solid #e3e5e1;
}

.project-table-row strong,
.project-table-row small { display: block; }

.project-table-row strong {
  font-size: 11px;
  font-weight: 500;
}

.project-table-row small,
.project-table-row > span {
  color: #8d948e;
  font-size: 9px;
}

.project-table-row > div:first-child small { margin-top: 4px; }

.record-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 52px;
  min-height: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  color: #657068;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.record-action:hover {
  color: var(--staff-green);
  background: var(--staff-green-soft);
}

.record-action svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.empty-record {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  border-top: 1px solid #e3e5e1;
  color: #929a93;
  font-size: 10px;
}
.project-progress {
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 9px;
  align-items: center;
}

.project-progress i {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: #e3e5e1;
}

.project-progress i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  border-radius: inherit;
  background: var(--staff-green);
  content: "";
}

.status {
  width: max-content;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 500;
}

.status.testing,
.status.review {
  color: var(--staff-blue);
  background: var(--staff-blue-soft);
}

.status.selecting {
  color: var(--staff-amber);
  background: var(--staff-amber-soft);
}

.status.planning {
  color: #69716a;
  background: #e9ebe7;
}

.task-count {
  padding: 4px 7px;
  border-radius: 10px;
  color: var(--staff-green) !important;
  background: var(--staff-green-soft);
}

.task-list { display: grid; }

.task-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #e3e5e1;
}

.task-item.is-compact {
  grid-template-columns: minmax(0, 1fr);
}

.task-item .task-main {
  border-top: 0;
}

.task-item.is-done .task-main span strong {
  color: #98a099;
  text-decoration: line-through;
}

.task-list label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 15px 0;
  cursor: pointer;
}

.task-list input {
  position: absolute;
  opacity: 0;
}

.task-check {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #c8cdc7;
  border-radius: 4px;
  background: #fff;
}

.task-list input:checked + .task-check {
  border-color: var(--staff-green);
  background: var(--staff-green);
}

.task-list input:checked + .task-check::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.task-list span strong,
.task-list span small { display: block; }

.task-list span strong {
  font-size: 10px;
  font-weight: 500;
}

.task-list span small {
  margin-top: 5px;
  color: #969c97;
  font-size: 8px;
}

.task-list label > b {
  color: var(--staff-amber);
  font-size: 8px;
  font-weight: 500;
}

.staff-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 14px;
  margin-top: 14px;
}

.activity-list { display: grid; }

.activity-list > div {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e3e5e1;
}

.activity-list i {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--staff-green);
}

.activity-list p {
  margin: 0;
  color: #687069;
  font-size: 10px;
}

.activity-list strong {
  color: var(--staff-text);
  font-weight: 500;
}

.activity-list small {
  display: block;
  margin-top: 4px;
  color: #9ba19c;
  font-size: 8px;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.quick-grid a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #e0e3de;
  border-radius: 6px;
  color: #596159;
  background: #fff;
  font-size: 9px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quick-grid a:hover {
  border-color: #a7ceb4;
  color: var(--staff-green);
  transform: translateY(-1px);
}

.quick-grid svg { width: 15px; }

.staff-view[hidden] {
  display: none;
}

.staff-view {
  animation: staff-view-enter 0.24s ease both;
}

@keyframes staff-view-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--staff-line);
}

.view-heading > div > span {
  color: var(--staff-green);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.view-heading h1 {
  margin: 9px 0 0;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
}

.view-heading p {
  margin: 9px 0 0;
  color: var(--staff-muted);
  font-size: 10px;
}

.view-heading > b {
  padding: 7px 10px;
  border: 1px solid var(--staff-line);
  border-radius: 6px;
  color: #626b64;
  background: var(--staff-surface);
  font-size: 9px;
  font-weight: 400;
  white-space: nowrap;
}

.view-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-actions > b {
  padding: 7px 10px;
  border: 1px solid var(--staff-line);
  border-radius: 6px;
  color: #626b64;
  background: var(--staff-surface);
  font-size: 9px;
  font-weight: 400;
  white-space: nowrap;
}

.staff-add-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--staff-dark);
  font-size: 9px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.staff-add-button:hover {
  background: var(--staff-green);
  transform: translateY(-1px);
}

.staff-add-button svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.view-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.view-metrics article {
  padding: 18px 19px;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: var(--staff-surface);
}

.view-metrics span,
.view-metrics small {
  display: block;
}

.view-metrics span {
  color: var(--staff-muted);
  font-size: 9px;
}

.view-metrics strong {
  display: block;
  margin-top: 12px;
  font-size: 27px;
  font-weight: 500;
}

.view-metrics small {
  margin-top: 7px;
  color: #969d97;
  font-size: 8px;
}

.staff-table-panel {
  margin-top: 14px;
}

.inventory-panel-head {
  align-items: center;
}

.inventory-filter {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--staff-line);
  border-radius: 7px;
  background: #eef0eb;
}

.inventory-filter button {
  min-width: 48px;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  color: #7d857e;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.inventory-filter button.is-active {
  color: var(--staff-text);
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 32, 25, 0.08);
}

.inventory-table {
  width: 100%;
  overflow-x: auto;
}

.inventory-table-head,
.inventory-table-row {
  display: grid;
  grid-template-columns: 72px 60px minmax(190px, 1.5fr) 104px 88px 76px 62px 64px;
  gap: 16px;
  align-items: center;
  min-width: 840px;
}

.inventory-table-head {
  min-height: 34px;
  color: #989e99;
  font-size: 9px;
}

.inventory-table-row {
  min-height: 60px;
  border-top: 1px solid #e3e5e1;
  color: #7f8780;
  font-size: 9px;
}

.inventory-table-row[hidden] {
  display: none;
}

.inventory-table-row > strong {
  overflow: hidden;
  color: var(--staff-text);
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movement,
.quantity {
  width: max-content;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
}

.movement.in,
.quantity.in {
  color: var(--staff-green);
  background: var(--staff-green-soft);
}

.movement.out,
.quantity.out {
  color: var(--staff-amber);
  background: var(--staff-amber-soft);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.resource-card {
  position: relative;
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  background: var(--staff-surface);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.resource-card-open {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.resource-card-open:focus-visible {
  outline: 2px solid #69b187;
  outline-offset: -3px;
}

.resource-card-actions {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
}

.resource-card-actions .record-action {
  background: rgba(248, 248, 245, 0.92);
}

.resource-card:hover {
  border-color: #adceb8;
  transform: translateY(-2px);
}

.resource-card:has(.resource-card-open:focus-visible) {
  border-color: #69b187;
  box-shadow: 0 0 0 3px rgba(88, 168, 124, 0.1);
}

.resource-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  color: var(--staff-green);
  background: var(--staff-green-soft);
  place-items: center;
}

.resource-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.resource-card > span {
  display: block;
  margin-top: 19px;
  color: var(--staff-muted);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.resource-card h2 {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.resource-card p {
  margin: 8px 0 0;
  color: var(--staff-muted);
  font-size: 9px;
}

.resource-card > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e3e5e1;
}

.resource-card-footer > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.resource-card > div:last-child b {
  color: var(--staff-green);
  font-size: 9px;
  font-weight: 500;
}

.resource-card > div:last-child small {
  color: #969d97;
  font-size: 8px;
}

.resource-card-footer em {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  color: var(--staff-green);
  font-size: 8px;
  font-style: normal;
}

.resource-card-footer em svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 48px 20px;
  border: 1px dashed #d4d9d2;
  border-radius: 8px;
  color: #929a93;
  background: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  text-align: center;
}

.task-board .task-list {
  max-width: 880px;
}

.resource-viewer {
  width: min(980px, calc(100vw - 32px));
  height: min(860px, calc(100svh - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid #d6dbd4;
  border-radius: 8px;
  color: var(--staff-text);
  background: #e9ebe6;
  box-shadow: 0 30px 90px rgba(13, 22, 19, 0.34);
  overflow: hidden;
}

.resource-viewer::backdrop {
  background: rgba(13, 22, 19, 0.58);
  backdrop-filter: blur(5px);
}

.resource-viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

.resource-viewer-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 18px 24px;
  color: #fff;
  background: #141d18;
}

.resource-viewer-head > div:first-child {
  min-width: 0;
}

.resource-viewer-head span {
  color: #83dcaa;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.resource-viewer-head h2 {
  margin: 6px 0 0;
  overflow: hidden;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-viewer-tools {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.resource-download-button,
.resource-viewer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
}

.resource-download-button {
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.resource-download-button:hover {
  border-color: rgba(131, 220, 170, 0.62);
  background: rgba(131, 220, 170, 0.12);
}

.resource-download-button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.resource-viewer-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.resource-viewer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.resource-viewer-close svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.resource-viewer-body {
  min-height: 0;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.resource-document {
  width: min(740px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: 50px 56px 64px;
  border: 1px solid #e0e3dd;
  background: #fffefa;
  box-shadow: 0 16px 42px rgba(31, 45, 36, 0.09);
}

.resource-document-head {
  padding-bottom: 28px;
  border-bottom: 1px solid #e3e5e0;
}

.resource-document-head > span {
  color: var(--staff-green);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.resource-document-head h1 {
  margin: 13px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.24;
}

.resource-document-head p {
  margin: 10px 0 0;
  color: var(--staff-muted);
  font-size: 11px;
}

.resource-document-head > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 12px 14px;
  border: 1px solid #e2e5df;
  border-radius: 6px;
  background: #f5f6f2;
}

.resource-document-head b {
  color: var(--staff-green);
  font-size: 10px;
  font-weight: 500;
}

.resource-document-head small {
  color: #8b938c;
  font-size: 9px;
}

.resource-document-content {
  display: grid;
  gap: 30px;
  margin-top: 32px;
}

.resource-document-content section h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
}

.resource-document-content section > p {
  margin: 0;
  color: #4f5951;
  font-size: 11px;
  line-height: 1.95;
}

.resource-parameter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.resource-parameter-grid > span {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e2e5df;
  border-radius: 6px;
  color: #8b938c;
  background: #f6f7f3;
  font-size: 9px;
}

.resource-parameter-grid strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: var(--staff-text);
  font-size: 11px;
  font-weight: 500;
}

.resource-preview-summary {
  padding: 16px 18px;
  border: 1px solid #dce5dd;
  border-radius: 6px;
  background: #f3f7f2;
}

.resource-preview-summary span {
  color: var(--staff-green);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.resource-preview-summary p {
  margin: 8px 0 0;
  color: #4f5951;
  font-size: 10px;
  line-height: 1.8;
}

.resource-pdf-pages {
  display: grid;
  gap: 18px;
}

.resource-pdf-page {
  border: 1px solid #e1e4de;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.resource-pdf-page header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid #e5e7e2;
  background: #f6f7f3;
}

.resource-pdf-page header span {
  color: var(--staff-green);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.resource-pdf-page header b {
  color: #8a928b;
  font-size: 8px;
  font-weight: 500;
}

.resource-pdf-page > div {
  min-height: 90px;
  padding: 20px;
  overflow-wrap: anywhere;
  color: #3f4841;
  font-size: 10px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.staff-editor {
  width: min(620px, calc(100vw - 32px));
  max-height: min(820px, calc(100svh - 32px));
  padding: 0;
  border: 1px solid #d9ddd7;
  border-radius: 8px;
  color: var(--staff-text);
  background: #f8f8f5;
  box-shadow: 0 28px 80px rgba(13, 22, 19, 0.28);
}

.staff-editor::backdrop {
  background: rgba(13, 22, 19, 0.54);
  backdrop-filter: blur(4px);
}

.staff-editor-form {
  display: flex;
  flex-direction: column;
  max-height: min(820px, calc(100svh - 32px));
}

.staff-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 19px;
  border-bottom: 1px solid var(--staff-line);
}

.staff-editor-head span {
  color: var(--staff-green);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.staff-editor-head h2 {
  margin: 8px 0 0;
  font-size: 23px;
  font-weight: 500;
}

.staff-editor-close {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #d9ddd7;
  border-radius: 6px;
  color: #6e776f;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.staff-editor-close svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.staff-editor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: 24px 26px;
  overflow-y: auto;
}

.staff-editor-field {
  display: grid;
  gap: 8px;
}

.staff-editor-field.is-wide {
  grid-column: 1 / -1;
}

.staff-editor-field > span {
  color: #4f5951;
  font-size: 10px;
}

.staff-editor-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #d5dad3;
  border-radius: 6px;
  background: #fff;
}

.staff-editor-control:focus-within {
  border-color: #6eb58b;
  box-shadow: 0 0 0 3px rgba(88, 168, 124, 0.1);
}

.staff-editor-control input,
.staff-editor-control select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: var(--staff-text);
  background: transparent;
  font-size: 11px;
}

.staff-editor-control b {
  padding-right: 12px;
  color: #929a93;
  font-size: 9px;
  font-weight: 400;
}

.resource-upload-section {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--staff-line);
}

.resource-upload-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.resource-upload-head > div span {
  display: block;
  color: var(--staff-green);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.resource-upload-head > div strong {
  display: block;
  margin-top: 7px;
  color: #3f4841;
  font-size: 12px;
  font-weight: 500;
}

.resource-upload-head > b {
  padding: 4px 7px;
  border-radius: 4px;
  color: var(--staff-green);
  background: var(--staff-green-soft);
  font-size: 8px;
  font-weight: 500;
}

.resource-upload-drop {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 104px;
  margin-top: 15px;
  padding: 18px;
  border: 1px dashed #bfc8bf;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.resource-upload-drop:hover,
.resource-upload-drop.is-dragging {
  border-color: #69b187;
  background: #f4faf6;
  transform: translateY(-1px);
}

.resource-upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.resource-upload-drop > svg {
  flex: none;
  width: 24px;
  fill: none;
  stroke: var(--staff-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.resource-upload-drop > span {
  min-width: 0;
}

.resource-upload-drop b {
  display: block;
  color: var(--staff-text);
  font-size: 11px;
  font-weight: 500;
}

.resource-upload-drop small {
  display: block;
  margin-top: 5px;
  color: #8b938c;
  font-size: 9px;
}

.resource-upload-status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 11px;
  color: #7d857e;
  font-size: 9px;
  line-height: 1.6;
}

.resource-upload-status i {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: #aeb5af;
}

.resource-upload-status[data-status="loading"] {
  color: #7a6847;
}

.resource-upload-status[data-status="loading"] i {
  background: #c08a36;
  animation: upload-pulse 1s ease-in-out infinite;
}

.resource-upload-status[data-status="success"] {
  color: var(--staff-green);
}

.resource-upload-status[data-status="success"] i {
  background: var(--staff-green);
}

.resource-upload-status[data-status="error"] {
  color: #b84738;
}

.resource-upload-status[data-status="error"] i {
  background: #c95d4e;
}

@keyframes upload-pulse {
  50% { opacity: 0.35; }
}

.project-step-editor {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--staff-line);
}

.project-step-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.project-step-summary span {
  display: block;
  color: #5b655d;
  font-size: 10px;
}

.project-step-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 25px;
  font-weight: 500;
}

.project-step-summary small {
  color: #8d958e;
  font-size: 9px;
}

.project-step-bar {
  height: 5px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 3px;
  background: #e2e5e0;
}

.project-step-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--staff-green);
  transition: width 0.25s ease;
}

.project-step-list {
  display: grid;
  gap: 7px;
  margin-top: 17px;
}

.project-step-list label {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #e0e3de;
  border-radius: 6px;
  color: #566158;
  background: #fff;
  font-size: 10px;
  cursor: pointer;
}

.project-step-list input {
  position: absolute;
  opacity: 0;
}

.project-step-check {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #c8cdc7;
  border-radius: 4px;
  background: #fff;
}

.project-step-list input:checked + .project-step-check {
  border-color: var(--staff-green);
  background: var(--staff-green);
}

.project-step-list input:checked + .project-step-check::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.staff-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 18px 26px 22px;
  border-top: 1px solid var(--staff-line);
}

.staff-editor-footer-actions {
  display: flex;
  gap: 9px;
  margin-left: auto;
}

.staff-editor-actions button {
  min-width: 76px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 10px;
  cursor: pointer;
}

.staff-editor-cancel {
  border: 1px solid #d5dad3;
  color: #626b64;
  background: #fff;
}

.staff-editor-delete {
  border: 1px solid #e7c3bd;
  color: #b84738;
  background: #fff7f5;
}

.staff-editor-delete:hover {
  border-color: #d8958b;
  background: #fff0ed;
}

.staff-editor-save {
  border: 0;
  color: #fff;
  background: var(--staff-dark);
}

.staff-editor-save:hover {
  background: var(--staff-green);
}

.staff-overlay { display: none; }

@media (max-width: 1180px) {
  .staff-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .staff-page.sidebar-open .staff-sidebar { transform: translateX(0); }

  .staff-sidebar-close,
  .staff-menu-button {
    display: grid;
    place-items: center;
  }

  .staff-workspace { margin-left: 0; }

  .staff-topbar {
    grid-template-columns: 40px minmax(220px, 1fr) auto;
    padding: 0 22px;
  }

  .staff-search { grid-column: 2; }
  .staff-top-actions { grid-column: 3; }
  .staff-env { display: none; }

  .staff-overlay {
    position: fixed;
    z-index: 35;
    inset: 0;
    display: block;
    background: rgba(23, 32, 25, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .staff-page.sidebar-open .staff-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .staff-content-grid,
  .staff-lower-grid { grid-template-columns: 1fr; }

  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .staff-topbar {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    height: 64px;
    padding: 0 14px;
  }

  .staff-search kbd,
  .staff-notice { display: none; }

  .staff-main { padding: 24px 14px 40px; }

  .staff-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-welcome h1 { font-size: 31px; }
  .staff-primary-action { width: 100%; }
  .staff-kpis { grid-template-columns: 1fr 1fr; }

  .project-table { overflow-x: auto; }

  .project-table-head,
  .project-table-row { min-width: 760px; }

  .staff-panel { padding: 17px; }

  .view-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .view-actions {
    width: 100%;
    justify-content: space-between;
  }

  .view-actions > b {
    flex: 1;
  }

  .view-heading h1 {
    font-size: 30px;
  }

  .view-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-viewer {
    width: calc(100vw - 16px);
    height: calc(100svh - 16px);
    max-height: calc(100svh - 16px);
  }

  .resource-viewer-head {
    gap: 14px;
    padding: 14px 14px 14px 16px;
  }

  .resource-viewer-head h2 {
    font-size: 16px;
  }

  .resource-viewer-body {
    padding: 10px;
  }

  .resource-document {
    padding: 34px 22px 46px;
  }

  .resource-document-head h1 {
    font-size: 26px;
  }
}

@media (max-width: 960px) {
  .staff-login {
    grid-template-columns: 1fr;
  }

  .staff-login-visual {
    min-height: 320px;
    padding: 28px;
  }

  .staff-login-copy {
    width: 100%;
    margin: 76px 0 28px;
    padding: 0;
  }

  .staff-login-copy h1 {
    font-size: 40px;
  }

  .staff-login-copy p,
  .staff-login-status {
    display: none;
  }

  .staff-login-panel {
    min-height: auto;
    padding: 44px 22px 60px;
  }

  .staff-login-card {
    width: min(430px, 100%);
  }
}

@media (max-width: 480px) {
  .staff-brand span,
  .staff-search { display: none; }

  .staff-topbar { grid-template-columns: 40px 1fr auto; }
  .staff-kpis { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .staff-login-visual {
    min-height: 240px;
    padding: 22px;
  }

  .staff-login-brand img {
    width: 112px;
  }

  .staff-login-copy {
    margin-top: 48px;
  }

  .staff-login-copy h1 {
    font-size: 31px;
  }

  .staff-login-panel {
    padding: 34px 18px 48px;
  }

  .staff-login-heading h2 {
    font-size: 29px;
  }

  .staff-login-form {
    margin-top: 30px;
  }

  .staff-editor-fields {
    grid-template-columns: 1fr;
    padding: 21px 18px;
  }

  .staff-editor-field.is-wide {
    grid-column: auto;
  }

  .staff-editor-head,
  .staff-editor-actions {
    padding-right: 18px;
    padding-left: 18px;
  }

  .resource-download-button {
    width: 36px;
    padding: 0;
    font-size: 0;
  }

  .resource-parameter-grid {
    grid-template-columns: 1fr;
  }

  .resource-upload-drop {
    min-height: 92px;
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .staff-login-submit,
  .staff-login-card.login-shake,
  .resource-upload-status[data-status="loading"] i {
    transition: none;
    animation: none;
  }
}
