* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: #f5f6f8; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; color: #303133; }
#app { min-height: 100vh; }

.page-home {
  min-height: 100vh;
  background: #fff;
  padding: 48px 24px 32px;
  position: relative;
  overflow: hidden;
}
.page-home::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  background:
    radial-gradient(circle at 30% 40%, rgba(64,158,255,.18) 0 28px, transparent 29px),
    radial-gradient(circle at 70% 55%, rgba(64,158,255,.12) 0 18px, transparent 19px);
  pointer-events: none;
}
.page-home::after {
  content: "";
  position: absolute;
  top: 36px;
  right: 48px;
  width: 56px;
  height: 56px;
  border: 8px solid rgba(64,158,255,.16);
  transform: rotate(45deg);
  pointer-events: none;
}
.home-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; position: relative; }
.home-sub { font-size: 14px; color: #909399; margin-bottom: 36px; position: relative; }
.form-item { margin-bottom: 18px; position: relative; }
.form-item label { display: block; font-size: 14px; margin-bottom: 8px; }
.form-item label::before { content: "*"; color: #f56c6c; margin-right: 4px; }
.form-item input {
  width: 100%;
  height: 44px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
  background: #fff;
}
.form-item input:focus { border-color: #409eff; }
.btn-primary {
  width: 100%;
  height: 44px;
  margin-top: 18px;
  border: none;
  border-radius: 22px;
  background: #409eff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.btn-primary:disabled { opacity: .65; cursor: not-allowed; }

.page-list { min-height: 100vh; padding: 12px; }
.list-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.list-name { font-size: 15px; color: #303133; padding-right: 12px; word-break: break-all; }
.list-status { font-size: 14px; white-space: nowrap; }
.list-status.pending { color: #f56c6c; }
.list-status.signed { color: #67c23a; }
.list-empty { text-align: center; color: #909399; padding: 48px 16px; font-size: 14px; }

.mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.dialog {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.dialog-hd {
  padding: 16px 16px 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-close { border: none; background: none; font-size: 20px; color: #909399; cursor: pointer; line-height: 1; }
.dialog-bd { padding: 16px; font-size: 14px; color: #606266; line-height: 1.6; }
.dialog-ft { padding: 0 16px 16px; text-align: right; }
.dialog-ft button {
  min-width: 72px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  font-size: 14px;
  padding: 0 14px;
  cursor: pointer;
}
.loading-tip {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 1100;
}
