header {
  color: #1f2937;
  background: linear-gradient(120deg, #f8fbff 0%, #eef2ff 55%, #e0e7ff 100%);
  border-bottom: 1px solid #dbe3f2;
  box-shadow: 0 3px 14px #33415512;
}

header p {
  color: #64748b;
}

.header-actions span {
  color: #475569;
}

header .secondary {
  color: #374151;
  background: #fff;
  border: 1px solid #cbd5e1;
}

header .secondary:hover {
  background: #f8fafc;
  border-color: #aeb9c8;
}

header .role-label {
  color: #1e40af !important;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
}

.auth-page {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 48%, #e7edff 100%);
}

.auth-page::before,
.auth-page::after {
  position: absolute;
  width: 420px;
  height: 420px;
  content: "";
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.auth-page::before {
  top: -230px;
  left: -150px;
  background: #c7d2fe80;
}

.auth-page::after {
  right: -170px;
  bottom: -250px;
  background: #bae6fd70;
}

.auth-card {
  position: relative;
  z-index: 1;
  border: 1px solid #dce5f2;
  background: #ffffffed;
  box-shadow: 0 24px 65px #47556924;
  backdrop-filter: blur(10px);
}

.auth-card input,
.auth-card select {
  border-color: #cbd5e1;
  background: #fdfefe;
}

.auth-card input:focus,
.auth-card select:focus {
  border-color: #818cf8;
  outline: 3px solid #e0e7ff;
}

.brand-mark {
  background: linear-gradient(145deg, #6366f1, #4f46e5);
  box-shadow: 0 10px 24px #4f46e536;
}

.auth-card .outline-link {
  border-color: #c7d2fe;
  background: #f8faff;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.user-delete {
  padding: 7px 10px;
  color: #b91c1c;
  background: #fee2e2;
  font-size: 12px;
}

.user-password {
  padding: 7px 10px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 12px;
}

.user-password:hover {
  background: #bfdbfe;
}

.user-delete:hover {
  background: #fecaca;
}

.password-notice {
  padding: 10px 12px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.task-title {
  min-width: 290px;
}

.task-title-text {
  display: inline-block;
  max-width: calc(100% - 66px);
  vertical-align: middle;
}

.task-order-controls {
  display: inline-flex;
  float: right;
  gap: 3px;
  margin-left: 8px;
}

.task-order-controls button {
  min-width: 25px;
  padding: 4px 5px;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1;
}

.task-order-controls button:hover:not(:disabled) {
  background: #dbeafe;
}

.task-order-controls button:disabled {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

.release-page {
  max-width: 1050px;
  margin: 0 auto;
}

.release-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.release-page-head span {
  color: #4f46e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.release-page-head h2 {
  margin: 5px 0 6px;
  font-size: 30px;
}

.release-page-head p {
  margin: 0;
  color: #64748b;
}

.release-page-head > strong {
  padding: 9px 14px;
  color: #3730a3;
  background: #e0e7ff;
  border-radius: 999px;
  white-space: nowrap;
}

.release-list {
  display: grid;
  gap: 14px;
}

.release-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 8px 24px #3341550d;
}

.release-card.latest {
  border-color: #a5b4fc;
  box-shadow: 0 10px 28px #4f46e51a;
}

.release-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.release-card-head > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.release-card-head h3 {
  width: 100%;
  margin: 4px 0 0;
}

.release-card-head b,
.release-version {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.release-version {
  color: #4338ca;
  background: #eef2ff;
  font-weight: 800;
}

.release-card-head b {
  color: #047857;
  background: #d1fae5;
}

.release-card time {
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.release-card ul {
  margin: 16px 0 0;
  padding-left: 21px;
  color: #475569;
  line-height: 1.75;
}

.board {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 800px) {
  .release-page-head,
  .release-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

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